cdk-ecr-deployment 2.5.29 → 2.5.31
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 +195 -14
- 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 +195 -14
- 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 +3 -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 +3 -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 +195 -14
- 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 +195 -14
- 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 +3 -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 +3 -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 +195 -14
- 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 +195 -14
- 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 +3 -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 +3 -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
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* ```
|
|
12
12
|
* @since v15.0.0
|
|
13
13
|
*/
|
|
14
|
-
declare module
|
|
15
|
-
import { TimerOptions } from
|
|
14
|
+
declare module "timers/promises" {
|
|
15
|
+
import { TimerOptions } from "node:timers";
|
|
16
16
|
/**
|
|
17
17
|
* ```js
|
|
18
18
|
* import {
|
|
@@ -88,6 +88,6 @@ declare module 'timers/promises' {
|
|
|
88
88
|
}
|
|
89
89
|
const scheduler: Scheduler;
|
|
90
90
|
}
|
|
91
|
-
declare module
|
|
92
|
-
export * from
|
|
91
|
+
declare module "node:timers/promises" {
|
|
92
|
+
export * from "timers/promises";
|
|
93
93
|
}
|
|
@@ -8,9 +8,13 @@
|
|
|
8
8
|
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/timers.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module
|
|
12
|
-
import { Abortable } from
|
|
13
|
-
import {
|
|
11
|
+
declare module "timers" {
|
|
12
|
+
import { Abortable } from "node:events";
|
|
13
|
+
import {
|
|
14
|
+
setImmediate as setImmediatePromise,
|
|
15
|
+
setInterval as setIntervalPromise,
|
|
16
|
+
setTimeout as setTimeoutPromise,
|
|
17
|
+
} from "node:timers/promises";
|
|
14
18
|
interface TimerOptions extends Abortable {
|
|
15
19
|
/**
|
|
16
20
|
* Set to `false` to indicate that the scheduled `Timeout`
|
|
@@ -68,6 +72,11 @@ declare module 'timers' {
|
|
|
68
72
|
*/
|
|
69
73
|
hasRef(): boolean;
|
|
70
74
|
_onImmediate: Function; // to distinguish it from the Timeout class
|
|
75
|
+
/**
|
|
76
|
+
* Cancels the immediate. This is similar to calling `clearImmediate()`.
|
|
77
|
+
* @since v20.5.0
|
|
78
|
+
*/
|
|
79
|
+
[Symbol.dispose](): void;
|
|
71
80
|
}
|
|
72
81
|
/**
|
|
73
82
|
* This object is created internally and is returned from `setTimeout()` and `setInterval()`. It can be passed to either `clearTimeout()` or `clearInterval()` in order to cancel the
|
|
@@ -114,6 +123,11 @@ declare module 'timers' {
|
|
|
114
123
|
*/
|
|
115
124
|
refresh(): this;
|
|
116
125
|
[Symbol.toPrimitive](): number;
|
|
126
|
+
/**
|
|
127
|
+
* Cancels the timeout.
|
|
128
|
+
* @since v20.5.0
|
|
129
|
+
*/
|
|
130
|
+
[Symbol.dispose](): void;
|
|
117
131
|
}
|
|
118
132
|
}
|
|
119
133
|
/**
|
|
@@ -135,7 +149,11 @@ declare module 'timers' {
|
|
|
135
149
|
* @param args Optional arguments to pass when the `callback` is called.
|
|
136
150
|
* @return for use with {@link clearTimeout}
|
|
137
151
|
*/
|
|
138
|
-
function setTimeout<TArgs extends any[]>(
|
|
152
|
+
function setTimeout<TArgs extends any[]>(
|
|
153
|
+
callback: (...args: TArgs) => void,
|
|
154
|
+
ms?: number,
|
|
155
|
+
...args: TArgs
|
|
156
|
+
): NodeJS.Timeout;
|
|
139
157
|
// util.promisify no rest args compability
|
|
140
158
|
// tslint:disable-next-line void-return
|
|
141
159
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
@@ -163,10 +181,14 @@ declare module 'timers' {
|
|
|
163
181
|
* @param args Optional arguments to pass when the `callback` is called.
|
|
164
182
|
* @return for use with {@link clearInterval}
|
|
165
183
|
*/
|
|
166
|
-
function setInterval<TArgs extends any[]>(
|
|
184
|
+
function setInterval<TArgs extends any[]>(
|
|
185
|
+
callback: (...args: TArgs) => void,
|
|
186
|
+
ms?: number,
|
|
187
|
+
...args: TArgs
|
|
188
|
+
): NodeJS.Timeout;
|
|
167
189
|
// util.promisify no rest args compability
|
|
168
190
|
// tslint:disable-next-line void-return
|
|
169
|
-
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.
|
|
191
|
+
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
170
192
|
namespace setInterval {
|
|
171
193
|
const __promisify__: typeof setIntervalPromise;
|
|
172
194
|
}
|
|
@@ -194,7 +216,10 @@ declare module 'timers' {
|
|
|
194
216
|
* @param args Optional arguments to pass when the `callback` is called.
|
|
195
217
|
* @return for use with {@link clearImmediate}
|
|
196
218
|
*/
|
|
197
|
-
function setImmediate<TArgs extends any[]>(
|
|
219
|
+
function setImmediate<TArgs extends any[]>(
|
|
220
|
+
callback: (...args: TArgs) => void,
|
|
221
|
+
...args: TArgs
|
|
222
|
+
): NodeJS.Immediate;
|
|
198
223
|
// util.promisify no rest args compability
|
|
199
224
|
// tslint:disable-next-line void-return
|
|
200
225
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
@@ -210,6 +235,6 @@ declare module 'timers' {
|
|
|
210
235
|
function queueMicrotask(callback: () => void): void;
|
|
211
236
|
}
|
|
212
237
|
}
|
|
213
|
-
declare module
|
|
214
|
-
export * from
|
|
238
|
+
declare module "node:timers" {
|
|
239
|
+
export * from "timers";
|
|
215
240
|
}
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tls.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module
|
|
12
|
-
import { X509Certificate } from
|
|
13
|
-
import * as net from
|
|
14
|
-
import * as stream from
|
|
11
|
+
declare module "tls" {
|
|
12
|
+
import { X509Certificate } from "node:crypto";
|
|
13
|
+
import * as net from "node:net";
|
|
14
|
+
import * as stream from "stream";
|
|
15
15
|
const CLIENT_RENEG_LIMIT: number;
|
|
16
16
|
const CLIENT_RENEG_WINDOW: number;
|
|
17
17
|
interface Certificate {
|
|
@@ -396,7 +396,7 @@ declare module 'tls' {
|
|
|
396
396
|
rejectUnauthorized?: boolean | undefined;
|
|
397
397
|
requestCert?: boolean | undefined;
|
|
398
398
|
},
|
|
399
|
-
callback: (err: Error | null) => void
|
|
399
|
+
callback: (err: Error | null) => void,
|
|
400
400
|
): undefined | boolean;
|
|
401
401
|
/**
|
|
402
402
|
* The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size.
|
|
@@ -472,35 +472,35 @@ declare module 'tls' {
|
|
|
472
472
|
*/
|
|
473
473
|
exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer;
|
|
474
474
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
475
|
-
addListener(event:
|
|
476
|
-
addListener(event:
|
|
477
|
-
addListener(event:
|
|
478
|
-
addListener(event:
|
|
475
|
+
addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
|
|
476
|
+
addListener(event: "secureConnect", listener: () => void): this;
|
|
477
|
+
addListener(event: "session", listener: (session: Buffer) => void): this;
|
|
478
|
+
addListener(event: "keylog", listener: (line: Buffer) => void): this;
|
|
479
479
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
480
|
-
emit(event:
|
|
481
|
-
emit(event:
|
|
482
|
-
emit(event:
|
|
483
|
-
emit(event:
|
|
480
|
+
emit(event: "OCSPResponse", response: Buffer): boolean;
|
|
481
|
+
emit(event: "secureConnect"): boolean;
|
|
482
|
+
emit(event: "session", session: Buffer): boolean;
|
|
483
|
+
emit(event: "keylog", line: Buffer): boolean;
|
|
484
484
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
485
|
-
on(event:
|
|
486
|
-
on(event:
|
|
487
|
-
on(event:
|
|
488
|
-
on(event:
|
|
485
|
+
on(event: "OCSPResponse", listener: (response: Buffer) => void): this;
|
|
486
|
+
on(event: "secureConnect", listener: () => void): this;
|
|
487
|
+
on(event: "session", listener: (session: Buffer) => void): this;
|
|
488
|
+
on(event: "keylog", listener: (line: Buffer) => void): this;
|
|
489
489
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
490
|
-
once(event:
|
|
491
|
-
once(event:
|
|
492
|
-
once(event:
|
|
493
|
-
once(event:
|
|
490
|
+
once(event: "OCSPResponse", listener: (response: Buffer) => void): this;
|
|
491
|
+
once(event: "secureConnect", listener: () => void): this;
|
|
492
|
+
once(event: "session", listener: (session: Buffer) => void): this;
|
|
493
|
+
once(event: "keylog", listener: (line: Buffer) => void): this;
|
|
494
494
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
495
|
-
prependListener(event:
|
|
496
|
-
prependListener(event:
|
|
497
|
-
prependListener(event:
|
|
498
|
-
prependListener(event:
|
|
495
|
+
prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
|
|
496
|
+
prependListener(event: "secureConnect", listener: () => void): this;
|
|
497
|
+
prependListener(event: "session", listener: (session: Buffer) => void): this;
|
|
498
|
+
prependListener(event: "keylog", listener: (line: Buffer) => void): this;
|
|
499
499
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
500
|
-
prependOnceListener(event:
|
|
501
|
-
prependOnceListener(event:
|
|
502
|
-
prependOnceListener(event:
|
|
503
|
-
prependOnceListener(event:
|
|
500
|
+
prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
|
|
501
|
+
prependOnceListener(event: "secureConnect", listener: () => void): this;
|
|
502
|
+
prependOnceListener(event: "session", listener: (session: Buffer) => void): this;
|
|
503
|
+
prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this;
|
|
504
504
|
}
|
|
505
505
|
interface CommonConnectionOptions {
|
|
506
506
|
/**
|
|
@@ -561,7 +561,6 @@ declare module 'tls' {
|
|
|
561
561
|
*/
|
|
562
562
|
ticketKeys?: Buffer | undefined;
|
|
563
563
|
/**
|
|
564
|
-
*
|
|
565
564
|
* @param socket
|
|
566
565
|
* @param identity identity parameter sent from the client.
|
|
567
566
|
* @return pre-shared key that must either be
|
|
@@ -677,47 +676,118 @@ declare module 'tls' {
|
|
|
677
676
|
* 6. keylog
|
|
678
677
|
*/
|
|
679
678
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
680
|
-
addListener(event:
|
|
681
|
-
addListener(
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
addListener(
|
|
679
|
+
addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
680
|
+
addListener(
|
|
681
|
+
event: "newSession",
|
|
682
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
683
|
+
): this;
|
|
684
|
+
addListener(
|
|
685
|
+
event: "OCSPRequest",
|
|
686
|
+
listener: (
|
|
687
|
+
certificate: Buffer,
|
|
688
|
+
issuer: Buffer,
|
|
689
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
690
|
+
) => void,
|
|
691
|
+
): this;
|
|
692
|
+
addListener(
|
|
693
|
+
event: "resumeSession",
|
|
694
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
695
|
+
): this;
|
|
696
|
+
addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
697
|
+
addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
686
698
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
687
|
-
emit(event:
|
|
688
|
-
emit(event:
|
|
689
|
-
emit(
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
699
|
+
emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean;
|
|
700
|
+
emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: () => void): boolean;
|
|
701
|
+
emit(
|
|
702
|
+
event: "OCSPRequest",
|
|
703
|
+
certificate: Buffer,
|
|
704
|
+
issuer: Buffer,
|
|
705
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
706
|
+
): boolean;
|
|
707
|
+
emit(
|
|
708
|
+
event: "resumeSession",
|
|
709
|
+
sessionId: Buffer,
|
|
710
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
711
|
+
): boolean;
|
|
712
|
+
emit(event: "secureConnection", tlsSocket: TLSSocket): boolean;
|
|
713
|
+
emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean;
|
|
693
714
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
694
|
-
on(event:
|
|
695
|
-
on(event:
|
|
696
|
-
on(
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
715
|
+
on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
716
|
+
on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void): this;
|
|
717
|
+
on(
|
|
718
|
+
event: "OCSPRequest",
|
|
719
|
+
listener: (
|
|
720
|
+
certificate: Buffer,
|
|
721
|
+
issuer: Buffer,
|
|
722
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
723
|
+
) => void,
|
|
724
|
+
): this;
|
|
725
|
+
on(
|
|
726
|
+
event: "resumeSession",
|
|
727
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
728
|
+
): this;
|
|
729
|
+
on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
730
|
+
on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
700
731
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
701
|
-
once(event:
|
|
702
|
-
once(
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
once(
|
|
732
|
+
once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
733
|
+
once(
|
|
734
|
+
event: "newSession",
|
|
735
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
736
|
+
): this;
|
|
737
|
+
once(
|
|
738
|
+
event: "OCSPRequest",
|
|
739
|
+
listener: (
|
|
740
|
+
certificate: Buffer,
|
|
741
|
+
issuer: Buffer,
|
|
742
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
743
|
+
) => void,
|
|
744
|
+
): this;
|
|
745
|
+
once(
|
|
746
|
+
event: "resumeSession",
|
|
747
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
748
|
+
): this;
|
|
749
|
+
once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
750
|
+
once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
707
751
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
708
|
-
prependListener(event:
|
|
709
|
-
prependListener(
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
prependListener(
|
|
752
|
+
prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
753
|
+
prependListener(
|
|
754
|
+
event: "newSession",
|
|
755
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
756
|
+
): this;
|
|
757
|
+
prependListener(
|
|
758
|
+
event: "OCSPRequest",
|
|
759
|
+
listener: (
|
|
760
|
+
certificate: Buffer,
|
|
761
|
+
issuer: Buffer,
|
|
762
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
763
|
+
) => void,
|
|
764
|
+
): this;
|
|
765
|
+
prependListener(
|
|
766
|
+
event: "resumeSession",
|
|
767
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
768
|
+
): this;
|
|
769
|
+
prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
770
|
+
prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
714
771
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
715
|
-
prependOnceListener(event:
|
|
716
|
-
prependOnceListener(
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
prependOnceListener(
|
|
772
|
+
prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
773
|
+
prependOnceListener(
|
|
774
|
+
event: "newSession",
|
|
775
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
776
|
+
): this;
|
|
777
|
+
prependOnceListener(
|
|
778
|
+
event: "OCSPRequest",
|
|
779
|
+
listener: (
|
|
780
|
+
certificate: Buffer,
|
|
781
|
+
issuer: Buffer,
|
|
782
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
783
|
+
) => void,
|
|
784
|
+
): this;
|
|
785
|
+
prependOnceListener(
|
|
786
|
+
event: "resumeSession",
|
|
787
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
788
|
+
): this;
|
|
789
|
+
prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
790
|
+
prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
721
791
|
}
|
|
722
792
|
/**
|
|
723
793
|
* @deprecated since v0.11.3 Use `tls.TLSSocket` instead.
|
|
@@ -726,8 +796,19 @@ declare module 'tls' {
|
|
|
726
796
|
encrypted: TLSSocket;
|
|
727
797
|
cleartext: TLSSocket;
|
|
728
798
|
}
|
|
729
|
-
type SecureVersion =
|
|
799
|
+
type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1";
|
|
730
800
|
interface SecureContextOptions {
|
|
801
|
+
/**
|
|
802
|
+
* If set, this will be called when a client opens a connection using the ALPN extension.
|
|
803
|
+
* One argument will be passed to the callback: an object containing `servername` and `protocols` fields,
|
|
804
|
+
* respectively containing the server name from the SNI extension (if any) and an array of
|
|
805
|
+
* ALPN protocol name strings. The callback must return either one of the strings listed in `protocols`,
|
|
806
|
+
* which will be returned to the client as the selected ALPN protocol, or `undefined`,
|
|
807
|
+
* to reject the connection with a fatal alert. If a string is returned that does not match one of
|
|
808
|
+
* the client's ALPN protocols, an error will be thrown.
|
|
809
|
+
* This option cannot be used with the `ALPNProtocols` option, and setting both options will throw an error.
|
|
810
|
+
*/
|
|
811
|
+
ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined;
|
|
731
812
|
/**
|
|
732
813
|
* Optionally override the trusted CA certificates. Default is to trust
|
|
733
814
|
* the well-known CAs curated by Mozilla. Mozilla's CAs are completely
|
|
@@ -997,7 +1078,12 @@ declare module 'tls' {
|
|
|
997
1078
|
* @since v0.11.3
|
|
998
1079
|
*/
|
|
999
1080
|
function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
1000
|
-
function connect(
|
|
1081
|
+
function connect(
|
|
1082
|
+
port: number,
|
|
1083
|
+
host?: string,
|
|
1084
|
+
options?: ConnectionOptions,
|
|
1085
|
+
secureConnectListener?: () => void,
|
|
1086
|
+
): TLSSocket;
|
|
1001
1087
|
function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
1002
1088
|
/**
|
|
1003
1089
|
* Creates a new secure pair object with two streams, one of which reads and writes
|
|
@@ -1032,7 +1118,12 @@ declare module 'tls' {
|
|
|
1032
1118
|
* @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`.
|
|
1033
1119
|
* @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`.
|
|
1034
1120
|
*/
|
|
1035
|
-
function createSecurePair(
|
|
1121
|
+
function createSecurePair(
|
|
1122
|
+
context?: SecureContext,
|
|
1123
|
+
isServer?: boolean,
|
|
1124
|
+
requestCert?: boolean,
|
|
1125
|
+
rejectUnauthorized?: boolean,
|
|
1126
|
+
): SecurePair;
|
|
1036
1127
|
/**
|
|
1037
1128
|
* {@link createServer} sets the default value of the `honorCipherOrder` option
|
|
1038
1129
|
* to `true`, other APIs that create secure contexts leave it unset.
|
|
@@ -1114,6 +1205,6 @@ declare module 'tls' {
|
|
|
1114
1205
|
*/
|
|
1115
1206
|
const rootCertificates: ReadonlyArray<string>;
|
|
1116
1207
|
}
|
|
1117
|
-
declare module
|
|
1118
|
-
export * from
|
|
1208
|
+
declare module "node:tls" {
|
|
1209
|
+
export * from "tls";
|
|
1119
1210
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
* @experimental
|
|
97
97
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/trace_events.js)
|
|
98
98
|
*/
|
|
99
|
-
declare module
|
|
99
|
+
declare module "trace_events" {
|
|
100
100
|
/**
|
|
101
101
|
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
102
102
|
* categories. Instances are created using the
|
|
@@ -177,6 +177,6 @@ declare module 'trace_events' {
|
|
|
177
177
|
*/
|
|
178
178
|
function getEnabledCategories(): string | undefined;
|
|
179
179
|
}
|
|
180
|
-
declare module
|
|
181
|
-
export * from
|
|
180
|
+
declare module "node:trace_events" {
|
|
181
|
+
export * from "trace_events";
|
|
182
182
|
}
|
package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert/strict.d.ts
CHANGED
|
@@ -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
|
}
|
package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts
CHANGED
|
@@ -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
|
}
|