Repository navigation
Backport 4.14.x: Update to Node 22 - #1575
Conversation
Signed-off-by: ColorfulRhino <[email protected]>
This SBOM generator was superseded by "@cyclonedx/webpack-plugin", but was never removed. This also removes the transitive dependency "libxmljs2" which before did no longer compile from source with Node >=22, breaking reproducable builds from source (e.g. nixpkgs). Signed-off-by: ColorfulRhino <[email protected]>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Would appreciate a new release for the 4.14.x version soon if possible, since this would unblock the Dependency-Track package in nixpkg :) |
|
Were you able to verify that this change indeed unblocks your Nix issue? |
|
Yes. With this applied, the package builds without errors on nixpkgs. Without this, this is the error after removing the currently pinned Node 20, which was pinned due to the build error before, but now that Node 20 is EOL needs to be bumped in order to not be marked insecure: NixOS/nixpkgs#515284 (comment) The package for nixpkgs now builds fine with Node 22, Node 24 and even Node 26. As you can see, the build error stems from the transitive dependency |
Description
Update NodeJS to Node 22 and drop the dev dependency
@cyclonedx/cyclonedx-npm.Addressed Issue
Backport #1556 and #1561 to 4.14.x
Additional Details
n/a
Checklist
This PR introduces new or alters existing behavior, and I have updated the documentation accordingly