Pin aws-cdk-lib to 2.253.1 to fix npm ci

aws-cdk-lib 2.254.0 has a bundled dependency bug where npm ci reports
jsonschema@1.4.1 as missing from the lock file. Pinning to 2.253.1
which is proven working in CI (same version as forgejo).
This commit is contained in:
Adam Moussa 2026-05-14 15:47:21 -04:00
parent 939ff7122c
commit 00882667e5
2 changed files with 14 additions and 10 deletions

22
package-lock.json generated
View file

@ -8,7 +8,7 @@
"name": "file-share", "name": "file-share",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"aws-cdk-lib": "^2.252.0", "aws-cdk-lib": "2.253.1",
"constructs": "^10.0.0" "constructs": "^10.0.0"
}, },
"bin": { "bin": {
@ -93,9 +93,9 @@
} }
}, },
"node_modules/aws-cdk-lib": { "node_modules/aws-cdk-lib": {
"version": "2.254.0", "version": "2.253.1",
"resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.254.0.tgz", "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.253.1.tgz",
"integrity": "sha512-O7fn6fu1FXb0BgoO/+WeiBXZ16H/q6z4fOndjdG62c9bPU7Z/UeW5gz7qBiwLm4ERvTObobLCqv7wjd8bp+v3A==", "integrity": "sha512-vy+hA15/ZfSQpivkNdlIn2ZDA2hesp3WJgmtIZJDFwu6xzwv7wH7glbAdu5xCHGcOjepOaTKZSvCPC6sN+0/Vw==",
"bundleDependencies": [ "bundleDependencies": [
"@balena/dockerignore", "@balena/dockerignore",
"@aws-cdk/cloud-assembly-api", "@aws-cdk/cloud-assembly-api",
@ -114,8 +114,8 @@
"dependencies": { "dependencies": {
"@aws-cdk/asset-awscli-v1": "2.2.273", "@aws-cdk/asset-awscli-v1": "2.2.273",
"@aws-cdk/asset-node-proxy-agent-v6": "^2.1.1", "@aws-cdk/asset-node-proxy-agent-v6": "^2.1.1",
"@aws-cdk/cloud-assembly-api": "^2.2.3", "@aws-cdk/cloud-assembly-api": "^2.2.2",
"@aws-cdk/cloud-assembly-schema": "^53.21.0", "@aws-cdk/cloud-assembly-schema": "^53.18.0",
"@balena/dockerignore": "^1.0.2", "@balena/dockerignore": "^1.0.2",
"case": "1.6.3", "case": "1.6.3",
"fs-extra": "^11.3.3", "fs-extra": "^11.3.3",
@ -136,7 +136,11 @@
} }
}, },
"node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api": { "node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api": {
"version": "2.2.3", "version": "2.2.2",
"bundleDependencies": [
"jsonschema",
"semver"
],
"inBundle": true, "inBundle": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@ -147,7 +151,7 @@
"node": ">= 18.0.0" "node": ">= 18.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"@aws-cdk/cloud-assembly-schema": ">=53.21.0" "@aws-cdk/cloud-assembly-schema": ">=53.15.0"
} }
}, },
"node_modules/aws-cdk-lib/node_modules/@balena/dockerignore": { "node_modules/aws-cdk-lib/node_modules/@balena/dockerignore": {
@ -254,7 +258,7 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/aws-cdk-lib/node_modules/fast-uri": { "node_modules/aws-cdk-lib/node_modules/fast-uri": {
"version": "3.1.2", "version": "3.1.0",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",

View file

@ -18,7 +18,7 @@
"typescript": "~5.7.0" "typescript": "~5.7.0"
}, },
"dependencies": { "dependencies": {
"aws-cdk-lib": "^2.252.0", "aws-cdk-lib": "2.253.1",
"constructs": "^10.0.0" "constructs": "^10.0.0"
} }
} }