-
Notifications
You must be signed in to change notification settings - Fork 39
chore(deps): npm: bump the all-npm group across 4 directories with 40 updates #716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,15 +33,15 @@ | |
| "@smithy/signature-v4": "^5.6.1", | ||
| "aws-cdk-lib": "^2.260.0", | ||
| "aws-jwt-verify": "^5.2.1", | ||
| "cdk-nag": "^2.38.2", | ||
| "cdk-nag": "^3.0.1", | ||
| "constructs": "^10.6.0", | ||
| "js-yaml": "^4.1.1", | ||
| "js-yaml": "^5.2.2", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking (B4). This declaration is overridden and does not describe the installed tree.
There is no Separately, FWIW the runtime risk is narrower than the major implies: v5's Suggested fix: revert to |
||
| "pdf-parse": "2.4.5", | ||
| "ulid": "^3.0.2", | ||
| "ws": "^8.21.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@aws-cdk/integ-runner": "2.202.1", | ||
| "@aws-cdk/integ-runner": "2.203.2", | ||
| "@aws-cdk/integ-tests-alpha": "2.260.0-alpha.0", | ||
| "@cdklabs/eslint-plugin": "^2", | ||
| "@stylistic/eslint-plugin": "^5", | ||
|
|
@@ -64,7 +64,7 @@ | |
| "jest-junit": "^17", | ||
| "ts-jest": "^29.4.11", | ||
| "ts-node": "^10.9.2", | ||
| "typescript": "^6.0.3" | ||
| "typescript": "^7.0.2" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking (B1) — this is the live TypeScript 7 is the native (Go) port and no longer ships the JS compiler API on the package main entry. From the published const { version } = require("../package.json");
exports.version = version;
exports.versionMajorMinor = "7.0";So That is verbatim the CI failure. Also (B2): TS 7.0.2 satisfies none of the declared peer ranges of the surrounding toolchain — Suggested fix: revert to |
||
| }, | ||
| "resolutions": {}, | ||
| "engines": { | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking (B3).
cdk-nag3.0.0 is an engine rewrite (IAspect->IPolicyValidationPlugin), and this repo has not migrated.Two concrete breaks, both verified against the published 3.0.1 tarball:
NagSuppressionsno longer exists. v3'slib/index.d.tsexports onlynag-logger,nag-pack,nag-rules, the packs, andrules;NagSuppressionsappears in nolib/**/*.d.ts. Its ownMIGRATION.mdlists it under "Removed APIs" ->Validations.of(construct).acknowledge(...). This repo has 21import { NagSuppressions } from 'cdk-nag'sites and 50NagSuppressions.add*calls across 22 files, and zero uses ofValidations.//cdk:compilewill fail with ~50+ errors — currently latent only becausecheck:types-sync(B1) fails first.Registration silently no-ops.
cdk/src/main.ts:32usesAspects.of(app).add(new AwsSolutionsChecks()). v3 requiresValidations.of(app).addPlugins(new AwsSolutionsChecks(app)). The old form does not throw at synth — cdk-nag just stops evaluating, so the repo could ship with its security-rule engine silently disabled.Also note v3 has no bulk-array suppression form, so each existing
addResourceSuppressions([...])fans out into Nacknowledge()calls.Suggested fix: revert to
"cdk-nag": "^2.38.2"and file a dedicated approved issue for the v3 migration (all 50 call sites,main.tsregistration, re-verification that every previously-suppressed rule is still acknowledged, pluswriteSuppressionsToCloudFormation: trueif the v2cdk_nagtemplate-metadata audit trail must be preserved).