aws-cdk 2.1031.0 → 2.1031.2
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/README.md +1 -1
- package/build-info.json +2 -2
- package/lib/index.js +15 -13
- package/lib/init-templates/app/javascript/bin/%name%.template.js +1 -1
- package/lib/init-templates/app/javascript/lib/%name%-stack.template.js +1 -1
- package/lib/init-templates/app/javascript/test/%name%.test.template.js +1 -1
- package/lib/init-templates/app/python/requirements-dev.txt +1 -1
- package/lib/init-templates/app/typescript/bin/%name%.template.ts +2 -2
- package/lib/init-templates/app/typescript/lib/%name%-stack.template.ts +1 -1
- package/lib/init-templates/app/typescript/test/%name%.test.template.ts +1 -1
- package/lib/init-templates/lib/typescript/test/%name%.test.template.ts +1 -1
- package/lib/init-templates/sample-app/javascript/bin/%name%.template.js +1 -1
- package/lib/init-templates/sample-app/javascript/lib/%name%-stack.template.js +1 -1
- package/lib/init-templates/sample-app/javascript/test/%name%.test.template.js +1 -1
- package/lib/init-templates/sample-app/python/requirements-dev.txt +1 -1
- package/lib/init-templates/sample-app/typescript/bin/%name%.template.ts +1 -1
- package/lib/init-templates/sample-app/typescript/lib/%name%-stack.template.ts +1 -1
- package/lib/init-templates/sample-app/typescript/test/%name%.test.template.ts +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1136,7 +1136,7 @@ command to consider only a subset of them, you can specify the stacks you
|
|
|
1136
1136
|
want, both local and deployed:
|
|
1137
1137
|
|
|
1138
1138
|
```shell
|
|
1139
|
-
$ cdk refactor
|
|
1139
|
+
$ cdk refactor Test* ProdStack --unstable=refactor --dry-run
|
|
1140
1140
|
```
|
|
1141
1141
|
|
|
1142
1142
|
This is useful if, for example, you have more than one CDK application deployed
|
package/build-info.json
CHANGED
package/lib/index.js
CHANGED
|
@@ -3478,7 +3478,7 @@ var require_semver2 = __commonJS({
|
|
|
3478
3478
|
// ../@aws-cdk/cloud-assembly-schema/cli-version.json
|
|
3479
3479
|
var require_cli_version = __commonJS({
|
|
3480
3480
|
"../@aws-cdk/cloud-assembly-schema/cli-version.json"(exports2, module2) {
|
|
3481
|
-
module2.exports = { version: "2.1031.
|
|
3481
|
+
module2.exports = { version: "2.1031.2" };
|
|
3482
3482
|
}
|
|
3483
3483
|
});
|
|
3484
3484
|
|
|
@@ -143066,9 +143066,9 @@ var require_drawRow = __commonJS({
|
|
|
143066
143066
|
}
|
|
143067
143067
|
});
|
|
143068
143068
|
|
|
143069
|
-
// ../../node_modules/
|
|
143069
|
+
// ../../node_modules/ajv/dist/runtime/equal.js
|
|
143070
143070
|
var require_equal = __commonJS({
|
|
143071
|
-
"../../node_modules/
|
|
143071
|
+
"../../node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
143072
143072
|
"use strict";
|
|
143073
143073
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
143074
143074
|
var equal = require_fast_deep_equal();
|
|
@@ -333589,6 +333589,15 @@ var init_digest = __esm({
|
|
|
333589
333589
|
}
|
|
333590
333590
|
});
|
|
333591
333591
|
|
|
333592
|
+
// ../@aws-cdk/toolkit-lib/lib/util/concurrency.ts
|
|
333593
|
+
var pLimit4;
|
|
333594
|
+
var init_concurrency = __esm({
|
|
333595
|
+
"../@aws-cdk/toolkit-lib/lib/util/concurrency.ts"() {
|
|
333596
|
+
"use strict";
|
|
333597
|
+
pLimit4 = require_p_limit();
|
|
333598
|
+
}
|
|
333599
|
+
});
|
|
333600
|
+
|
|
333592
333601
|
// ../@aws-cdk/toolkit-lib/lib/api/refactoring/exclude.ts
|
|
333593
333602
|
var import_cloud_assembly_schema5;
|
|
333594
333603
|
var init_exclude = __esm({
|
|
@@ -333899,7 +333908,8 @@ async function getDeployedStacks(sdkProvider, environment) {
|
|
|
333899
333908
|
template
|
|
333900
333909
|
};
|
|
333901
333910
|
}, "normalize");
|
|
333902
|
-
|
|
333911
|
+
const limit = pLimit4(20);
|
|
333912
|
+
return Promise.all(summaries.map((s3) => limit(() => normalize3(s3))));
|
|
333903
333913
|
}
|
|
333904
333914
|
function formatEnvironmentSectionHeader2(environment) {
|
|
333905
333915
|
const env2 = `aws://${environment.account}/${environment.region}`;
|
|
@@ -333953,6 +333963,7 @@ var init_refactoring = __esm({
|
|
|
333953
333963
|
init_cloudformation4();
|
|
333954
333964
|
init_digest();
|
|
333955
333965
|
init_toolkit_error();
|
|
333966
|
+
init_concurrency();
|
|
333956
333967
|
init_exclude();
|
|
333957
333968
|
init_context3();
|
|
333958
333969
|
__name(getDeployedStacks, "getDeployedStacks");
|
|
@@ -334536,15 +334547,6 @@ var init_private9 = __esm({
|
|
|
334536
334547
|
}
|
|
334537
334548
|
});
|
|
334538
334549
|
|
|
334539
|
-
// ../@aws-cdk/toolkit-lib/lib/util/concurrency.ts
|
|
334540
|
-
var pLimit4;
|
|
334541
|
-
var init_concurrency = __esm({
|
|
334542
|
-
"../@aws-cdk/toolkit-lib/lib/util/concurrency.ts"() {
|
|
334543
|
-
"use strict";
|
|
334544
|
-
pLimit4 = require_p_limit();
|
|
334545
|
-
}
|
|
334546
|
-
});
|
|
334547
|
-
|
|
334548
334550
|
// ../@aws-cdk/toolkit-lib/lib/util/promises.ts
|
|
334549
334551
|
function promiseWithResolvers() {
|
|
334550
334552
|
let resolve13, reject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
pytest==
|
|
1
|
+
pytest==8.4.2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import * as cdk from 'aws-cdk-lib';
|
|
2
|
+
import * as cdk from 'aws-cdk-lib/core';
|
|
3
3
|
import { %name.PascalCased%Stack } from '../lib/%name%-stack';
|
|
4
4
|
|
|
5
5
|
const app = new cdk.App();
|
|
@@ -17,4 +17,4 @@ new %name.PascalCased%Stack(app, '%stackname%', {
|
|
|
17
17
|
// env: { account: '123456789012', region: 'us-east-1' },
|
|
18
18
|
|
|
19
19
|
/* For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html */
|
|
20
|
-
});
|
|
20
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
pytest==
|
|
1
|
+
pytest==8.4.2
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Duration, Stack, StackProps } from 'aws-cdk-lib';
|
|
1
|
+
import { Duration, Stack, StackProps } from 'aws-cdk-lib/core';
|
|
2
2
|
import * as sns from 'aws-cdk-lib/aws-sns';
|
|
3
3
|
import * as subs from 'aws-cdk-lib/aws-sns-subscriptions';
|
|
4
4
|
import * as sqs from 'aws-cdk-lib/aws-sqs';
|
package/package.json
CHANGED
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"sinon": "^19.0.5",
|
|
76
76
|
"ts-jest": "^29.4.4",
|
|
77
77
|
"ts-mock-imports": "^1.3.17",
|
|
78
|
-
"typescript": "5.
|
|
78
|
+
"typescript": "5.9",
|
|
79
79
|
"xml-js": "^1.6.11",
|
|
80
80
|
"@aws-cdk/cdk-assets-lib": "^1.0.4",
|
|
81
|
-
"@aws-cdk/cloud-assembly-schema": ">=48.
|
|
81
|
+
"@aws-cdk/cloud-assembly-schema": ">=48.18.0",
|
|
82
82
|
"@aws-cdk/cloudformation-diff": "2.184.1",
|
|
83
83
|
"@aws-cdk/cx-api": "^2.215.0",
|
|
84
|
-
"@aws-cdk/toolkit-lib": "^1.10.
|
|
84
|
+
"@aws-cdk/toolkit-lib": "^1.10.3",
|
|
85
85
|
"@aws-sdk/client-appsync": "^3",
|
|
86
86
|
"@aws-sdk/client-cloudcontrol": "^3",
|
|
87
87
|
"@aws-sdk/client-cloudformation": "^3",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"publishConfig": {
|
|
145
145
|
"access": "public"
|
|
146
146
|
},
|
|
147
|
-
"version": "2.1031.
|
|
147
|
+
"version": "2.1031.2",
|
|
148
148
|
"types": "lib/index.d.ts",
|
|
149
149
|
"exports": {
|
|
150
150
|
"./package.json": "./package.json",
|