Skip to content

chore(deps): bump axios and assorted transitive deps in pnpm-lock.yaml#2499

Merged
B4nan merged 6 commits intomasterfrom
chore/dependabot-lockfile-updates
May 6, 2026
Merged

chore(deps): bump axios and assorted transitive deps in pnpm-lock.yaml#2499
B4nan merged 6 commits intomasterfrom
chore/dependabot-lockfile-updates

Conversation

@B4nan
Copy link
Copy Markdown
Member

@B4nan B4nan commented May 6, 2026

Summary

Resolves all open Dependabot alerts in pnpm-lock.yaml via lockfile-only updates plus an extended pnpm.overrides block.

Direct + workspace-range bumps

Overrides reorganized

Resolved versions in lockfile after install

protobufjs 7.5.6 · dompurify 3.4.2 · fast-xml-parser 5.7.3 · uuid 11.1.1 · js-yaml 4.1.1 · lodash 4.17.23 + 4.18.1 · postcss 8.5.14 · yaml 1.10.3 · axios 1.16.0

No vulnerable versions remain.

Out of scope

🤖 Generated with Claude Code

Resolves Dependabot alerts that could be fixed via lockfile-only update:
axios, and partial bumps for js-yaml/lodash/yaml. The apify-docs-theme
axios range was widened from ^1.7.9 to ^1.16.0 to pick up the patch.

Remaining alerts (uuid, dompurify, fast-xml-parser, postcss, protobufjs,
serialize-javascript, and the older lodash/js-yaml/yaml entries) require
either a major bump or pnpm overrides to force transitive updates.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@B4nan B4nan added the adhoc Ad-hoc unplanned task added during the sprint. label May 6, 2026
@github-actions github-actions Bot added this to the 140th sprint - Tooling team milestone May 6, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label May 6, 2026
B4nan and others added 2 commits May 6, 2026 09:36
Migrate the existing root `overrides` block to `pnpm.overrides` (which
pnpm honors more uniformly across the dependency graph) and extend it
to cover all remaining Dependabot alerts in the lockfile:

- protobufjs ^7.5.5 (critical CVE)
- dompurify  ^3.4.0
- fast-xml-parser ^5.7.0
- uuid@>=11.0.0 ^11.1.1 (leaves the unrelated 8.3.2 entry alone)
- js-yaml@>=4.0.0 ^4.1.1 (matches the previous narrow override target)
- lodash ^4.17.23 (replaces the prior ^4.18.0 with a wider range)

After install: protobufjs 7.5.6, dompurify 3.4.2, fast-xml-parser 5.7.3,
uuid 11.1.1, js-yaml 4.1.1 (4.x line), lodash 4.17.23 + 4.18.1, postcss
8.5.14, yaml 1.10.3 — no remaining vulnerable versions in pnpm-lock.yaml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The wider override block let pnpm float ajv to 8.20.0, which crashes
@stoplight/spectral-functions with "SyntaxError: Unexpected token ':'"
during schema compile under Node 24. Pinning ajv@8.x to the previously
working 8.18.0 keeps `pnpm openapi:lint:spectral` green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@B4nan B4nan requested a review from barjin May 6, 2026 07:51
pnpm 10 reads workspace-level config (including overrides) from
pnpm-workspace.yaml, not package.json. The previous commit put them
under package.json#pnpm.overrides; this moves them to the canonical
location.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@barjin barjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A quick question, but not blocking (it seems it has been like this before as well). Thanks!

Comment thread pnpm-workspace.yaml Outdated
Comment on lines +16 to +18
uuid@>=11.0.0: ^11.1.1
js-yaml@>=4.0.0: ^4.1.1
ajv@>=8.0.0 <9.0.0: 8.18.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If something requires a new major version of uuid or js-yaml, will this force it back on uuid@11 and js-yaml@4? Shouldn't we use the pattern from ajv here, instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — bounded both ranges to the current major in 57a27c0 (mirroring the ajv pattern), so a future uuid@12 / js-yaml@5 won't get silently pinned back.

B4nan and others added 2 commits May 6, 2026 10:34
Per review feedback, mirror the bounded pattern used for ajv so a
future major bump (uuid@12, js-yaml@5) isn't silently forced back to
the current major.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The previous commit changed override keys in pnpm-workspace.yaml but
forgot to stage the resulting lockfile metadata update, which broke
`pnpm install --frozen-lockfile` in CI with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@B4nan B4nan merged commit 80def67 into master May 6, 2026
15 checks passed
@B4nan B4nan deleted the chore/dependabot-lockfile-updates branch May 6, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

3 participants