cdk-common 2.0.375 → 2.0.377
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/.jsii +3 -3
- package/lib/main.js +1 -1
- package/node_modules/@aws-cdk/assert/package.json +8 -8
- package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +22 -0
- package/node_modules/@aws-cdk/cfnspec/cfn.version +1 -1
- package/node_modules/@aws-cdk/cfnspec/package.json +4 -4
- package/node_modules/@aws-cdk/cfnspec/spec/specification.json +9 -18
- package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +65 -49
- package/node_modules/@aws-cdk/cloudformation-diff/package.json +5 -5
- package/node_modules/object-inspect/CHANGELOG.md +10 -0
- package/node_modules/object-inspect/index.js +10 -6
- package/node_modules/object-inspect/package.json +10 -7
- package/node_modules/punycode/README.md +5 -1
- package/node_modules/punycode/package.json +1 -1
- package/node_modules/punycode/punycode.es6.js +12 -12
- package/node_modules/punycode/punycode.js +12 -12
- package/package.json +5 -5
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-cdk/assert": "^2.
|
|
10
|
+
"@aws-cdk/assert": "^2.60.0",
|
|
11
11
|
"case": "^1.6.3",
|
|
12
12
|
"sync-request": "^6.1.0"
|
|
13
13
|
},
|
|
@@ -9229,6 +9229,6 @@
|
|
|
9229
9229
|
"symbolId": "src/main:LambdaArmFunctionProps"
|
|
9230
9230
|
}
|
|
9231
9231
|
},
|
|
9232
|
-
"version": "2.0.
|
|
9233
|
-
"fingerprint": "
|
|
9232
|
+
"version": "2.0.377",
|
|
9233
|
+
"fingerprint": "/BkxTDSD7G2n4wPMgYIUsbN5ZgAp+RdYDo/aVhCwqys="
|
|
9234
9234
|
}
|
package/lib/main.js
CHANGED
|
@@ -41,5 +41,5 @@ class LambdaArmFunction extends constructs_1.Construct {
|
|
|
41
41
|
}
|
|
42
42
|
exports.LambdaArmFunction = LambdaArmFunction;
|
|
43
43
|
_a = JSII_RTTI_SYMBOL_1;
|
|
44
|
-
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.
|
|
44
|
+
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.377" };
|
|
45
45
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ2hELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO1NBQzFFO2FBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ3ZELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO1NBQzFFO2FBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsVUFBVSxFQUFFO1lBQ3RELEdBQUcsQ0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UkVfM18xKSB7XG4gICAgICBjZGsuQW5ub3RhdGlvbnMub2YodGhpcykuYWRkV2FybmluZygnWW91IGFyZSB1c2luZyBET1RORVQgQ09SRSAzLjEgYXQgQVJNJyk7XG4gICAgfSBlbHNlIGlmIChwcm9wcy5ydW50aW1lID09PSBsYW1iZGEuUnVudGltZS5SVUJZXzJfNykge1xuICAgICAgY2RrLkFubm90YXRpb25zLm9mKHRoaXMpLmFkZFdhcm5pbmcoJ1lvdSBhcmUgdXNpbmcgUlVCWSAyLjcgYXQgQVJNJyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgSW52YWxpZCBSdW50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/assert",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.60.0",
|
|
4
4
|
"description": "An assertion library for use with CDK Apps",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@aws-cdk/assert-internal": "2.
|
|
38
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
39
|
-
"@aws-cdk/pkglint": "2.
|
|
37
|
+
"@aws-cdk/assert-internal": "2.60.0",
|
|
38
|
+
"@aws-cdk/cdk-build-tools": "2.60.0",
|
|
39
|
+
"@aws-cdk/pkglint": "2.60.0",
|
|
40
40
|
"@types/jest": "^27.5.2",
|
|
41
|
-
"aws-cdk-lib": "2.
|
|
42
|
-
"aws-cdk-migration": "2.
|
|
41
|
+
"aws-cdk-lib": "2.60.0",
|
|
42
|
+
"aws-cdk-migration": "2.60.0",
|
|
43
43
|
"constructs": "^10.0.0",
|
|
44
44
|
"jest": "^27.3.1",
|
|
45
45
|
"ts-jest": "^27.1.5"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-cdk/cloudformation-diff": "2.
|
|
48
|
+
"@aws-cdk/cloudformation-diff": "2.60.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"aws-cdk-lib": "^2.
|
|
51
|
+
"aws-cdk-lib": "^2.60.0",
|
|
52
52
|
"constructs": "^10.0.0",
|
|
53
53
|
"jest": ">=26.6.3"
|
|
54
54
|
},
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
# CloudFormation Resource Specification v106.0.0
|
|
2
|
+
|
|
3
|
+
## New Resource Types
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Attribute Changes
|
|
7
|
+
|
|
8
|
+
* AWS::IoTWireless::PartnerAccount SidewalkResponse (__deleted__)
|
|
9
|
+
* AWS::IoTWireless::PartnerAccount SidewalkResponse.AmazonId (__deleted__)
|
|
10
|
+
* AWS::IoTWireless::PartnerAccount SidewalkResponse.Arn (__deleted__)
|
|
11
|
+
* AWS::IoTWireless::PartnerAccount SidewalkResponse.Fingerprint (__deleted__)
|
|
12
|
+
* AWS::IoTWireless::PartnerAccount Fingerprint (__added__)
|
|
13
|
+
|
|
14
|
+
## Property Changes
|
|
15
|
+
|
|
16
|
+
* AWS::IoTWireless::PartnerAccount Fingerprint (__deleted__)
|
|
17
|
+
* AWS::IoTWireless::PartnerAccount SidewalkResponse (__added__)
|
|
18
|
+
|
|
19
|
+
## Property Type Changes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
1
23
|
# CloudFormation Resource Specification v105.0.0
|
|
2
24
|
|
|
3
25
|
## New Resource Types
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
106.0.0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/cfnspec",
|
|
3
3
|
"description": "The CloudFormation resource specification used by @aws-cdk packages",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.60.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "cdk-build && /bin/bash build-tools/update.sh",
|
|
7
7
|
"update-metrics": "/bin/bash build-tools/update-metrics.sh",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"main": "lib/index.js",
|
|
31
31
|
"types": "lib/index.d.ts",
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
34
|
-
"@aws-cdk/pkglint": "2.
|
|
33
|
+
"@aws-cdk/cdk-build-tools": "2.60.0",
|
|
34
|
+
"@aws-cdk/pkglint": "2.60.0",
|
|
35
35
|
"@types/fs-extra": "^8.1.2",
|
|
36
36
|
"@types/jest": "^27.5.2",
|
|
37
37
|
"@types/md5": "^2.3.2",
|
|
38
|
-
"fast-json-patch": "^
|
|
38
|
+
"fast-json-patch": "^3.1.1",
|
|
39
39
|
"jest": "^27.5.1",
|
|
40
40
|
"json-diff": "^0.10.0",
|
|
41
41
|
"sort-json": "^2.0.1"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"Fingerprint": "
|
|
2
|
+
"Fingerprint": "94336e77c318f4c709d95db01da1a343",
|
|
3
3
|
"PropertyTypes": {
|
|
4
4
|
"AWS::ACMPCA::Certificate.ApiPassthrough": {
|
|
5
5
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html",
|
|
@@ -92172,7 +92172,7 @@
|
|
|
92172
92172
|
}
|
|
92173
92173
|
}
|
|
92174
92174
|
},
|
|
92175
|
-
"ResourceSpecificationVersion": "
|
|
92175
|
+
"ResourceSpecificationVersion": "106.0.0",
|
|
92176
92176
|
"ResourceTypes": {
|
|
92177
92177
|
"AWS::ACMPCA::Certificate": {
|
|
92178
92178
|
"Attributes": {
|
|
@@ -122230,16 +122230,7 @@
|
|
|
122230
122230
|
"Arn": {
|
|
122231
122231
|
"PrimitiveType": "String"
|
|
122232
122232
|
},
|
|
122233
|
-
"
|
|
122234
|
-
"Type": "SidewalkAccountInfoWithFingerprint"
|
|
122235
|
-
},
|
|
122236
|
-
"SidewalkResponse.AmazonId": {
|
|
122237
|
-
"PrimitiveType": "String"
|
|
122238
|
-
},
|
|
122239
|
-
"SidewalkResponse.Arn": {
|
|
122240
|
-
"PrimitiveType": "String"
|
|
122241
|
-
},
|
|
122242
|
-
"SidewalkResponse.Fingerprint": {
|
|
122233
|
+
"Fingerprint": {
|
|
122243
122234
|
"PrimitiveType": "String"
|
|
122244
122235
|
}
|
|
122245
122236
|
},
|
|
@@ -122251,12 +122242,6 @@
|
|
|
122251
122242
|
"Required": false,
|
|
122252
122243
|
"UpdateType": "Mutable"
|
|
122253
122244
|
},
|
|
122254
|
-
"Fingerprint": {
|
|
122255
|
-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-fingerprint",
|
|
122256
|
-
"PrimitiveType": "String",
|
|
122257
|
-
"Required": false,
|
|
122258
|
-
"UpdateType": "Mutable"
|
|
122259
|
-
},
|
|
122260
122245
|
"PartnerAccountId": {
|
|
122261
122246
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-partneraccountid",
|
|
122262
122247
|
"PrimitiveType": "String",
|
|
@@ -122275,6 +122260,12 @@
|
|
|
122275
122260
|
"Type": "SidewalkAccountInfo",
|
|
122276
122261
|
"UpdateType": "Mutable"
|
|
122277
122262
|
},
|
|
122263
|
+
"SidewalkResponse": {
|
|
122264
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-sidewalkresponse",
|
|
122265
|
+
"Required": false,
|
|
122266
|
+
"Type": "SidewalkAccountInfoWithFingerprint",
|
|
122267
|
+
"UpdateType": "Mutable"
|
|
122268
|
+
},
|
|
122278
122269
|
"SidewalkUpdate": {
|
|
122279
122270
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-sidewalkupdate",
|
|
122280
122271
|
"Required": false,
|
|
@@ -256,19 +256,24 @@
|
|
|
256
256
|
"signature": "a868f2fb3b58315612ccc9de41ad04b59b1aff39af4dd34ff52155e2a5977f8c",
|
|
257
257
|
"affectsGlobalScope": false
|
|
258
258
|
},
|
|
259
|
-
"
|
|
260
|
-
"version": "
|
|
261
|
-
"signature": "
|
|
259
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts": {
|
|
260
|
+
"version": "ebf6e19cb84d78da20d022a95f05e8aef12e56f816a1ee12835a4da40d7b14cf",
|
|
261
|
+
"signature": "ebf6e19cb84d78da20d022a95f05e8aef12e56f816a1ee12835a4da40d7b14cf",
|
|
262
262
|
"affectsGlobalScope": false
|
|
263
263
|
},
|
|
264
|
-
"
|
|
265
|
-
"version": "
|
|
266
|
-
"signature": "
|
|
264
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts": {
|
|
265
|
+
"version": "589357c2f88f1188a0dfc48c4c4cf4d22fac9f654805df5f2789a01b5616b74f",
|
|
266
|
+
"signature": "589357c2f88f1188a0dfc48c4c4cf4d22fac9f654805df5f2789a01b5616b74f",
|
|
267
267
|
"affectsGlobalScope": false
|
|
268
268
|
},
|
|
269
|
-
"
|
|
270
|
-
"version": "
|
|
271
|
-
"signature": "
|
|
269
|
+
"../../../node_modules/fast-json-patch/module/duplex.d.ts": {
|
|
270
|
+
"version": "6abe62ec5b9b6a747c1a7687d58ff179cdfb61adee717b6e4882120f7da4399f",
|
|
271
|
+
"signature": "6abe62ec5b9b6a747c1a7687d58ff179cdfb61adee717b6e4882120f7da4399f",
|
|
272
|
+
"affectsGlobalScope": false
|
|
273
|
+
},
|
|
274
|
+
"../../../node_modules/fast-json-patch/index.d.ts": {
|
|
275
|
+
"version": "5c1301f550be26133f4fd34eadf38815db096ecaf9b75948b444a063097f496d",
|
|
276
|
+
"signature": "5c1301f550be26133f4fd34eadf38815db096ecaf9b75948b444a063097f496d",
|
|
272
277
|
"affectsGlobalScope": false
|
|
273
278
|
},
|
|
274
279
|
"../../../node_modules/@types/node/ts4.8/assert.d.ts": {
|
|
@@ -297,8 +302,8 @@
|
|
|
297
302
|
"affectsGlobalScope": true
|
|
298
303
|
},
|
|
299
304
|
"../../../node_modules/@types/node/ts4.8/child_process.d.ts": {
|
|
300
|
-
"version": "
|
|
301
|
-
"signature": "
|
|
305
|
+
"version": "374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922",
|
|
306
|
+
"signature": "374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922",
|
|
302
307
|
"affectsGlobalScope": false
|
|
303
308
|
},
|
|
304
309
|
"../../../node_modules/@types/node/ts4.8/cluster.d.ts": {
|
|
@@ -377,8 +382,8 @@
|
|
|
377
382
|
"affectsGlobalScope": false
|
|
378
383
|
},
|
|
379
384
|
"../../../node_modules/@types/node/ts4.8/https.d.ts": {
|
|
380
|
-
"version": "
|
|
381
|
-
"signature": "
|
|
385
|
+
"version": "8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22",
|
|
386
|
+
"signature": "8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22",
|
|
382
387
|
"affectsGlobalScope": false
|
|
383
388
|
},
|
|
384
389
|
"../../../node_modules/@types/node/ts4.8/inspector.d.ts": {
|
|
@@ -467,8 +472,8 @@
|
|
|
467
472
|
"affectsGlobalScope": false
|
|
468
473
|
},
|
|
469
474
|
"../../../node_modules/@types/node/ts4.8/test.d.ts": {
|
|
470
|
-
"version": "
|
|
471
|
-
"signature": "
|
|
475
|
+
"version": "223c37f62ce09a3d99e77498acdee7b2705a4ae14552fbdb4093600cd9164f3f",
|
|
476
|
+
"signature": "223c37f62ce09a3d99e77498acdee7b2705a4ae14552fbdb4093600cd9164f3f",
|
|
472
477
|
"affectsGlobalScope": false
|
|
473
478
|
},
|
|
474
479
|
"../../../node_modules/@types/node/ts4.8/timers.d.ts": {
|
|
@@ -502,8 +507,8 @@
|
|
|
502
507
|
"affectsGlobalScope": true
|
|
503
508
|
},
|
|
504
509
|
"../../../node_modules/@types/node/ts4.8/util.d.ts": {
|
|
505
|
-
"version": "
|
|
506
|
-
"signature": "
|
|
510
|
+
"version": "4c50342e1b65d3bee2ed4ab18f84842d5724ad11083bd666d8705dc7a6079d80",
|
|
511
|
+
"signature": "4c50342e1b65d3bee2ed4ab18f84842d5724ad11083bd666d8705dc7a6079d80",
|
|
507
512
|
"affectsGlobalScope": true
|
|
508
513
|
},
|
|
509
514
|
"../../../node_modules/@types/node/ts4.8/v8.d.ts": {
|
|
@@ -1486,8 +1491,8 @@
|
|
|
1486
1491
|
"affectsGlobalScope": false
|
|
1487
1492
|
},
|
|
1488
1493
|
"../../../node_modules/@types/workerpool/index.d.ts": {
|
|
1489
|
-
"version": "
|
|
1490
|
-
"signature": "
|
|
1494
|
+
"version": "4fe90b2b5b91c24ba915624e399bfa3b29ead67df5e21d2a96e9c437fe5c6a70",
|
|
1495
|
+
"signature": "4fe90b2b5b91c24ba915624e399bfa3b29ead67df5e21d2a96e9c437fe5c6a70",
|
|
1491
1496
|
"affectsGlobalScope": false
|
|
1492
1497
|
},
|
|
1493
1498
|
"../../../node_modules/@types/wrap-ansi/index.d.ts": {
|
|
@@ -1501,8 +1506,8 @@
|
|
|
1501
1506
|
"affectsGlobalScope": false
|
|
1502
1507
|
},
|
|
1503
1508
|
"../../../node_modules/@types/yargs/index.d.ts": {
|
|
1504
|
-
"version": "
|
|
1505
|
-
"signature": "
|
|
1509
|
+
"version": "9cdb157e06005f2614aa42ddd4d6b46a3623145349bbac5dd1ee221fb71dcc25",
|
|
1510
|
+
"signature": "9cdb157e06005f2614aa42ddd4d6b46a3623145349bbac5dd1ee221fb71dcc25",
|
|
1506
1511
|
"affectsGlobalScope": false
|
|
1507
1512
|
},
|
|
1508
1513
|
"../../../node_modules/@types/yarnpkg__lockfile/index.d.ts": {
|
|
@@ -2816,6 +2821,23 @@
|
|
|
2816
2821
|
"../../../node_modules/chalk/index.d.ts": [
|
|
2817
2822
|
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
2818
2823
|
],
|
|
2824
|
+
"../../../node_modules/fast-json-patch/index.d.ts": [
|
|
2825
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
2826
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts",
|
|
2827
|
+
"../../../node_modules/fast-json-patch/module/duplex.d.ts",
|
|
2828
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts"
|
|
2829
|
+
],
|
|
2830
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts": [
|
|
2831
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
2832
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts"
|
|
2833
|
+
],
|
|
2834
|
+
"../../../node_modules/fast-json-patch/module/duplex.d.ts": [
|
|
2835
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
2836
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts"
|
|
2837
|
+
],
|
|
2838
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts": [
|
|
2839
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
2840
|
+
],
|
|
2819
2841
|
"../../../node_modules/jest-diff/build/cleanupSemantic.d.ts": [
|
|
2820
2842
|
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
2821
2843
|
],
|
|
@@ -2984,7 +3006,7 @@
|
|
|
2984
3006
|
"../../../node_modules/@types/fs-extra/index.d.ts",
|
|
2985
3007
|
"../../../node_modules/@types/node/ts4.8/path.d.ts",
|
|
2986
3008
|
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
2987
|
-
"
|
|
3009
|
+
"../../../node_modules/fast-json-patch/index.d.ts"
|
|
2988
3010
|
],
|
|
2989
3011
|
"./build-tools/report-issues.ts": [
|
|
2990
3012
|
"../../../node_modules/@types/fs-extra/index.d.ts",
|
|
@@ -3066,18 +3088,6 @@
|
|
|
3066
3088
|
"./lib/schema/property.ts",
|
|
3067
3089
|
"./lib/schema/resource-type.ts"
|
|
3068
3090
|
],
|
|
3069
|
-
"./node_modules/fast-json-patch/lib/core.d.ts": [
|
|
3070
|
-
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
3071
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts"
|
|
3072
|
-
],
|
|
3073
|
-
"./node_modules/fast-json-patch/lib/duplex.d.ts": [
|
|
3074
|
-
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
3075
|
-
"./node_modules/fast-json-patch/lib/core.d.ts",
|
|
3076
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts"
|
|
3077
|
-
],
|
|
3078
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts": [
|
|
3079
|
-
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
3080
|
-
],
|
|
3081
3091
|
"./test/augmentation.test.ts": [
|
|
3082
3092
|
"../../../node_modules/@types/node/ts4.8/fs.d.ts",
|
|
3083
3093
|
"../../../node_modules/@types/node/ts4.8/path.d.ts",
|
|
@@ -4467,6 +4477,23 @@
|
|
|
4467
4477
|
"../../../node_modules/chalk/index.d.ts": [
|
|
4468
4478
|
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
4469
4479
|
],
|
|
4480
|
+
"../../../node_modules/fast-json-patch/index.d.ts": [
|
|
4481
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
4482
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts",
|
|
4483
|
+
"../../../node_modules/fast-json-patch/module/duplex.d.ts",
|
|
4484
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts"
|
|
4485
|
+
],
|
|
4486
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts": [
|
|
4487
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
4488
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts"
|
|
4489
|
+
],
|
|
4490
|
+
"../../../node_modules/fast-json-patch/module/duplex.d.ts": [
|
|
4491
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
4492
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts"
|
|
4493
|
+
],
|
|
4494
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts": [
|
|
4495
|
+
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
4496
|
+
],
|
|
4470
4497
|
"../../../node_modules/jest-diff/build/cleanupSemantic.d.ts": [
|
|
4471
4498
|
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
4472
4499
|
],
|
|
@@ -4642,18 +4669,6 @@
|
|
|
4642
4669
|
"./lib/schema/property.ts",
|
|
4643
4670
|
"./lib/schema/resource-type.ts"
|
|
4644
4671
|
],
|
|
4645
|
-
"./node_modules/fast-json-patch/lib/core.d.ts": [
|
|
4646
|
-
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
4647
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts"
|
|
4648
|
-
],
|
|
4649
|
-
"./node_modules/fast-json-patch/lib/duplex.d.ts": [
|
|
4650
|
-
"../../../node_modules/@types/node/ts4.8/util.d.ts",
|
|
4651
|
-
"./node_modules/fast-json-patch/lib/core.d.ts",
|
|
4652
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts"
|
|
4653
|
-
],
|
|
4654
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts": [
|
|
4655
|
-
"../../../node_modules/@types/node/ts4.8/util.d.ts"
|
|
4656
|
-
],
|
|
4657
4672
|
"./test/spec-validators.ts": [
|
|
4658
4673
|
"./lib/schema/index.ts"
|
|
4659
4674
|
],
|
|
@@ -4894,6 +4909,10 @@
|
|
|
4894
4909
|
"../../../node_modules/@types/yarnpkg__lockfile/index.d.ts",
|
|
4895
4910
|
"../../../node_modules/case/case.d.ts",
|
|
4896
4911
|
"../../../node_modules/chalk/index.d.ts",
|
|
4912
|
+
"../../../node_modules/fast-json-patch/index.d.ts",
|
|
4913
|
+
"../../../node_modules/fast-json-patch/module/core.d.ts",
|
|
4914
|
+
"../../../node_modules/fast-json-patch/module/duplex.d.ts",
|
|
4915
|
+
"../../../node_modules/fast-json-patch/module/helpers.d.ts",
|
|
4897
4916
|
"../../../node_modules/jest-diff/build/cleanupSemantic.d.ts",
|
|
4898
4917
|
"../../../node_modules/jest-diff/build/diffLines.d.ts",
|
|
4899
4918
|
"../../../node_modules/jest-diff/build/index.d.ts",
|
|
@@ -4959,9 +4978,6 @@
|
|
|
4959
4978
|
"./lib/schema/property.ts",
|
|
4960
4979
|
"./lib/schema/resource-type.ts",
|
|
4961
4980
|
"./lib/schema/specification.ts",
|
|
4962
|
-
"./node_modules/fast-json-patch/lib/core.d.ts",
|
|
4963
|
-
"./node_modules/fast-json-patch/lib/duplex.d.ts",
|
|
4964
|
-
"./node_modules/fast-json-patch/lib/helpers.d.ts",
|
|
4965
4981
|
"./test/augmentation.test.ts",
|
|
4966
4982
|
"./test/build.test.ts",
|
|
4967
4983
|
"./test/canned-metrics.test.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/cloudformation-diff",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.60.0",
|
|
4
4
|
"description": "Utilities to diff CDK stacks against CloudFormation templates",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-cdk/cfnspec": "2.
|
|
27
|
-
"@types/node": "^14.18.
|
|
26
|
+
"@aws-cdk/cfnspec": "2.60.0",
|
|
27
|
+
"@types/node": "^14.18.36",
|
|
28
28
|
"chalk": "^4",
|
|
29
29
|
"diff": "^5.1.0",
|
|
30
30
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"table": "^6.8.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
36
|
-
"@aws-cdk/pkglint": "2.
|
|
35
|
+
"@aws-cdk/cdk-build-tools": "2.60.0",
|
|
36
|
+
"@aws-cdk/pkglint": "2.60.0",
|
|
37
37
|
"@types/jest": "^27.5.2",
|
|
38
38
|
"@types/string-width": "^4.0.1",
|
|
39
39
|
"fast-check": "^2.25.0",
|
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.12.3](https://github.com/inspect-js/object-inspect/compare/v1.12.2...v1.12.3) - 2023-01-12
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [Fix] in eg FF 24, collections lack forEach [`75fc226`](https://github.com/inspect-js/object-inspect/commit/75fc22673c82d45f28322b1946bb0eb41b672b7f)
|
|
13
|
+
- [actions] update rebase action to use reusable workflow [`250a277`](https://github.com/inspect-js/object-inspect/commit/250a277a095e9dacc029ab8454dcfc15de549dcd)
|
|
14
|
+
- [Dev Deps] update `aud`, `es-value-fixtures`, `tape` [`66a19b3`](https://github.com/inspect-js/object-inspect/commit/66a19b3209ccc3c5ef4b34c3cb0160e65d1ce9d5)
|
|
15
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `error-cause` [`c43d332`](https://github.com/inspect-js/object-inspect/commit/c43d3324b48384a16fd3dc444e5fc589d785bef3)
|
|
16
|
+
- [Tests] add `@pkgjs/support` to `postlint` [`e2618d2`](https://github.com/inspect-js/object-inspect/commit/e2618d22a7a3fa361b6629b53c1752fddc9c4d80)
|
|
17
|
+
|
|
8
18
|
## [v1.12.2](https://github.com/inspect-js/object-inspect/compare/v1.12.1...v1.12.2) - 2022-05-26
|
|
9
19
|
|
|
10
20
|
### Commits
|
|
@@ -202,16 +202,20 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
202
202
|
}
|
|
203
203
|
if (isMap(obj)) {
|
|
204
204
|
var mapParts = [];
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
if (mapForEach) {
|
|
206
|
+
mapForEach.call(obj, function (value, key) {
|
|
207
|
+
mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
|
|
208
|
+
});
|
|
209
|
+
}
|
|
208
210
|
return collectionOf('Map', mapSize.call(obj), mapParts, indent);
|
|
209
211
|
}
|
|
210
212
|
if (isSet(obj)) {
|
|
211
213
|
var setParts = [];
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
214
|
+
if (setForEach) {
|
|
215
|
+
setForEach.call(obj, function (value) {
|
|
216
|
+
setParts.push(inspect(value, obj));
|
|
217
|
+
});
|
|
218
|
+
}
|
|
215
219
|
return collectionOf('Set', setSize.call(obj), setParts, indent);
|
|
216
220
|
}
|
|
217
221
|
if (isWeakMap(obj)) {
|
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "object-inspect",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.3",
|
|
4
4
|
"description": "string representations of objects in node and the browser",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@ljharb/eslint-config": "^21.0.
|
|
9
|
-
"
|
|
8
|
+
"@ljharb/eslint-config": "^21.0.1",
|
|
9
|
+
"@pkgjs/support": "^0.0.6",
|
|
10
|
+
"aud": "^2.0.2",
|
|
10
11
|
"auto-changelog": "^2.4.0",
|
|
11
12
|
"core-js": "^2.6.12",
|
|
12
|
-
"error-cause": "^1.0.
|
|
13
|
-
"es-value-fixtures": "^1.4.
|
|
13
|
+
"error-cause": "^1.0.5",
|
|
14
|
+
"es-value-fixtures": "^1.4.2",
|
|
14
15
|
"eslint": "=8.8.0",
|
|
15
16
|
"for-each": "^0.3.3",
|
|
16
17
|
"functions-have-names": "^1.2.3",
|
|
17
18
|
"has-tostringtag": "^1.0.0",
|
|
19
|
+
"in-publish": "^2.0.1",
|
|
18
20
|
"make-arrow-function": "^1.2.0",
|
|
19
21
|
"mock-property": "^1.0.0",
|
|
20
22
|
"npmignore": "^0.3.0",
|
|
21
23
|
"nyc": "^10.3.2",
|
|
22
24
|
"safe-publish-latest": "^2.0.0",
|
|
23
25
|
"string.prototype.repeat": "^1.0.0",
|
|
24
|
-
"tape": "^5.
|
|
26
|
+
"tape": "^5.6.1"
|
|
25
27
|
},
|
|
26
28
|
"scripts": {
|
|
27
29
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
28
30
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
29
31
|
"prepublishOnly": "safe-publish-latest",
|
|
30
32
|
"pretest": "npm run lint",
|
|
31
|
-
"lint": "eslint .",
|
|
33
|
+
"lint": "eslint --ext=js,mjs .",
|
|
34
|
+
"postlint": "npx @pkgjs/support validate",
|
|
32
35
|
"test": "npm run tests-only && npm run test:corejs",
|
|
33
36
|
"tests-only": "nyc tape 'test/*.js'",
|
|
34
37
|
"test:corejs": "nyc tape test-core-js.js 'test/*.js'",
|
|
@@ -24,8 +24,12 @@ npm install punycode --save
|
|
|
24
24
|
|
|
25
25
|
In [Node.js](https://nodejs.org/):
|
|
26
26
|
|
|
27
|
+
> ⚠️ Note that userland modules don't hide core modules.
|
|
28
|
+
> For example, `require('punycode')` still imports the deprecated core module even if you executed `npm install punycode`.
|
|
29
|
+
> Use `require('punycode/')` to import userland modules rather than core modules.
|
|
30
|
+
|
|
27
31
|
```js
|
|
28
|
-
const punycode = require('punycode');
|
|
32
|
+
const punycode = require('punycode/');
|
|
29
33
|
```
|
|
30
34
|
|
|
31
35
|
## API
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "punycode",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.",
|
|
5
5
|
"homepage": "https://mths.be/punycode",
|
|
6
6
|
"main": "punycode.js",
|
|
@@ -50,11 +50,11 @@ function error(type) {
|
|
|
50
50
|
* item.
|
|
51
51
|
* @returns {Array} A new array of values returned by the callback function.
|
|
52
52
|
*/
|
|
53
|
-
function map(array,
|
|
53
|
+
function map(array, callback) {
|
|
54
54
|
const result = [];
|
|
55
55
|
let length = array.length;
|
|
56
56
|
while (length--) {
|
|
57
|
-
result[length] =
|
|
57
|
+
result[length] = callback(array[length]);
|
|
58
58
|
}
|
|
59
59
|
return result;
|
|
60
60
|
}
|
|
@@ -66,22 +66,22 @@ function map(array, fn) {
|
|
|
66
66
|
* @param {String} domain The domain name or email address.
|
|
67
67
|
* @param {Function} callback The function that gets called for every
|
|
68
68
|
* character.
|
|
69
|
-
* @returns {
|
|
69
|
+
* @returns {String} A new string of characters returned by the callback
|
|
70
70
|
* function.
|
|
71
71
|
*/
|
|
72
|
-
function mapDomain(
|
|
73
|
-
const parts =
|
|
72
|
+
function mapDomain(domain, callback) {
|
|
73
|
+
const parts = domain.split('@');
|
|
74
74
|
let result = '';
|
|
75
75
|
if (parts.length > 1) {
|
|
76
76
|
// In email addresses, only the domain name should be punycoded. Leave
|
|
77
77
|
// the local part (i.e. everything up to `@`) intact.
|
|
78
78
|
result = parts[0] + '@';
|
|
79
|
-
|
|
79
|
+
domain = parts[1];
|
|
80
80
|
}
|
|
81
81
|
// Avoid `split(regex)` for IE8 compatibility. See #17.
|
|
82
|
-
|
|
83
|
-
const labels =
|
|
84
|
-
const encoded = map(labels,
|
|
82
|
+
domain = domain.replace(regexSeparators, '\x2E');
|
|
83
|
+
const labels = domain.split('.');
|
|
84
|
+
const encoded = map(labels, callback).join('.');
|
|
85
85
|
return result + encoded;
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -130,7 +130,7 @@ function ucs2decode(string) {
|
|
|
130
130
|
* @param {Array} codePoints The array of numeric code points.
|
|
131
131
|
* @returns {String} The new Unicode string (UCS-2).
|
|
132
132
|
*/
|
|
133
|
-
const ucs2encode =
|
|
133
|
+
const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Converts a basic code point into a digit/integer.
|
|
@@ -342,7 +342,7 @@ const encode = function(input) {
|
|
|
342
342
|
if (currentValue < n && ++delta > maxInt) {
|
|
343
343
|
error('overflow');
|
|
344
344
|
}
|
|
345
|
-
if (currentValue
|
|
345
|
+
if (currentValue === n) {
|
|
346
346
|
// Represent delta as a generalized variable-length integer.
|
|
347
347
|
let q = delta;
|
|
348
348
|
for (let k = base; /* no condition */; k += base) {
|
|
@@ -359,7 +359,7 @@ const encode = function(input) {
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
output.push(stringFromCharCode(digitToBasic(q, 0)));
|
|
362
|
-
bias = adapt(delta, handledCPCountPlusOne, handledCPCount
|
|
362
|
+
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
|
|
363
363
|
delta = 0;
|
|
364
364
|
++handledCPCount;
|
|
365
365
|
}
|
|
@@ -50,11 +50,11 @@ function error(type) {
|
|
|
50
50
|
* item.
|
|
51
51
|
* @returns {Array} A new array of values returned by the callback function.
|
|
52
52
|
*/
|
|
53
|
-
function map(array,
|
|
53
|
+
function map(array, callback) {
|
|
54
54
|
const result = [];
|
|
55
55
|
let length = array.length;
|
|
56
56
|
while (length--) {
|
|
57
|
-
result[length] =
|
|
57
|
+
result[length] = callback(array[length]);
|
|
58
58
|
}
|
|
59
59
|
return result;
|
|
60
60
|
}
|
|
@@ -66,22 +66,22 @@ function map(array, fn) {
|
|
|
66
66
|
* @param {String} domain The domain name or email address.
|
|
67
67
|
* @param {Function} callback The function that gets called for every
|
|
68
68
|
* character.
|
|
69
|
-
* @returns {
|
|
69
|
+
* @returns {String} A new string of characters returned by the callback
|
|
70
70
|
* function.
|
|
71
71
|
*/
|
|
72
|
-
function mapDomain(
|
|
73
|
-
const parts =
|
|
72
|
+
function mapDomain(domain, callback) {
|
|
73
|
+
const parts = domain.split('@');
|
|
74
74
|
let result = '';
|
|
75
75
|
if (parts.length > 1) {
|
|
76
76
|
// In email addresses, only the domain name should be punycoded. Leave
|
|
77
77
|
// the local part (i.e. everything up to `@`) intact.
|
|
78
78
|
result = parts[0] + '@';
|
|
79
|
-
|
|
79
|
+
domain = parts[1];
|
|
80
80
|
}
|
|
81
81
|
// Avoid `split(regex)` for IE8 compatibility. See #17.
|
|
82
|
-
|
|
83
|
-
const labels =
|
|
84
|
-
const encoded = map(labels,
|
|
82
|
+
domain = domain.replace(regexSeparators, '\x2E');
|
|
83
|
+
const labels = domain.split('.');
|
|
84
|
+
const encoded = map(labels, callback).join('.');
|
|
85
85
|
return result + encoded;
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -130,7 +130,7 @@ function ucs2decode(string) {
|
|
|
130
130
|
* @param {Array} codePoints The array of numeric code points.
|
|
131
131
|
* @returns {String} The new Unicode string (UCS-2).
|
|
132
132
|
*/
|
|
133
|
-
const ucs2encode =
|
|
133
|
+
const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Converts a basic code point into a digit/integer.
|
|
@@ -342,7 +342,7 @@ const encode = function(input) {
|
|
|
342
342
|
if (currentValue < n && ++delta > maxInt) {
|
|
343
343
|
error('overflow');
|
|
344
344
|
}
|
|
345
|
-
if (currentValue
|
|
345
|
+
if (currentValue === n) {
|
|
346
346
|
// Represent delta as a generalized variable-length integer.
|
|
347
347
|
let q = delta;
|
|
348
348
|
for (let k = base; /* no condition */; k += base) {
|
|
@@ -359,7 +359,7 @@ const encode = function(input) {
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
output.push(stringFromCharCode(digitToBasic(q, 0)));
|
|
362
|
-
bias = adapt(delta, handledCPCountPlusOne, handledCPCount
|
|
362
|
+
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
|
|
363
363
|
delta = 0;
|
|
364
364
|
++handledCPCount;
|
|
365
365
|
}
|
package/package.json
CHANGED
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"aws-cdk-lib": "2.12.0",
|
|
45
45
|
"constructs": "10.0.5",
|
|
46
46
|
"eslint": "^8",
|
|
47
|
-
"eslint-import-resolver-node": "^0.3.
|
|
47
|
+
"eslint-import-resolver-node": "^0.3.7",
|
|
48
48
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
49
|
-
"eslint-plugin-import": "^2.
|
|
49
|
+
"eslint-plugin-import": "^2.27.4",
|
|
50
50
|
"jest": "^27",
|
|
51
51
|
"jest-junit": "^13",
|
|
52
52
|
"jsii": "^1.73.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"jsii-pacmak": "^1.73.0",
|
|
56
56
|
"json-schema": "^0.4.0",
|
|
57
57
|
"npm-check-updates": "^16",
|
|
58
|
-
"projen": "0.66.
|
|
58
|
+
"projen": "0.66.12",
|
|
59
59
|
"standard-version": "^9",
|
|
60
60
|
"ts-jest": "^27",
|
|
61
61
|
"typescript": "3.9.10"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"constructs": "^10.0.5"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@aws-cdk/assert": "^2.
|
|
68
|
+
"@aws-cdk/assert": "^2.60.0",
|
|
69
69
|
"case": "^1.6.3",
|
|
70
70
|
"sync-request": "^6.1.0"
|
|
71
71
|
},
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
],
|
|
84
84
|
"main": "lib/index.js",
|
|
85
85
|
"license": "Apache-2.0",
|
|
86
|
-
"version": "2.0.
|
|
86
|
+
"version": "2.0.377",
|
|
87
87
|
"jest": {
|
|
88
88
|
"testMatch": [
|
|
89
89
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|