cdk-ecr-deployment 0.0.88 → 1.0.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.
Files changed (136) hide show
  1. package/.gitattributes +23 -20
  2. package/.jsii +9 -8
  3. package/lib/index.js +3 -3
  4. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  5. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +1 -1
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +7 -3
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +9 -9
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -1
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +2 -2
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +2 -2
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +12 -10
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +17 -12
  16. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +2 -2
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +5 -5
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +62 -11
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +21 -4
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +2 -2
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +4 -5
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +11 -11
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +1 -1
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +4 -4
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +121 -14
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +1 -1
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +3 -65
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +2 -2
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +1 -1
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +1 -1
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +58 -18
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +3 -3
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +3 -3
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +1 -1
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +4 -4
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
  48. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  49. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +1 -1
  50. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +7 -3
  51. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +9 -9
  52. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -1
  53. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
  54. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
  55. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +2 -2
  56. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +2 -2
  57. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  58. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +12 -10
  59. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +17 -12
  60. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
  61. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +2 -2
  62. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +5 -5
  63. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +62 -11
  64. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +21 -4
  65. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2 -2
  66. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
  67. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
  68. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +4 -5
  69. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +11 -11
  70. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +1 -1
  71. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  72. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  73. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +4 -4
  74. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  75. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  76. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +121 -14
  77. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +1 -1
  78. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +3 -65
  79. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +2 -2
  80. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  81. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  82. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +1 -1
  83. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +1 -1
  84. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
  85. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +58 -18
  86. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +3 -3
  87. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +3 -3
  88. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +1 -1
  89. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  90. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +4 -4
  91. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
  92. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  93. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +1 -1
  94. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +7 -3
  95. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +9 -9
  96. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -1
  97. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
  98. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
  99. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +2 -2
  100. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +2 -2
  101. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  102. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +12 -10
  103. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +17 -12
  104. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
  105. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +2 -2
  106. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +5 -5
  107. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +62 -11
  108. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +21 -4
  109. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +2 -2
  110. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
  111. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
  112. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +4 -5
  113. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +11 -11
  114. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +1 -1
  115. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  116. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  117. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +4 -4
  118. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  119. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  120. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +121 -14
  121. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +1 -1
  122. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +3 -65
  123. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +2 -2
  124. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  125. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  126. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +1 -1
  127. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +1 -1
  128. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
  129. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +58 -18
  130. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +3 -3
  131. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +3 -3
  132. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +1 -1
  133. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  134. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +4 -4
  135. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
  136. package/package.json +21 -23
@@ -1,7 +1,6 @@
1
1
  declare module 'stream/web' {
2
2
  // stub module, pending copy&paste from .d.ts or manual impl
3
3
  // copy from lib.dom.d.ts
4
-
5
4
  interface ReadableWritablePair<R = any, W = any> {
6
5
  readable: ReadableStream<R>;
7
6
  /**
@@ -15,7 +14,6 @@ declare module 'stream/web' {
15
14
  */
16
15
  writable: WritableStream<W>;
17
16
  }
18
-
19
17
  interface StreamPipeOptions {
20
18
  preventAbort?: boolean;
21
19
  preventCancel?: boolean;
@@ -63,70 +61,53 @@ declare module 'stream/web' {
63
61
  preventClose?: boolean;
64
62
  signal?: AbortSignal;
65
63
  }
66
-
67
64
  interface ReadableStreamGenericReader {
68
65
  readonly closed: Promise<undefined>;
69
66
  cancel(reason?: any): Promise<void>;
70
67
  }
71
-
72
68
  interface ReadableStreamDefaultReadValueResult<T> {
73
69
  done: false;
74
70
  value: T;
75
71
  }
76
-
77
72
  interface ReadableStreamDefaultReadDoneResult {
78
73
  done: true;
79
74
  value?: undefined;
80
75
  }
81
76
  type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
82
- type ReadableStreamDefaultReadResult<T> =
83
- | ReadableStreamDefaultReadValueResult<T>
84
- | ReadableStreamDefaultReadDoneResult;
85
-
77
+ type ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;
86
78
  interface ReadableByteStreamControllerCallback {
87
79
  (controller: ReadableByteStreamController): void | PromiseLike<void>;
88
80
  }
89
-
90
81
  interface UnderlyingSinkAbortCallback {
91
82
  (reason?: any): void | PromiseLike<void>;
92
83
  }
93
-
94
84
  interface UnderlyingSinkCloseCallback {
95
85
  (): void | PromiseLike<void>;
96
86
  }
97
-
98
87
  interface UnderlyingSinkStartCallback {
99
88
  (controller: WritableStreamDefaultController): any;
100
89
  }
101
-
102
90
  interface UnderlyingSinkWriteCallback<W> {
103
91
  (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;
104
92
  }
105
-
106
93
  interface UnderlyingSourceCancelCallback {
107
94
  (reason?: any): void | PromiseLike<void>;
108
95
  }
109
-
110
96
  interface UnderlyingSourcePullCallback<R> {
111
97
  (controller: ReadableStreamController<R>): void | PromiseLike<void>;
112
98
  }
113
-
114
99
  interface UnderlyingSourceStartCallback<R> {
115
100
  (controller: ReadableStreamController<R>): any;
116
101
  }
117
-
118
102
  interface TransformerFlushCallback<O> {
119
103
  (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
120
104
  }
121
-
122
105
  interface TransformerStartCallback<O> {
123
106
  (controller: TransformStreamDefaultController<O>): any;
124
107
  }
125
-
126
108
  interface TransformerTransformCallback<I, O> {
127
109
  (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
128
110
  }
129
-
130
111
  interface UnderlyingByteSource {
131
112
  autoAllocateChunkSize?: number;
132
113
  cancel?: ReadableStreamErrorCallback;
@@ -134,14 +115,12 @@ declare module 'stream/web' {
134
115
  start?: ReadableByteStreamControllerCallback;
135
116
  type: 'bytes';
136
117
  }
137
-
138
118
  interface UnderlyingSource<R = any> {
139
119
  cancel?: UnderlyingSourceCancelCallback;
140
120
  pull?: UnderlyingSourcePullCallback<R>;
141
121
  start?: UnderlyingSourceStartCallback<R>;
142
122
  type?: undefined;
143
123
  }
144
-
145
124
  interface UnderlyingSink<W = any> {
146
125
  abort?: UnderlyingSinkAbortCallback;
147
126
  close?: UnderlyingSinkCloseCallback;
@@ -149,11 +128,9 @@ declare module 'stream/web' {
149
128
  type?: undefined;
150
129
  write?: UnderlyingSinkWriteCallback<W>;
151
130
  }
152
-
153
131
  interface ReadableStreamErrorCallback {
154
132
  (reason: any): void | PromiseLike<void>;
155
133
  }
156
-
157
134
  /** This Streams API interface represents a readable stream of byte data. */
158
135
  interface ReadableStream<R = any> {
159
136
  readonly locked: boolean;
@@ -164,29 +141,21 @@ declare module 'stream/web' {
164
141
  tee(): [ReadableStream<R>, ReadableStream<R>];
165
142
  [Symbol.asyncIterator](options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
166
143
  }
167
-
168
144
  const ReadableStream: {
169
145
  prototype: ReadableStream;
170
- new (
171
- underlyingSource: UnderlyingByteSource,
172
- strategy?: QueuingStrategy<Uint8Array>,
173
- ): ReadableStream<Uint8Array>;
146
+ new (underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy<Uint8Array>): ReadableStream<Uint8Array>;
174
147
  new <R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
175
148
  };
176
-
177
149
  interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
178
150
  read(): Promise<ReadableStreamDefaultReadResult<R>>;
179
151
  releaseLock(): void;
180
152
  }
181
-
182
153
  const ReadableStreamDefaultReader: {
183
154
  prototype: ReadableStreamDefaultReader;
184
155
  new <R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
185
156
  };
186
-
187
157
  const ReadableStreamBYOBReader: any;
188
158
  const ReadableStreamBYOBRequest: any;
189
-
190
159
  interface ReadableByteStreamController {
191
160
  readonly byobRequest: undefined;
192
161
  readonly desiredSize: number | null;
@@ -194,24 +163,20 @@ declare module 'stream/web' {
194
163
  enqueue(chunk: ArrayBufferView): void;
195
164
  error(error?: any): void;
196
165
  }
197
-
198
166
  const ReadableByteStreamController: {
199
167
  prototype: ReadableByteStreamController;
200
168
  new (): ReadableByteStreamController;
201
169
  };
202
-
203
170
  interface ReadableStreamDefaultController<R = any> {
204
171
  readonly desiredSize: number | null;
205
172
  close(): void;
206
173
  enqueue(chunk?: R): void;
207
174
  error(e?: any): void;
208
175
  }
209
-
210
176
  const ReadableStreamDefaultController: {
211
177
  prototype: ReadableStreamDefaultController;
212
178
  new (): ReadableStreamDefaultController;
213
179
  };
214
-
215
180
  interface Transformer<I = any, O = any> {
216
181
  flush?: TransformerFlushCallback<O>;
217
182
  readableType?: undefined;
@@ -219,33 +184,24 @@ declare module 'stream/web' {
219
184
  transform?: TransformerTransformCallback<I, O>;
220
185
  writableType?: undefined;
221
186
  }
222
-
223
187
  interface TransformStream<I = any, O = any> {
224
188
  readonly readable: ReadableStream<O>;
225
189
  readonly writable: WritableStream<I>;
226
190
  }
227
-
228
191
  const TransformStream: {
229
192
  prototype: TransformStream;
230
- new <I = any, O = any>(
231
- transformer?: Transformer<I, O>,
232
- writableStrategy?: QueuingStrategy<I>,
233
- readableStrategy?: QueuingStrategy<O>,
234
- ): TransformStream<I, O>;
193
+ new <I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
235
194
  };
236
-
237
195
  interface TransformStreamDefaultController<O = any> {
238
196
  readonly desiredSize: number | null;
239
197
  enqueue(chunk?: O): void;
240
198
  error(reason?: any): void;
241
199
  terminate(): void;
242
200
  }
243
-
244
201
  const TransformStreamDefaultController: {
245
202
  prototype: TransformStreamDefaultController;
246
203
  new (): TransformStreamDefaultController;
247
204
  };
248
-
249
205
  /**
250
206
  * This Streams API interface provides a standard abstraction for writing
251
207
  * streaming data to a destination, known as a sink. This object comes with
@@ -257,12 +213,10 @@ declare module 'stream/web' {
257
213
  close(): Promise<void>;
258
214
  getWriter(): WritableStreamDefaultWriter<W>;
259
215
  }
260
-
261
216
  const WritableStream: {
262
217
  prototype: WritableStream;
263
218
  new <W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;
264
219
  };
265
-
266
220
  /**
267
221
  * This Streams API interface is the object returned by
268
222
  * WritableStream.getWriter() and once created locks the < writer to the
@@ -278,12 +232,10 @@ declare module 'stream/web' {
278
232
  releaseLock(): void;
279
233
  write(chunk?: W): Promise<void>;
280
234
  }
281
-
282
235
  const WritableStreamDefaultWriter: {
283
236
  prototype: WritableStreamDefaultWriter;
284
237
  new <W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;
285
238
  };
286
-
287
239
  /**
288
240
  * This Streams API interface represents a controller allowing control of a
289
241
  * WritableStream's state. When constructing a WritableStream, the
@@ -293,21 +245,17 @@ declare module 'stream/web' {
293
245
  interface WritableStreamDefaultController {
294
246
  error(e?: any): void;
295
247
  }
296
-
297
248
  const WritableStreamDefaultController: {
298
249
  prototype: WritableStreamDefaultController;
299
250
  new (): WritableStreamDefaultController;
300
251
  };
301
-
302
252
  interface QueuingStrategy<T = any> {
303
253
  highWaterMark?: number;
304
254
  size?: QueuingStrategySize<T>;
305
255
  }
306
-
307
256
  interface QueuingStrategySize<T = any> {
308
257
  (chunk?: T): number;
309
258
  }
310
-
311
259
  interface QueuingStrategyInit {
312
260
  /**
313
261
  * Creates a new ByteLengthQueuingStrategy with the provided high water
@@ -320,7 +268,6 @@ declare module 'stream/web' {
320
268
  */
321
269
  highWaterMark: number;
322
270
  }
323
-
324
271
  /**
325
272
  * This Streams API interface provides a built-in byte length queuing
326
273
  * strategy that can be used when constructing streams.
@@ -329,12 +276,10 @@ declare module 'stream/web' {
329
276
  readonly highWaterMark: number;
330
277
  readonly size: QueuingStrategySize<ArrayBufferView>;
331
278
  }
332
-
333
279
  const ByteLengthQueuingStrategy: {
334
280
  prototype: ByteLengthQueuingStrategy;
335
281
  new (init: QueuingStrategyInit): ByteLengthQueuingStrategy;
336
282
  };
337
-
338
283
  /**
339
284
  * This Streams API interface provides a built-in byte length queuing
340
285
  * strategy that can be used when constructing streams.
@@ -343,12 +288,10 @@ declare module 'stream/web' {
343
288
  readonly highWaterMark: number;
344
289
  readonly size: QueuingStrategySize;
345
290
  }
346
-
347
291
  const CountQueuingStrategy: {
348
292
  prototype: CountQueuingStrategy;
349
293
  new (init: QueuingStrategyInit): CountQueuingStrategy;
350
294
  };
351
-
352
295
  interface TextEncoderStream {
353
296
  /** Returns "utf-8". */
354
297
  readonly encoding: 'utf-8';
@@ -356,19 +299,15 @@ declare module 'stream/web' {
356
299
  readonly writable: WritableStream<string>;
357
300
  readonly [Symbol.toStringTag]: string;
358
301
  }
359
-
360
302
  const TextEncoderStream: {
361
303
  prototype: TextEncoderStream;
362
304
  new (): TextEncoderStream;
363
305
  };
364
-
365
306
  interface TextDecoderOptions {
366
307
  fatal?: boolean;
367
308
  ignoreBOM?: boolean;
368
309
  }
369
-
370
310
  type BufferSource = ArrayBufferView | ArrayBuffer;
371
-
372
311
  interface TextDecoderStream {
373
312
  /** Returns encoding's name, lower cased. */
374
313
  readonly encoding: string;
@@ -380,7 +319,6 @@ declare module 'stream/web' {
380
319
  readonly writable: WritableStream<BufferSource>;
381
320
  readonly [Symbol.toStringTag]: string;
382
321
  }
383
-
384
322
  const TextDecoderStream: {
385
323
  prototype: TextDecoderStream;
386
324
  new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * The `stream` module is useful for creating new types of stream instances. It is
16
16
  * usually not necessary to use the `stream` module to consume streams.
17
- * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/stream.js)
17
+ * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/stream.js)
18
18
  */
19
19
  declare module 'stream' {
20
20
  import { EventEmitter, Abortable } from 'node:events';
@@ -71,7 +71,7 @@ declare module 'stream' {
71
71
  readable: boolean;
72
72
  /**
73
73
  * Returns whether `'data'` has been emitted.
74
- * @since v16.7.0
74
+ * @since v16.7.0, v14.18.0
75
75
  * @experimental
76
76
  */
77
77
  readonly readableDidRead: boolean;
@@ -36,7 +36,7 @@
36
36
  * decoder.write(Buffer.from([0x82]));
37
37
  * console.log(decoder.end(Buffer.from([0xAC])));
38
38
  * ```
39
- * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/string_decoder.js)
39
+ * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/string_decoder.js)
40
40
  */
41
41
  declare module 'string_decoder' {
42
42
  class StringDecoder {
@@ -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/v16.9.0/lib/timers.js)
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/v16.9.0/lib/tls.js)
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/v16.9.0/lib/trace_events.js)
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/v16.9.0/lib/tty.js)
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/v16.9.0/lib/url.js)
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 URL object has both a `toString()` method and `href` property that return string serializations of the URL.
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
- * import url from 'url';
82
- * const myURL = new URL('https://a:b@測試?abc#foo');
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
- * console.log(myURL.href);
85
- * // Prints https://a:b@xn--g6w251d/?abc#foo
89
+ * // => 'https://example.com/some/path?page=1&#x26;format=json'
90
+ * ```
86
91
  *
87
- * console.log(myURL.toString());
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
- * console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
91
- * // Prints 'https://測試/?abc'
92
- * ```
93
- * @since v7.6.0
94
- * @param urlObject A `WHATWG URL` object
95
- * @param options
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/v16.9.0/lib/util.js)
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/v16.9.0/lib/v8.js)
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/v16.9.0/lib/vm.js)
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/v16.9.0/lib/wasi.js)
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/v16.9.0/lib/worker_threads.js)
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/v16.9.0/lib/zlib.js)
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';