cdk-booster 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdk-booster.mjs +5 -1
- package/package.json +7 -7
package/dist/cdk-booster.mjs
CHANGED
|
@@ -465,7 +465,11 @@ async function compileCdk({ rootDir, entryFile, }) {
|
|
|
465
465
|
Logger.verbose(`Injected code into ${args.path}`);
|
|
466
466
|
}
|
|
467
467
|
else if (args.path.includes(path.join('aws-cdk-lib', 'aws-s3-deployment', 'lib', 'bucket-deployment.'))) {
|
|
468
|
-
|
|
468
|
+
let codeToFind = 'super(scope,id),this.requestDestinationArn=!1;';
|
|
469
|
+
if (!contents.includes(codeToFind)) {
|
|
470
|
+
// newer CDK version
|
|
471
|
+
codeToFind = 'super(scope,id);';
|
|
472
|
+
}
|
|
469
473
|
if (!contents.includes(codeToFind)) {
|
|
470
474
|
throw new Error(`Can not find code to inject in ${args.path}`);
|
|
471
475
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cdk-booster",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Speed up AWS CDK's bundling of TypeScript/JavaScript Lambda handlers",
|
|
6
6
|
"homepage": "https://www.cdkbooster.com",
|
|
@@ -60,23 +60,23 @@
|
|
|
60
60
|
"docs:preview": "vitepress preview"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@eslint/js": "^9.
|
|
63
|
+
"@eslint/js": "^9.38.0",
|
|
64
64
|
"@tsconfig/node22": "^22.0.2",
|
|
65
65
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
66
|
-
"@types/node": "^24.
|
|
66
|
+
"@types/node": "^24.8.1",
|
|
67
67
|
"aws-cdk": "2.1030.0",
|
|
68
|
-
"aws-cdk-lib": "2.
|
|
68
|
+
"aws-cdk-lib": "2.220.0",
|
|
69
69
|
"constructs": "^10.4.2",
|
|
70
|
-
"eslint": "^9.
|
|
70
|
+
"eslint": "^9.38.0",
|
|
71
71
|
"eslint-config-prettier": "^10.1.8",
|
|
72
72
|
"globals": "^16.4.0",
|
|
73
73
|
"husky": "^9.1.7",
|
|
74
74
|
"prettier": "^3.6.2",
|
|
75
|
-
"semantic-release": "^
|
|
75
|
+
"semantic-release": "^25.0.0",
|
|
76
76
|
"tsx": "^4.20.6",
|
|
77
77
|
"typescript-eslint": "^8.46.1",
|
|
78
78
|
"vitepress": "^1.6.4",
|
|
79
|
-
"@aws-sdk/client-lambda": "^3.
|
|
79
|
+
"@aws-sdk/client-lambda": "^3.913.0",
|
|
80
80
|
"adm-zip": "^0.5.16",
|
|
81
81
|
"@types/adm-zip": "^0.5.7"
|
|
82
82
|
},
|