cdk-ecr-deployment 2.5.30 → 2.5.32
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 +1 -1
- package/.jsii +129 -27
- package/.jsii.tabl.json +1 -1
- package/.projenrc.ts +3 -1
- package/API.md +2 -0
- package/lambda/install.js +7 -6
- package/lib/index.d.ts +10 -0
- package/lib/index.js +6 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/LICENSE +0 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +4 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +48 -24
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +15 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +43 -35
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +267 -122
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +107 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +12 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +755 -269
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +86 -45
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +28 -25
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +203 -62
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +67 -71
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +127 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +115 -73
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +560 -315
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +96 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.global.d.ts +0 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +359 -195
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +629 -377
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +221 -112
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -46
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +2 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +187 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +154 -93
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +88 -95
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +13 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +19 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +166 -128
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +14 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +12 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +69 -56
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +67 -61
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +56 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +40 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +498 -218
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +398 -170
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +34 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +162 -71
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +48 -24
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +15 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +44 -36
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +267 -122
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +17 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +755 -269
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +86 -45
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +28 -25
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +203 -62
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +79 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +117 -74
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +560 -315
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +96 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +359 -195
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +629 -377
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +221 -112
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/index.d.ts +0 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +2 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +187 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +154 -93
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +13 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +166 -128
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +1162 -853
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +398 -170
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +34 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +162 -71
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +40 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +263 -129
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +52 -45
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +9 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -85
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +40 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +263 -129
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +52 -45
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +9 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +83 -85
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +9 -9
- package/node_modules/@types/http-cache-semantics/LICENSE +0 -0
- package/node_modules/@types/http-cache-semantics/README.md +1 -2
- package/node_modules/@types/http-cache-semantics/index.d.ts +1 -6
- package/node_modules/@types/http-cache-semantics/package.json +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/LICENSE +0 -0
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +4 -5
- package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +48 -24
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +15 -6
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +43 -35
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +267 -122
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +107 -89
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -14
- package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +12 -11
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +755 -269
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +86 -45
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +28 -25
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +203 -62
- package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +67 -71
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +127 -7
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +115 -73
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +560 -315
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +96 -18
- package/node_modules/@types/keyv/node_modules/@types/node/globals.global.d.ts +0 -0
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +359 -195
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +629 -377
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +221 -112
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -46
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +2 -3
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +187 -16
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +154 -93
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +88 -95
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +13 -13
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +19 -18
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +166 -128
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +14 -4
- package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +12 -7
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +69 -56
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +67 -61
- package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +56 -15
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +40 -20
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +498 -218
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +398 -170
- package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +34 -9
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +162 -71
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +48 -24
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +15 -6
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +44 -36
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +267 -122
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +17 -14
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +755 -269
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +86 -45
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +28 -25
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +203 -62
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +79 -7
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +117 -74
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +560 -315
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +96 -18
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +359 -195
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +629 -377
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +221 -112
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/index.d.ts +0 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +2 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +187 -16
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +154 -93
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +13 -13
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +166 -128
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +1162 -853
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +398 -170
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +34 -9
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +162 -71
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +40 -14
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +263 -129
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +52 -45
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +9 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -85
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +40 -14
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +263 -129
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +52 -45
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +9 -3
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +83 -85
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +9 -9
- package/node_modules/@types/responselike/LICENSE +21 -21
- package/node_modules/@types/responselike/README.md +39 -7
- package/node_modules/@types/responselike/index.d.ts +3 -8
- package/node_modules/@types/responselike/node_modules/@types/node/LICENSE +0 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +4 -5
- package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +48 -24
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +15 -6
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +43 -35
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +267 -122
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +107 -89
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -14
- package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +12 -11
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +755 -269
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +86 -45
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +28 -25
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +203 -62
- package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +67 -71
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +127 -7
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +115 -73
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +560 -315
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +96 -18
- package/node_modules/@types/responselike/node_modules/@types/node/globals.global.d.ts +0 -0
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +359 -195
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +629 -377
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +221 -112
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -46
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +2 -3
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +187 -16
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +154 -93
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +88 -95
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +13 -13
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +19 -18
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +166 -128
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +14 -4
- package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +12 -7
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +69 -56
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +67 -61
- package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +56 -15
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +40 -20
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +498 -218
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +398 -170
- package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +34 -9
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +162 -71
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +48 -24
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +15 -6
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +44 -36
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +267 -122
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +17 -14
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +755 -269
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +86 -45
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +28 -25
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +203 -62
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +79 -7
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +117 -74
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +560 -315
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +96 -18
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +359 -195
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +629 -377
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +221 -112
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/index.d.ts +0 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +2 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +187 -16
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +154 -93
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +13 -13
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +166 -128
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +1162 -853
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +398 -170
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +34 -9
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +162 -71
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +40 -14
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +263 -129
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +52 -45
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +9 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -85
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +40 -14
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +263 -129
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +52 -45
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +9 -3
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +83 -85
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +9 -9
- package/node_modules/@types/responselike/package.json +9 -7
- package/node_modules/keyv/README.md +2 -0
- package/node_modules/keyv/package.json +13 -14
- package/node_modules/keyv/src/index.d.ts +6 -10
- package/node_modules/keyv/src/index.js +7 -12
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client.d.ts +97 -0
- package/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +28 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/node_modules/undici-types/errors.d.ts +128 -0
- package/node_modules/undici-types/fetch.d.ts +209 -0
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/handlers.d.ts +9 -0
- package/node_modules/undici-types/header.d.ts +4 -0
- package/node_modules/undici-types/index.d.ts +63 -0
- package/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +71 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +28 -0
- package/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/node_modules/undici-types/readable.d.ts +61 -0
- package/node_modules/undici-types/webidl.d.ts +220 -0
- package/node_modules/undici-types/websocket.d.ts +131 -0
- package/package.json +10 -11
- /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/buffer-stream.js +0 -0
- /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/index.d.ts +0 -0
- /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/index.js +0 -0
- /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/license +0 -0
- /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/package.json +0 -0
- /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/readme.md +0 -0
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
// Type definitions for responselike 1.0
|
|
2
|
-
// Project: https://github.com/lukechilds/responselike#readme
|
|
3
|
-
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
4
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
|
-
|
|
6
1
|
/// <reference types="node" />
|
|
7
2
|
|
|
8
|
-
import { IncomingMessage } from
|
|
9
|
-
import { Stream } from
|
|
3
|
+
import { IncomingMessage } from "http";
|
|
4
|
+
import { Stream } from "stream";
|
|
10
5
|
|
|
11
6
|
export = ResponseLike;
|
|
12
7
|
|
|
@@ -29,6 +24,6 @@ declare class ResponseLike extends Stream.Readable {
|
|
|
29
24
|
statusCode: number,
|
|
30
25
|
headers: { [header: string]: string | string[] | undefined },
|
|
31
26
|
body: Buffer,
|
|
32
|
-
url: string
|
|
27
|
+
url: string,
|
|
33
28
|
);
|
|
34
29
|
}
|
|
File without changes
|
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for
|
|
5
|
+
This package contains type definitions for node (https://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
12
|
-
* Dependencies:
|
|
13
|
-
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
11
|
+
* Last updated: Thu, 16 Nov 2023 21:07:02 GMT
|
|
12
|
+
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
14
13
|
|
|
15
14
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [
|
|
15
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [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), [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), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import { strict } from
|
|
1
|
+
declare module "assert/strict" {
|
|
2
|
+
import { strict } from "node:assert";
|
|
3
3
|
export = strict;
|
|
4
4
|
}
|
|
5
|
-
declare module
|
|
6
|
-
import { strict } from
|
|
5
|
+
declare module "node:assert/strict" {
|
|
6
|
+
import { strict } from "node:assert";
|
|
7
7
|
export = strict;
|
|
8
8
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* invariants.
|
|
4
4
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js)
|
|
5
5
|
*/
|
|
6
|
-
declare module
|
|
6
|
+
declare module "assert" {
|
|
7
7
|
/**
|
|
8
8
|
* An alias of {@link ok}.
|
|
9
9
|
* @since v0.5.9
|
|
@@ -34,7 +34,7 @@ declare module 'assert' {
|
|
|
34
34
|
/**
|
|
35
35
|
* Value is always `ERR_ASSERTION` to show that the error is an assertion error.
|
|
36
36
|
*/
|
|
37
|
-
code:
|
|
37
|
+
code: "ERR_ASSERTION";
|
|
38
38
|
constructor(options?: {
|
|
39
39
|
/** If provided, the error message is set to this value. */
|
|
40
40
|
message?: string | undefined;
|
|
@@ -197,7 +197,7 @@ declare module 'assert' {
|
|
|
197
197
|
/** A stack trace of the function. */
|
|
198
198
|
stack: object;
|
|
199
199
|
}
|
|
200
|
-
type AssertPredicate = RegExp | (new
|
|
200
|
+
type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error;
|
|
201
201
|
/**
|
|
202
202
|
* Throws an `AssertionError` with the provided error message or a default
|
|
203
203
|
* error message. If the `message` parameter is an instance of an `Error` then
|
|
@@ -229,7 +229,7 @@ declare module 'assert' {
|
|
|
229
229
|
message?: string | Error,
|
|
230
230
|
operator?: string,
|
|
231
231
|
// tslint:disable-next-line:ban-types
|
|
232
|
-
stackStartFn?: Function
|
|
232
|
+
stackStartFn?: Function,
|
|
233
233
|
): never;
|
|
234
234
|
/**
|
|
235
235
|
* Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`.
|
|
@@ -857,7 +857,11 @@ declare module 'assert' {
|
|
|
857
857
|
* @since v10.0.0
|
|
858
858
|
*/
|
|
859
859
|
function rejects(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
|
|
860
|
-
function rejects(
|
|
860
|
+
function rejects(
|
|
861
|
+
block: (() => Promise<unknown>) | Promise<unknown>,
|
|
862
|
+
error: AssertPredicate,
|
|
863
|
+
message?: string | Error,
|
|
864
|
+
): Promise<void>;
|
|
861
865
|
/**
|
|
862
866
|
* Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
|
|
863
867
|
* calls the function and awaits the returned promise to complete. It will then
|
|
@@ -900,8 +904,15 @@ declare module 'assert' {
|
|
|
900
904
|
* ```
|
|
901
905
|
* @since v10.0.0
|
|
902
906
|
*/
|
|
903
|
-
function doesNotReject(
|
|
904
|
-
|
|
907
|
+
function doesNotReject(
|
|
908
|
+
block: (() => Promise<unknown>) | Promise<unknown>,
|
|
909
|
+
message?: string | Error,
|
|
910
|
+
): Promise<void>;
|
|
911
|
+
function doesNotReject(
|
|
912
|
+
block: (() => Promise<unknown>) | Promise<unknown>,
|
|
913
|
+
error: AssertPredicate,
|
|
914
|
+
message?: string | Error,
|
|
915
|
+
): Promise<void>;
|
|
905
916
|
/**
|
|
906
917
|
* Expects the `string` input to match the regular expression.
|
|
907
918
|
*
|
|
@@ -948,25 +959,38 @@ declare module 'assert' {
|
|
|
948
959
|
* @since v13.6.0, v12.16.0
|
|
949
960
|
*/
|
|
950
961
|
function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
|
|
951
|
-
const strict:
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
962
|
+
const strict:
|
|
963
|
+
& Omit<
|
|
964
|
+
typeof assert,
|
|
965
|
+
| "equal"
|
|
966
|
+
| "notEqual"
|
|
967
|
+
| "deepEqual"
|
|
968
|
+
| "notDeepEqual"
|
|
969
|
+
| "ok"
|
|
970
|
+
| "strictEqual"
|
|
971
|
+
| "deepStrictEqual"
|
|
972
|
+
| "ifError"
|
|
973
|
+
| "strict"
|
|
974
|
+
>
|
|
975
|
+
& {
|
|
976
|
+
(value: unknown, message?: string | Error): asserts value;
|
|
977
|
+
equal: typeof strictEqual;
|
|
978
|
+
notEqual: typeof notStrictEqual;
|
|
979
|
+
deepEqual: typeof deepStrictEqual;
|
|
980
|
+
notDeepEqual: typeof notDeepStrictEqual;
|
|
981
|
+
// Mapped types and assertion functions are incompatible?
|
|
982
|
+
// TS2775: Assertions require every name in the call target
|
|
983
|
+
// to be declared with an explicit type annotation.
|
|
984
|
+
ok: typeof ok;
|
|
985
|
+
strictEqual: typeof strictEqual;
|
|
986
|
+
deepStrictEqual: typeof deepStrictEqual;
|
|
987
|
+
ifError: typeof ifError;
|
|
988
|
+
strict: typeof strict;
|
|
989
|
+
};
|
|
966
990
|
}
|
|
967
991
|
export = assert;
|
|
968
992
|
}
|
|
969
|
-
declare module
|
|
970
|
-
import assert = require(
|
|
993
|
+
declare module "node:assert" {
|
|
994
|
+
import assert = require("assert");
|
|
971
995
|
export = assert;
|
|
972
996
|
}
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
* @experimental
|
|
15
15
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/async_hooks.js)
|
|
16
16
|
*/
|
|
17
|
-
declare module
|
|
17
|
+
declare module "async_hooks" {
|
|
18
18
|
/**
|
|
19
19
|
* ```js
|
|
20
20
|
* import { executionAsyncId } from 'node:async_hooks';
|
|
21
21
|
* import fs from 'node:fs';
|
|
22
22
|
*
|
|
23
23
|
* console.log(executionAsyncId()); // 1 - bootstrap
|
|
24
|
+
* const path = '.';
|
|
24
25
|
* fs.open(path, 'r', (err, fd) => {
|
|
25
26
|
* console.log(executionAsyncId()); // 6 - open()
|
|
26
27
|
* });
|
|
@@ -274,7 +275,11 @@ declare module 'async_hooks' {
|
|
|
274
275
|
* @param fn The function to bind to the current execution context.
|
|
275
276
|
* @param type An optional name to associate with the underlying `AsyncResource`.
|
|
276
277
|
*/
|
|
277
|
-
static bind<Func extends (this: ThisArg, ...args: any[]) => any, ThisArg>(
|
|
278
|
+
static bind<Func extends (this: ThisArg, ...args: any[]) => any, ThisArg>(
|
|
279
|
+
fn: Func,
|
|
280
|
+
type?: string,
|
|
281
|
+
thisArg?: ThisArg,
|
|
282
|
+
): Func;
|
|
278
283
|
/**
|
|
279
284
|
* Binds the given function to execute to this `AsyncResource`'s scope.
|
|
280
285
|
* @since v14.8.0, v12.19.0
|
|
@@ -291,7 +296,11 @@ declare module 'async_hooks' {
|
|
|
291
296
|
* @param thisArg The receiver to be used for the function call.
|
|
292
297
|
* @param args Optional arguments to pass to the function.
|
|
293
298
|
*/
|
|
294
|
-
runInAsyncScope<This, Result>(
|
|
299
|
+
runInAsyncScope<This, Result>(
|
|
300
|
+
fn: (this: This, ...args: any[]) => Result,
|
|
301
|
+
thisArg?: This,
|
|
302
|
+
...args: any[]
|
|
303
|
+
): Result;
|
|
295
304
|
/**
|
|
296
305
|
* Call all `destroy` hooks. This should only ever be called once. An error will
|
|
297
306
|
* be thrown if it is called more than once. This **must** be manually called. If
|
|
@@ -305,7 +314,6 @@ declare module 'async_hooks' {
|
|
|
305
314
|
*/
|
|
306
315
|
asyncId(): number;
|
|
307
316
|
/**
|
|
308
|
-
*
|
|
309
317
|
* @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor.
|
|
310
318
|
*/
|
|
311
319
|
triggerAsyncId(): number;
|
|
@@ -452,6 +460,7 @@ declare module 'async_hooks' {
|
|
|
452
460
|
* ```
|
|
453
461
|
* @since v13.10.0, v12.17.0
|
|
454
462
|
*/
|
|
463
|
+
run<R>(store: T, callback: () => R): R;
|
|
455
464
|
run<R, TArgs extends any[]>(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R;
|
|
456
465
|
/**
|
|
457
466
|
* Runs a function synchronously outside of a context and returns its
|
|
@@ -525,6 +534,6 @@ declare module 'async_hooks' {
|
|
|
525
534
|
enterWith(store: T): void;
|
|
526
535
|
}
|
|
527
536
|
}
|
|
528
|
-
declare module
|
|
529
|
-
export * from
|
|
537
|
+
declare module "node:async_hooks" {
|
|
538
|
+
export * from "async_hooks";
|
|
530
539
|
}
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
* ```
|
|
44
44
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js)
|
|
45
45
|
*/
|
|
46
|
-
declare module
|
|
47
|
-
import { BinaryLike } from
|
|
48
|
-
import { ReadableStream as WebReadableStream } from
|
|
46
|
+
declare module "buffer" {
|
|
47
|
+
import { BinaryLike } from "node:crypto";
|
|
48
|
+
import { ReadableStream as WebReadableStream } from "node:stream/web";
|
|
49
49
|
/**
|
|
50
50
|
* This function returns `true` if `input` contains only valid UTF-8-encoded data,
|
|
51
51
|
* including the case in which `input` is empty.
|
|
@@ -71,7 +71,16 @@ declare module 'buffer' {
|
|
|
71
71
|
MAX_LENGTH: number;
|
|
72
72
|
MAX_STRING_LENGTH: number;
|
|
73
73
|
};
|
|
74
|
-
export type TranscodeEncoding =
|
|
74
|
+
export type TranscodeEncoding =
|
|
75
|
+
| "ascii"
|
|
76
|
+
| "utf8"
|
|
77
|
+
| "utf-8"
|
|
78
|
+
| "utf16le"
|
|
79
|
+
| "utf-16le"
|
|
80
|
+
| "ucs2"
|
|
81
|
+
| "ucs-2"
|
|
82
|
+
| "latin1"
|
|
83
|
+
| "binary";
|
|
75
84
|
/**
|
|
76
85
|
* Re-encodes the given `Buffer` or `Uint8Array` instance from one character
|
|
77
86
|
* encoding to another. Returns a new `Buffer` instance.
|
|
@@ -102,7 +111,7 @@ declare module 'buffer' {
|
|
|
102
111
|
export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;
|
|
103
112
|
export const SlowBuffer: {
|
|
104
113
|
/** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */
|
|
105
|
-
new
|
|
114
|
+
new(size: number): Buffer;
|
|
106
115
|
prototype: Buffer;
|
|
107
116
|
};
|
|
108
117
|
/**
|
|
@@ -186,7 +195,7 @@ declare module 'buffer' {
|
|
|
186
195
|
* One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts will be
|
|
187
196
|
* converted to the platform native line-ending as specified by `require('node:os').EOL`.
|
|
188
197
|
*/
|
|
189
|
-
endings?:
|
|
198
|
+
endings?: "native" | "transparent";
|
|
190
199
|
/** The File content-type. */
|
|
191
200
|
type?: string;
|
|
192
201
|
/** The last modified date of the file. `Default`: Date.now(). */
|
|
@@ -211,32 +220,33 @@ declare module 'buffer' {
|
|
|
211
220
|
}
|
|
212
221
|
export import atob = globalThis.atob;
|
|
213
222
|
export import btoa = globalThis.btoa;
|
|
214
|
-
import { Blob as NodeBlob } from
|
|
223
|
+
import { Blob as NodeBlob } from "buffer";
|
|
215
224
|
// This conditional type will be the existing global Blob in a browser, or
|
|
216
225
|
// the copy below in a Node environment.
|
|
217
|
-
type __Blob = typeof globalThis extends { onmessage: any; Blob:
|
|
226
|
+
type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
|
|
218
227
|
global {
|
|
219
228
|
namespace NodeJS {
|
|
220
229
|
export { BufferEncoding };
|
|
221
230
|
}
|
|
222
231
|
// Buffer class
|
|
223
232
|
type BufferEncoding =
|
|
224
|
-
|
|
|
225
|
-
|
|
|
226
|
-
|
|
|
227
|
-
|
|
|
228
|
-
|
|
|
229
|
-
|
|
|
230
|
-
|
|
|
231
|
-
|
|
|
232
|
-
|
|
|
233
|
-
|
|
|
234
|
-
|
|
|
233
|
+
| "ascii"
|
|
234
|
+
| "utf8"
|
|
235
|
+
| "utf-8"
|
|
236
|
+
| "utf16le"
|
|
237
|
+
| "utf-16le"
|
|
238
|
+
| "ucs2"
|
|
239
|
+
| "ucs-2"
|
|
240
|
+
| "base64"
|
|
241
|
+
| "base64url"
|
|
242
|
+
| "latin1"
|
|
243
|
+
| "binary"
|
|
244
|
+
| "hex";
|
|
235
245
|
type WithImplicitCoercion<T> =
|
|
236
246
|
| T
|
|
237
247
|
| {
|
|
238
|
-
|
|
239
|
-
|
|
248
|
+
valueOf(): T;
|
|
249
|
+
};
|
|
240
250
|
/**
|
|
241
251
|
* Raw data is stored in instances of the Buffer class.
|
|
242
252
|
* A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized.
|
|
@@ -250,44 +260,43 @@ declare module 'buffer' {
|
|
|
250
260
|
* @param encoding encoding to use, optional. Default is 'utf8'
|
|
251
261
|
* @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead.
|
|
252
262
|
*/
|
|
253
|
-
new
|
|
263
|
+
new(str: string, encoding?: BufferEncoding): Buffer;
|
|
254
264
|
/**
|
|
255
265
|
* Allocates a new buffer of {size} octets.
|
|
256
266
|
*
|
|
257
267
|
* @param size count of octets to allocate.
|
|
258
268
|
* @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`).
|
|
259
269
|
*/
|
|
260
|
-
new
|
|
270
|
+
new(size: number): Buffer;
|
|
261
271
|
/**
|
|
262
272
|
* Allocates a new buffer containing the given {array} of octets.
|
|
263
273
|
*
|
|
264
274
|
* @param array The octets to store.
|
|
265
275
|
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
|
266
276
|
*/
|
|
267
|
-
new
|
|
277
|
+
new(array: Uint8Array): Buffer;
|
|
268
278
|
/**
|
|
269
279
|
* Produces a Buffer backed by the same allocated memory as
|
|
270
280
|
* the given {ArrayBuffer}/{SharedArrayBuffer}.
|
|
271
281
|
*
|
|
272
|
-
*
|
|
273
282
|
* @param arrayBuffer The ArrayBuffer with which to share memory.
|
|
274
283
|
* @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead.
|
|
275
284
|
*/
|
|
276
|
-
new
|
|
285
|
+
new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer;
|
|
277
286
|
/**
|
|
278
287
|
* Allocates a new buffer containing the given {array} of octets.
|
|
279
288
|
*
|
|
280
289
|
* @param array The octets to store.
|
|
281
290
|
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
|
282
291
|
*/
|
|
283
|
-
new
|
|
292
|
+
new(array: ReadonlyArray<any>): Buffer;
|
|
284
293
|
/**
|
|
285
294
|
* Copies the passed {buffer} data onto a new {Buffer} instance.
|
|
286
295
|
*
|
|
287
296
|
* @param buffer The buffer to copy.
|
|
288
297
|
* @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead.
|
|
289
298
|
*/
|
|
290
|
-
new
|
|
299
|
+
new(buffer: Buffer): Buffer;
|
|
291
300
|
/**
|
|
292
301
|
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`.
|
|
293
302
|
* Array entries outside that range will be truncated to fit into it.
|
|
@@ -329,8 +338,8 @@ declare module 'buffer' {
|
|
|
329
338
|
str:
|
|
330
339
|
| WithImplicitCoercion<string>
|
|
331
340
|
| {
|
|
332
|
-
|
|
333
|
-
|
|
341
|
+
[Symbol.toPrimitive](hint: "string"): string;
|
|
342
|
+
},
|
|
334
343
|
encoding?: BufferEncoding,
|
|
335
344
|
): Buffer;
|
|
336
345
|
/**
|
|
@@ -719,7 +728,7 @@ declare module 'buffer' {
|
|
|
719
728
|
* @since v0.9.2
|
|
720
729
|
*/
|
|
721
730
|
toJSON(): {
|
|
722
|
-
type:
|
|
731
|
+
type: "Buffer";
|
|
723
732
|
data: number[];
|
|
724
733
|
};
|
|
725
734
|
/**
|
|
@@ -2344,11 +2353,10 @@ declare module 'buffer' {
|
|
|
2344
2353
|
var Blob: typeof globalThis extends {
|
|
2345
2354
|
onmessage: any;
|
|
2346
2355
|
Blob: infer T;
|
|
2347
|
-
}
|
|
2348
|
-
? T
|
|
2356
|
+
} ? T
|
|
2349
2357
|
: typeof NodeBlob;
|
|
2350
2358
|
}
|
|
2351
2359
|
}
|
|
2352
|
-
declare module
|
|
2353
|
-
export * from
|
|
2360
|
+
declare module "node:buffer" {
|
|
2361
|
+
export * from "buffer";
|
|
2354
2362
|
}
|