diff --git a/cdk/package-lock.json b/cdk/package-lock.json index a1203db..0b657c2 100644 --- a/cdk/package-lock.json +++ b/cdk/package-lock.json @@ -12,7 +12,7 @@ "@aws-sdk/client-cognito-identity-provider": "^3.987.0", "@types/aws-lambda": "^8.10.149", "aws-cdk-lib": "^2.240.0", - "cdk-nag": "^2.14.29", + "cdk-nag": "^3.0.0", "constructs": "^10.0.0", "deploy-time-build": "^0.3.32", "source-map-support": "^0.5.21" @@ -37,36 +37,36 @@ "license": "Apache-2.0" }, "node_modules/@aws-cdk/asset-awscli-v1": { - "version": "2.2.263", - "resolved": "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.263.tgz", - "integrity": "sha512-X9JvcJhYcb7PHs8R7m4zMablO5C9PGb/hYfLnxds9h/rKJu6l7MiXE/SabCibuehxPnuO/vk+sVVJiUWrccarQ==", + "version": "2.2.282", + "resolved": "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.282.tgz", + "integrity": "sha512-7hKMi5tTxDcKGIMIOq14PnY0GBcugW33Uh/2YHDZiEwSxLeFOCYBwhR+BFXONb/EJeVI3RETFgailNZbkcKF6g==", "license": "Apache-2.0" }, "node_modules/@aws-cdk/asset-node-proxy-agent-v6": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.1.0.tgz", - "integrity": "sha512-7bY3J8GCVxLupn/kNmpPc5VJz8grx+4RKfnnJiO1LG+uxkZfANZG3RMHhE+qQxxwkyQ9/MfPtTpf748UhR425A==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.1.2.tgz", + "integrity": "sha512-pDiuqH+qY3zM9lhhLjbKJ1tnKOHzQ2V4Wr/3qsxyKeKAkuPMI/BVGvZG1PbrikUw949cGVTfVEt4ETKKYnrj0Q==", "license": "Apache-2.0" }, "node_modules/@aws-cdk/cloud-assembly-schema": { - "version": "50.4.0", - "resolved": "https://registry.npmjs.org/@aws-cdk/cloud-assembly-schema/-/cloud-assembly-schema-50.4.0.tgz", - "integrity": "sha512-9Cplwc5C+SNe3hMfqZET7gXeM68tiH2ytQytCi+zz31Bn7O3GAgAnC2dYe+HWnZAgVH788ZkkBwnYXkeqx7v4g==", + "version": "54.2.0", + "resolved": "https://registry.npmjs.org/@aws-cdk/cloud-assembly-schema/-/cloud-assembly-schema-54.2.0.tgz", + "integrity": "sha512-u3lFXmiXSBozxGBmKTCVD/2mTDsaXzLZH3KYiIQKcB+zPldXOeE5TnooBgKV9ih2jVTo8ML0HpkhfAq2eiv0eQ==", "bundleDependencies": [ "jsonschema", "semver" ], "license": "Apache-2.0", "dependencies": { - "jsonschema": "~1.4.1", - "semver": "^7.7.3" + "jsonschema": "^1.5.0", + "semver": "^7.8.1" }, "engines": { "node": ">= 18.0.0" } }, "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema": { - "version": "1.4.1", + "version": "1.5.0", "inBundle": true, "license": "MIT", "engines": { @@ -74,7 +74,7 @@ } }, "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver": { - "version": "7.7.3", + "version": "7.8.1", "inBundle": true, "license": "ISC", "bin": { @@ -3427,9 +3427,9 @@ } }, "node_modules/aws-cdk-lib": { - "version": "2.240.0", - "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.240.0.tgz", - "integrity": "sha512-3dXmUnPB5kK0VgrNHOlV3jiQM4Dungukk/CV91nclO2lgNcrGyigauJdzmz9sOmI1gbKJJ2SRAotaXityzZMRw==", + "version": "2.259.0", + "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.259.0.tgz", + "integrity": "sha512-qcsbyRBZpFMUzx/Nle5vKXFC14Z1VutvAqw6S4Duh3Yj5ZFl4e/RhN2Vg8QmYktxu9l1aF9H5UyF+Xz81qk9gw==", "bundleDependencies": [ "@balena/dockerignore", "@aws-cdk/cloud-assembly-api", @@ -3446,65 +3446,42 @@ ], "license": "Apache-2.0", "dependencies": { - "@aws-cdk/asset-awscli-v1": "2.2.263", - "@aws-cdk/asset-node-proxy-agent-v6": "^2.1.0", - "@aws-cdk/cloud-assembly-api": "^2.0.1", - "@aws-cdk/cloud-assembly-schema": "^50.3.0", + "@aws-cdk/asset-awscli-v1": "2.2.282", + "@aws-cdk/asset-node-proxy-agent-v6": "^2.1.2", + "@aws-cdk/cloud-assembly-api": "^2.2.5", + "@aws-cdk/cloud-assembly-schema": "^54.0.0", "@balena/dockerignore": "^1.0.2", "case": "1.6.3", - "fs-extra": "^11.3.3", + "fs-extra": "^11.3.5", "ignore": "^5.3.2", "jsonschema": "^1.5.0", "mime-types": "^2.1.35", - "minimatch": "^10.2.1", + "minimatch": "^10.2.5", "punycode": "^2.3.1", - "semver": "^7.7.4", + "semver": "^7.8.1", "table": "^6.9.0", - "yaml": "1.10.2" + "yaml": "1.10.3" }, "engines": { - "node": ">= 18.0.0" + "node": ">= 20.0.0" }, "peerDependencies": { "constructs": "^10.5.0" } }, "node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api": { - "version": "2.0.1", - "bundleDependencies": [ - "jsonschema", - "semver" - ], + "version": "2.2.5", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "jsonschema": "~1.4.1", - "semver": "^7.7.3" + "jsonschema": "^1.5.0", + "semver": "^7.8.0" }, "engines": { "node": ">= 18.0.0" }, "peerDependencies": { - "@aws-cdk/cloud-assembly-schema": ">=50.3.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api/node_modules/jsonschema": { - "version": "1.4.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api/node_modules/semver": { - "version": "7.7.3", - "inBundle": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" + "@aws-cdk/cloud-assembly-schema": ">=53.28.0" } }, "node_modules/aws-cdk-lib/node_modules/@balena/dockerignore": { @@ -3513,7 +3490,7 @@ "license": "Apache-2.0" }, "node_modules/aws-cdk-lib/node_modules/ajv": { - "version": "8.18.0", + "version": "8.20.0", "inBundle": true, "license": "MIT", "dependencies": { @@ -3566,7 +3543,7 @@ } }, "node_modules/aws-cdk-lib/node_modules/brace-expansion": { - "version": "5.0.3", + "version": "5.0.6", "inBundle": true, "license": "MIT", "dependencies": { @@ -3611,7 +3588,7 @@ "license": "MIT" }, "node_modules/aws-cdk-lib/node_modules/fast-uri": { - "version": "3.1.0", + "version": "3.1.2", "funding": [ { "type": "github", @@ -3626,7 +3603,7 @@ "license": "BSD-3-Clause" }, "node_modules/aws-cdk-lib/node_modules/fs-extra": { - "version": "11.3.3", + "version": "11.3.5", "inBundle": true, "license": "MIT", "dependencies": { @@ -3665,7 +3642,7 @@ "license": "MIT" }, "node_modules/aws-cdk-lib/node_modules/jsonfile": { - "version": "6.2.0", + "version": "6.2.1", "inBundle": true, "license": "MIT", "dependencies": { @@ -3708,11 +3685,11 @@ } }, "node_modules/aws-cdk-lib/node_modules/minimatch": { - "version": "10.2.2", + "version": "10.2.5", "inBundle": true, "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^5.0.2" + "brace-expansion": "^5.0.5" }, "engines": { "node": "18 || 20 || >=22" @@ -3738,7 +3715,7 @@ } }, "node_modules/aws-cdk-lib/node_modules/semver": { - "version": "7.7.4", + "version": "7.8.1", "inBundle": true, "license": "ISC", "bin": { @@ -3812,7 +3789,7 @@ } }, "node_modules/aws-cdk-lib/node_modules/yaml": { - "version": "1.10.2", + "version": "1.10.3", "inBundle": true, "license": "ISC", "engines": { @@ -4071,13 +4048,16 @@ "license": "CC-BY-4.0" }, "node_modules/cdk-nag": { - "version": "2.35.104", - "resolved": "https://registry.npmjs.org/cdk-nag/-/cdk-nag-2.35.104.tgz", - "integrity": "sha512-ZK302x5ITc2JbR7lHfbyN6nQYo+5wjSK8gmEl6fZit39yC2s+eWJkIVh5y9IR4UKCCxPntuLY6fXTys9fGWFGA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cdk-nag/-/cdk-nag-3.0.0.tgz", + "integrity": "sha512-nYyG3SyJ+uXjREIFo1X3vqypyqMODqqSPZ/FXd09+ioK2062wWxUvdk7rENOrurcsEXeON1CHUSNr144nUtNDw==", "license": "Apache-2.0", + "engines": { + "node": ">= 18.12.0" + }, "peerDependencies": { - "aws-cdk-lib": "^2.156.0", - "constructs": "^10.0.5" + "aws-cdk-lib": "^2.257.0", + "constructs": "^10.5.1" } }, "node_modules/chalk": { diff --git a/cdk/package.json b/cdk/package.json index a58b4b1..c644e0b 100644 --- a/cdk/package.json +++ b/cdk/package.json @@ -27,7 +27,7 @@ "@aws-sdk/client-cognito-identity-provider": "^3.987.0", "@types/aws-lambda": "^8.10.149", "aws-cdk-lib": "^2.240.0", - "cdk-nag": "^2.14.29", + "cdk-nag": "^3.0.0", "constructs": "^10.0.0", "deploy-time-build": "^0.3.32", "source-map-support": "^0.5.21" diff --git a/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit-without-domain.test.ts.snap b/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit-without-domain.test.ts.snap index d903f85..8b40ecc 100644 --- a/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit-without-domain.test.ts.snap +++ b/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit-without-domain.test.ts.snap @@ -27,7 +27,7 @@ exports[`Snapshot test 1`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -433,7 +433,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 120, }, "Type": "AWS::Lambda::Function", @@ -486,7 +486,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -1508,7 +1508,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -1594,7 +1594,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -2232,7 +2232,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", diff --git a/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit.test.ts.snap b/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit.test.ts.snap index 0060c84..91ac32d 100644 --- a/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit.test.ts.snap +++ b/cdk/test/__snapshots__/serverless-fullstack-webapp-starter-kit.test.ts.snap @@ -49,7 +49,7 @@ exports[`Snapshot test 1`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -454,7 +454,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 120, }, "Type": "AWS::Lambda::Function", @@ -507,7 +507,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -1424,7 +1424,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -1510,7 +1510,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -2149,7 +2149,7 @@ exports[`Snapshot test 2`] = ` "Arn", ], }, - "Runtime": "nodejs22.x", + "Runtime": "nodejs24.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function",