Skip to content

chore: tighten core dependency floors, drop unused deps, and update lockfiles - #1080

Merged
gstepniewski-google merged 1 commit into
mainfrom
chore/deps-and-lockfile-hygiene
Nov 30, 2026
Merged

gstepniewski-google merged 1 commit into
mainfrom
chore/deps-and-lockfile-hygiene

Conversation

@gstepniewski-google

Copy link
Copy Markdown
Collaborator

Follow-up dependency and lockfile hygiene after Dependabot PR cleanup, preserving Node >=18.0.0 compatibility under .npmrc engine-strict=true:

Changes

  • packages/core/package.json & packages/core/package-lock.json:
    • Raised "tar" floor from ^7.5.3 to ^7.5.24 and "lodash" floor from ^4.17.21 to ^4.18.1 so published @bubblewrap/core npm consumers enforce patched versions.
    • Removed unused "inquirer" and "@types/inquirer" dependencies (never imported in packages/core/src), eliminating the transitive vulnerable tmp@0.0.33 tree (CVE-2025-54798).
    • Updated transitive min-document from 2.19.0 to 2.19.2 (CVE-2025-57352).
  • Root package.json & package-lock.json:
    • Removed unused "npm": "^9.5.1" from devDependencies (eliminating bundled CLI/sigstore alerts while letting Node's bundled npm run).
    • Updated transitive dev-only picomatch from 2.3.1 to 2.3.2 (CVE-2026-33671, CVE-2026-33672), preserving lockfileVersion: 2.
  • packages/cli/package-lock.json:
    • Surgically updated node_modules/lodash from 4.17.21 to 4.18.1 without injecting external @bubblewrap/core or @bubblewrap/validator registry tarballs.

Verification

  • npm ci (lerna bootstrap && lerna link), npm run build, npm run lint, and npm test all pass across all 3 packages.
  • Audited every engines.node entry across all 3 modified lockfiles to confirm compatibility with Node 18.x and 20.x.

…ockfiles

Raise tar (^7.5.24) and lodash (^4.18.1) minimum floors in packages/core/package.json so published consumers receive patched versions, remove unused npm (root) and inquirer/@types/inquirer (packages/core) dependencies, and update min-document (2.19.2), picomatch (2.3.2), and packages/cli lodash (4.18.1) in lockfiles while keeping Node >=18.0.0 compatibility.
@gstepniewski-google
gstepniewski-google merged commit 6eb6fa2 into main Nov 30, 2026
14 checks passed
@gstepniewski-google
gstepniewski-google deleted the chore/deps-and-lockfile-hygiene branch November 30, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants