cdk-common 2.0.382 → 2.0.384
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 +15 -3
- package/API.md +10 -0
- package/lib/main.js +1 -1
- package/lib/managed-policies.d.ts +2 -0
- package/lib/managed-policies.js +3 -1
- package/node_modules/@aws-cdk/assert/package.json +8 -8
- package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +86 -0
- package/node_modules/@aws-cdk/cfnspec/cfn.version +1 -1
- package/node_modules/@aws-cdk/cfnspec/package.json +3 -3
- package/node_modules/@aws-cdk/cfnspec/spec/specification.json +203 -31
- package/node_modules/@aws-cdk/cloudformation-diff/package.json +4 -4
- package/node_modules/punycode/README.md +2 -2
- package/node_modules/punycode/package.json +5 -5
- package/node_modules/punycode/punycode.es6.js +12 -9
- package/node_modules/punycode/punycode.js +12 -9
- package/package.json +3 -3
- package/node_modules/@aws-cdk/cfnspec/tsconfig.json +0 -24
- package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +0 -5006
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/cloudformation-diff",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.61.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,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-cdk/cfnspec": "2.
|
|
26
|
+
"@aws-cdk/cfnspec": "2.61.0",
|
|
27
27
|
"@types/node": "^14.18.36",
|
|
28
28
|
"chalk": "^4",
|
|
29
29
|
"diff": "^5.1.0",
|
|
@@ -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.61.0",
|
|
36
|
+
"@aws-cdk/pkglint": "2.61.0",
|
|
37
37
|
"@types/jest": "^27.5.2",
|
|
38
38
|
"@types/string-width": "^4.0.1",
|
|
39
39
|
"fast-check": "^2.25.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Punycode.js [](https://www.npmjs.com/package/emoji-test-regex-pattern) [](https://www.jsdelivr.com/package/npm/punycode)
|
|
2
2
|
|
|
3
3
|
Punycode.js is a robust Punycode converter that fully complies to [RFC 3492](https://tools.ietf.org/html/rfc3492) and [RFC 5891](https://tools.ietf.org/html/rfc5891).
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ This JavaScript library is the result of comparing, optimizing and documenting d
|
|
|
12
12
|
|
|
13
13
|
This project was [bundled](https://github.com/joyent/node/blob/master/lib/punycode.js) with Node.js from [v0.6.2+](https://github.com/joyent/node/compare/975f1930b1...61e796decc) until [v7](https://github.com/nodejs/node/pull/7941) (soft-deprecated).
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
This project provides a CommonJS module that uses ES2015+ features and JavaScript module, which work in modern Node.js versions and browsers. For the old Punycode.js version that offers the same functionality in a UMD build with support for older pre-ES2015 runtimes, including Rhino, Ringo, and Narwhal, see [v1.4.1](https://github.com/mathiasbynens/punycode.js/releases/tag/v1.4.1).
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "punycode",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.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",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
],
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/
|
|
34
|
+
"url": "https://github.com/mathiasbynens/punycode.js.git"
|
|
35
35
|
},
|
|
36
|
-
"bugs": "https://github.com/
|
|
36
|
+
"bugs": "https://github.com/mathiasbynens/punycode.js/issues",
|
|
37
37
|
"files": [
|
|
38
38
|
"LICENSE-MIT.txt",
|
|
39
39
|
"punycode.js",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
43
|
"test": "mocha tests",
|
|
44
|
-
"
|
|
44
|
+
"build": "node scripts/prepublish.js"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"codecov": "^1.0.1",
|
|
48
48
|
"istanbul": "^0.4.1",
|
|
49
|
-
"mocha": "^2.
|
|
49
|
+
"mocha": "^10.2.0"
|
|
50
50
|
},
|
|
51
51
|
"jspm": {
|
|
52
52
|
"map": {
|
|
@@ -15,7 +15,7 @@ const delimiter = '-'; // '\x2D'
|
|
|
15
15
|
|
|
16
16
|
/** Regular expressions */
|
|
17
17
|
const regexPunycode = /^xn--/;
|
|
18
|
-
const regexNonASCII = /[^\0-\
|
|
18
|
+
const regexNonASCII = /[^\0-\x7F]/; // Note: U+007F DEL is excluded too.
|
|
19
19
|
const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
20
20
|
|
|
21
21
|
/** Error messages */
|
|
@@ -142,13 +142,13 @@ const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
|
|
|
142
142
|
* the code point does not represent a value.
|
|
143
143
|
*/
|
|
144
144
|
const basicToDigit = function(codePoint) {
|
|
145
|
-
if (codePoint
|
|
146
|
-
return codePoint -
|
|
145
|
+
if (codePoint >= 0x30 && codePoint < 0x3A) {
|
|
146
|
+
return 26 + (codePoint - 0x30);
|
|
147
147
|
}
|
|
148
|
-
if (codePoint
|
|
148
|
+
if (codePoint >= 0x41 && codePoint < 0x5B) {
|
|
149
149
|
return codePoint - 0x41;
|
|
150
150
|
}
|
|
151
|
-
if (codePoint
|
|
151
|
+
if (codePoint >= 0x61 && codePoint < 0x7B) {
|
|
152
152
|
return codePoint - 0x61;
|
|
153
153
|
}
|
|
154
154
|
return base;
|
|
@@ -228,7 +228,7 @@ const decode = function(input) {
|
|
|
228
228
|
// which gets added to `i`. The overflow checking is easier
|
|
229
229
|
// if we increase `i` as we go, then subtract off its starting
|
|
230
230
|
// value at the end to obtain `delta`.
|
|
231
|
-
|
|
231
|
+
const oldi = i;
|
|
232
232
|
for (let w = 1, k = base; /* no condition */; k += base) {
|
|
233
233
|
|
|
234
234
|
if (index >= inputLength) {
|
|
@@ -237,7 +237,10 @@ const decode = function(input) {
|
|
|
237
237
|
|
|
238
238
|
const digit = basicToDigit(input.charCodeAt(index++));
|
|
239
239
|
|
|
240
|
-
if (digit >= base
|
|
240
|
+
if (digit >= base) {
|
|
241
|
+
error('invalid-input');
|
|
242
|
+
}
|
|
243
|
+
if (digit > floor((maxInt - i) / w)) {
|
|
241
244
|
error('overflow');
|
|
242
245
|
}
|
|
243
246
|
|
|
@@ -291,7 +294,7 @@ const encode = function(input) {
|
|
|
291
294
|
input = ucs2decode(input);
|
|
292
295
|
|
|
293
296
|
// Cache the length.
|
|
294
|
-
|
|
297
|
+
const inputLength = input.length;
|
|
295
298
|
|
|
296
299
|
// Initialize the state.
|
|
297
300
|
let n = initialN;
|
|
@@ -305,7 +308,7 @@ const encode = function(input) {
|
|
|
305
308
|
}
|
|
306
309
|
}
|
|
307
310
|
|
|
308
|
-
|
|
311
|
+
const basicLength = output.length;
|
|
309
312
|
let handledCPCount = basicLength;
|
|
310
313
|
|
|
311
314
|
// `handledCPCount` is the number of code points that have been handled;
|
|
@@ -15,7 +15,7 @@ const delimiter = '-'; // '\x2D'
|
|
|
15
15
|
|
|
16
16
|
/** Regular expressions */
|
|
17
17
|
const regexPunycode = /^xn--/;
|
|
18
|
-
const regexNonASCII = /[^\0-\
|
|
18
|
+
const regexNonASCII = /[^\0-\x7F]/; // Note: U+007F DEL is excluded too.
|
|
19
19
|
const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
20
20
|
|
|
21
21
|
/** Error messages */
|
|
@@ -142,13 +142,13 @@ const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
|
|
|
142
142
|
* the code point does not represent a value.
|
|
143
143
|
*/
|
|
144
144
|
const basicToDigit = function(codePoint) {
|
|
145
|
-
if (codePoint
|
|
146
|
-
return codePoint -
|
|
145
|
+
if (codePoint >= 0x30 && codePoint < 0x3A) {
|
|
146
|
+
return 26 + (codePoint - 0x30);
|
|
147
147
|
}
|
|
148
|
-
if (codePoint
|
|
148
|
+
if (codePoint >= 0x41 && codePoint < 0x5B) {
|
|
149
149
|
return codePoint - 0x41;
|
|
150
150
|
}
|
|
151
|
-
if (codePoint
|
|
151
|
+
if (codePoint >= 0x61 && codePoint < 0x7B) {
|
|
152
152
|
return codePoint - 0x61;
|
|
153
153
|
}
|
|
154
154
|
return base;
|
|
@@ -228,7 +228,7 @@ const decode = function(input) {
|
|
|
228
228
|
// which gets added to `i`. The overflow checking is easier
|
|
229
229
|
// if we increase `i` as we go, then subtract off its starting
|
|
230
230
|
// value at the end to obtain `delta`.
|
|
231
|
-
|
|
231
|
+
const oldi = i;
|
|
232
232
|
for (let w = 1, k = base; /* no condition */; k += base) {
|
|
233
233
|
|
|
234
234
|
if (index >= inputLength) {
|
|
@@ -237,7 +237,10 @@ const decode = function(input) {
|
|
|
237
237
|
|
|
238
238
|
const digit = basicToDigit(input.charCodeAt(index++));
|
|
239
239
|
|
|
240
|
-
if (digit >= base
|
|
240
|
+
if (digit >= base) {
|
|
241
|
+
error('invalid-input');
|
|
242
|
+
}
|
|
243
|
+
if (digit > floor((maxInt - i) / w)) {
|
|
241
244
|
error('overflow');
|
|
242
245
|
}
|
|
243
246
|
|
|
@@ -291,7 +294,7 @@ const encode = function(input) {
|
|
|
291
294
|
input = ucs2decode(input);
|
|
292
295
|
|
|
293
296
|
// Cache the length.
|
|
294
|
-
|
|
297
|
+
const inputLength = input.length;
|
|
295
298
|
|
|
296
299
|
// Initialize the state.
|
|
297
300
|
let n = initialN;
|
|
@@ -305,7 +308,7 @@ const encode = function(input) {
|
|
|
305
308
|
}
|
|
306
309
|
}
|
|
307
310
|
|
|
308
|
-
|
|
311
|
+
const basicLength = output.length;
|
|
309
312
|
let handledCPCount = basicLength;
|
|
310
313
|
|
|
311
314
|
// `handledCPCount` is the number of code points that have been handled;
|
package/package.json
CHANGED
|
@@ -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.67.
|
|
58
|
+
"projen": "0.67.6",
|
|
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.61.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.384",
|
|
87
87
|
"jest": {
|
|
88
88
|
"testMatch": [
|
|
89
89
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target":"ES2020",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"lib": ["es2016", "es2017.object", "es2017.string"],
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"composite": true,
|
|
8
|
-
"strict": true,
|
|
9
|
-
"noImplicitAny": true,
|
|
10
|
-
"strictNullChecks": true,
|
|
11
|
-
"noImplicitThis": true,
|
|
12
|
-
"alwaysStrict": true,
|
|
13
|
-
"noUnusedLocals": true,
|
|
14
|
-
"noUnusedParameters": true,
|
|
15
|
-
"noImplicitReturns": true,
|
|
16
|
-
"noFallthroughCasesInSwitch": false,
|
|
17
|
-
"inlineSourceMap": true,
|
|
18
|
-
"inlineSources": true,
|
|
19
|
-
"experimentalDecorators": true,
|
|
20
|
-
"strictPropertyInitialization":false
|
|
21
|
-
},
|
|
22
|
-
"include": ["**/*.ts" ],
|
|
23
|
-
"exclude": ["node_modules"]
|
|
24
|
-
}
|