cdk-docker-image-deployment 0.0.987 → 0.0.989
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 +5 -5
- package/lib/codebuild-handler/index.js +35 -2
- package/lib/destination.js +4 -4
- package/lib/docker-image-deployment.js +41 -9
- package/lib/source.js +37 -5
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
- package/node_modules/call-bind/CHANGELOG.md +9 -0
- package/node_modules/call-bind/README.md +1 -1
- package/node_modules/call-bind/index.js +2 -2
- package/node_modules/call-bind/package.json +11 -11
- package/node_modules/call-bind/test/index.js +9 -1
- package/node_modules/es-object-atoms/CHANGELOG.md +21 -14
- package/node_modules/es-object-atoms/isObject.d.ts +1 -1
- package/node_modules/es-object-atoms/package.json +6 -7
- package/node_modules/es-object-atoms/tsconfig.json +1 -0
- package/node_modules/hasown/CHANGELOG.md +18 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/package.json +13 -14
- package/node_modules/which-typed-array/CHANGELOG.md +18 -0
- package/node_modules/which-typed-array/eslint.config.mjs +12 -0
- package/node_modules/which-typed-array/index.d.ts +22 -53
- package/node_modules/which-typed-array/index.js +36 -23
- package/node_modules/which-typed-array/package.json +8 -8
- package/node_modules/xml2js/node_modules/sax/lib/sax.js +27 -9
- package/node_modules/xml2js/node_modules/sax/package.json +1 -1
- package/package.json +37 -38
- package/node_modules/hasown/.eslintrc +0 -5
- package/node_modules/which-typed-array/.eslintrc +0 -10
|
@@ -5,6 +5,24 @@ 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
|
+
## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9)
|
|
13
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30)
|
|
14
|
+
|
|
15
|
+
## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17
|
|
16
|
+
|
|
17
|
+
### Commits
|
|
18
|
+
|
|
19
|
+
- [actions] update workflows [`fb837b8`](https://github.com/inspect-js/hasOwn/commit/fb837b849bcdb8416fdc8fd344edfacd5574696c)
|
|
20
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `eslint`, `mock-property`, `npmignore`, `tape` [`f4b279b`](https://github.com/inspect-js/hasOwn/commit/f4b279bd682be34b3f0ede2a58d4e8acb58d6d47)
|
|
21
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`; migrate to flat config [`7e415ce`](https://github.com/inspect-js/hasOwn/commit/7e415cee55ebf43b3c34d7fd86db73a9928b05f7)
|
|
22
|
+
- [Dev Deps] update `eslint` [`ef313da`](https://github.com/inspect-js/hasOwn/commit/ef313da342d33b60e23e738b9f5a86f6065f39ef)
|
|
23
|
+
- [meta] use `npm audit` instead of `aud` [`d5c6d4d`](https://github.com/inspect-js/hasOwn/commit/d5c6d4d7a19c6ca4f14ac173b30d8bf25abcabee)
|
|
24
|
+
- [types] add overload that narrows the key [`cc03a09`](https://github.com/inspect-js/hasOwn/commit/cc03a097e9402fb8b86d413050e67f790dd6c8c5)
|
|
25
|
+
|
|
8
26
|
## [v2.0.2](https://github.com/inspect-js/hasOwn/compare/v2.0.1...v2.0.2) - 2024-03-10
|
|
9
27
|
|
|
10
28
|
### Commits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hasown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
15
15
|
"prepublishOnly": "safe-publish-latest",
|
|
16
16
|
"prelint": "evalmd README.md",
|
|
17
|
-
"lint": "eslint
|
|
17
|
+
"lint": "eslint .",
|
|
18
18
|
"postlint": "npm run tsc",
|
|
19
19
|
"pretest": "npm run lint",
|
|
20
20
|
"tsc": "tsc -p .",
|
|
21
21
|
"posttsc": "attw -P",
|
|
22
22
|
"tests-only": "nyc tape 'test/**/*.js'",
|
|
23
23
|
"test": "npm run tests-only",
|
|
24
|
-
"posttest": "
|
|
24
|
+
"posttest": "npx npm@\">= 10.2\" audit --production",
|
|
25
25
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
26
26
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
27
27
|
},
|
|
@@ -51,22 +51,21 @@
|
|
|
51
51
|
"function-bind": "^1.1.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@arethetypeswrong/cli": "^0.
|
|
55
|
-
"@ljharb/eslint-config": "^
|
|
56
|
-
"@ljharb/tsconfig": "^0.2
|
|
54
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
55
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
56
|
+
"@ljharb/tsconfig": "^0.3.2",
|
|
57
57
|
"@types/function-bind": "^1.1.10",
|
|
58
|
-
"@types/
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"auto-changelog": "^2.4.0",
|
|
62
|
-
"eslint": "=8.8.0",
|
|
58
|
+
"@types/tape": "^5.8.1",
|
|
59
|
+
"auto-changelog": "^2.5.1",
|
|
60
|
+
"eslint": "^10.4.0",
|
|
63
61
|
"evalmd": "^0.0.19",
|
|
64
62
|
"in-publish": "^2.0.1",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
63
|
+
"jiti": "^0.0.0",
|
|
64
|
+
"mock-property": "^1.1.0",
|
|
65
|
+
"npmignore": "^0.3.5",
|
|
67
66
|
"nyc": "^10.3.2",
|
|
68
67
|
"safe-publish-latest": "^2.0.0",
|
|
69
|
-
"tape": "^5.
|
|
68
|
+
"tape": "^5.9.0",
|
|
70
69
|
"typescript": "next"
|
|
71
70
|
},
|
|
72
71
|
"engines": {
|
|
@@ -5,6 +5,24 @@ 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.1.22](https://github.com/inspect-js/which-typed-array/compare/v1.1.21...v1.1.22) - 2026-06-05
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] improve typings [`5a60076`](https://github.com/inspect-js/which-typed-array/commit/5a60076ec334e32dcb41d38b1eb6c2c49d18d097)
|
|
13
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `auto-changelog`, `eslint` [`6fb45d2`](https://github.com/inspect-js/which-typed-array/commit/6fb45d27e29dc0384d142c3af95540dfe7409207)
|
|
14
|
+
|
|
15
|
+
## [v1.1.21](https://github.com/inspect-js/which-typed-array/compare/v1.1.20...v1.1.21) - 2026-05-26
|
|
16
|
+
|
|
17
|
+
### Commits
|
|
18
|
+
|
|
19
|
+
- [types] add Float16Array [`b3dac9f`](https://github.com/inspect-js/which-typed-array/commit/b3dac9f6931f463d10b7e21b1b5e5369602642c4)
|
|
20
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`; migrate to flat config [`2dd9b04`](https://github.com/inspect-js/which-typed-array/commit/2dd9b04cd3f461a0f4b19c607124e134e12df135)
|
|
21
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`b46f6a2`](https://github.com/inspect-js/which-typed-array/commit/b46f6a2f000e932f7b78c54b9dce0bf940379fea)
|
|
22
|
+
- [Tests] pin `fflate` to 0.8.2 [`06eb54e`](https://github.com/inspect-js/which-typed-array/commit/06eb54e4ee7369da3639a2291a1c6add642e53fb)
|
|
23
|
+
- [Dev Deps] update `eslint` [`2181d61`](https://github.com/inspect-js/which-typed-array/commit/2181d61990f20c82c84d06bcd4a91ba70b486bc1)
|
|
24
|
+
- [Deps] update `call-bind` [`ca58bca`](https://github.com/inspect-js/which-typed-array/commit/ca58bca5034adcbfc05797ffde7e9134c9df4a72)
|
|
25
|
+
|
|
8
26
|
## [v1.1.20](https://github.com/inspect-js/which-typed-array/compare/v1.1.19...v1.1.20) - 2026-01-14
|
|
9
27
|
|
|
10
28
|
### Commits
|
|
@@ -4,63 +4,32 @@
|
|
|
4
4
|
* @param {unknown} value The potential collection
|
|
5
5
|
* @returns {TypedArrayName | false | null} 'Int8Array' | 'Uint8Array' | 'Uint8ClampedArray' | 'Int16Array' | 'Uint16Array' | 'Int32Array' | 'Uint32Array' | 'Float32Array' | 'Float64Array' | 'BigInt64Array' | 'BigUint64Array' | false | null
|
|
6
6
|
*/
|
|
7
|
-
declare function whichTypedArray(value:
|
|
8
|
-
declare function whichTypedArray(value:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare function whichTypedArray(value: Uint16Array): 'Uint16Array';
|
|
12
|
-
declare function whichTypedArray(value: Int32Array): 'Int32Array';
|
|
13
|
-
declare function whichTypedArray(value: Uint32Array): 'Uint32Array';
|
|
14
|
-
declare function whichTypedArray(value: Float32Array): 'Float32Array';
|
|
15
|
-
declare function whichTypedArray(value: Float64Array): 'Float64Array';
|
|
16
|
-
declare function whichTypedArray(value: Float16Array): 'Float16Array';
|
|
17
|
-
declare function whichTypedArray(value: BigInt64Array): 'BigInt64Array';
|
|
18
|
-
declare function whichTypedArray(value: BigUint64Array): 'BigUint64Array';
|
|
19
|
-
declare function whichTypedArray(value: whichTypedArray.TypedArray): whichTypedArray.TypedArrayName;
|
|
20
|
-
declare function whichTypedArray(value: unknown): false | null;
|
|
7
|
+
declare function whichTypedArray<T>(value: T): false | null | whichTypedArray.WhichTypedArray<T>;
|
|
8
|
+
declare function whichTypedArray(value: unknown): false | null | whichTypedArray.TypedArrayName;
|
|
9
|
+
|
|
10
|
+
import TAs from 'available-typed-arrays';
|
|
21
11
|
|
|
22
12
|
declare namespace whichTypedArray {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
| 'Uint8ClampedArray'
|
|
27
|
-
| 'Int16Array'
|
|
28
|
-
| 'Uint16Array'
|
|
29
|
-
| 'Int32Array'
|
|
30
|
-
| 'Uint32Array'
|
|
31
|
-
| 'Float32Array'
|
|
32
|
-
| 'Float64Array'
|
|
33
|
-
| 'Float16Array'
|
|
34
|
-
| 'BigInt64Array'
|
|
35
|
-
| 'BigUint64Array';
|
|
13
|
+
export type TypedArrayName = ReturnType<typeof TAs>[number];
|
|
14
|
+
|
|
15
|
+
export type TypedArrayConstructor = typeof globalThis[TypedArrayName];
|
|
36
16
|
|
|
37
|
-
|
|
38
|
-
| Int8Array
|
|
39
|
-
| Uint8Array
|
|
40
|
-
| Uint8ClampedArray
|
|
41
|
-
| Int16Array
|
|
42
|
-
| Uint16Array
|
|
43
|
-
| Int32Array
|
|
44
|
-
| Uint32Array
|
|
45
|
-
| Float32Array
|
|
46
|
-
| Float64Array
|
|
47
|
-
| Float16Array
|
|
48
|
-
| BigInt64Array
|
|
49
|
-
| BigUint64Array;
|
|
17
|
+
export type TypedArray = TypedArrayConstructor['prototype'];
|
|
50
18
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Distributes over `T`, so a subset of typed arrays maps to the matching
|
|
21
|
+
* subset of names (`Int8Array | Uint8Array` -> `'Int8Array' | 'Uint8Array'`,
|
|
22
|
+
* never a float16 or bigint name). Any non-typed-array part adds `false | null`.
|
|
23
|
+
*
|
|
24
|
+
* Derived entirely from `TypedArrayName`, so a new entry in `available-typed-arrays` flows through with no other change here.
|
|
25
|
+
*/
|
|
26
|
+
export type WhichTypedArray<T> =
|
|
27
|
+
| {
|
|
28
|
+
[Name in TypedArrayName]: T extends typeof globalThis[Name]['prototype']
|
|
29
|
+
? Name
|
|
30
|
+
: never
|
|
31
|
+
}[TypedArrayName]
|
|
32
|
+
| ([T] extends [TypedArray] ? never : false | null);
|
|
64
33
|
}
|
|
65
34
|
|
|
66
35
|
export = whichTypedArray;
|
|
@@ -15,6 +15,9 @@ var typedArrays = availableTypedArrays();
|
|
|
15
15
|
|
|
16
16
|
var $slice = callBound('String.prototype.slice');
|
|
17
17
|
|
|
18
|
+
/** @import { BoundSet, BoundSlice, Cache, Getter } from './types' */
|
|
19
|
+
/** @import { TypedArrayName } from '.' */
|
|
20
|
+
|
|
18
21
|
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
19
22
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
20
23
|
for (var i = 0; i < array.length; i += 1) {
|
|
@@ -25,8 +28,7 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(ar
|
|
|
25
28
|
return -1;
|
|
26
29
|
};
|
|
27
30
|
|
|
28
|
-
/** @
|
|
29
|
-
/** @type {import('./types').Cache} */
|
|
31
|
+
/** @type {Cache} */
|
|
30
32
|
var cache = { __proto__: null };
|
|
31
33
|
if (hasToStringTag && gOPD && getProto) {
|
|
32
34
|
forEach(typedArrays, function (typedArray) {
|
|
@@ -43,7 +45,8 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
43
45
|
if (descriptor && descriptor.get) {
|
|
44
46
|
var bound = callBind(descriptor.get);
|
|
45
47
|
cache[
|
|
46
|
-
/** @type {`$${
|
|
48
|
+
/** @type {`$${TypedArrayName}`} */
|
|
49
|
+
('$' + typedArray)
|
|
47
50
|
] = bound;
|
|
48
51
|
}
|
|
49
52
|
}
|
|
@@ -53,62 +56,72 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
53
56
|
var arr = new g[typedArray]();
|
|
54
57
|
var fn = arr.slice || arr.set;
|
|
55
58
|
if (fn) {
|
|
56
|
-
var bound = /** @type {
|
|
59
|
+
var bound = /** @type {BoundSlice | BoundSet} */ (
|
|
57
60
|
// @ts-expect-error TODO FIXME
|
|
58
61
|
callBind(fn)
|
|
59
62
|
);
|
|
60
63
|
cache[
|
|
61
|
-
/** @type {`$${
|
|
64
|
+
/** @type {`$${TypedArrayName}`} */
|
|
65
|
+
('$' + typedArray)
|
|
62
66
|
] = bound;
|
|
63
67
|
}
|
|
64
68
|
});
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
/** @type {(value: object) => false |
|
|
68
|
-
|
|
69
|
-
/** @type {ReturnType<typeof
|
|
71
|
+
/** @type {(value: object) => false | TypedArrayName} */
|
|
72
|
+
function tryTypedArrays(value) {
|
|
73
|
+
/** @type {ReturnType<typeof tryTypedArrays>} */ var found = false;
|
|
70
74
|
forEach(
|
|
71
|
-
/** @type {Record
|
|
72
|
-
/** @
|
|
75
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */ (cache),
|
|
76
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} typedArray */
|
|
73
77
|
function (getter, typedArray) {
|
|
74
78
|
if (!found) {
|
|
75
79
|
try {
|
|
76
80
|
// @ts-expect-error a throw is fine here
|
|
77
81
|
if ('$' + getter(value) === typedArray) {
|
|
78
|
-
found = /** @type {
|
|
82
|
+
found = /** @type {TypedArrayName} */ ($slice(typedArray, 1));
|
|
79
83
|
}
|
|
80
84
|
} catch (e) { /**/ }
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
87
|
);
|
|
84
88
|
return found;
|
|
85
|
-
}
|
|
89
|
+
}
|
|
86
90
|
|
|
87
|
-
/** @type {(value: object) => false |
|
|
88
|
-
|
|
89
|
-
/** @type {ReturnType<typeof
|
|
91
|
+
/** @type {(value: object) => false | TypedArrayName} */
|
|
92
|
+
function trySlices(value) {
|
|
93
|
+
/** @type {ReturnType<typeof trySlices>} */ var found = false;
|
|
90
94
|
forEach(
|
|
91
|
-
/** @type {Record
|
|
92
|
-
/** @
|
|
95
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */(cache),
|
|
96
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} name */ function (getter, name) {
|
|
93
97
|
if (!found) {
|
|
94
98
|
try {
|
|
95
99
|
// @ts-expect-error a throw is fine here
|
|
96
100
|
getter(value);
|
|
97
|
-
found = /** @type {
|
|
101
|
+
found = /** @type {TypedArrayName} */ ($slice(name, 1));
|
|
98
102
|
} catch (e) { /**/ }
|
|
99
103
|
}
|
|
100
104
|
}
|
|
101
105
|
);
|
|
102
106
|
return found;
|
|
103
|
-
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** @type {(tag: unknown) => tag is typeof typedArrays[number]} */
|
|
110
|
+
function isTATag(tag) {
|
|
111
|
+
return $indexOf(typedArrays, tag) > -1;
|
|
112
|
+
}
|
|
104
113
|
|
|
105
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* @type {import('.')}
|
|
116
|
+
* @param {unknown} value
|
|
117
|
+
*/
|
|
106
118
|
module.exports = function whichTypedArray(value) {
|
|
107
|
-
if (!value || typeof value !== 'object') {
|
|
119
|
+
if (!value || typeof value !== 'object') {
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
108
122
|
if (!hasToStringTag) {
|
|
109
|
-
/** @type {string} */
|
|
110
123
|
var tag = $slice($toString(value), 8, -1);
|
|
111
|
-
if (
|
|
124
|
+
if (isTATag(tag)) {
|
|
112
125
|
return tag;
|
|
113
126
|
}
|
|
114
127
|
if (tag !== 'Object') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "which-typed-array",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Jordan Harband",
|
|
6
6
|
"email": "ljharb@gmail.com",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tests-only": "nyc tape test",
|
|
31
31
|
"test:harmony": "nyc node --harmony --es-staging test",
|
|
32
32
|
"posttest": "npx npm@'>=10.2' audit --production",
|
|
33
|
-
"lint": "eslint
|
|
33
|
+
"lint": "eslint .",
|
|
34
34
|
"postlint": "tsc -p . && attw -P",
|
|
35
35
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
36
36
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"available-typed-arrays": "^1.0.7",
|
|
64
|
-
"call-bind": "^1.0.
|
|
64
|
+
"call-bind": "^1.0.9",
|
|
65
65
|
"call-bound": "^1.0.4",
|
|
66
66
|
"for-each": "^0.3.5",
|
|
67
67
|
"get-proto": "^1.0.1",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"has-tostringtag": "^1.0.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@arethetypeswrong/cli": "^0.18.
|
|
73
|
-
"@ljharb/eslint-config": "^22.
|
|
72
|
+
"@arethetypeswrong/cli": "^0.18.3",
|
|
73
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
74
74
|
"@ljharb/tsconfig": "^0.3.2",
|
|
75
75
|
"@types/call-bind": "^1.0.5",
|
|
76
76
|
"@types/for-each": "^0.3.3",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"@types/make-arrow-function": "^1.2.2",
|
|
80
80
|
"@types/make-generator-function": "^2.0.3",
|
|
81
81
|
"@types/tape": "^5.8.1",
|
|
82
|
-
"auto-changelog": "^2.
|
|
83
|
-
"
|
|
84
|
-
"eslint": "^8.57.1",
|
|
82
|
+
"auto-changelog": "^2.6.0",
|
|
83
|
+
"eslint": "^10.4.1",
|
|
85
84
|
"in-publish": "^2.0.1",
|
|
86
85
|
"is-callable": "^1.2.7",
|
|
86
|
+
"jiti": "^0.0.0",
|
|
87
87
|
"make-arrow-function": "^1.2.0",
|
|
88
88
|
"make-generator-function": "^2.1.0",
|
|
89
89
|
"npmignore": "^0.3.5",
|
|
@@ -381,8 +381,8 @@
|
|
|
381
381
|
|
|
382
382
|
// this really needs to be replaced with character classes.
|
|
383
383
|
// XML allows all manner of ridiculous numbers and digits.
|
|
384
|
-
var
|
|
385
|
-
var
|
|
384
|
+
var CDATAre = /^\[CDATA\[$/i
|
|
385
|
+
var DOCTYPEre = /^DOCTYPE$/i
|
|
386
386
|
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'
|
|
387
387
|
var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'
|
|
388
388
|
var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }
|
|
@@ -464,15 +464,15 @@
|
|
|
464
464
|
SCRIPT_ENDING: S++, // <script> ... <
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
sax.XML_ENTITIES = {
|
|
467
|
+
sax.XML_ENTITIES = Object.assign(Object.create(null), {
|
|
468
468
|
amp: '&',
|
|
469
469
|
gt: '>',
|
|
470
470
|
lt: '<',
|
|
471
471
|
quot: '"',
|
|
472
472
|
apos: "'",
|
|
473
|
-
}
|
|
473
|
+
})
|
|
474
474
|
|
|
475
|
-
sax.ENTITIES = {
|
|
475
|
+
sax.ENTITIES = Object.assign(Object.create(null), {
|
|
476
476
|
amp: '&',
|
|
477
477
|
gt: '>',
|
|
478
478
|
lt: '<',
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
clubs: 9827,
|
|
727
727
|
hearts: 9829,
|
|
728
728
|
diams: 9830,
|
|
729
|
-
}
|
|
729
|
+
})
|
|
730
730
|
|
|
731
731
|
Object.keys(sax.ENTITIES).forEach(function (key) {
|
|
732
732
|
var e = sax.ENTITIES[key]
|
|
@@ -1137,7 +1137,8 @@
|
|
|
1137
1137
|
isNaN(num) ||
|
|
1138
1138
|
numStr.toLowerCase() !== entity ||
|
|
1139
1139
|
num < 0 ||
|
|
1140
|
-
num > 0x10ffff
|
|
1140
|
+
num > 0x10ffff ||
|
|
1141
|
+
!isXmlChar(num)
|
|
1141
1142
|
) {
|
|
1142
1143
|
strictFail(parser, 'Invalid character entity')
|
|
1143
1144
|
return '&' + parser.entity + ';'
|
|
@@ -1146,6 +1147,23 @@
|
|
|
1146
1147
|
return String.fromCodePoint(num)
|
|
1147
1148
|
}
|
|
1148
1149
|
|
|
1150
|
+
// Returns true if `num` is a code point that matches the XML `Char`
|
|
1151
|
+
// production, false otherwise. Character references that resolve to a
|
|
1152
|
+
// character outside this range (e.g. surrogates or restricted control
|
|
1153
|
+
// characters) are not well-formed.
|
|
1154
|
+
// https://www.w3.org/TR/REC-xml/#NT-Char
|
|
1155
|
+
// https://www.w3.org/TR/REC-xml/#wf-Legalchar
|
|
1156
|
+
function isXmlChar(num) {
|
|
1157
|
+
return (
|
|
1158
|
+
num === 0x9 ||
|
|
1159
|
+
num === 0xa ||
|
|
1160
|
+
num === 0xd ||
|
|
1161
|
+
(num >= 0x20 && num <= 0xd7ff) ||
|
|
1162
|
+
(num >= 0xe000 && num <= 0xfffd) ||
|
|
1163
|
+
(num >= 0x10000 && num <= 0x10ffff)
|
|
1164
|
+
)
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1149
1167
|
function beginWhiteSpace(parser, c) {
|
|
1150
1168
|
if (c === '<') {
|
|
1151
1169
|
parser.state = S.OPEN_WAKA
|
|
@@ -1317,12 +1335,12 @@
|
|
|
1317
1335
|
parser.state = S.DOCTYPE_DTD
|
|
1318
1336
|
parser.doctype += '<!' + parser.sgmlDecl + c
|
|
1319
1337
|
parser.sgmlDecl = ''
|
|
1320
|
-
} else if ((parser.sgmlDecl + c)
|
|
1338
|
+
} else if (CDATAre.test(parser.sgmlDecl + c)) {
|
|
1321
1339
|
emitNode(parser, 'onopencdata')
|
|
1322
1340
|
parser.state = S.CDATA
|
|
1323
1341
|
parser.sgmlDecl = ''
|
|
1324
1342
|
parser.cdata = ''
|
|
1325
|
-
} else if ((parser.sgmlDecl + c)
|
|
1343
|
+
} else if (DOCTYPEre.test(parser.sgmlDecl + c)) {
|
|
1326
1344
|
parser.state = S.DOCTYPE
|
|
1327
1345
|
if (parser.doctype || parser.sawRoot) {
|
|
1328
1346
|
strictFail(
|
package/package.json
CHANGED
|
@@ -6,31 +6,32 @@
|
|
|
6
6
|
"url": "https://github.com/cdklabs/cdk-docker-image-deployment.git"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "
|
|
10
|
-
"bump": "
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"package
|
|
20
|
-
"package
|
|
21
|
-
"package:
|
|
22
|
-
"package:
|
|
23
|
-
"package:
|
|
24
|
-
"
|
|
25
|
-
"post-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"test
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
9
|
+
"build": "projen build",
|
|
10
|
+
"bump": "projen bump",
|
|
11
|
+
"bump:releasable-commits": "projen bump:releasable-commits",
|
|
12
|
+
"clobber": "projen clobber",
|
|
13
|
+
"compat": "projen compat",
|
|
14
|
+
"compile": "projen compile",
|
|
15
|
+
"default": "projen default",
|
|
16
|
+
"docgen": "projen docgen",
|
|
17
|
+
"eject": "projen eject",
|
|
18
|
+
"eslint": "projen eslint",
|
|
19
|
+
"package": "projen package",
|
|
20
|
+
"package-all": "projen package-all",
|
|
21
|
+
"package:dotnet": "projen package:dotnet",
|
|
22
|
+
"package:java": "projen package:java",
|
|
23
|
+
"package:js": "projen package:js",
|
|
24
|
+
"package:python": "projen package:python",
|
|
25
|
+
"post-compile": "projen post-compile",
|
|
26
|
+
"post-upgrade": "projen post-upgrade",
|
|
27
|
+
"pre-compile": "projen pre-compile",
|
|
28
|
+
"release": "projen release",
|
|
29
|
+
"test": "projen test",
|
|
30
|
+
"test:watch": "projen test:watch",
|
|
31
|
+
"unbump": "projen unbump",
|
|
32
|
+
"upgrade": "projen upgrade",
|
|
33
|
+
"watch": "projen watch",
|
|
34
|
+
"projen": "projen"
|
|
34
35
|
},
|
|
35
36
|
"author": {
|
|
36
37
|
"name": "Parker Scanlon",
|
|
@@ -46,18 +47,18 @@
|
|
|
46
47
|
"aws-cdk-lib": "2.24.0",
|
|
47
48
|
"commit-and-tag-version": "^12",
|
|
48
49
|
"constructs": "10.5.1",
|
|
49
|
-
"esbuild": "^0.
|
|
50
|
+
"esbuild": "^0.28.1",
|
|
50
51
|
"eslint": "^9",
|
|
51
52
|
"eslint-import-resolver-typescript": "^3.10.1",
|
|
52
53
|
"eslint-plugin-import": "^2.32.0",
|
|
53
54
|
"jest": "^27",
|
|
54
|
-
"jest-junit": "^
|
|
55
|
+
"jest-junit": "^17",
|
|
55
56
|
"jsii": "~5.9.0",
|
|
56
|
-
"jsii-diff": "^1.
|
|
57
|
+
"jsii-diff": "^1.139.0",
|
|
57
58
|
"jsii-docgen": "^10.5.0",
|
|
58
|
-
"jsii-pacmak": "^1.
|
|
59
|
+
"jsii-pacmak": "^1.139.0",
|
|
59
60
|
"jsii-rosetta": "~5.9.0",
|
|
60
|
-
"projen": "^0.
|
|
61
|
+
"projen": "^0.101.20",
|
|
61
62
|
"ts-jest": "^27",
|
|
62
63
|
"ts-node": "^10.9.2",
|
|
63
64
|
"typescript": "^4.9.5"
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"constructs": "^10.5.1"
|
|
68
69
|
},
|
|
69
70
|
"dependencies": {
|
|
70
|
-
"@types/aws-lambda": "^8.10.
|
|
71
|
+
"@types/aws-lambda": "^8.10.162",
|
|
71
72
|
"aws-sdk": "^2.1693.0"
|
|
72
73
|
},
|
|
73
74
|
"bundledDependencies": [
|
|
@@ -80,10 +81,11 @@
|
|
|
80
81
|
"main": "lib/index.js",
|
|
81
82
|
"license": "Apache-2.0",
|
|
82
83
|
"homepage": "https://github.com/cdklabs/cdk-docker-image-deployment#readme",
|
|
84
|
+
"stability": "stable",
|
|
83
85
|
"publishConfig": {
|
|
84
86
|
"access": "public"
|
|
85
87
|
},
|
|
86
|
-
"version": "0.0.
|
|
88
|
+
"version": "0.0.989",
|
|
87
89
|
"jest": {
|
|
88
90
|
"coverageProvider": "v8",
|
|
89
91
|
"testMatch": [
|
|
@@ -123,12 +125,11 @@
|
|
|
123
125
|
"preset": "ts-jest",
|
|
124
126
|
"globals": {
|
|
125
127
|
"ts-jest": {
|
|
126
|
-
"tsconfig": "tsconfig.
|
|
128
|
+
"tsconfig": "test/tsconfig.json"
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
},
|
|
130
132
|
"types": "lib/index.d.ts",
|
|
131
|
-
"stability": "stable",
|
|
132
133
|
"jsii": {
|
|
133
134
|
"outdir": "dist",
|
|
134
135
|
"targets": {
|
|
@@ -148,10 +149,8 @@
|
|
|
148
149
|
"packageId": "Cdklabs.CdkDockerImageDeployment"
|
|
149
150
|
}
|
|
150
151
|
},
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
"rootDir": "src"
|
|
154
|
-
}
|
|
152
|
+
"tsconfig": "tsconfig.json",
|
|
153
|
+
"validateTsconfig": "strict"
|
|
155
154
|
},
|
|
156
155
|
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
157
156
|
}
|