cdk-ecr-deployment 2.0.10 → 2.1.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/.jsii +2 -2
- package/changelog.md +1 -6
- package/lambda/Dockerfile +2 -2
- package/lib/index.js +3 -3
- package/node_modules/@sindresorhus/is/dist/index.d.ts +2 -0
- package/node_modules/@sindresorhus/is/dist/index.js +2 -0
- package/node_modules/@sindresorhus/is/package.json +1 -1
- package/node_modules/@sindresorhus/is/readme.md +19 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +10 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -7
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +10 -0
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -7
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +10 -0
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -7
- package/package.json +4 -3
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
package/.jsii
CHANGED
package/changelog.md
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
### [2.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
### Bug Fixes
|
|
6
|
-
|
|
7
|
-
* release_prebuilt_lambda error ([680ea7e](https://github.com/cdklabs/cdk-ecr-deployment/commit/680ea7e706f18b01a9d302dc1e92c5a0f8c81f3e))
|
|
2
|
+
### [2.1.2](https://github.com/cdklabs/cdk-ecr-deployment/compare/v2.1.1...v2.1.2) (2022-01-24)
|
package/lambda/Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
FROM
|
|
5
|
+
FROM public.ecr.aws/sam/build-go1.x:latest
|
|
6
6
|
|
|
7
7
|
USER root
|
|
8
8
|
|
|
@@ -29,4 +29,4 @@ COPY . /ws
|
|
|
29
29
|
RUN mkdir -p /asset/ && \
|
|
30
30
|
make OUTPUT=/asset/main && \
|
|
31
31
|
file /asset/main && \
|
|
32
|
-
ls -lh /asset/main
|
|
32
|
+
ls -lh /asset/main
|
package/lib/index.js
CHANGED
|
@@ -47,7 +47,7 @@ class DockerImageName {
|
|
|
47
47
|
}
|
|
48
48
|
exports.DockerImageName = DockerImageName;
|
|
49
49
|
_a = JSII_RTTI_SYMBOL_1;
|
|
50
|
-
DockerImageName[_a] = { fqn: "cdk-ecr-deployment.DockerImageName", version: "2.
|
|
50
|
+
DockerImageName[_a] = { fqn: "cdk-ecr-deployment.DockerImageName", version: "2.1.2" };
|
|
51
51
|
/**
|
|
52
52
|
* @stability stable
|
|
53
53
|
*/
|
|
@@ -73,7 +73,7 @@ class S3ArchiveName {
|
|
|
73
73
|
}
|
|
74
74
|
exports.S3ArchiveName = S3ArchiveName;
|
|
75
75
|
_b = JSII_RTTI_SYMBOL_1;
|
|
76
|
-
S3ArchiveName[_b] = { fqn: "cdk-ecr-deployment.S3ArchiveName", version: "2.
|
|
76
|
+
S3ArchiveName[_b] = { fqn: "cdk-ecr-deployment.S3ArchiveName", version: "2.1.2" };
|
|
77
77
|
/**
|
|
78
78
|
* @stability stable
|
|
79
79
|
*/
|
|
@@ -156,5 +156,5 @@ class ECRDeployment extends constructs_1.Construct {
|
|
|
156
156
|
}
|
|
157
157
|
exports.ECRDeployment = ECRDeployment;
|
|
158
158
|
_c = JSII_RTTI_SYMBOL_1;
|
|
159
|
-
ECRDeployment[_c] = { fqn: "cdk-ecr-deployment.ECRDeployment", version: "2.
|
|
159
|
+
ECRDeployment[_c] = { fqn: "cdk-ecr-deployment.ECRDeployment", version: "2.1.2" };
|
|
160
160
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxxRUFBcUU7QUFDckUsc0NBQXNDO0FBR3RDLCtDQUErQztBQUMvQyw2QkFBNkI7QUFDN0IsNkNBQW9IO0FBQ3BILDJDQUF1QztBQWlDdkMsU0FBUyxPQUFPO0lBQ2QsSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQyxFQUFFO1FBQ3ZELElBQUk7WUFDRixPQUFPLENBQUMsR0FBRyxDQUFDLDRCQUE0QixDQUFDLENBQUM7WUFFMUMsTUFBTSxhQUFhLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUsc0JBQXNCLENBQUMsQ0FBQztZQUNuRSxNQUFNLFlBQVksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBRSxlQUFlLENBQUMsQ0FBQztZQUMzRCxhQUFhLENBQUMsUUFBUSxDQUFDLEdBQUcsT0FBTyxDQUFDLEtBQUssSUFBSSxhQUFhLElBQUksWUFBWSxFQUFFLENBQUMsQ0FBQztZQUU1RSxPQUFPLHdCQUFNLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxZQUFZLENBQUMsQ0FBQztTQUM1QztRQUFDLE9BQU8sR0FBRyxFQUFFO1lBQ1osT0FBTyxDQUFDLElBQUksQ0FBQyxnQ0FBZ0MsR0FBRyxFQUFFLENBQUMsQ0FBQztTQUNyRDtLQUNGO0lBRUQsT0FBTyxD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AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBtZW1vcnlMaW1pdD86IG51bWJlcjtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHJvbGU/OiBpYW0uSVJvbGU7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSB2cGM/OiBlYzIuSVZwYztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgdnBjU3VibmV0cz86IGVjMi5TdWJuZXRTZWxlY3Rpb247XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBlbnZpcm9ubWVudD86IHsgW2tleTogc3RyaW5nXTogc3RyaW5nIH07XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUltYWdlTmFtZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg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cyxcbiAgICAgIH0sXG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIHJlbmRlclNpbmdsZXRvblV1aWQobWVtb3J5TGltaXQ/OiBudW1iZXIpIHtcbiAgICBsZXQgdXVpZCA9ICdiZDA3YzkzMC1lZGI5LTQxMTItYTIwZi0wM2YwOTZmNTM2NjYnO1xuXG4gICAgLy8gaWYgdXNlciBzcGVjaWZ5IGEgY3VzdG9tIG1lbW9yeSBsaW1pdCwgZGVmaW5lIGFub3RoZXIgc2luZ2xldG9uIGhhbmRsZXJcbiAgICAvLyB3aXRoIHRoaXMgY29uZmlndXJhdGlvbi4gb3RoZXJ3aXNlLCBpdCB3b24ndCBiZSBwb3NzaWJsZSB0byB1c2UgbXVsdGlwbGVcbiAgICAvLyBjb25maWd1cmF0aW9ucyBzaW5jZSB3ZSBoYXZlIGEgc2luZ2xldG9uLlxuICAgIGlmIChtZW1vcnlMaW1pdCkge1xuICAgICAgaWYgKFRva2VuLmlzVW5yZXNvbHZlZChtZW1vcnlMaW1pdCkpIHtcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdDYW5cXCd0IHVzZSB0b2tlbnMgd2hlbiBzcGVjaWZ5aW5nIFwibWVtb3J5TGltaXRcIiBzaW5jZSB3ZSB1c2UgaXQgdG8gaWRlbnRpZnkgdGhlIHNpbmdsZXRvbiBjdXN0b20gcmVzb3VyY2UgaGFuZGxlcicpO1xuICAgICAgfVxuXG4gICAgICB1dWlkICs9IGAtJHttZW1vcnlMaW1pdC50b1N0cmluZygpfU1pQmA7XG4gICAgfVxuXG4gICAgcmV0dXJuIHV1aWQ7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -54,6 +54,7 @@ declare namespace is {
|
|
|
54
54
|
var arrayBuffer: (value: unknown) => value is ArrayBuffer;
|
|
55
55
|
var sharedArrayBuffer: (value: unknown) => value is SharedArrayBuffer;
|
|
56
56
|
var dataView: (value: unknown) => value is DataView;
|
|
57
|
+
var enumCase: <T = unknown>(value: unknown, targetEnum: T) => boolean;
|
|
57
58
|
var directInstanceOf: <T>(instance: unknown, class_: Class<T, any[]>) => instance is T;
|
|
58
59
|
var urlInstance: (value: unknown) => value is URL;
|
|
59
60
|
var urlString: (value: unknown) => value is string;
|
|
@@ -184,6 +185,7 @@ interface Assert {
|
|
|
184
185
|
arrayBuffer: (value: unknown) => asserts value is ArrayBuffer;
|
|
185
186
|
sharedArrayBuffer: (value: unknown) => asserts value is SharedArrayBuffer;
|
|
186
187
|
dataView: (value: unknown) => asserts value is DataView;
|
|
188
|
+
enumCase: <T = unknown>(value: unknown, targetEnum: T) => asserts value is T[keyof T];
|
|
187
189
|
urlInstance: (value: unknown) => asserts value is URL;
|
|
188
190
|
urlString: (value: unknown) => asserts value is string;
|
|
189
191
|
truthy: (value: unknown) => asserts value is unknown;
|
|
@@ -178,6 +178,7 @@ is.bigUint64Array = isObjectOfType('BigUint64Array');
|
|
|
178
178
|
is.arrayBuffer = isObjectOfType('ArrayBuffer');
|
|
179
179
|
is.sharedArrayBuffer = isObjectOfType('SharedArrayBuffer');
|
|
180
180
|
is.dataView = isObjectOfType('DataView');
|
|
181
|
+
is.enumCase = (value, targetEnum) => Object.values(targetEnum).includes(value);
|
|
181
182
|
is.directInstanceOf = (instance, class_) => Object.getPrototypeOf(instance) === class_.prototype;
|
|
182
183
|
is.urlInstance = (value) => isObjectOfType('URL')(value);
|
|
183
184
|
is.urlString = (value) => {
|
|
@@ -355,6 +356,7 @@ exports.assert = {
|
|
|
355
356
|
arrayBuffer: (value) => assertType(is.arrayBuffer(value), 'ArrayBuffer', value),
|
|
356
357
|
sharedArrayBuffer: (value) => assertType(is.sharedArrayBuffer(value), 'SharedArrayBuffer', value),
|
|
357
358
|
dataView: (value) => assertType(is.dataView(value), 'DataView', value),
|
|
359
|
+
enumCase: (value, targetEnum) => assertType(is.enumCase(value, targetEnum), 'EnumCase', value),
|
|
358
360
|
urlInstance: (value) => assertType(is.urlInstance(value), 'URL', value),
|
|
359
361
|
urlString: (value) => assertType(is.urlString(value), "string with a URL" /* urlString */, value),
|
|
360
362
|
truthy: (value) => assertType(is.truthy(value), "truthy" /* truthy */, value),
|
|
@@ -212,6 +212,25 @@ is.boundFunction(function () {});
|
|
|
212
212
|
##### .sharedArrayBuffer(value)
|
|
213
213
|
##### .dataView(value)
|
|
214
214
|
|
|
215
|
+
##### .enumCase(value, enum)
|
|
216
|
+
|
|
217
|
+
**TypeScript-only**
|
|
218
|
+
|
|
219
|
+
Returns `true` if `value` is a member of `enum`.
|
|
220
|
+
|
|
221
|
+
```ts
|
|
222
|
+
enum Direction {
|
|
223
|
+
Ascending = 'ascending',
|
|
224
|
+
Descending = 'descending'
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
is.enumCase('ascending', Direction);
|
|
228
|
+
//=> true
|
|
229
|
+
|
|
230
|
+
is.enumCase('other', Direction);
|
|
231
|
+
//=> false
|
|
232
|
+
```
|
|
233
|
+
|
|
215
234
|
#### Emptiness
|
|
216
235
|
|
|
217
236
|
##### .emptyString(value)
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Tue,
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -621,6 +621,16 @@ declare module 'http' {
|
|
|
621
621
|
* @since v14.5.0, v12.19.0
|
|
622
622
|
*/
|
|
623
623
|
protocol: string;
|
|
624
|
+
/**
|
|
625
|
+
* Whether the request is send through a reused socket.
|
|
626
|
+
* @since v13.0.0, v12.16.0
|
|
627
|
+
*/
|
|
628
|
+
reusedSocket: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* Limits maximum response headers count. If set to 0, no limit will be applied.
|
|
631
|
+
* @default 2000
|
|
632
|
+
*/
|
|
633
|
+
maxHeadersCount: number;
|
|
624
634
|
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
|
625
635
|
/**
|
|
626
636
|
* The request method.
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Tue,
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -621,6 +621,16 @@ declare module 'http' {
|
|
|
621
621
|
* @since v14.5.0, v12.19.0
|
|
622
622
|
*/
|
|
623
623
|
protocol: string;
|
|
624
|
+
/**
|
|
625
|
+
* Whether the request is send through a reused socket.
|
|
626
|
+
* @since v13.0.0, v12.16.0
|
|
627
|
+
*/
|
|
628
|
+
reusedSocket: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* Limits maximum response headers count. If set to 0, no limit will be applied.
|
|
631
|
+
* @default 2000
|
|
632
|
+
*/
|
|
633
|
+
maxHeadersCount: number;
|
|
624
634
|
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
|
625
635
|
/**
|
|
626
636
|
* The request method.
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Tue,
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -621,6 +621,16 @@ declare module 'http' {
|
|
|
621
621
|
* @since v14.5.0, v12.19.0
|
|
622
622
|
*/
|
|
623
623
|
protocol: string;
|
|
624
|
+
/**
|
|
625
|
+
* Whether the request is send through a reused socket.
|
|
626
|
+
* @since v13.0.0, v12.16.0
|
|
627
|
+
*/
|
|
628
|
+
reusedSocket: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* Limits maximum response headers count. If set to 0, no limit will be applied.
|
|
631
|
+
* @default 2000
|
|
632
|
+
*/
|
|
633
|
+
maxHeadersCount: number;
|
|
624
634
|
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
|
625
635
|
/**
|
|
626
636
|
* The request method.
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
package/package.json
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"test:watch": "npx projen test:watch",
|
|
28
28
|
"unbump": "npx projen unbump",
|
|
29
29
|
"upgrade": "npx projen upgrade",
|
|
30
|
+
"upgrade-projen": "npx projen upgrade-projen",
|
|
30
31
|
"watch": "npx projen watch",
|
|
31
32
|
"projen": "npx projen"
|
|
32
33
|
},
|
|
@@ -52,8 +53,8 @@
|
|
|
52
53
|
"npm-check-updates": "^12",
|
|
53
54
|
"projen": "^0.50.18",
|
|
54
55
|
"standard-version": "^9",
|
|
55
|
-
"ts-jest": "^27.1.
|
|
56
|
-
"typescript": "^4.5.
|
|
56
|
+
"ts-jest": "^27.1.3",
|
|
57
|
+
"typescript": "^4.5.5"
|
|
57
58
|
},
|
|
58
59
|
"peerDependencies": {
|
|
59
60
|
"aws-cdk-lib": "^2.0.0",
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
],
|
|
73
74
|
"main": "lib/index.js",
|
|
74
75
|
"license": "Apache-2.0",
|
|
75
|
-
"version": "2.
|
|
76
|
+
"version": "2.1.2",
|
|
76
77
|
"jest": {
|
|
77
78
|
"testMatch": [
|
|
78
79
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
package/releasetag.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v2.
|
|
1
|
+
v2.1.2
|
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.1.2
|