chore(deps): fix dependabot alerts via pnpm overrides - #258
Merged
Conversation
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.
cdklabs-automation
enabled auto-merge
September 2, 2026 18:02
# Conflicts: # examples/pnpm-lock.yaml # examples/pnpm-workspace.yaml # pnpm-lock.yaml
Contributor
Dependency ReviewThe following issues were found:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm.overrides(root) andoverrides/catalog (examples workspace), rather than waiting on upstream direct-dependency bumps.postcss,browserslist,js-yaml(3.x/4.x lines),brace-expansion(1.x/5.x lines),@babel/core.examples/: same packages above pluspostcss-selector-parser,@humanfs/node,@faker-js/faker,nanoid,socket.io-parser,undici(7.x line),protobufjs(7.x line),@opentelemetry/core,joi,sharp, andnext.nextin the examples catalog is pinned with~16.2.11instead of^16.2.11— the caret range resolves to16.3.4, which changes an internal Next.js build-output filename that thecdk-nextjsadapter's postbuild hook depends on, breakingnext 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 succeedsexamples/app-playground:pnpm buildsucceeds (next build + adapter postbuild hook),pnpm lintcleanpnpm-lock.yamlandexamples/pnpm-lock.yaml, with no leftover vulnerable duplicate versions and no unintended major-version jumps