cdk-ecr-deployment 2.0.1 → 2.0.5
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/.gitattributes +23 -22
- package/.jsii +105 -26
- package/lib/index.js +7 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +7 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +12 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +17 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +62 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +21 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +4 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +11 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +121 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +3 -65
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +58 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +7 -3
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +12 -10
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +17 -12
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +62 -11
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +21 -4
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +4 -5
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +11 -11
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +121 -14
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +3 -65
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +58 -18
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +7 -3
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +12 -10
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +17 -12
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +62 -11
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +21 -4
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +4 -5
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +11 -11
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +121 -14
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +3 -65
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +58 -18
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
- package/package.json +12 -15
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The timer functions within Node.js implement a similar API as the timers API
|
|
7
7
|
* provided by Web Browsers but use a different internal implementation that is
|
|
8
8
|
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/timers.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module 'timers' {
|
|
12
12
|
import { Abortable } from 'node:events';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const tls = require('tls');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/tls.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module 'tls' {
|
|
12
12
|
import { X509Certificate } from 'node:crypto';
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
*
|
|
74
74
|
* The features from this module are not available in `Worker` threads.
|
|
75
75
|
* @experimental
|
|
76
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
76
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/trace_events.js)
|
|
77
77
|
*/
|
|
78
78
|
declare module 'trace_events' {
|
|
79
79
|
/**
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* In most cases, there should be little to no reason for an application to
|
|
24
24
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes.
|
|
25
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
25
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/tty.js)
|
|
26
26
|
*/
|
|
27
27
|
declare module 'tty' {
|
|
28
28
|
import * as net from 'node:net';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* import url from 'url';
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/url.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module 'url' {
|
|
11
11
|
import { Blob } from 'node:buffer';
|
|
@@ -72,27 +72,67 @@ declare module 'url' {
|
|
|
72
72
|
function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
|
|
73
73
|
function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
|
|
74
74
|
/**
|
|
75
|
-
* The
|
|
76
|
-
* These are not, however, customizable in any way. The `url.format(URL[, options])` method allows for basic
|
|
77
|
-
* customization of the output.
|
|
78
|
-
* Returns a customizable serialization of a URL `String` representation of a `WHATWG URL` object.
|
|
75
|
+
* The `url.format()` method returns a formatted URL string derived from`urlObject`.
|
|
79
76
|
*
|
|
80
77
|
* ```js
|
|
81
|
-
*
|
|
82
|
-
*
|
|
78
|
+
* const url = require('url');
|
|
79
|
+
* url.format({
|
|
80
|
+
* protocol: 'https',
|
|
81
|
+
* hostname: 'example.com',
|
|
82
|
+
* pathname: '/some/path',
|
|
83
|
+
* query: {
|
|
84
|
+
* page: 1,
|
|
85
|
+
* format: 'json'
|
|
86
|
+
* }
|
|
87
|
+
* });
|
|
83
88
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
89
|
+
* // => 'https://example.com/some/path?page=1&format=json'
|
|
90
|
+
* ```
|
|
86
91
|
*
|
|
87
|
-
*
|
|
88
|
-
* // Prints https://a:b@xn--g6w251d/?abc#foo
|
|
92
|
+
* If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`.
|
|
89
93
|
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* The formatting process operates as follows:
|
|
95
|
+
*
|
|
96
|
+
* * A new empty string `result` is created.
|
|
97
|
+
* * If `urlObject.protocol` is a string, it is appended as-is to `result`.
|
|
98
|
+
* * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown.
|
|
99
|
+
* * For all string values of `urlObject.protocol` that _do not end_ with an ASCII
|
|
100
|
+
* colon (`:`) character, the literal string `:` will be appended to `result`.
|
|
101
|
+
* * If either of the following conditions is true, then the literal string `//`will be appended to `result`:
|
|
102
|
+
* * `urlObject.slashes` property is true;
|
|
103
|
+
* * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or`file`;
|
|
104
|
+
* * If the value of the `urlObject.auth` property is truthy, and either`urlObject.host` or `urlObject.hostname` are not `undefined`, the value of`urlObject.auth` will be coerced into a string
|
|
105
|
+
* and appended to `result`followed by the literal string `@`.
|
|
106
|
+
* * If the `urlObject.host` property is `undefined` then:
|
|
107
|
+
* * If the `urlObject.hostname` is a string, it is appended to `result`.
|
|
108
|
+
* * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string,
|
|
109
|
+
* an `Error` is thrown.
|
|
110
|
+
* * If the `urlObject.port` property value is truthy, and `urlObject.hostname`is not `undefined`:
|
|
111
|
+
* * The literal string `:` is appended to `result`, and
|
|
112
|
+
* * The value of `urlObject.port` is coerced to a string and appended to`result`.
|
|
113
|
+
* * Otherwise, if the `urlObject.host` property value is truthy, the value of`urlObject.host` is coerced to a string and appended to `result`.
|
|
114
|
+
* * If the `urlObject.pathname` property is a string that is not an empty string:
|
|
115
|
+
* * If the `urlObject.pathname`_does not start_ with an ASCII forward slash
|
|
116
|
+
* (`/`), then the literal string `'/'` is appended to `result`.
|
|
117
|
+
* * The value of `urlObject.pathname` is appended to `result`.
|
|
118
|
+
* * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown.
|
|
119
|
+
* * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result`followed by the output of calling the
|
|
120
|
+
* `querystring` module's `stringify()`method passing the value of `urlObject.query`.
|
|
121
|
+
* * Otherwise, if `urlObject.search` is a string:
|
|
122
|
+
* * If the value of `urlObject.search`_does not start_ with the ASCII question
|
|
123
|
+
* mark (`?`) character, the literal string `?` is appended to `result`.
|
|
124
|
+
* * The value of `urlObject.search` is appended to `result`.
|
|
125
|
+
* * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown.
|
|
126
|
+
* * If the `urlObject.hash` property is a string:
|
|
127
|
+
* * If the value of `urlObject.hash`_does not start_ with the ASCII hash (`#`)
|
|
128
|
+
* character, the literal string `#` is appended to `result`.
|
|
129
|
+
* * The value of `urlObject.hash` is appended to `result`.
|
|
130
|
+
* * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a
|
|
131
|
+
* string, an `Error` is thrown.
|
|
132
|
+
* * `result` is returned.
|
|
133
|
+
* @since v0.1.25
|
|
134
|
+
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
135
|
+
* @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
|
|
96
136
|
*/
|
|
97
137
|
function format(urlObject: URL, options?: URLFormatOptions): string;
|
|
98
138
|
/**
|
|
@@ -301,7 +341,7 @@ declare module 'url' {
|
|
|
301
341
|
* }
|
|
302
342
|
*
|
|
303
343
|
* ```
|
|
304
|
-
* @since v15.7.0
|
|
344
|
+
* @since v15.7.0, v14.18.0
|
|
305
345
|
* @param url The `WHATWG URL` object to convert to an options object.
|
|
306
346
|
* @return Options object
|
|
307
347
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const util = require('util');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/util.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module 'util' {
|
|
12
12
|
import * as types from 'node:util/types';
|
|
@@ -139,7 +139,7 @@ declare module 'util' {
|
|
|
139
139
|
* console.error(name); // ENOENT
|
|
140
140
|
* });
|
|
141
141
|
* ```
|
|
142
|
-
* @since v16.0.0
|
|
142
|
+
* @since v16.0.0, v14.17.0
|
|
143
143
|
*/
|
|
144
144
|
export function getSystemErrorMap(): Map<number, [string, string]>;
|
|
145
145
|
/**
|
|
@@ -159,7 +159,7 @@ declare module 'util' {
|
|
|
159
159
|
* Returns the `string` after replacing any surrogate code points
|
|
160
160
|
* (or equivalently, any unpaired surrogate code units) with the
|
|
161
161
|
* Unicode "replacement character" U+FFFD.
|
|
162
|
-
* @since v16.8.0
|
|
162
|
+
* @since v16.8.0, v14.18.0
|
|
163
163
|
*/
|
|
164
164
|
export function toUSVString(string: string): string;
|
|
165
165
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ```js
|
|
5
5
|
* const v8 = require('v8');
|
|
6
6
|
* ```
|
|
7
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
7
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/v8.js)
|
|
8
8
|
*/
|
|
9
9
|
declare module 'v8' {
|
|
10
10
|
import { Readable } from 'node:stream';
|
|
@@ -362,14 +362,14 @@ declare module 'v8' {
|
|
|
362
362
|
*
|
|
363
363
|
* When the process is about to exit, one last coverage will still be written to
|
|
364
364
|
* disk unless {@link stopCoverage} is invoked before the process exits.
|
|
365
|
-
* @since v15.1.0, v12.22.0
|
|
365
|
+
* @since v15.1.0, v14.18.0, v12.22.0
|
|
366
366
|
*/
|
|
367
367
|
function takeCoverage(): void;
|
|
368
368
|
/**
|
|
369
369
|
* The `v8.stopCoverage()` method allows the user to stop the coverage collection
|
|
370
370
|
* started by `NODE_V8_COVERAGE`, so that V8 can release the execution count
|
|
371
371
|
* records and optimize code. This can be used in conjunction with {@link takeCoverage} if the user wants to collect the coverage on demand.
|
|
372
|
-
* @since v15.1.0, v12.22.0
|
|
372
|
+
* @since v15.1.0, v14.18.0, v12.22.0
|
|
373
373
|
*/
|
|
374
374
|
function stopCoverage(): void;
|
|
375
375
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
*
|
|
33
33
|
* console.log(x); // 1; y is not defined.
|
|
34
34
|
* ```
|
|
35
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
35
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/vm.js)
|
|
36
36
|
*/
|
|
37
37
|
declare module 'vm' {
|
|
38
38
|
interface Context extends NodeJS.Dict<any> {}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
* The `--experimental-wasi-unstable-preview1` CLI argument is needed for this
|
|
69
69
|
* example to run.
|
|
70
70
|
* @experimental
|
|
71
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
71
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/wasi.js)
|
|
72
72
|
*/
|
|
73
73
|
declare module 'wasi' {
|
|
74
74
|
interface WASIOptions {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
*
|
|
50
50
|
* Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
|
|
51
51
|
* specifically `argv` and `execArgv` options.
|
|
52
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
52
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/worker_threads.js)
|
|
53
53
|
*/
|
|
54
54
|
declare module 'worker_threads' {
|
|
55
55
|
import { Blob } from 'node:buffer';
|
|
@@ -384,7 +384,7 @@ declare module 'worker_threads' {
|
|
|
384
384
|
/**
|
|
385
385
|
* An object that can be used to query performance information from a worker
|
|
386
386
|
* instance. Similar to `perf_hooks.performance`.
|
|
387
|
-
* @since v15.1.0, v12.22.0
|
|
387
|
+
* @since v15.1.0, v14.17.0, v12.22.0
|
|
388
388
|
*/
|
|
389
389
|
readonly performance: WorkerPerformance;
|
|
390
390
|
/**
|
|
@@ -629,14 +629,14 @@ declare module 'worker_threads' {
|
|
|
629
629
|
* console.log(getEnvironmentData('Hello')); // Prints 'World!'.
|
|
630
630
|
* }
|
|
631
631
|
* ```
|
|
632
|
-
* @since v15.12.0
|
|
632
|
+
* @since v15.12.0, v14.18.0
|
|
633
633
|
* @experimental
|
|
634
634
|
* @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
|
|
635
635
|
*/
|
|
636
636
|
function getEnvironmentData(key: Serializable): Serializable;
|
|
637
637
|
/**
|
|
638
638
|
* The `worker.setEnvironmentData()` API sets the content of`worker.getEnvironmentData()` in the current thread and all new `Worker`instances spawned from the current context.
|
|
639
|
-
* @since v15.12.0
|
|
639
|
+
* @since v15.12.0, v14.18.0
|
|
640
640
|
* @experimental
|
|
641
641
|
* @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
|
|
642
642
|
* @param value Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new `Worker` instances. If `value` is passed as `undefined`, any previously set value
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
* });
|
|
89
89
|
* ```
|
|
90
90
|
* @since v0.5.8
|
|
91
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
91
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/zlib.js)
|
|
92
92
|
*/
|
|
93
93
|
declare module 'zlib' {
|
|
94
94
|
import * as stream from 'node:stream';
|
package/package.json
CHANGED
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
"package": "npx projen package",
|
|
18
18
|
"post-compile": "npx projen post-compile",
|
|
19
19
|
"pre-compile": "npx projen pre-compile",
|
|
20
|
-
"publish:github": "npx projen publish:github",
|
|
21
|
-
"publish:npm": "npx projen publish:npm",
|
|
22
|
-
"publish:pypi": "npx projen publish:pypi",
|
|
23
20
|
"release": "npx projen release",
|
|
24
21
|
"release:v1-main": "npx projen release:v1-main",
|
|
25
22
|
"test": "npx projen test",
|
|
@@ -35,33 +32,33 @@
|
|
|
35
32
|
"organization": false
|
|
36
33
|
},
|
|
37
34
|
"devDependencies": {
|
|
38
|
-
"@aws-cdk/assert": "^2.0.0",
|
|
39
35
|
"@types/jest": "^27.0.3",
|
|
40
|
-
"@types/node": "^
|
|
36
|
+
"@types/node": "^12",
|
|
41
37
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
42
38
|
"@typescript-eslint/parser": "^5",
|
|
43
39
|
"eslint": "^8",
|
|
44
40
|
"eslint-import-resolver-node": "^0.3.6",
|
|
45
41
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
46
42
|
"eslint-plugin-import": "^2.25.3",
|
|
47
|
-
"jest": "^27.4.
|
|
43
|
+
"jest": "^27.4.5",
|
|
48
44
|
"jest-junit": "^13",
|
|
49
|
-
"jsii": "^1.
|
|
50
|
-
"jsii-diff": "^1.
|
|
45
|
+
"jsii": "^1.49.0",
|
|
46
|
+
"jsii-diff": "^1.49.0",
|
|
51
47
|
"jsii-docgen": "^1.8.110",
|
|
52
|
-
"jsii-pacmak": "^1.
|
|
48
|
+
"jsii-pacmak": "^1.49.0",
|
|
53
49
|
"json-schema": "^0.4.0",
|
|
54
|
-
"npm-check-updates": "^
|
|
55
|
-
"projen": "^0.
|
|
50
|
+
"npm-check-updates": "^12",
|
|
51
|
+
"projen": "^0.44.0",
|
|
56
52
|
"standard-version": "^9",
|
|
57
|
-
"ts-jest": "^27.
|
|
58
|
-
"typescript": "^4.5.
|
|
53
|
+
"ts-jest": "^27.1.2",
|
|
54
|
+
"typescript": "^4.5.4"
|
|
59
55
|
},
|
|
60
56
|
"peerDependencies": {
|
|
57
|
+
"aws-cdk-lib": "^2.0.0",
|
|
61
58
|
"constructs": "^10.0.5"
|
|
62
59
|
},
|
|
63
60
|
"dependencies": {
|
|
64
|
-
"aws-cdk-lib": "2.0.0",
|
|
61
|
+
"aws-cdk-lib": "^2.0.0",
|
|
65
62
|
"constructs": "^10.0.5",
|
|
66
63
|
"got": "^11.8.3"
|
|
67
64
|
},
|
|
@@ -73,7 +70,7 @@
|
|
|
73
70
|
],
|
|
74
71
|
"main": "lib/index.js",
|
|
75
72
|
"license": "Apache-2.0",
|
|
76
|
-
"version": "2.0.
|
|
73
|
+
"version": "2.0.5",
|
|
77
74
|
"jest": {
|
|
78
75
|
"testMatch": [
|
|
79
76
|
"**/__tests__/**/*.ts?(x)",
|