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

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?

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