Skip to content

fix(deps): move adm-zip to devDependencies at 0.6.1 - #651

Merged
wayfarer3130 merged 2 commits into
1.0-betafrom
fix/1.0-beta-adm-zip-dev-dependency
Nov 24, 2026
Merged

wayfarer3130 merged 2 commits into
1.0-betafrom
fix/1.0-beta-adm-zip-dev-dependency

Conversation

@wayfarer3130

@wayfarer3130 wayfarer3130 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR is the 1.0 port of #642 (commit d0c6da2). The root package @dcmjs-org/dcmjs listed adm-zip 0.5.17 in dependencies. A project that installs the published package got that version (CVE-2026-39244). The workspace override adm-zip: ">=0.6.1" applies only inside this repository.

Changes

  • package.json: adm-zip moves from dependencies to devDependencies, version 0.6.1.
  • pnpm-lock.yaml: the importer entry for adm-zip moves to devDependencies. pnpm install also adds the empty packages/codemods: {} importer. That entry was missing from the 1.0-beta lockfile after feat(codemods): runnable codemods for the upgrade to dcmjs 1.0; fix(core): a single PN value is array-like #646.
  • pnpm-workspace.yaml: two new overrides, "undici@6": "^6.29.1" and "undici@7": "^7.30.1". The pnpm audit --audit-level=high job failed on every branch from 1.0-beta because of four high advisories in undici (GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm, GHSA-4w7w-5xrc-9h26, GHSA-xjj6-f33q-929c). undici is a dev dependency of semantic-release. The caret ranges keep each line on its own major version. The lockfile now has undici 6.29.1 and 7.30.2.
  • The adm-zip override in pnpm-workspace.yaml stays. A later cleanup can remove the audit overrides together.

Review

An independent review found no blocker and nothing to fix. Only test/testUtils.js imports adm-zip, and test/ is not published. No file in build/, generate/dictionary.mjs, or packages/*/src uses adm-zip.

Tests

  • The user experience must have this: pnpm audit --prod reports no known vulnerabilities. pnpm audit --audit-level=high reports no high or critical advisories.
  • The full suite passes: 118 suites, 1276 tests.
  • The 0.x change has no test, so this port adds no test.

🤖 Generated with Claude Code

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]>
@wayfarer3130
wayfarer3130 marked this pull request as ready for review November 24, 2026 19:34
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]>
@wayfarer3130
wayfarer3130 merged commit c1e1374 into 1.0-beta Nov 24, 2026
5 checks passed
@wayfarer3130
wayfarer3130 deleted the fix/1.0-beta-adm-zip-dev-dependency branch November 24, 2026 19:50
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0-beta.17 🎉

The release is available on:

Your semantic-release bot 📦🚀

wayfarer3130 added a commit that referenced this pull request Nov 25, 2026
…656)

Follow-up to #651 (maintainer decision: 1.0-beta matches master)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

1 participant