Skip to content

chore(deps): fix dependabot alerts via pnpm overrides - #258

Merged
bestickley merged 2 commits into
mainfrom
fix-dependabot-alerts
Sep 2, 2026
Merged

chore(deps): fix dependabot alerts via pnpm overrides#258
bestickley merged 2 commits into
mainfrom
fix-dependabot-alerts

Conversation

@bestickley

Copy link
Copy Markdown
Contributor

Summary

  • Fixes 51 open Dependabot alerts by pinning transitive dependencies to patched versions via pnpm.overrides (root) and overrides/catalog (examples workspace), rather than waiting on upstream direct-dependency bumps.
  • Root: postcss, browserslist, js-yaml (3.x/4.x lines), brace-expansion (1.x/5.x lines), @babel/core.
  • examples/: same packages above plus postcss-selector-parser, @humanfs/node, @faker-js/faker, nanoid, socket.io-parser, undici (7.x line), protobufjs (7.x line), @opentelemetry/core, joi, sharp, and next.
  • next in the examples catalog is pinned with ~16.2.11 instead of ^16.2.11 — the caret range resolves to 16.3.4, which changes an internal Next.js build-output filename that the cdk-nextjs adapter's postbuild hook depends on, breaking next build. Tilde keeps resolution on the 16.2.x line while still clearing the CVEs (fixed in 16.2.11).

Test plan

  • pnpm build (root): compile, lint, 38 tests pass, jsii package succeeds
  • examples/app-playground: pnpm build succeeds (next build + adapter postbuild hook), pnpm lint clean
  • Verified every alerted package now resolves to a version at or above its advisory's fixed version in both pnpm-lock.yaml and examples/pnpm-lock.yaml, with no leftover vulnerable duplicate versions and no unintended major-version jumps

Force transitive dependencies to patched versions for js-yaml,
brace-expansion, postcss, browserslist, @babel/core, and (in
examples/) postcss-selector-parser, @humanfs/node, @faker-js/faker,
nanoid, socket.io-parser, undici, protobufjs, @opentelemetry/core,
joi, sharp, and next. Pins next to ~16.2.11 rather than ^16.2.11
since the caret range resolves to 16.3.4, which changes an internal
build-output filename the adapter's postbuild hook depends on.
# Conflicts:
#	examples/pnpm-lock.yaml
#	examples/pnpm-workspace.yaml
#	pnpm-lock.yaml
@bestickley
bestickley disabled auto-merge September 2, 2026 20:33
@bestickley
bestickley merged commit a547a53 into main Sep 2, 2026
10 of 11 checks passed
@bestickley
bestickley deleted the fix-dependabot-alerts branch September 2, 2026 20:39
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ✅ 0 package(s) with unknown licenses.
  • ⚠️ 2 packages with OpenSSF Scorecard issues.

View full job summary

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