Skip to content

Conversation

@smokhov
Copy link
Contributor

@smokhov smokhov commented Nov 30, 2025

These dependencies are now compatible with node-soap.

  • Bump strip-bom from 3.0.0 to 5.0.0
  • Bump get-stream from 6.0.1 to 9.0.1
  • Bump min node version to 20.19.0
  • Don't fast-fail the test matrix

Helps #1281

dependabot bot added 2 commits November 29, 2025 21:49
Bumps [strip-bom](https://github.com/sindresorhus/strip-bom) from 3.0.0 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/strip-bom/releases)
- [Commits](sindresorhus/strip-bom@v3.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: strip-bom
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [get-stream](https://github.com/sindresorhus/get-stream) from 6.0.1 to 9.0.1.
- [Release notes](https://github.com/sindresorhus/get-stream/releases)
- [Commits](sindresorhus/get-stream@v6.0.1...v9.0.1)

---
updated-dependencies:
- dependency-name: get-stream
  dependency-version: 9.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@w666
Copy link
Collaborator

w666 commented Dec 3, 2025

I need to think about it. In general, I am trying to keep support for older Node.js as there are many people that still use unsupported node. Soap is specific stuff that is around for ages and likely used on very old environments.

@smokhov
Copy link
Contributor Author

smokhov commented Dec 3, 2025

I need to think about it. In general, I am trying to keep support for older Node.js as there are many people that still use unsupported node. Soap is specific stuff that is around for ages and likely used on very old environments.

Our min node is already 20 judging by other deps' min node requirement of 20. These ones require 18 minimum, but as I said the codebase is already past that to 20.

@w666
Copy link
Collaborator

w666 commented Dec 3, 2025

I think I was testing it on Node 16, but I will double check that.

@w666
Copy link
Collaborator

w666 commented Dec 6, 2025

yes, current min version is node 20. But update to latest get-stream bumps it to 22, this is bit extreme for project like this. I think we should keep it compatible with 20, at least while this is still supported.

@smokhov
Copy link
Contributor Author

smokhov commented Dec 6, 2025

yes, current min version is node 20. But update to latest get-stream bumps it to 22, this is bit extreme for project like this. I think we should keep it compatible with 20, at least while this is still supported.

This patch for get-stream bumps it to "node": ">=18" and strip-bom to "node": ">=12"

@w666
Copy link
Collaborator

w666 commented Dec 7, 2025

As per #1399 it does not work on node 18. I tested on all latest versions from 14 up to 24.

@w666
Copy link
Collaborator

w666 commented Dec 7, 2025

The problem with the change in this PR it does not work on node 20, it will require some changes to convert it to esm.

Exception during run: Error [ERR_REQUIRE_ESM]: require() of ES Module 

though it works as is on node 22 and 24. I will look into it why as I am not aware of the changes on node 22 that allow esm modules to be used in commonjs.

@smokhov
Copy link
Contributor Author

smokhov commented Dec 8, 2025

The problem with the change in this PR it does not work on node 20, it will require some changes to convert it to esm.

Exception during run: Error [ERR_REQUIRE_ESM]: require() of ES Module 

though it works as is on node 22 and 24. I will look into it why as I am not aware of the changes on node 22 that allow esm modules to be used in commonjs.

Oh, I see. Then I think it's misrepresented in in this deps, I guess. I agree this PR needs to be held, 20 is still the supported one. Moving to 22 is too drastic.

@w666
Copy link
Collaborator

w666 commented Jan 1, 2026

I improved pipeline so it now runs against node 20, 22 and 24. You can rebase this MR and see if it fails against 20. Hopefully it should find issue with compatibility in this MR.

@w666
Copy link
Collaborator

w666 commented Jan 1, 2026

interesting, it worked, I will need to investigate this.

@smokhov
Copy link
Contributor Author

smokhov commented Jan 1, 2026

@w666 -- all 3 checks are successful... what's ... wrong?

@smokhov
Copy link
Contributor Author

smokhov commented Jan 25, 2026

@w666 -- GitHub's default Node 20 is 20.20.0, where it works; node 20.9.0 the package is configured for, fails. So there were changes between Node 20.9.x to 20.20.x that fixed the Error [ERR_REQUIRE_ESM]: require() of ES Module error. I have added temporarily 20.9.0 to the matrix and disabled fail-fast to show that. I have not tested other versions between 20.9.0 and 20.20.0 where the change has taken place fixing the error. Not sure what you want to do about it.

@smokhov
Copy link
Contributor Author

smokhov commented Jan 27, 2026

@w666 -- GitHub's default Node 20 is 20.20.0, where it works; node 20.9.0 the package is configured for, fails. So there were changes between Node 20.9.x to 20.20.x that fixed the Error [ERR_REQUIRE_ESM]: require() of ES Module error. I have added temporarily 20.9.0 to the matrix and disabled fail-fast to show that. I have not tested other versions between 20.9.0 and 20.20.0 where the change has taken place fixing the error. Not sure what you want to do about it.

So I did quick test with expanding the matrix and as of this writing, Node 20.[9-18].0 fail and Node 20.[19-20].0 succeed in passing the tests... What gives...

@w666
Copy link
Collaborator

w666 commented Jan 27, 2026

@smokhov that is awesome, thanks for this. I guess we can release this feature then, just need to update package.json with the minimal node version.

I guess we can do this soonish, people are migrating very slow, se we should give them some time.

@w666
Copy link
Collaborator

w666 commented Jan 28, 2026

Since there was recent maintenance release with up-to-date deps I think this can be merged.

@w666 w666 merged commit 8c5d837 into vpulim:master Jan 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants