Repository navigation
build(deps): move adm-zip to devDependencies - #642
Merged
pieper merged 1 commit intoNov 17, 2026
Merged
Conversation
adm-zip is only imported by test/testUtils.js, and test/ is not in the published files, but it was listed under dependencies. Every project that installs dcmjs therefore also installed adm-zip 0.5.17, and `pnpm audit --prod` reported 8 advisories (5 high, 3 moderate) for it. Move it to devDependencies and update it to 0.6.1, which clears those advisories. `pnpm audit --prod` now reports no known vulnerabilities. Part of dcmjs-org#513.
👷 Deploy request for dcmjs2 pending review.Visit the deploys page to approve it
|
pieper
reviewed
Nov 16, 2026
pieper
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. Do you agree @wayfarer3130 ?
wayfarer3130
approved these changes
Nov 17, 2026
Contributor
Yes, LGTM as well |
pieper
approved these changes
Nov 17, 2026
|
🎉 This PR is included in version 0.53.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This was referenced Nov 24, 2026
wayfarer3130
added a commit
that referenced
this pull request
Nov 24, 2026
Copy of PR merged to 0.x stream * build(deps): move adm-zip to devDependencies 1.0 port of #642 (commit d0c6da2). adm-zip is only imported by test/testUtils.js, and test/ is not in the published files, but the root package.json listed adm-zip 0.5.17 under dependencies. The pnpm-workspace.yaml override resolves 0.6.1 inside this repository only, so a project that installs @dcmjs-org/dcmjs still got 0.5.17. Move it to devDependencies at 0.6.1. pnpm install also adds the empty packages/codemods importer that the lockfile on 1.0-beta did not list. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(deps): override undici to patched 6.x and 7.x releases pnpm audit --audit-level=high fails on 1.0-beta-based branches because of GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm, GHSA-4w7w-5xrc-9h26 and GHSA-xjj6-f33q-929c in undici, a dev-only dependency of semantic-release. Caret ranges keep each line on its own major version. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is part of #513 (moving
adm-ziptodevDependencies).Currently,
adm-zipis only used intest/testUtils.js, and since thetest/directory isn't published, there's no reason to include it in production dependencies. However, it was previously listed underdependencies, meaning everyone installing dcmjs also got[email protected], which was triggering 8 security advisories throughpnpm audit --prod(5 high and 3 moderate).I've moved it to
devDependenciesand updated it to0.6.1. With this change,pnpm audit --prodnow reports no known vulnerabilities.I've also verified that all 361 tests pass, including a clean run with an empty temp folder to ensure the test data is downloaded and unzipped again using the updated version.
This should also make the Dependabot PR #504 unnecessary.