Update dependencies and CDK; resolve npm audit advisories - #102
Merged
Conversation
- aws-cdk-lib 2.236 -> 2.260, aws-cdk CLI -> 2.1128, constructs -> 10.6 - @aws-sdk/client-secrets-manager -> 3.1072, @restatedev/restate-sdk -> 1.14.5, and dev toolchain (types, prettier, ts-jest, tsx, typescript, jest-cdk-snapshot) to latest in-range - Clears the critical (fast-xml-parser DoS) and all high advisories (aws-cdk-lib NodejsFunction command injection, fast-uri, minimatch, picomatch) - Regenerate snapshots: NODEJS_LATEST is nodejs24.x under CDK 2.260 (test fixture only) Remaining 20 moderate + 1 low are dev-only (jest 29 coverage tooling -> js-yaml@3, jest-cdk-snapshot, esbuild dev-server) and are not installed by consumers of the published library; clearing them needs upstream fixes, not a jest 30 migration (which yields no audit reduction).
pcholakov
force-pushed
the
update-dependencies
branch
from
June 18, 2026 19:49
80bfc9a to
9d007f0
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
General dependency tidy-up: update CDK and the dev toolchain, and resolve the actionable
npm auditadvisories.Updates
aws-cdk-lib2.236.0 -> 2.260.0,aws-cdkCLI -> 2.1128.0,constructs-> 10.6.0@aws-sdk/client-secrets-manager-> 3.1072.0,@restatedev/restate-sdk-> 1.14.5@types/*,prettier,ts-jest,tsx,typescript,jest-cdk-snapshotpackage.jsonfloors bumped to match; no major-version bumpsSecurity (
npm audit)Before: 30 (1 critical, 4 high, 24 moderate, 1 low) -> After: 21 (0 critical, 0 high, 20 moderate, 1 low)
fast-xml-parser(DoS) cleared via the AWS SDK updateaws-cdk-libNodejsFunction command injection,fast-uri,minimatch,picomatch(ReDoS)The remaining 20 moderate + 1 low are dev-only and not installed by consumers of the published library (devDependencies):
js-yaml@3, pinned byjest@29's coverage tooling (@istanbuljs/load-nyc-config) and byjest-cdk-snapshot. A jest 29->30 bump does not reduce the count (thejs-yaml@3pins persist), and a blanketjs-yaml@4override breaksjest-cdk-snapshot(it uses the removed v3safeLoadAPI). These need upstream fixes.esbuild's Windows dev-server file-read advisory; the dev server is not used here.Tests
npm run build,npm run lint,npm testall passRuntime.NODEJS_LATEST, which resolves tonodejs24.xunder CDK 2.260 (wasnodejs22.x). Construct-owned handlers remain pinned atNODEJS_22_X- no consumer-facing change.Note
Overlaps with #101 (Release 1.7.0) in
package.json/package-lock.json. Whichever merges first, the other should be rebased.