Skip to content

chore: clear safe dev-only Dependabot alerts via npm audit fix - #248

Open
deathbird wants to merge 1 commit into
masterfrom
chore/audit-fix-dev-lockfile
Open

chore: clear safe dev-only Dependabot alerts via npm audit fix#248
deathbird wants to merge 1 commit into
masterfrom
chore/audit-fix-dev-lockfile

Conversation

@deathbird

Copy link
Copy Markdown
Contributor

What

Regenerates package-lock.json with npm audit fix (no --force). Lockfile only, no package.json changes.

Impact

Clears ~13 Dependabot alerts, including the handlebars critical (4.7.8 → 4.7.9), plus form-data, lodash, braces, minimatch, qs, tough-cookie, tmp, picomatch and others. npm's own audit count drops 59 → 46.

Risk

Low. Every alert in this repo is development scope — none of these packages ship in the published @transifex/* packages. This only moves transitive dev/build dependencies to patched versions that already fit within existing ranges (no direct dependency changes). Dry-run install resolves cleanly; CI (bootstrap → build → lint → test) is the gate.

What this does NOT fix

The remaining criticals/highs need major bumps of lerna@4's old transitive deps (tar 7.x, parse-url 8.x) that fall outside its ranges, or have no patch at all (ip, request, lodash.template). ~37 of the 40 alerts trace to lerna@4.0.0. Clearing those requires upgrading lerna, which removed bootstrap/link in v5 and means migrating the monorepo to npm workspaces — tracked as a separate follow-up.

🤖 Generated with Claude Code

Regenerates package-lock.json with `npm audit fix` (no --force), pulling
in patched versions that fit within existing dependency ranges. No
package.json changes; nothing consumers install is affected (every alert
is development scope).

Clears ~13 Dependabot alerts including the handlebars critical
(4.7.8 -> 4.7.9), plus form-data, lodash, braces, minimatch, qs,
tough-cookie, tmp, picomatch and others.

Does NOT clear the remaining criticals/highs that require major bumps of
lerna@4's old transitive deps (tar 7.x, parse-url 8.x) or that have no
patch (ip, request, lodash.template). Those need a lerna upgrade and are
tracked separately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KCnNk8wHfxAovnhYmVEBe2
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.

1 participant