Repository navigation
Drop dev dependency @cyclonedx/cyclonedx-npm - #1561
Conversation
✅ 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. |
2706467 to
aee1d9d
Compare
|
Double-checking this, it looks like the dependency on |
aee1d9d to
66b49c7
Compare
Done. It seems to build just fine without it. But not sure where/how it was used. I am not familiar with the codebase. Maybe there are other dependencies that are no longer needed or at least could be updated? This would reduce the number of vulnerabilities and deprecation warnings from NPM. I am happy to assist. |
|
Will need to update the PR title and commit message tomorrow if the removal is the solution. |
|
Builds and runs fine with the dependency removed.
It's an alternative SBOM generator for NPM. It was used before the Webpack plugin was adopted and apparently never removed. It is intended to be invoked directly, not used as a library. That's why nothing breaks when removed.
I already did a sweep the other day which addressed various vulns: #1560 |
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]>
66b49c7 to
b4ecf94
Compare
Sounds good, thanks for the explanation!
I will try to address some more vulnerabilities and see what I can do via The good thing is, with this PR alone we went from to I know you said the removed dependency was intended to be invoked directly, but still. |
Description
This updates the transitive dependency "libxmljs2" which before did no longer compile from source with Node >=22, breaking reproducable builds from source (e.g. nixpkgs).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).
See NixOS/nixpkgs#515284 (comment)
Addressed Issue
n/a
Additional Details
n/a
Checklist