diff --git a/.projen/deps.json b/.projen/deps.json
index f21f9833..3fe54512 100644
--- a/.projen/deps.json
+++ b/.projen/deps.json
@@ -148,10 +148,6 @@
"name": "undici",
"type": "build"
},
- {
- "name": "esbuild",
- "type": "bundled"
- },
{
"name": "aws-cdk-lib",
"version": "^2.110.0",
diff --git a/.projenrc.ts b/.projenrc.ts
index f21ad22f..f62143f3 100644
--- a/.projenrc.ts
+++ b/.projenrc.ts
@@ -50,7 +50,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
// dependency config
jsiiVersion: '~5.0.0',
cdkVersion: '2.110.0',
- bundledDeps: ['esbuild'] /* Runtime dependencies of this module. */,
+ bundledDeps: [] /* Runtime dependencies of this module. */,
devDeps: [
'@aws-crypto/sha256-js',
'@aws-sdk/client-s3',
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c1cb0065..9889e55c 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,5 +1,5 @@
{
"editor.codeActionsOnSave": {
- "source.fixAll.eslint": true
+ "source.fixAll.eslint": "explicit"
},
}
\ No newline at end of file
diff --git a/API.md b/API.md
index aa6b5e87..2b578ec0 100644
--- a/API.md
+++ b/API.md
@@ -2627,7 +2627,7 @@ const nextjsBucketDeploymentProps: NextjsBucketDeploymentProps = { ... }
| destinationBucket
| aws-cdk-lib.aws_s3.IBucket
| Destination S3 Bucket. |
| debug
| boolean
| Enable verbose output of Custom Resource Lambda. |
| destinationKeyPrefix
| string
| Destination S3 Bucket Key Prefix. |
-| prune
| boolean
| If `true`, then delete files in `destinationBucket`/`destinationKeyPrefix` before uploading new objects. |
+| prune
| boolean
| If `true`, then delete old objects in `destinationBucket`/`destinationKeyPrefix` **after** uploading new objects. Only applies if `zip` is `false`. |
| putConfig
| {[ key: string ]: {[ key: string ]: string}}
| Mapping of files to PUT options for `PutObjectCommand`. |
| substitutionConfig
| {[ key: string ]: string}
| Replace placeholders in all files in `asset`. |
| zip
| boolean
| If `true` then files will be zipped before writing to destination bucket. |
@@ -2692,7 +2692,11 @@ public readonly prune: boolean;
- *Type:* boolean
- *Default:* true
-If `true`, then delete files in `destinationBucket`/`destinationKeyPrefix` before uploading new objects.
+If `true`, then delete old objects in `destinationBucket`/`destinationKeyPrefix` **after** uploading new objects. Only applies if `zip` is `false`.
+
+Old objects are determined by listing objects
+in bucket before creating new objects and finding the objects that aren't in
+the new objects.
---
@@ -3816,6 +3820,7 @@ const nextjsStaticAssetsProps: NextjsStaticAssetsProps = { ... }
| basePath
| string
| Optional value to prefix the Next.js site under a /prefix path on CloudFront. Usually used when you deploy multiple Next.js sites on same domain using /sub-path. |
| bucket
| aws-cdk-lib.aws_s3.IBucket
| Define your own bucket to store static assets. |
| environment
| {[ key: string ]: string}
| Custom environment variables to pass to the NextJS build and runtime. |
+| prune
| boolean
| If `true` (default), then removes old static assets after upload new static assets. |
---
@@ -3878,5 +3883,18 @@ Custom environment variables to pass to the NextJS build and runtime.
---
+##### `prune`Optional
+
+```typescript
+public readonly prune: boolean;
+```
+
+- *Type:* boolean
+- *Default:* true
+
+If `true` (default), then removes old static assets after upload new static assets.
+
+---
+
diff --git a/examples/app-pages-router/package.json b/examples/app-pages-router/package.json
index 38e02f28..21e4a7f4 100644
--- a/examples/app-pages-router/package.json
+++ b/examples/app-pages-router/package.json
@@ -7,15 +7,15 @@
"cdk": "cdk"
},
"devDependencies": {
- "@types/node": "20.5.7",
- "aws-cdk": "2.94.0",
- "esbuild": "^0.19.3",
- "tsx": "^3.12.10",
- "typescript": "~5.2.2"
+ "@types/node": "20.10.4",
+ "aws-cdk": "2.114.1",
+ "esbuild": "^0.19.8",
+ "tsx": "^4.6.2",
+ "typescript": "~5.3.3"
},
"dependencies": {
- "aws-cdk-lib": "2.94.0",
+ "aws-cdk-lib": "2.114.1",
"cdk-nextjs-standalone": "link:../..",
- "constructs": "^10.0.0"
+ "constructs": "^10.3.0"
}
}
diff --git a/examples/app-pages-router/pnpm-lock.yaml b/examples/app-pages-router/pnpm-lock.yaml
index 87a3094f..3588b6f2 100644
--- a/examples/app-pages-router/pnpm-lock.yaml
+++ b/examples/app-pages-router/pnpm-lock.yaml
@@ -6,36 +6,36 @@ settings:
dependencies:
aws-cdk-lib:
- specifier: 2.94.0
- version: 2.94.0(constructs@10.2.70)
+ specifier: 2.114.1
+ version: 2.114.1(constructs@10.3.0)
cdk-nextjs-standalone:
specifier: link:../..
version: link:../..
constructs:
- specifier: ^10.0.0
- version: 10.2.70
+ specifier: ^10.3.0
+ version: 10.3.0
devDependencies:
'@types/node':
- specifier: 20.5.7
- version: 20.5.7
+ specifier: 20.10.4
+ version: 20.10.4
aws-cdk:
- specifier: 2.94.0
- version: 2.94.0
+ specifier: 2.114.1
+ version: 2.114.1
esbuild:
- specifier: ^0.19.3
- version: 0.19.3
+ specifier: ^0.19.8
+ version: 0.19.8
tsx:
- specifier: ^3.12.10
- version: 3.12.10
+ specifier: ^4.6.2
+ version: 4.6.2
typescript:
- specifier: ~5.2.2
- version: 5.2.2
+ specifier: ~5.3.3
+ version: 5.3.3
packages:
- /@aws-cdk/asset-awscli-v1@2.2.200:
- resolution: {integrity: sha512-Kf5J8DfJK4wZFWT2Myca0lhwke7LwHcHBo+4TvWOGJrFVVKVuuiLCkzPPRBQQVDj0Vtn2NBokZAz8pfMpAqAKg==}
+ /@aws-cdk/asset-awscli-v1@2.2.201:
+ resolution: {integrity: sha512-INZqcwDinNaIdb5CtW3ez5s943nX5stGBQS6VOP2JDlOFP81hM3fds/9NDknipqfUkZM43dx+HgVvkXYXXARCQ==}
dev: false
/@aws-cdk/asset-kubectl-v20@2.1.2:
@@ -46,27 +46,6 @@ packages:
resolution: {integrity: sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==}
dev: false
- /@esbuild-kit/cjs-loader@2.4.4:
- resolution: {integrity: sha512-NfsJX4PdzhwSkfJukczyUiZGc7zNNWZcEAyqeISpDnn0PTfzMJR1aR8xAIPskBejIxBJbIgCCMzbaYa9SXepIg==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.1
- get-tsconfig: 4.7.0
- dev: true
-
- /@esbuild-kit/core-utils@3.3.1:
- resolution: {integrity: sha512-zg2aeGLgbZ/U8AnHRD6y085BkRqlw7jOsqpI/AFaQg6FhcCRycAe+aFLibs9okVVYTMqWANDC76UVSzd3qBoOw==}
- dependencies:
- esbuild: 0.18.20
- source-map-support: 0.5.21
- dev: true
-
- /@esbuild-kit/esm-loader@2.6.4:
- resolution: {integrity: sha512-xcbyhN97xFFFEdDw6IC4EuzX9Ali3aV3cj2FIYragOQpbPM4X6QA2R5qaP3h7Tr0tuyI6dmJJdMw7oBHxBSXQA==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.1
- get-tsconfig: 4.7.0
- dev: true
-
/@esbuild/android-arm64@0.18.20:
resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}
engines: {node: '>=12'}
@@ -76,8 +55,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm64@0.19.3:
- resolution: {integrity: sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==}
+ /@esbuild/android-arm64@0.19.8:
+ resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
@@ -94,8 +73,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm@0.19.3:
- resolution: {integrity: sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==}
+ /@esbuild/android-arm@0.19.8:
+ resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
@@ -112,8 +91,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-x64@0.19.3:
- resolution: {integrity: sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==}
+ /@esbuild/android-x64@0.19.8:
+ resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
@@ -130,8 +109,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-arm64@0.19.3:
- resolution: {integrity: sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==}
+ /@esbuild/darwin-arm64@0.19.8:
+ resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
@@ -148,8 +127,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-x64@0.19.3:
- resolution: {integrity: sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==}
+ /@esbuild/darwin-x64@0.19.8:
+ resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
@@ -166,8 +145,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-arm64@0.19.3:
- resolution: {integrity: sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==}
+ /@esbuild/freebsd-arm64@0.19.8:
+ resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
@@ -184,8 +163,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-x64@0.19.3:
- resolution: {integrity: sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==}
+ /@esbuild/freebsd-x64@0.19.8:
+ resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
@@ -202,8 +181,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm64@0.19.3:
- resolution: {integrity: sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==}
+ /@esbuild/linux-arm64@0.19.8:
+ resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
@@ -220,8 +199,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm@0.19.3:
- resolution: {integrity: sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==}
+ /@esbuild/linux-arm@0.19.8:
+ resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
@@ -238,8 +217,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ia32@0.19.3:
- resolution: {integrity: sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==}
+ /@esbuild/linux-ia32@0.19.8:
+ resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@@ -256,8 +235,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-loong64@0.19.3:
- resolution: {integrity: sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==}
+ /@esbuild/linux-loong64@0.19.8:
+ resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
@@ -274,8 +253,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-mips64el@0.19.3:
- resolution: {integrity: sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==}
+ /@esbuild/linux-mips64el@0.19.8:
+ resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
@@ -292,8 +271,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ppc64@0.19.3:
- resolution: {integrity: sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==}
+ /@esbuild/linux-ppc64@0.19.8:
+ resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
@@ -310,8 +289,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-riscv64@0.19.3:
- resolution: {integrity: sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==}
+ /@esbuild/linux-riscv64@0.19.8:
+ resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
@@ -328,8 +307,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-s390x@0.19.3:
- resolution: {integrity: sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==}
+ /@esbuild/linux-s390x@0.19.8:
+ resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
@@ -346,8 +325,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-x64@0.19.3:
- resolution: {integrity: sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==}
+ /@esbuild/linux-x64@0.19.8:
+ resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
@@ -364,8 +343,8 @@ packages:
dev: true
optional: true
- /@esbuild/netbsd-x64@0.19.3:
- resolution: {integrity: sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==}
+ /@esbuild/netbsd-x64@0.19.8:
+ resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
@@ -382,8 +361,8 @@ packages:
dev: true
optional: true
- /@esbuild/openbsd-x64@0.19.3:
- resolution: {integrity: sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==}
+ /@esbuild/openbsd-x64@0.19.8:
+ resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
@@ -400,8 +379,8 @@ packages:
dev: true
optional: true
- /@esbuild/sunos-x64@0.19.3:
- resolution: {integrity: sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==}
+ /@esbuild/sunos-x64@0.19.8:
+ resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
@@ -418,8 +397,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-arm64@0.19.3:
- resolution: {integrity: sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==}
+ /@esbuild/win32-arm64@0.19.8:
+ resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
@@ -436,8 +415,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-ia32@0.19.3:
- resolution: {integrity: sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==}
+ /@esbuild/win32-ia32@0.19.8:
+ resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
@@ -454,8 +433,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-x64@0.19.3:
- resolution: {integrity: sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==}
+ /@esbuild/win32-x64@0.19.8:
+ resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@@ -463,20 +442,22 @@ packages:
dev: true
optional: true
- /@types/node@20.5.7:
- resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==}
+ /@types/node@20.10.4:
+ resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==}
+ dependencies:
+ undici-types: 5.26.5
dev: true
- /aws-cdk-lib@2.94.0(constructs@10.2.70):
- resolution: {integrity: sha512-pB/UzKeM+p/wY9WuFYkEewOFUh2r8qwaML63is4vUChXY2G2Bj3pGyfJ97Xir2Q5KIhgJPJz5igdouI4+F9A+g==}
+ /aws-cdk-lib@2.114.1(constructs@10.3.0):
+ resolution: {integrity: sha512-pJy+Sa3+s6K9I0CXYGU8J5jumw9uQEbl8zPK8EMA+A6hP9qb1JN+a8ohyw6a1O1cb4D5S6gwH+hE7Fq7hGPY3A==}
engines: {node: '>= 14.15.0'}
peerDependencies:
constructs: ^10.0.0
dependencies:
- '@aws-cdk/asset-awscli-v1': 2.2.200
+ '@aws-cdk/asset-awscli-v1': 2.2.201
'@aws-cdk/asset-kubectl-v20': 2.1.2
'@aws-cdk/asset-node-proxy-agent-v6': 2.0.1
- constructs: 10.2.70
+ constructs: 10.3.0
dev: false
bundledDependencies:
- '@balena/dockerignore'
@@ -490,20 +471,16 @@ packages:
- table
- yaml
- /aws-cdk@2.94.0:
- resolution: {integrity: sha512-9bJkzxFDYZDwPDfZi/DSUODn4HFRzuXWPhpFgIIgRykfT18P+iAIJ1AEhaaCmlqrrog5yQgN+2iYd9BwDsiBeg==}
+ /aws-cdk@2.114.1:
+ resolution: {integrity: sha512-iLOCPb3WAJOgVYQ4GvAnrjtScJfPwcczlB4995h3nUYQdHbus0jNffFv13zBShdWct3cuX+bqLuZ4JyEmJ9+rg==}
engines: {node: '>= 14.15.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
- /buffer-from@1.1.2:
- resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- dev: true
-
- /constructs@10.2.70:
- resolution: {integrity: sha512-z6zr1E8K/9tzJbCQzY0UGX0/oVKPFKu9C/mzEnghCG6TAJINnvlq0CMKm63XqqeMleadZYm5T3sZGJKcxJS/Pg==}
+ /constructs@10.3.0:
+ resolution: {integrity: sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ==}
engines: {node: '>= 16.14.0'}
dev: false
@@ -537,34 +514,34 @@ packages:
'@esbuild/win32-x64': 0.18.20
dev: true
- /esbuild@0.19.3:
- resolution: {integrity: sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==}
+ /esbuild@0.19.8:
+ resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
- '@esbuild/android-arm': 0.19.3
- '@esbuild/android-arm64': 0.19.3
- '@esbuild/android-x64': 0.19.3
- '@esbuild/darwin-arm64': 0.19.3
- '@esbuild/darwin-x64': 0.19.3
- '@esbuild/freebsd-arm64': 0.19.3
- '@esbuild/freebsd-x64': 0.19.3
- '@esbuild/linux-arm': 0.19.3
- '@esbuild/linux-arm64': 0.19.3
- '@esbuild/linux-ia32': 0.19.3
- '@esbuild/linux-loong64': 0.19.3
- '@esbuild/linux-mips64el': 0.19.3
- '@esbuild/linux-ppc64': 0.19.3
- '@esbuild/linux-riscv64': 0.19.3
- '@esbuild/linux-s390x': 0.19.3
- '@esbuild/linux-x64': 0.19.3
- '@esbuild/netbsd-x64': 0.19.3
- '@esbuild/openbsd-x64': 0.19.3
- '@esbuild/sunos-x64': 0.19.3
- '@esbuild/win32-arm64': 0.19.3
- '@esbuild/win32-ia32': 0.19.3
- '@esbuild/win32-x64': 0.19.3
+ '@esbuild/android-arm': 0.19.8
+ '@esbuild/android-arm64': 0.19.8
+ '@esbuild/android-x64': 0.19.8
+ '@esbuild/darwin-arm64': 0.19.8
+ '@esbuild/darwin-x64': 0.19.8
+ '@esbuild/freebsd-arm64': 0.19.8
+ '@esbuild/freebsd-x64': 0.19.8
+ '@esbuild/linux-arm': 0.19.8
+ '@esbuild/linux-arm64': 0.19.8
+ '@esbuild/linux-ia32': 0.19.8
+ '@esbuild/linux-loong64': 0.19.8
+ '@esbuild/linux-mips64el': 0.19.8
+ '@esbuild/linux-ppc64': 0.19.8
+ '@esbuild/linux-riscv64': 0.19.8
+ '@esbuild/linux-s390x': 0.19.8
+ '@esbuild/linux-x64': 0.19.8
+ '@esbuild/netbsd-x64': 0.19.8
+ '@esbuild/openbsd-x64': 0.19.8
+ '@esbuild/sunos-x64': 0.19.8
+ '@esbuild/win32-arm64': 0.19.8
+ '@esbuild/win32-ia32': 0.19.8
+ '@esbuild/win32-x64': 0.19.8
dev: true
/fsevents@2.3.2:
@@ -583,8 +560,8 @@ packages:
dev: true
optional: true
- /get-tsconfig@4.7.0:
- resolution: {integrity: sha512-pmjiZ7xtB8URYm74PlGJozDNyhvsVLUcpBa8DZBG3bWHwaHa9bPiRpiSfovw+fjhwONSCWKRyk+JQHEGZmMrzw==}
+ /get-tsconfig@4.7.2:
+ resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==}
dependencies:
resolve-pkg-maps: 1.0.0
dev: true
@@ -593,31 +570,23 @@ packages:
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
dev: true
- /source-map-support@0.5.21:
- resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- dev: true
-
- /source-map@0.6.1:
- resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /tsx@3.12.10:
- resolution: {integrity: sha512-2+46h4xvUt1aLDNvk5YBT8Uzw+b7BolGbn7iSMucYqCXZiDc+1IMghLVdw8kKjING32JFOeO+Am9posvjkeclA==}
+ /tsx@4.6.2:
+ resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==}
+ engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
- '@esbuild-kit/cjs-loader': 2.4.4
- '@esbuild-kit/core-utils': 3.3.1
- '@esbuild-kit/esm-loader': 2.6.4
+ esbuild: 0.18.20
+ get-tsconfig: 4.7.2
optionalDependencies:
fsevents: 2.3.3
dev: true
- /typescript@5.2.2:
- resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==}
+ /typescript@5.3.3:
+ resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}
engines: {node: '>=14.17'}
hasBin: true
dev: true
+
+ /undici-types@5.26.5:
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: true
diff --git a/examples/app-router/package.json b/examples/app-router/package.json
index 38e02f28..21e4a7f4 100644
--- a/examples/app-router/package.json
+++ b/examples/app-router/package.json
@@ -7,15 +7,15 @@
"cdk": "cdk"
},
"devDependencies": {
- "@types/node": "20.5.7",
- "aws-cdk": "2.94.0",
- "esbuild": "^0.19.3",
- "tsx": "^3.12.10",
- "typescript": "~5.2.2"
+ "@types/node": "20.10.4",
+ "aws-cdk": "2.114.1",
+ "esbuild": "^0.19.8",
+ "tsx": "^4.6.2",
+ "typescript": "~5.3.3"
},
"dependencies": {
- "aws-cdk-lib": "2.94.0",
+ "aws-cdk-lib": "2.114.1",
"cdk-nextjs-standalone": "link:../..",
- "constructs": "^10.0.0"
+ "constructs": "^10.3.0"
}
}
diff --git a/examples/app-router/pnpm-lock.yaml b/examples/app-router/pnpm-lock.yaml
index c54107fa..3588b6f2 100644
--- a/examples/app-router/pnpm-lock.yaml
+++ b/examples/app-router/pnpm-lock.yaml
@@ -6,36 +6,36 @@ settings:
dependencies:
aws-cdk-lib:
- specifier: 2.94.0
- version: 2.94.0(constructs@10.2.70)
+ specifier: 2.114.1
+ version: 2.114.1(constructs@10.3.0)
cdk-nextjs-standalone:
specifier: link:../..
version: link:../..
constructs:
- specifier: ^10.0.0
- version: 10.2.70
+ specifier: ^10.3.0
+ version: 10.3.0
devDependencies:
'@types/node':
- specifier: 20.5.7
- version: 20.5.7
+ specifier: 20.10.4
+ version: 20.10.4
aws-cdk:
- specifier: 2.94.0
- version: 2.94.0
+ specifier: 2.114.1
+ version: 2.114.1
esbuild:
- specifier: ^0.19.3
- version: 0.19.3
+ specifier: ^0.19.8
+ version: 0.19.8
tsx:
- specifier: ^3.12.10
- version: 3.12.10
+ specifier: ^4.6.2
+ version: 4.6.2
typescript:
- specifier: ~5.2.2
- version: 5.2.2
+ specifier: ~5.3.3
+ version: 5.3.3
packages:
- /@aws-cdk/asset-awscli-v1@2.2.200:
- resolution: {integrity: sha512-Kf5J8DfJK4wZFWT2Myca0lhwke7LwHcHBo+4TvWOGJrFVVKVuuiLCkzPPRBQQVDj0Vtn2NBokZAz8pfMpAqAKg==}
+ /@aws-cdk/asset-awscli-v1@2.2.201:
+ resolution: {integrity: sha512-INZqcwDinNaIdb5CtW3ez5s943nX5stGBQS6VOP2JDlOFP81hM3fds/9NDknipqfUkZM43dx+HgVvkXYXXARCQ==}
dev: false
/@aws-cdk/asset-kubectl-v20@2.1.2:
@@ -46,31 +46,6 @@ packages:
resolution: {integrity: sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==}
dev: false
- /@balena/dockerignore@1.0.2:
- resolution: {integrity: sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q==}
- dev: false
-
- /@esbuild-kit/cjs-loader@2.4.4:
- resolution: {integrity: sha512-NfsJX4PdzhwSkfJukczyUiZGc7zNNWZcEAyqeISpDnn0PTfzMJR1aR8xAIPskBejIxBJbIgCCMzbaYa9SXepIg==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.1
- get-tsconfig: 4.7.0
- dev: true
-
- /@esbuild-kit/core-utils@3.3.1:
- resolution: {integrity: sha512-zg2aeGLgbZ/U8AnHRD6y085BkRqlw7jOsqpI/AFaQg6FhcCRycAe+aFLibs9okVVYTMqWANDC76UVSzd3qBoOw==}
- dependencies:
- esbuild: 0.18.20
- source-map-support: 0.5.21
- dev: true
-
- /@esbuild-kit/esm-loader@2.6.4:
- resolution: {integrity: sha512-xcbyhN97xFFFEdDw6IC4EuzX9Ali3aV3cj2FIYragOQpbPM4X6QA2R5qaP3h7Tr0tuyI6dmJJdMw7oBHxBSXQA==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.1
- get-tsconfig: 4.7.0
- dev: true
-
/@esbuild/android-arm64@0.18.20:
resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}
engines: {node: '>=12'}
@@ -80,8 +55,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm64@0.19.3:
- resolution: {integrity: sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==}
+ /@esbuild/android-arm64@0.19.8:
+ resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
@@ -98,8 +73,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm@0.19.3:
- resolution: {integrity: sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==}
+ /@esbuild/android-arm@0.19.8:
+ resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
@@ -116,8 +91,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-x64@0.19.3:
- resolution: {integrity: sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==}
+ /@esbuild/android-x64@0.19.8:
+ resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
@@ -134,8 +109,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-arm64@0.19.3:
- resolution: {integrity: sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==}
+ /@esbuild/darwin-arm64@0.19.8:
+ resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
@@ -152,8 +127,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-x64@0.19.3:
- resolution: {integrity: sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==}
+ /@esbuild/darwin-x64@0.19.8:
+ resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
@@ -170,8 +145,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-arm64@0.19.3:
- resolution: {integrity: sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==}
+ /@esbuild/freebsd-arm64@0.19.8:
+ resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
@@ -188,8 +163,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-x64@0.19.3:
- resolution: {integrity: sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==}
+ /@esbuild/freebsd-x64@0.19.8:
+ resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
@@ -206,8 +181,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm64@0.19.3:
- resolution: {integrity: sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==}
+ /@esbuild/linux-arm64@0.19.8:
+ resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
@@ -224,8 +199,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm@0.19.3:
- resolution: {integrity: sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==}
+ /@esbuild/linux-arm@0.19.8:
+ resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
@@ -242,8 +217,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ia32@0.19.3:
- resolution: {integrity: sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==}
+ /@esbuild/linux-ia32@0.19.8:
+ resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@@ -260,8 +235,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-loong64@0.19.3:
- resolution: {integrity: sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==}
+ /@esbuild/linux-loong64@0.19.8:
+ resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
@@ -278,8 +253,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-mips64el@0.19.3:
- resolution: {integrity: sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==}
+ /@esbuild/linux-mips64el@0.19.8:
+ resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
@@ -296,8 +271,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ppc64@0.19.3:
- resolution: {integrity: sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==}
+ /@esbuild/linux-ppc64@0.19.8:
+ resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
@@ -314,8 +289,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-riscv64@0.19.3:
- resolution: {integrity: sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==}
+ /@esbuild/linux-riscv64@0.19.8:
+ resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
@@ -332,8 +307,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-s390x@0.19.3:
- resolution: {integrity: sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==}
+ /@esbuild/linux-s390x@0.19.8:
+ resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
@@ -350,8 +325,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-x64@0.19.3:
- resolution: {integrity: sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==}
+ /@esbuild/linux-x64@0.19.8:
+ resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
@@ -368,8 +343,8 @@ packages:
dev: true
optional: true
- /@esbuild/netbsd-x64@0.19.3:
- resolution: {integrity: sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==}
+ /@esbuild/netbsd-x64@0.19.8:
+ resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
@@ -386,8 +361,8 @@ packages:
dev: true
optional: true
- /@esbuild/openbsd-x64@0.19.3:
- resolution: {integrity: sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==}
+ /@esbuild/openbsd-x64@0.19.8:
+ resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
@@ -404,8 +379,8 @@ packages:
dev: true
optional: true
- /@esbuild/sunos-x64@0.19.3:
- resolution: {integrity: sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==}
+ /@esbuild/sunos-x64@0.19.8:
+ resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
@@ -422,8 +397,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-arm64@0.19.3:
- resolution: {integrity: sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==}
+ /@esbuild/win32-arm64@0.19.8:
+ resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
@@ -440,8 +415,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-ia32@0.19.3:
- resolution: {integrity: sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==}
+ /@esbuild/win32-ia32@0.19.8:
+ resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
@@ -458,8 +433,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-x64@0.19.3:
- resolution: {integrity: sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==}
+ /@esbuild/win32-x64@0.19.8:
+ resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@@ -467,56 +442,22 @@ packages:
dev: true
optional: true
- /@types/node@20.5.7:
- resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==}
- dev: true
-
- /ajv@8.12.0:
- resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
+ /@types/node@20.10.4:
+ resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==}
dependencies:
- fast-deep-equal: 3.1.3
- json-schema-traverse: 1.0.0
- require-from-string: 2.0.2
- uri-js: 4.4.1
- dev: false
-
- /ansi-regex@5.0.1:
- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
- engines: {node: '>=8'}
- dev: false
-
- /ansi-styles@4.3.0:
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
- dependencies:
- color-convert: 2.0.1
- dev: false
-
- /astral-regex@2.0.0:
- resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==}
- engines: {node: '>=8'}
- dev: false
+ undici-types: 5.26.5
+ dev: true
- /aws-cdk-lib@2.94.0(constructs@10.2.70):
- resolution: {integrity: sha512-pB/UzKeM+p/wY9WuFYkEewOFUh2r8qwaML63is4vUChXY2G2Bj3pGyfJ97Xir2Q5KIhgJPJz5igdouI4+F9A+g==}
+ /aws-cdk-lib@2.114.1(constructs@10.3.0):
+ resolution: {integrity: sha512-pJy+Sa3+s6K9I0CXYGU8J5jumw9uQEbl8zPK8EMA+A6hP9qb1JN+a8ohyw6a1O1cb4D5S6gwH+hE7Fq7hGPY3A==}
engines: {node: '>= 14.15.0'}
peerDependencies:
constructs: ^10.0.0
dependencies:
- '@aws-cdk/asset-awscli-v1': 2.2.200
+ '@aws-cdk/asset-awscli-v1': 2.2.201
'@aws-cdk/asset-kubectl-v20': 2.1.2
'@aws-cdk/asset-node-proxy-agent-v6': 2.0.1
- '@balena/dockerignore': 1.0.2
- case: 1.6.3
- constructs: 10.2.70
- fs-extra: 11.1.1
- ignore: 5.2.4
- jsonschema: 1.4.1
- minimatch: 3.1.2
- punycode: 2.3.0
- semver: 7.5.4
- table: 6.8.1
- yaml: 1.10.2
+ constructs: 10.3.0
dev: false
bundledDependencies:
- '@balena/dockerignore'
@@ -530,58 +471,19 @@ packages:
- table
- yaml
- /aws-cdk@2.94.0:
- resolution: {integrity: sha512-9bJkzxFDYZDwPDfZi/DSUODn4HFRzuXWPhpFgIIgRykfT18P+iAIJ1AEhaaCmlqrrog5yQgN+2iYd9BwDsiBeg==}
+ /aws-cdk@2.114.1:
+ resolution: {integrity: sha512-iLOCPb3WAJOgVYQ4GvAnrjtScJfPwcczlB4995h3nUYQdHbus0jNffFv13zBShdWct3cuX+bqLuZ4JyEmJ9+rg==}
engines: {node: '>= 14.15.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
- /balanced-match@1.0.2:
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
- dev: false
-
- /brace-expansion@1.1.11:
- resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
- dependencies:
- balanced-match: 1.0.2
- concat-map: 0.0.1
- dev: false
-
- /buffer-from@1.1.2:
- resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- dev: true
-
- /case@1.6.3:
- resolution: {integrity: sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==}
- engines: {node: '>= 0.8.0'}
- dev: false
-
- /color-convert@2.0.1:
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
- dependencies:
- color-name: 1.1.4
- dev: false
-
- /color-name@1.1.4:
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
- dev: false
-
- /concat-map@0.0.1:
- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
- dev: false
-
- /constructs@10.2.70:
- resolution: {integrity: sha512-z6zr1E8K/9tzJbCQzY0UGX0/oVKPFKu9C/mzEnghCG6TAJINnvlq0CMKm63XqqeMleadZYm5T3sZGJKcxJS/Pg==}
+ /constructs@10.3.0:
+ resolution: {integrity: sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ==}
engines: {node: '>= 16.14.0'}
dev: false
- /emoji-regex@8.0.0:
- resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
- dev: false
-
/esbuild@0.18.20:
resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==}
engines: {node: '>=12'}
@@ -612,48 +514,35 @@ packages:
'@esbuild/win32-x64': 0.18.20
dev: true
- /esbuild@0.19.3:
- resolution: {integrity: sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==}
+ /esbuild@0.19.8:
+ resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
- '@esbuild/android-arm': 0.19.3
- '@esbuild/android-arm64': 0.19.3
- '@esbuild/android-x64': 0.19.3
- '@esbuild/darwin-arm64': 0.19.3
- '@esbuild/darwin-x64': 0.19.3
- '@esbuild/freebsd-arm64': 0.19.3
- '@esbuild/freebsd-x64': 0.19.3
- '@esbuild/linux-arm': 0.19.3
- '@esbuild/linux-arm64': 0.19.3
- '@esbuild/linux-ia32': 0.19.3
- '@esbuild/linux-loong64': 0.19.3
- '@esbuild/linux-mips64el': 0.19.3
- '@esbuild/linux-ppc64': 0.19.3
- '@esbuild/linux-riscv64': 0.19.3
- '@esbuild/linux-s390x': 0.19.3
- '@esbuild/linux-x64': 0.19.3
- '@esbuild/netbsd-x64': 0.19.3
- '@esbuild/openbsd-x64': 0.19.3
- '@esbuild/sunos-x64': 0.19.3
- '@esbuild/win32-arm64': 0.19.3
- '@esbuild/win32-ia32': 0.19.3
- '@esbuild/win32-x64': 0.19.3
- dev: true
-
- /fast-deep-equal@3.1.3:
- resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
- dev: false
-
- /fs-extra@11.1.1:
- resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==}
- engines: {node: '>=14.14'}
- dependencies:
- graceful-fs: 4.2.11
- jsonfile: 6.1.0
- universalify: 2.0.0
- dev: false
+ '@esbuild/android-arm': 0.19.8
+ '@esbuild/android-arm64': 0.19.8
+ '@esbuild/android-x64': 0.19.8
+ '@esbuild/darwin-arm64': 0.19.8
+ '@esbuild/darwin-x64': 0.19.8
+ '@esbuild/freebsd-arm64': 0.19.8
+ '@esbuild/freebsd-x64': 0.19.8
+ '@esbuild/linux-arm': 0.19.8
+ '@esbuild/linux-arm64': 0.19.8
+ '@esbuild/linux-ia32': 0.19.8
+ '@esbuild/linux-loong64': 0.19.8
+ '@esbuild/linux-mips64el': 0.19.8
+ '@esbuild/linux-ppc64': 0.19.8
+ '@esbuild/linux-riscv64': 0.19.8
+ '@esbuild/linux-s390x': 0.19.8
+ '@esbuild/linux-x64': 0.19.8
+ '@esbuild/netbsd-x64': 0.19.8
+ '@esbuild/openbsd-x64': 0.19.8
+ '@esbuild/sunos-x64': 0.19.8
+ '@esbuild/win32-arm64': 0.19.8
+ '@esbuild/win32-ia32': 0.19.8
+ '@esbuild/win32-x64': 0.19.8
+ dev: true
/fsevents@2.3.2:
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
@@ -671,162 +560,33 @@ packages:
dev: true
optional: true
- /get-tsconfig@4.7.0:
- resolution: {integrity: sha512-pmjiZ7xtB8URYm74PlGJozDNyhvsVLUcpBa8DZBG3bWHwaHa9bPiRpiSfovw+fjhwONSCWKRyk+JQHEGZmMrzw==}
+ /get-tsconfig@4.7.2:
+ resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==}
dependencies:
resolve-pkg-maps: 1.0.0
dev: true
- /graceful-fs@4.2.11:
- resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
- dev: false
-
- /ignore@5.2.4:
- resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
- engines: {node: '>= 4'}
- dev: false
-
- /is-fullwidth-code-point@3.0.0:
- resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
- engines: {node: '>=8'}
- dev: false
-
- /json-schema-traverse@1.0.0:
- resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
- dev: false
-
- /jsonfile@6.1.0:
- resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
- dependencies:
- universalify: 2.0.0
- optionalDependencies:
- graceful-fs: 4.2.11
- dev: false
-
- /jsonschema@1.4.1:
- resolution: {integrity: sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==}
- dev: false
-
- /lodash.truncate@4.4.2:
- resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==}
- dev: false
-
- /lru-cache@6.0.0:
- resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
- engines: {node: '>=10'}
- dependencies:
- yallist: 4.0.0
- dev: false
-
- /minimatch@3.1.2:
- resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
- dependencies:
- brace-expansion: 1.1.11
- dev: false
-
- /punycode@2.3.0:
- resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
- engines: {node: '>=6'}
- dev: false
-
- /require-from-string@2.0.2:
- resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
- engines: {node: '>=0.10.0'}
- dev: false
-
/resolve-pkg-maps@1.0.0:
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
dev: true
- /semver@7.5.4:
- resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}
- engines: {node: '>=10'}
+ /tsx@4.6.2:
+ resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==}
+ engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
- lru-cache: 6.0.0
- dev: false
-
- /slice-ansi@4.0.0:
- resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==}
- engines: {node: '>=10'}
- dependencies:
- ansi-styles: 4.3.0
- astral-regex: 2.0.0
- is-fullwidth-code-point: 3.0.0
- dev: false
-
- /source-map-support@0.5.21:
- resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- dev: true
-
- /source-map@0.6.1:
- resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /string-width@4.2.3:
- resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
- engines: {node: '>=8'}
- dependencies:
- emoji-regex: 8.0.0
- is-fullwidth-code-point: 3.0.0
- strip-ansi: 6.0.1
- dev: false
-
- /strip-ansi@6.0.1:
- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
- engines: {node: '>=8'}
- dependencies:
- ansi-regex: 5.0.1
- dev: false
-
- /table@6.8.1:
- resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==}
- engines: {node: '>=10.0.0'}
- dependencies:
- ajv: 8.12.0
- lodash.truncate: 4.4.2
- slice-ansi: 4.0.0
- string-width: 4.2.3
- strip-ansi: 6.0.1
- dev: false
-
- /tsx@3.12.10:
- resolution: {integrity: sha512-2+46h4xvUt1aLDNvk5YBT8Uzw+b7BolGbn7iSMucYqCXZiDc+1IMghLVdw8kKjING32JFOeO+Am9posvjkeclA==}
- hasBin: true
- dependencies:
- '@esbuild-kit/cjs-loader': 2.4.4
- '@esbuild-kit/core-utils': 3.3.1
- '@esbuild-kit/esm-loader': 2.6.4
+ esbuild: 0.18.20
+ get-tsconfig: 4.7.2
optionalDependencies:
fsevents: 2.3.3
dev: true
- /typescript@5.2.2:
- resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==}
+ /typescript@5.3.3:
+ resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}
engines: {node: '>=14.17'}
hasBin: true
dev: true
- /universalify@2.0.0:
- resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
- engines: {node: '>= 10.0.0'}
- dev: false
-
- /uri-js@4.4.1:
- resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
- dependencies:
- punycode: 2.3.0
- dev: false
-
- /yallist@4.0.0:
- resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
- dev: false
-
- /yaml@1.10.2:
- resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
- engines: {node: '>= 6'}
- dev: false
+ /undici-types@5.26.5:
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: true
diff --git a/examples/high-security/package.json b/examples/high-security/package.json
index 01709324..8dd1f9fa 100644
--- a/examples/high-security/package.json
+++ b/examples/high-security/package.json
@@ -7,16 +7,16 @@
"cdk": "cdk"
},
"devDependencies": {
- "@types/node": "20.5.7",
- "aws-cdk": "2.94.0",
- "cdk-nag": "^2.27.135",
- "esbuild": "^0.19.3",
- "tsx": "^3.12.10",
- "typescript": "~5.2.2"
+ "@types/node": "20.10.4",
+ "aws-cdk": "2.114.1",
+ "cdk-nag": "^2.27.211",
+ "esbuild": "^0.19.8",
+ "tsx": "^4.6.2",
+ "typescript": "~5.3.3"
},
"dependencies": {
- "aws-cdk-lib": "2.94.0",
+ "aws-cdk-lib": "2.114.1",
"cdk-nextjs-standalone": "link:../..",
- "constructs": "^10.0.0"
+ "constructs": "^10.3.0"
}
}
diff --git a/examples/high-security/pnpm-lock.yaml b/examples/high-security/pnpm-lock.yaml
index 52d49e21..21a34a10 100644
--- a/examples/high-security/pnpm-lock.yaml
+++ b/examples/high-security/pnpm-lock.yaml
@@ -6,39 +6,39 @@ settings:
dependencies:
aws-cdk-lib:
- specifier: 2.94.0
- version: 2.94.0(constructs@10.2.70)
+ specifier: 2.114.1
+ version: 2.114.1(constructs@10.3.0)
cdk-nextjs-standalone:
specifier: link:../..
version: link:../..
constructs:
- specifier: ^10.0.0
- version: 10.2.70
+ specifier: ^10.3.0
+ version: 10.3.0
devDependencies:
'@types/node':
- specifier: 20.5.7
- version: 20.5.7
+ specifier: 20.10.4
+ version: 20.10.4
aws-cdk:
- specifier: 2.94.0
- version: 2.94.0
+ specifier: 2.114.1
+ version: 2.114.1
cdk-nag:
- specifier: ^2.27.135
- version: 2.27.135(aws-cdk-lib@2.94.0)(constructs@10.2.70)
+ specifier: ^2.27.211
+ version: 2.27.211(aws-cdk-lib@2.114.1)(constructs@10.3.0)
esbuild:
- specifier: ^0.19.3
- version: 0.19.3
+ specifier: ^0.19.8
+ version: 0.19.8
tsx:
- specifier: ^3.12.10
- version: 3.12.10
+ specifier: ^4.6.2
+ version: 4.6.2
typescript:
- specifier: ~5.2.2
- version: 5.2.2
+ specifier: ~5.3.3
+ version: 5.3.3
packages:
- /@aws-cdk/asset-awscli-v1@2.2.200:
- resolution: {integrity: sha512-Kf5J8DfJK4wZFWT2Myca0lhwke7LwHcHBo+4TvWOGJrFVVKVuuiLCkzPPRBQQVDj0Vtn2NBokZAz8pfMpAqAKg==}
+ /@aws-cdk/asset-awscli-v1@2.2.201:
+ resolution: {integrity: sha512-INZqcwDinNaIdb5CtW3ez5s943nX5stGBQS6VOP2JDlOFP81hM3fds/9NDknipqfUkZM43dx+HgVvkXYXXARCQ==}
/@aws-cdk/asset-kubectl-v20@2.1.2:
resolution: {integrity: sha512-3M2tELJOxQv0apCIiuKQ4pAbncz9GuLwnKFqxifWfe77wuMxyTRPmxssYHs42ePqzap1LT6GDcPygGs+hHstLg==}
@@ -46,30 +46,6 @@ packages:
/@aws-cdk/asset-node-proxy-agent-v6@2.0.1:
resolution: {integrity: sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==}
- /@balena/dockerignore@1.0.2:
- resolution: {integrity: sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q==}
-
- /@esbuild-kit/cjs-loader@2.4.4:
- resolution: {integrity: sha512-NfsJX4PdzhwSkfJukczyUiZGc7zNNWZcEAyqeISpDnn0PTfzMJR1aR8xAIPskBejIxBJbIgCCMzbaYa9SXepIg==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.2
- get-tsconfig: 4.7.0
- dev: true
-
- /@esbuild-kit/core-utils@3.3.2:
- resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==}
- dependencies:
- esbuild: 0.18.20
- source-map-support: 0.5.21
- dev: true
-
- /@esbuild-kit/esm-loader@2.6.5:
- resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.2
- get-tsconfig: 4.7.0
- dev: true
-
/@esbuild/android-arm64@0.18.20:
resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}
engines: {node: '>=12'}
@@ -79,8 +55,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm64@0.19.3:
- resolution: {integrity: sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==}
+ /@esbuild/android-arm64@0.19.8:
+ resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
@@ -97,8 +73,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm@0.19.3:
- resolution: {integrity: sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==}
+ /@esbuild/android-arm@0.19.8:
+ resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
@@ -115,8 +91,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-x64@0.19.3:
- resolution: {integrity: sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==}
+ /@esbuild/android-x64@0.19.8:
+ resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
@@ -133,8 +109,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-arm64@0.19.3:
- resolution: {integrity: sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==}
+ /@esbuild/darwin-arm64@0.19.8:
+ resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
@@ -151,8 +127,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-x64@0.19.3:
- resolution: {integrity: sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==}
+ /@esbuild/darwin-x64@0.19.8:
+ resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
@@ -169,8 +145,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-arm64@0.19.3:
- resolution: {integrity: sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==}
+ /@esbuild/freebsd-arm64@0.19.8:
+ resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
@@ -187,8 +163,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-x64@0.19.3:
- resolution: {integrity: sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==}
+ /@esbuild/freebsd-x64@0.19.8:
+ resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
@@ -205,8 +181,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm64@0.19.3:
- resolution: {integrity: sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==}
+ /@esbuild/linux-arm64@0.19.8:
+ resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
@@ -223,8 +199,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm@0.19.3:
- resolution: {integrity: sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==}
+ /@esbuild/linux-arm@0.19.8:
+ resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
@@ -241,8 +217,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ia32@0.19.3:
- resolution: {integrity: sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==}
+ /@esbuild/linux-ia32@0.19.8:
+ resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@@ -259,8 +235,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-loong64@0.19.3:
- resolution: {integrity: sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==}
+ /@esbuild/linux-loong64@0.19.8:
+ resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
@@ -277,8 +253,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-mips64el@0.19.3:
- resolution: {integrity: sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==}
+ /@esbuild/linux-mips64el@0.19.8:
+ resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
@@ -295,8 +271,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ppc64@0.19.3:
- resolution: {integrity: sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==}
+ /@esbuild/linux-ppc64@0.19.8:
+ resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
@@ -313,8 +289,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-riscv64@0.19.3:
- resolution: {integrity: sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==}
+ /@esbuild/linux-riscv64@0.19.8:
+ resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
@@ -331,8 +307,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-s390x@0.19.3:
- resolution: {integrity: sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==}
+ /@esbuild/linux-s390x@0.19.8:
+ resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
@@ -349,8 +325,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-x64@0.19.3:
- resolution: {integrity: sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==}
+ /@esbuild/linux-x64@0.19.8:
+ resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
@@ -367,8 +343,8 @@ packages:
dev: true
optional: true
- /@esbuild/netbsd-x64@0.19.3:
- resolution: {integrity: sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==}
+ /@esbuild/netbsd-x64@0.19.8:
+ resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
@@ -385,8 +361,8 @@ packages:
dev: true
optional: true
- /@esbuild/openbsd-x64@0.19.3:
- resolution: {integrity: sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==}
+ /@esbuild/openbsd-x64@0.19.8:
+ resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
@@ -403,8 +379,8 @@ packages:
dev: true
optional: true
- /@esbuild/sunos-x64@0.19.3:
- resolution: {integrity: sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==}
+ /@esbuild/sunos-x64@0.19.8:
+ resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
@@ -421,8 +397,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-arm64@0.19.3:
- resolution: {integrity: sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==}
+ /@esbuild/win32-arm64@0.19.8:
+ resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
@@ -439,8 +415,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-ia32@0.19.3:
- resolution: {integrity: sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==}
+ /@esbuild/win32-ia32@0.19.8:
+ resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
@@ -457,8 +433,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-x64@0.19.3:
- resolution: {integrity: sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==}
+ /@esbuild/win32-x64@0.19.8:
+ resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@@ -466,52 +442,22 @@ packages:
dev: true
optional: true
- /@types/node@20.5.7:
- resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==}
- dev: true
-
- /ajv@8.12.0:
- resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
+ /@types/node@20.10.4:
+ resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==}
dependencies:
- fast-deep-equal: 3.1.3
- json-schema-traverse: 1.0.0
- require-from-string: 2.0.2
- uri-js: 4.4.1
-
- /ansi-regex@5.0.1:
- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
- engines: {node: '>=8'}
-
- /ansi-styles@4.3.0:
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
- dependencies:
- color-convert: 2.0.1
-
- /astral-regex@2.0.0:
- resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==}
- engines: {node: '>=8'}
+ undici-types: 5.26.5
+ dev: true
- /aws-cdk-lib@2.94.0(constructs@10.2.70):
- resolution: {integrity: sha512-pB/UzKeM+p/wY9WuFYkEewOFUh2r8qwaML63is4vUChXY2G2Bj3pGyfJ97Xir2Q5KIhgJPJz5igdouI4+F9A+g==}
+ /aws-cdk-lib@2.114.1(constructs@10.3.0):
+ resolution: {integrity: sha512-pJy+Sa3+s6K9I0CXYGU8J5jumw9uQEbl8zPK8EMA+A6hP9qb1JN+a8ohyw6a1O1cb4D5S6gwH+hE7Fq7hGPY3A==}
engines: {node: '>= 14.15.0'}
peerDependencies:
constructs: ^10.0.0
dependencies:
- '@aws-cdk/asset-awscli-v1': 2.2.200
+ '@aws-cdk/asset-awscli-v1': 2.2.201
'@aws-cdk/asset-kubectl-v20': 2.1.2
'@aws-cdk/asset-node-proxy-agent-v6': 2.0.1
- '@balena/dockerignore': 1.0.2
- case: 1.6.3
- constructs: 10.2.70
- fs-extra: 11.1.1
- ignore: 5.2.4
- jsonschema: 1.4.1
- minimatch: 3.1.2
- punycode: 2.3.0
- semver: 7.5.4
- table: 6.8.1
- yaml: 1.10.2
+ constructs: 10.3.0
bundledDependencies:
- '@balena/dockerignore'
- case
@@ -524,60 +470,28 @@ packages:
- table
- yaml
- /aws-cdk@2.94.0:
- resolution: {integrity: sha512-9bJkzxFDYZDwPDfZi/DSUODn4HFRzuXWPhpFgIIgRykfT18P+iAIJ1AEhaaCmlqrrog5yQgN+2iYd9BwDsiBeg==}
+ /aws-cdk@2.114.1:
+ resolution: {integrity: sha512-iLOCPb3WAJOgVYQ4GvAnrjtScJfPwcczlB4995h3nUYQdHbus0jNffFv13zBShdWct3cuX+bqLuZ4JyEmJ9+rg==}
engines: {node: '>= 14.15.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
- /balanced-match@1.0.2:
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
-
- /brace-expansion@1.1.11:
- resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
- dependencies:
- balanced-match: 1.0.2
- concat-map: 0.0.1
-
- /buffer-from@1.1.2:
- resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- dev: true
-
- /case@1.6.3:
- resolution: {integrity: sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==}
- engines: {node: '>= 0.8.0'}
-
- /cdk-nag@2.27.135(aws-cdk-lib@2.94.0)(constructs@10.2.70):
- resolution: {integrity: sha512-goL5aHhZ1/kNA7zswamm3GW78wc9VXxSXM17YuL307KNcM1F3C+j7e8ohbo1BfhRc8kveh5k6bFxZs+cIIQycw==}
+ /cdk-nag@2.27.211(aws-cdk-lib@2.114.1)(constructs@10.3.0):
+ resolution: {integrity: sha512-k2zVv8gk0N/IX5kTZ0uxP+izy3oN0Wv5xoTjIzNil+KCUxRPamMddDSXHgERvEoX0Gws+PLUrpXCzFZdai4OfA==}
peerDependencies:
aws-cdk-lib: ^2.78.0
constructs: ^10.0.5
dependencies:
- aws-cdk-lib: 2.94.0(constructs@10.2.70)
- constructs: 10.2.70
+ aws-cdk-lib: 2.114.1(constructs@10.3.0)
+ constructs: 10.3.0
dev: true
- /color-convert@2.0.1:
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
- dependencies:
- color-name: 1.1.4
-
- /color-name@1.1.4:
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
-
- /concat-map@0.0.1:
- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
-
- /constructs@10.2.70:
- resolution: {integrity: sha512-z6zr1E8K/9tzJbCQzY0UGX0/oVKPFKu9C/mzEnghCG6TAJINnvlq0CMKm63XqqeMleadZYm5T3sZGJKcxJS/Pg==}
+ /constructs@10.3.0:
+ resolution: {integrity: sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ==}
engines: {node: '>= 16.14.0'}
- /emoji-regex@8.0.0:
- resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
-
/esbuild@0.18.20:
resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==}
engines: {node: '>=12'}
@@ -608,46 +522,35 @@ packages:
'@esbuild/win32-x64': 0.18.20
dev: true
- /esbuild@0.19.3:
- resolution: {integrity: sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==}
+ /esbuild@0.19.8:
+ resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
- '@esbuild/android-arm': 0.19.3
- '@esbuild/android-arm64': 0.19.3
- '@esbuild/android-x64': 0.19.3
- '@esbuild/darwin-arm64': 0.19.3
- '@esbuild/darwin-x64': 0.19.3
- '@esbuild/freebsd-arm64': 0.19.3
- '@esbuild/freebsd-x64': 0.19.3
- '@esbuild/linux-arm': 0.19.3
- '@esbuild/linux-arm64': 0.19.3
- '@esbuild/linux-ia32': 0.19.3
- '@esbuild/linux-loong64': 0.19.3
- '@esbuild/linux-mips64el': 0.19.3
- '@esbuild/linux-ppc64': 0.19.3
- '@esbuild/linux-riscv64': 0.19.3
- '@esbuild/linux-s390x': 0.19.3
- '@esbuild/linux-x64': 0.19.3
- '@esbuild/netbsd-x64': 0.19.3
- '@esbuild/openbsd-x64': 0.19.3
- '@esbuild/sunos-x64': 0.19.3
- '@esbuild/win32-arm64': 0.19.3
- '@esbuild/win32-ia32': 0.19.3
- '@esbuild/win32-x64': 0.19.3
- dev: true
-
- /fast-deep-equal@3.1.3:
- resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
-
- /fs-extra@11.1.1:
- resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==}
- engines: {node: '>=14.14'}
- dependencies:
- graceful-fs: 4.2.11
- jsonfile: 6.1.0
- universalify: 2.0.0
+ '@esbuild/android-arm': 0.19.8
+ '@esbuild/android-arm64': 0.19.8
+ '@esbuild/android-x64': 0.19.8
+ '@esbuild/darwin-arm64': 0.19.8
+ '@esbuild/darwin-x64': 0.19.8
+ '@esbuild/freebsd-arm64': 0.19.8
+ '@esbuild/freebsd-x64': 0.19.8
+ '@esbuild/linux-arm': 0.19.8
+ '@esbuild/linux-arm64': 0.19.8
+ '@esbuild/linux-ia32': 0.19.8
+ '@esbuild/linux-loong64': 0.19.8
+ '@esbuild/linux-mips64el': 0.19.8
+ '@esbuild/linux-ppc64': 0.19.8
+ '@esbuild/linux-riscv64': 0.19.8
+ '@esbuild/linux-s390x': 0.19.8
+ '@esbuild/linux-x64': 0.19.8
+ '@esbuild/netbsd-x64': 0.19.8
+ '@esbuild/openbsd-x64': 0.19.8
+ '@esbuild/sunos-x64': 0.19.8
+ '@esbuild/win32-arm64': 0.19.8
+ '@esbuild/win32-ia32': 0.19.8
+ '@esbuild/win32-x64': 0.19.8
+ dev: true
/fsevents@2.3.2:
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
@@ -665,142 +568,33 @@ packages:
dev: true
optional: true
- /get-tsconfig@4.7.0:
- resolution: {integrity: sha512-pmjiZ7xtB8URYm74PlGJozDNyhvsVLUcpBa8DZBG3bWHwaHa9bPiRpiSfovw+fjhwONSCWKRyk+JQHEGZmMrzw==}
+ /get-tsconfig@4.7.2:
+ resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==}
dependencies:
resolve-pkg-maps: 1.0.0
dev: true
- /graceful-fs@4.2.11:
- resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
-
- /ignore@5.2.4:
- resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
- engines: {node: '>= 4'}
-
- /is-fullwidth-code-point@3.0.0:
- resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
- engines: {node: '>=8'}
-
- /json-schema-traverse@1.0.0:
- resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
-
- /jsonfile@6.1.0:
- resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
- dependencies:
- universalify: 2.0.0
- optionalDependencies:
- graceful-fs: 4.2.11
-
- /jsonschema@1.4.1:
- resolution: {integrity: sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==}
-
- /lodash.truncate@4.4.2:
- resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==}
-
- /lru-cache@6.0.0:
- resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
- engines: {node: '>=10'}
- dependencies:
- yallist: 4.0.0
-
- /minimatch@3.1.2:
- resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
- dependencies:
- brace-expansion: 1.1.11
-
- /punycode@2.3.0:
- resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
- engines: {node: '>=6'}
-
- /require-from-string@2.0.2:
- resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
- engines: {node: '>=0.10.0'}
-
/resolve-pkg-maps@1.0.0:
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
dev: true
- /semver@7.5.4:
- resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}
- engines: {node: '>=10'}
- hasBin: true
- dependencies:
- lru-cache: 6.0.0
-
- /slice-ansi@4.0.0:
- resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==}
- engines: {node: '>=10'}
- dependencies:
- ansi-styles: 4.3.0
- astral-regex: 2.0.0
- is-fullwidth-code-point: 3.0.0
-
- /source-map-support@0.5.21:
- resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- dev: true
-
- /source-map@0.6.1:
- resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /string-width@4.2.3:
- resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
- engines: {node: '>=8'}
- dependencies:
- emoji-regex: 8.0.0
- is-fullwidth-code-point: 3.0.0
- strip-ansi: 6.0.1
-
- /strip-ansi@6.0.1:
- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
- engines: {node: '>=8'}
- dependencies:
- ansi-regex: 5.0.1
-
- /table@6.8.1:
- resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==}
- engines: {node: '>=10.0.0'}
- dependencies:
- ajv: 8.12.0
- lodash.truncate: 4.4.2
- slice-ansi: 4.0.0
- string-width: 4.2.3
- strip-ansi: 6.0.1
-
- /tsx@3.12.10:
- resolution: {integrity: sha512-2+46h4xvUt1aLDNvk5YBT8Uzw+b7BolGbn7iSMucYqCXZiDc+1IMghLVdw8kKjING32JFOeO+Am9posvjkeclA==}
+ /tsx@4.6.2:
+ resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==}
+ engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
- '@esbuild-kit/cjs-loader': 2.4.4
- '@esbuild-kit/core-utils': 3.3.2
- '@esbuild-kit/esm-loader': 2.6.5
+ esbuild: 0.18.20
+ get-tsconfig: 4.7.2
optionalDependencies:
fsevents: 2.3.3
dev: true
- /typescript@5.2.2:
- resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==}
+ /typescript@5.3.3:
+ resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}
engines: {node: '>=14.17'}
hasBin: true
dev: true
- /universalify@2.0.0:
- resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
- engines: {node: '>= 10.0.0'}
-
- /uri-js@4.4.1:
- resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
- dependencies:
- punycode: 2.3.0
-
- /yallist@4.0.0:
- resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
-
- /yaml@1.10.2:
- resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
- engines: {node: '>= 6'}
+ /undici-types@5.26.5:
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: true
diff --git a/examples/high-security/src/stack.ts b/examples/high-security/src/stack.ts
index 87caaab3..e8169e1d 100644
--- a/examples/high-security/src/stack.ts
+++ b/examples/high-security/src/stack.ts
@@ -1,19 +1,20 @@
-import { CfnOutput, Stack, StackProps } from 'aws-cdk-lib';
+import { CfnOutput, RemovalPolicy, Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { Nextjs, NextjsDistributionProps } from 'cdk-nextjs-standalone';
import { CfnWebACL } from 'aws-cdk-lib/aws-wafv2';
-import { FunctionUrlAuthType } from 'aws-cdk-lib/aws-lambda';
+import { Function as CdkFunction, FunctionUrlAuthType } from 'aws-cdk-lib/aws-lambda';
import { DistributionProps, SecurityPolicyProtocol } from 'aws-cdk-lib/aws-cloudfront';
export class HighSecurityStack extends Stack {
+ private nextjs: Nextjs;
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);
const webAcl = this.createWebAcl();
- const nextjs = new Nextjs(this, 'nextjs', {
+ this.nextjs = new Nextjs(this, 'nextjs', {
nextjsPath: '../../open-next/examples/app-router',
- skipBuild: true,
+ skipBuild: false,
defaults: {
distribution: {
functionUrlAuthType: FunctionUrlAuthType.AWS_IAM,
@@ -25,12 +26,26 @@ export class HighSecurityStack extends Stack {
} satisfies Partial,
}
});
+ this.retainEdgeFnOnDelete();
new CfnOutput(this, "CloudFrontDistributionDomain", {
- value: nextjs.distribution.distributionDomain,
+ value: this.nextjs.distribution.distributionDomain,
});
}
+ /**
+ * Don't fail on CloudFormation delete due to replicated function
+ * @link https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-delete-replicas.html
+ */
+ private retainEdgeFnOnDelete() {
+ const edgeFn = this.nextjs.distribution?.node
+ .tryFindChild("EdgeFn")
+ ?.node.tryFindChild("Fn");
+ if (edgeFn instanceof CdkFunction) {
+ edgeFn.applyRemovalPolicy(RemovalPolicy.RETAIN);
+ }
+ }
+
private createWebAcl() {
return new CfnWebACL(this, "WebAcl", {
defaultAction: {
diff --git a/examples/pages-router/package.json b/examples/pages-router/package.json
index 38e02f28..21e4a7f4 100644
--- a/examples/pages-router/package.json
+++ b/examples/pages-router/package.json
@@ -7,15 +7,15 @@
"cdk": "cdk"
},
"devDependencies": {
- "@types/node": "20.5.7",
- "aws-cdk": "2.94.0",
- "esbuild": "^0.19.3",
- "tsx": "^3.12.10",
- "typescript": "~5.2.2"
+ "@types/node": "20.10.4",
+ "aws-cdk": "2.114.1",
+ "esbuild": "^0.19.8",
+ "tsx": "^4.6.2",
+ "typescript": "~5.3.3"
},
"dependencies": {
- "aws-cdk-lib": "2.94.0",
+ "aws-cdk-lib": "2.114.1",
"cdk-nextjs-standalone": "link:../..",
- "constructs": "^10.0.0"
+ "constructs": "^10.3.0"
}
}
diff --git a/examples/pages-router/pnpm-lock.yaml b/examples/pages-router/pnpm-lock.yaml
index 87a3094f..3588b6f2 100644
--- a/examples/pages-router/pnpm-lock.yaml
+++ b/examples/pages-router/pnpm-lock.yaml
@@ -6,36 +6,36 @@ settings:
dependencies:
aws-cdk-lib:
- specifier: 2.94.0
- version: 2.94.0(constructs@10.2.70)
+ specifier: 2.114.1
+ version: 2.114.1(constructs@10.3.0)
cdk-nextjs-standalone:
specifier: link:../..
version: link:../..
constructs:
- specifier: ^10.0.0
- version: 10.2.70
+ specifier: ^10.3.0
+ version: 10.3.0
devDependencies:
'@types/node':
- specifier: 20.5.7
- version: 20.5.7
+ specifier: 20.10.4
+ version: 20.10.4
aws-cdk:
- specifier: 2.94.0
- version: 2.94.0
+ specifier: 2.114.1
+ version: 2.114.1
esbuild:
- specifier: ^0.19.3
- version: 0.19.3
+ specifier: ^0.19.8
+ version: 0.19.8
tsx:
- specifier: ^3.12.10
- version: 3.12.10
+ specifier: ^4.6.2
+ version: 4.6.2
typescript:
- specifier: ~5.2.2
- version: 5.2.2
+ specifier: ~5.3.3
+ version: 5.3.3
packages:
- /@aws-cdk/asset-awscli-v1@2.2.200:
- resolution: {integrity: sha512-Kf5J8DfJK4wZFWT2Myca0lhwke7LwHcHBo+4TvWOGJrFVVKVuuiLCkzPPRBQQVDj0Vtn2NBokZAz8pfMpAqAKg==}
+ /@aws-cdk/asset-awscli-v1@2.2.201:
+ resolution: {integrity: sha512-INZqcwDinNaIdb5CtW3ez5s943nX5stGBQS6VOP2JDlOFP81hM3fds/9NDknipqfUkZM43dx+HgVvkXYXXARCQ==}
dev: false
/@aws-cdk/asset-kubectl-v20@2.1.2:
@@ -46,27 +46,6 @@ packages:
resolution: {integrity: sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==}
dev: false
- /@esbuild-kit/cjs-loader@2.4.4:
- resolution: {integrity: sha512-NfsJX4PdzhwSkfJukczyUiZGc7zNNWZcEAyqeISpDnn0PTfzMJR1aR8xAIPskBejIxBJbIgCCMzbaYa9SXepIg==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.1
- get-tsconfig: 4.7.0
- dev: true
-
- /@esbuild-kit/core-utils@3.3.1:
- resolution: {integrity: sha512-zg2aeGLgbZ/U8AnHRD6y085BkRqlw7jOsqpI/AFaQg6FhcCRycAe+aFLibs9okVVYTMqWANDC76UVSzd3qBoOw==}
- dependencies:
- esbuild: 0.18.20
- source-map-support: 0.5.21
- dev: true
-
- /@esbuild-kit/esm-loader@2.6.4:
- resolution: {integrity: sha512-xcbyhN97xFFFEdDw6IC4EuzX9Ali3aV3cj2FIYragOQpbPM4X6QA2R5qaP3h7Tr0tuyI6dmJJdMw7oBHxBSXQA==}
- dependencies:
- '@esbuild-kit/core-utils': 3.3.1
- get-tsconfig: 4.7.0
- dev: true
-
/@esbuild/android-arm64@0.18.20:
resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}
engines: {node: '>=12'}
@@ -76,8 +55,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm64@0.19.3:
- resolution: {integrity: sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==}
+ /@esbuild/android-arm64@0.19.8:
+ resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
@@ -94,8 +73,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-arm@0.19.3:
- resolution: {integrity: sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==}
+ /@esbuild/android-arm@0.19.8:
+ resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
@@ -112,8 +91,8 @@ packages:
dev: true
optional: true
- /@esbuild/android-x64@0.19.3:
- resolution: {integrity: sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==}
+ /@esbuild/android-x64@0.19.8:
+ resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
@@ -130,8 +109,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-arm64@0.19.3:
- resolution: {integrity: sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==}
+ /@esbuild/darwin-arm64@0.19.8:
+ resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
@@ -148,8 +127,8 @@ packages:
dev: true
optional: true
- /@esbuild/darwin-x64@0.19.3:
- resolution: {integrity: sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==}
+ /@esbuild/darwin-x64@0.19.8:
+ resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
@@ -166,8 +145,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-arm64@0.19.3:
- resolution: {integrity: sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==}
+ /@esbuild/freebsd-arm64@0.19.8:
+ resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
@@ -184,8 +163,8 @@ packages:
dev: true
optional: true
- /@esbuild/freebsd-x64@0.19.3:
- resolution: {integrity: sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==}
+ /@esbuild/freebsd-x64@0.19.8:
+ resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
@@ -202,8 +181,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm64@0.19.3:
- resolution: {integrity: sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==}
+ /@esbuild/linux-arm64@0.19.8:
+ resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
@@ -220,8 +199,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-arm@0.19.3:
- resolution: {integrity: sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==}
+ /@esbuild/linux-arm@0.19.8:
+ resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
@@ -238,8 +217,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ia32@0.19.3:
- resolution: {integrity: sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==}
+ /@esbuild/linux-ia32@0.19.8:
+ resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@@ -256,8 +235,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-loong64@0.19.3:
- resolution: {integrity: sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==}
+ /@esbuild/linux-loong64@0.19.8:
+ resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
@@ -274,8 +253,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-mips64el@0.19.3:
- resolution: {integrity: sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==}
+ /@esbuild/linux-mips64el@0.19.8:
+ resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
@@ -292,8 +271,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-ppc64@0.19.3:
- resolution: {integrity: sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==}
+ /@esbuild/linux-ppc64@0.19.8:
+ resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
@@ -310,8 +289,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-riscv64@0.19.3:
- resolution: {integrity: sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==}
+ /@esbuild/linux-riscv64@0.19.8:
+ resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
@@ -328,8 +307,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-s390x@0.19.3:
- resolution: {integrity: sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==}
+ /@esbuild/linux-s390x@0.19.8:
+ resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
@@ -346,8 +325,8 @@ packages:
dev: true
optional: true
- /@esbuild/linux-x64@0.19.3:
- resolution: {integrity: sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==}
+ /@esbuild/linux-x64@0.19.8:
+ resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
@@ -364,8 +343,8 @@ packages:
dev: true
optional: true
- /@esbuild/netbsd-x64@0.19.3:
- resolution: {integrity: sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==}
+ /@esbuild/netbsd-x64@0.19.8:
+ resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
@@ -382,8 +361,8 @@ packages:
dev: true
optional: true
- /@esbuild/openbsd-x64@0.19.3:
- resolution: {integrity: sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==}
+ /@esbuild/openbsd-x64@0.19.8:
+ resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
@@ -400,8 +379,8 @@ packages:
dev: true
optional: true
- /@esbuild/sunos-x64@0.19.3:
- resolution: {integrity: sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==}
+ /@esbuild/sunos-x64@0.19.8:
+ resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
@@ -418,8 +397,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-arm64@0.19.3:
- resolution: {integrity: sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==}
+ /@esbuild/win32-arm64@0.19.8:
+ resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
@@ -436,8 +415,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-ia32@0.19.3:
- resolution: {integrity: sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==}
+ /@esbuild/win32-ia32@0.19.8:
+ resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
@@ -454,8 +433,8 @@ packages:
dev: true
optional: true
- /@esbuild/win32-x64@0.19.3:
- resolution: {integrity: sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==}
+ /@esbuild/win32-x64@0.19.8:
+ resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@@ -463,20 +442,22 @@ packages:
dev: true
optional: true
- /@types/node@20.5.7:
- resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==}
+ /@types/node@20.10.4:
+ resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==}
+ dependencies:
+ undici-types: 5.26.5
dev: true
- /aws-cdk-lib@2.94.0(constructs@10.2.70):
- resolution: {integrity: sha512-pB/UzKeM+p/wY9WuFYkEewOFUh2r8qwaML63is4vUChXY2G2Bj3pGyfJ97Xir2Q5KIhgJPJz5igdouI4+F9A+g==}
+ /aws-cdk-lib@2.114.1(constructs@10.3.0):
+ resolution: {integrity: sha512-pJy+Sa3+s6K9I0CXYGU8J5jumw9uQEbl8zPK8EMA+A6hP9qb1JN+a8ohyw6a1O1cb4D5S6gwH+hE7Fq7hGPY3A==}
engines: {node: '>= 14.15.0'}
peerDependencies:
constructs: ^10.0.0
dependencies:
- '@aws-cdk/asset-awscli-v1': 2.2.200
+ '@aws-cdk/asset-awscli-v1': 2.2.201
'@aws-cdk/asset-kubectl-v20': 2.1.2
'@aws-cdk/asset-node-proxy-agent-v6': 2.0.1
- constructs: 10.2.70
+ constructs: 10.3.0
dev: false
bundledDependencies:
- '@balena/dockerignore'
@@ -490,20 +471,16 @@ packages:
- table
- yaml
- /aws-cdk@2.94.0:
- resolution: {integrity: sha512-9bJkzxFDYZDwPDfZi/DSUODn4HFRzuXWPhpFgIIgRykfT18P+iAIJ1AEhaaCmlqrrog5yQgN+2iYd9BwDsiBeg==}
+ /aws-cdk@2.114.1:
+ resolution: {integrity: sha512-iLOCPb3WAJOgVYQ4GvAnrjtScJfPwcczlB4995h3nUYQdHbus0jNffFv13zBShdWct3cuX+bqLuZ4JyEmJ9+rg==}
engines: {node: '>= 14.15.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
- /buffer-from@1.1.2:
- resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- dev: true
-
- /constructs@10.2.70:
- resolution: {integrity: sha512-z6zr1E8K/9tzJbCQzY0UGX0/oVKPFKu9C/mzEnghCG6TAJINnvlq0CMKm63XqqeMleadZYm5T3sZGJKcxJS/Pg==}
+ /constructs@10.3.0:
+ resolution: {integrity: sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ==}
engines: {node: '>= 16.14.0'}
dev: false
@@ -537,34 +514,34 @@ packages:
'@esbuild/win32-x64': 0.18.20
dev: true
- /esbuild@0.19.3:
- resolution: {integrity: sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==}
+ /esbuild@0.19.8:
+ resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
- '@esbuild/android-arm': 0.19.3
- '@esbuild/android-arm64': 0.19.3
- '@esbuild/android-x64': 0.19.3
- '@esbuild/darwin-arm64': 0.19.3
- '@esbuild/darwin-x64': 0.19.3
- '@esbuild/freebsd-arm64': 0.19.3
- '@esbuild/freebsd-x64': 0.19.3
- '@esbuild/linux-arm': 0.19.3
- '@esbuild/linux-arm64': 0.19.3
- '@esbuild/linux-ia32': 0.19.3
- '@esbuild/linux-loong64': 0.19.3
- '@esbuild/linux-mips64el': 0.19.3
- '@esbuild/linux-ppc64': 0.19.3
- '@esbuild/linux-riscv64': 0.19.3
- '@esbuild/linux-s390x': 0.19.3
- '@esbuild/linux-x64': 0.19.3
- '@esbuild/netbsd-x64': 0.19.3
- '@esbuild/openbsd-x64': 0.19.3
- '@esbuild/sunos-x64': 0.19.3
- '@esbuild/win32-arm64': 0.19.3
- '@esbuild/win32-ia32': 0.19.3
- '@esbuild/win32-x64': 0.19.3
+ '@esbuild/android-arm': 0.19.8
+ '@esbuild/android-arm64': 0.19.8
+ '@esbuild/android-x64': 0.19.8
+ '@esbuild/darwin-arm64': 0.19.8
+ '@esbuild/darwin-x64': 0.19.8
+ '@esbuild/freebsd-arm64': 0.19.8
+ '@esbuild/freebsd-x64': 0.19.8
+ '@esbuild/linux-arm': 0.19.8
+ '@esbuild/linux-arm64': 0.19.8
+ '@esbuild/linux-ia32': 0.19.8
+ '@esbuild/linux-loong64': 0.19.8
+ '@esbuild/linux-mips64el': 0.19.8
+ '@esbuild/linux-ppc64': 0.19.8
+ '@esbuild/linux-riscv64': 0.19.8
+ '@esbuild/linux-s390x': 0.19.8
+ '@esbuild/linux-x64': 0.19.8
+ '@esbuild/netbsd-x64': 0.19.8
+ '@esbuild/openbsd-x64': 0.19.8
+ '@esbuild/sunos-x64': 0.19.8
+ '@esbuild/win32-arm64': 0.19.8
+ '@esbuild/win32-ia32': 0.19.8
+ '@esbuild/win32-x64': 0.19.8
dev: true
/fsevents@2.3.2:
@@ -583,8 +560,8 @@ packages:
dev: true
optional: true
- /get-tsconfig@4.7.0:
- resolution: {integrity: sha512-pmjiZ7xtB8URYm74PlGJozDNyhvsVLUcpBa8DZBG3bWHwaHa9bPiRpiSfovw+fjhwONSCWKRyk+JQHEGZmMrzw==}
+ /get-tsconfig@4.7.2:
+ resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==}
dependencies:
resolve-pkg-maps: 1.0.0
dev: true
@@ -593,31 +570,23 @@ packages:
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
dev: true
- /source-map-support@0.5.21:
- resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- dev: true
-
- /source-map@0.6.1:
- resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /tsx@3.12.10:
- resolution: {integrity: sha512-2+46h4xvUt1aLDNvk5YBT8Uzw+b7BolGbn7iSMucYqCXZiDc+1IMghLVdw8kKjING32JFOeO+Am9posvjkeclA==}
+ /tsx@4.6.2:
+ resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==}
+ engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
- '@esbuild-kit/cjs-loader': 2.4.4
- '@esbuild-kit/core-utils': 3.3.1
- '@esbuild-kit/esm-loader': 2.6.4
+ esbuild: 0.18.20
+ get-tsconfig: 4.7.2
optionalDependencies:
fsevents: 2.3.3
dev: true
- /typescript@5.2.2:
- resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==}
+ /typescript@5.3.3:
+ resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}
engines: {node: '>=14.17'}
hasBin: true
dev: true
+
+ /undici-types@5.26.5:
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: true
diff --git a/package.json b/package.json
index cd6ef936..34d09260 100644
--- a/package.json
+++ b/package.json
@@ -82,12 +82,6 @@
"aws-cdk-lib": "^2.110.0",
"constructs": "^10.0.5"
},
- "dependencies": {
- "esbuild": "^0.19.8"
- },
- "bundledDependencies": [
- "esbuild"
- ],
"keywords": [
"aws",
"aws-cdk",
diff --git a/src/NextjsBucketDeployment.ts b/src/NextjsBucketDeployment.ts
index cf57b69b..12f91b39 100644
--- a/src/NextjsBucketDeployment.ts
+++ b/src/NextjsBucketDeployment.ts
@@ -17,8 +17,12 @@ export interface NextjsBucketDeploymentProps {
*/
readonly debug?: boolean | undefined;
/**
- * If `true`, then delete files in `destinationBucket`/`destinationKeyPrefix`
- * before uploading new objects
+ * If `true`, then delete old objects in `destinationBucket`/`destinationKeyPrefix`
+ * **after** uploading new objects. Only applies if `zip` is `false`.
+ *
+ * Old objects are determined by listing objects
+ * in bucket before creating new objects and finding the objects that aren't in
+ * the new objects.
* @default true
*/
readonly prune?: boolean | undefined;
diff --git a/src/NextjsServer.ts b/src/NextjsServer.ts
index f2947fc6..b1e8db83 100644
--- a/src/NextjsServer.ts
+++ b/src/NextjsServer.ts
@@ -62,7 +62,7 @@ export class NextjsServer extends Construct {
this.props = props;
// must create code asset separately (typically it is implicitly created in
- //`Function` construct) b/c we need to substitute unresolve env vars
+ //`Function` construct) b/c we need to substitute unresolved env vars
const sourceAsset = this.createSourceCodeAsset();
// source and destination assets are defined separately so that source
// assets are immutable (easier debugging). Technically we could overwrite
@@ -108,7 +108,7 @@ export class NextjsServer extends Construct {
debug: true,
destinationBucket: destinationAsset.bucket,
destinationKeyPrefix: destinationAsset.s3ObjectKey,
- prune: true,
+ prune: false, // not applicable b/c zip: true
// this.props.environment is for build time, not this.environment which is for runtime
substitutionConfig: NextjsBucketDeployment.getSubstitutionConfig(this.props.environment || {}),
zip: true,
diff --git a/src/NextjsStaticAssets.ts b/src/NextjsStaticAssets.ts
index d4f95732..65a2e673 100644
--- a/src/NextjsStaticAssets.ts
+++ b/src/NextjsStaticAssets.ts
@@ -10,18 +10,6 @@ import { NextjsBucketDeployment } from './NextjsBucketDeployment';
import { NextjsBuild } from './NextjsBuild';
export interface NextjsStaticAssetsProps {
- /**
- * Define your own bucket to store static assets.
- */
- readonly bucket?: s3.IBucket | undefined;
- /**
- * The `NextjsBuild` instance representing the built Nextjs application.
- */
- readonly nextBuild: NextjsBuild;
- /**
- * Custom environment variables to pass to the NextJS build and runtime.
- */
- readonly environment?: Record;
/**
* Optional value to prefix the Next.js site under a /prefix path on CloudFront.
* Usually used when you deploy multiple Next.js sites on same domain using /sub-path
@@ -32,6 +20,23 @@ export interface NextjsStaticAssetsProps {
* @example "/my-base-path"
*/
readonly basePath?: string;
+ /**
+ * Define your own bucket to store static assets.
+ */
+ readonly bucket?: s3.IBucket | undefined;
+ /**
+ * Custom environment variables to pass to the NextJS build and runtime.
+ */
+ readonly environment?: Record;
+ /**
+ * If `true` (default), then removes old static assets after upload new static assets.
+ * @default true
+ */
+ readonly prune?: boolean;
+ /**
+ * The `NextjsBuild` instance representing the built Nextjs application.
+ */
+ readonly nextBuild: NextjsBuild;
}
/**
@@ -109,7 +114,7 @@ export class NextjsStaticAssets extends Construct {
// only put env vars that are placeholders in custom resource properties
// to be replaced. other env vars were injected at build time.
substitutionConfig: NextjsBucketDeployment.getSubstitutionConfig(this.buildEnvVars),
- prune: true,
+ prune: this.props.prune === false ? false : true, // default to true
putConfig: {
[allFiles]: {
CacheControl: 'public, max-age=0, must-revalidate',
diff --git a/src/lambdas/nextjs-bucket-deployment.ts b/src/lambdas/nextjs-bucket-deployment.ts
index 5e60947b..0039ec78 100644
--- a/src/lambdas/nextjs-bucket-deployment.ts
+++ b/src/lambdas/nextjs-bucket-deployment.ts
@@ -56,22 +56,33 @@ export const handler: CloudFormationCustomResourceHandler = async (event, contex
await extractZip({ sourceZipFilePath, destinationDirPath: sourceDirPath });
const filePaths = listFilePaths(sourceDirPath);
if (props.substitutionConfig && Object.keys(props.substitutionConfig).length) {
- console.log('Replacing environment variables: ' + JSON.stringify(props.substitutionConfig));
+ debug('Replacing environment variables: ' + JSON.stringify(props.substitutionConfig));
substitute({ config: props.substitutionConfig, filePaths });
}
- if (props.prune) {
- debug('Emptying/pruning bucket: ' + props.destinationBucketName);
- await pruneBucket({ bucketName: props.destinationBucketName, keyPrefix: props.destinationKeyPrefix });
- }
+ // must find old object keys before uploading new objects so we know which objects to prune
+ const oldObjectKeys = await listOldObjectKeys({
+ bucketName: props.destinationBucketName,
+ keyPrefix: props.destinationKeyPrefix,
+ });
if (!props.zip) {
debug('Uploading objects to: ' + props.destinationBucketName);
await uploadObjects({
bucket: props.destinationBucketName,
keyPrefix: props.destinationKeyPrefix,
filePaths,
- tmpDir: sourceDirPath,
+ baseLocalDir: sourceDirPath,
putConfig: props.putConfig,
});
+ if (props.prune) {
+ debug('Emptying/pruning bucket: ' + props.destinationBucketName);
+ await pruneBucket({
+ bucketName: props.destinationBucketName,
+ filePaths,
+ baseLocalDir: sourceDirPath,
+ keyPrefix: props.destinationKeyPrefix,
+ oldObjectKeys,
+ });
+ }
} else {
debug('Uploading zip to: ' + props.destinationBucketName);
const zipBuffer = await zipObjects({ tmpDir: sourceDirPath });
@@ -210,9 +221,14 @@ function substitute({ filePaths, config }: { filePaths: string[]; config: Record
}
}
-async function pruneBucket({ bucketName, keyPrefix }: { bucketName: string; keyPrefix?: string }) {
- const deleteObjectPromises: Promise[] = [];
- let numObjectsDeleted = 0;
+async function listOldObjectKeys({
+ bucketName,
+ keyPrefix,
+}: {
+ bucketName: string;
+ keyPrefix?: string;
+}): Promise {
+ const oldObjectKeys: string[] = [];
let nextToken: string | undefined = undefined;
do {
const cmd: ListObjectsV2CommandInput = { Bucket: bucketName, Prefix: keyPrefix };
@@ -223,47 +239,48 @@ async function pruneBucket({ bucketName, keyPrefix }: { bucketName: string; keyP
const contents = res.Contents;
nextToken = res.NextContinuationToken;
if (contents?.length) {
- const objects = contents?.map((o) => ({ Key: o.Key }));
- numObjectsDeleted += objects?.length;
- deleteObjectPromises.push(
- s3.send(
- new DeleteObjectsCommand({
- Bucket: bucketName,
- Delete: { Objects: objects },
- })
- )
- );
+ for (const { Key: key } of contents) {
+ if (key) {
+ oldObjectKeys.push(key);
+ }
+ }
}
} while (nextToken);
- await Promise.all(deleteObjectPromises);
- console.log(`Number of objects deleted for bucket ${bucketName}: ${numObjectsDeleted}`);
+ return oldObjectKeys;
+}
+
+/**
+ * Create S3 Key given local path
+ */
+function createS3Key({ keyPrefix, path, baseLocalDir }: { keyPrefix?: string; path: string; baseLocalDir: string }) {
+ const objectKeyParts: string[] = [];
+ if (keyPrefix) objectKeyParts.push(keyPrefix);
+ objectKeyParts.push(relative(baseLocalDir, path));
+ return join(...objectKeyParts);
}
function uploadObjects({
bucket,
keyPrefix,
filePaths,
- tmpDir,
+ baseLocalDir,
putConfig = {},
}: {
bucket: CustomResourceProperties['destinationBucketName'];
keyPrefix?: CustomResourceProperties['destinationKeyPrefix'];
filePaths: string[];
- tmpDir: string;
+ baseLocalDir: string;
putConfig: CustomResourceProperties['putConfig'];
}) {
const putObjectInputs: PutObjectCommandInput[] = filePaths.map((path) => {
const contentType = mime.lookup(path) || undefined;
const putObjectOptions = getPutObjectOptions({ path, putConfig });
- const keyPaths: string[] = [];
- if (keyPrefix) keyPaths.push(keyPrefix);
- keyPaths.push(relative(tmpDir, path));
+ const key = createS3Key({ keyPrefix, path, baseLocalDir });
return {
ContentType: contentType,
...putObjectOptions,
Bucket: bucket,
- // .slice(1) to remove leading slash b/c s3 will create top level / folder
- Key: join(...keyPaths),
+ Key: key,
Body: createReadStream(path),
};
});
@@ -331,6 +348,40 @@ function getPutObjectOptions({
return putObjectOptions;
}
+async function pruneBucket({
+ bucketName,
+ filePaths,
+ baseLocalDir,
+ keyPrefix,
+ oldObjectKeys,
+}: {
+ bucketName: string;
+ filePaths: string[];
+ baseLocalDir: string;
+ keyPrefix?: string;
+ oldObjectKeys: string[];
+}) {
+ const newObjectKeys = filePaths.map((path) => createS3Key({ keyPrefix, path, baseLocalDir }));
+ // find old objects that are not currently in new objects to prune.
+ const oldObjectKeysToBeDeleted: string[] = [];
+ for (const key of oldObjectKeys) {
+ if (!newObjectKeys.includes(key)) {
+ oldObjectKeysToBeDeleted.push(key);
+ }
+ }
+ if (oldObjectKeysToBeDeleted.length) {
+ await s3.send(
+ new DeleteObjectsCommand({
+ Bucket: bucketName,
+ Delete: { Objects: oldObjectKeysToBeDeleted.map((k) => ({ Key: k })) },
+ })
+ );
+ debug(`Objects pruned in ${bucketName}: ${oldObjectKeysToBeDeleted.join(', ')}`);
+ } else {
+ debug(`No objects to prune`);
+ }
+}
+
interface CfnResponseProps {
event: Parameters[0];
context: Parameters[1];