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
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
* On Windows, it is not yet possible to set up a named pipe server in a worker.
|
|
53
53
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/cluster.js)
|
|
54
54
|
*/
|
|
55
|
-
declare module
|
|
56
|
-
import * as child from
|
|
57
|
-
import EventEmitter = require(
|
|
58
|
-
import * as net from
|
|
59
|
-
type SerializationType =
|
|
55
|
+
declare module "cluster" {
|
|
56
|
+
import * as child from "node:child_process";
|
|
57
|
+
import EventEmitter = require("node:events");
|
|
58
|
+
import * as net from "node:net";
|
|
59
|
+
type SerializationType = "json" | "advanced";
|
|
60
60
|
export interface ClusterSettings {
|
|
61
61
|
execArgv?: string[] | undefined; // default: process.execArgv
|
|
62
62
|
exec?: string | undefined;
|
|
@@ -73,7 +73,7 @@ declare module 'cluster' {
|
|
|
73
73
|
export interface Address {
|
|
74
74
|
address: string;
|
|
75
75
|
port: number;
|
|
76
|
-
addressType: number |
|
|
76
|
+
addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6"
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* A `Worker` object contains all public information and method about a worker.
|
|
@@ -125,8 +125,17 @@ declare module 'cluster' {
|
|
|
125
125
|
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
|
|
126
126
|
*/
|
|
127
127
|
send(message: child.Serializable, callback?: (error: Error | null) => void): boolean;
|
|
128
|
-
send(
|
|
129
|
-
|
|
128
|
+
send(
|
|
129
|
+
message: child.Serializable,
|
|
130
|
+
sendHandle: child.SendHandle,
|
|
131
|
+
callback?: (error: Error | null) => void,
|
|
132
|
+
): boolean;
|
|
133
|
+
send(
|
|
134
|
+
message: child.Serializable,
|
|
135
|
+
sendHandle: child.SendHandle,
|
|
136
|
+
options?: child.MessageOptions,
|
|
137
|
+
callback?: (error: Error | null) => void,
|
|
138
|
+
): boolean;
|
|
130
139
|
/**
|
|
131
140
|
* This function will kill the worker. In the primary worker, it does this by
|
|
132
141
|
* disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`.
|
|
@@ -283,47 +292,47 @@ declare module 'cluster' {
|
|
|
283
292
|
* 6. online
|
|
284
293
|
*/
|
|
285
294
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
286
|
-
addListener(event:
|
|
287
|
-
addListener(event:
|
|
288
|
-
addListener(event:
|
|
289
|
-
addListener(event:
|
|
290
|
-
addListener(event:
|
|
291
|
-
addListener(event:
|
|
295
|
+
addListener(event: "disconnect", listener: () => void): this;
|
|
296
|
+
addListener(event: "error", listener: (error: Error) => void): this;
|
|
297
|
+
addListener(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
298
|
+
addListener(event: "listening", listener: (address: Address) => void): this;
|
|
299
|
+
addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
300
|
+
addListener(event: "online", listener: () => void): this;
|
|
292
301
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
293
|
-
emit(event:
|
|
294
|
-
emit(event:
|
|
295
|
-
emit(event:
|
|
296
|
-
emit(event:
|
|
297
|
-
emit(event:
|
|
298
|
-
emit(event:
|
|
302
|
+
emit(event: "disconnect"): boolean;
|
|
303
|
+
emit(event: "error", error: Error): boolean;
|
|
304
|
+
emit(event: "exit", code: number, signal: string): boolean;
|
|
305
|
+
emit(event: "listening", address: Address): boolean;
|
|
306
|
+
emit(event: "message", message: any, handle: net.Socket | net.Server): boolean;
|
|
307
|
+
emit(event: "online"): boolean;
|
|
299
308
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
300
|
-
on(event:
|
|
301
|
-
on(event:
|
|
302
|
-
on(event:
|
|
303
|
-
on(event:
|
|
304
|
-
on(event:
|
|
305
|
-
on(event:
|
|
309
|
+
on(event: "disconnect", listener: () => void): this;
|
|
310
|
+
on(event: "error", listener: (error: Error) => void): this;
|
|
311
|
+
on(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
312
|
+
on(event: "listening", listener: (address: Address) => void): this;
|
|
313
|
+
on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
314
|
+
on(event: "online", listener: () => void): this;
|
|
306
315
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
307
|
-
once(event:
|
|
308
|
-
once(event:
|
|
309
|
-
once(event:
|
|
310
|
-
once(event:
|
|
311
|
-
once(event:
|
|
312
|
-
once(event:
|
|
316
|
+
once(event: "disconnect", listener: () => void): this;
|
|
317
|
+
once(event: "error", listener: (error: Error) => void): this;
|
|
318
|
+
once(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
319
|
+
once(event: "listening", listener: (address: Address) => void): this;
|
|
320
|
+
once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
321
|
+
once(event: "online", listener: () => void): this;
|
|
313
322
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
314
|
-
prependListener(event:
|
|
315
|
-
prependListener(event:
|
|
316
|
-
prependListener(event:
|
|
317
|
-
prependListener(event:
|
|
318
|
-
prependListener(event:
|
|
319
|
-
prependListener(event:
|
|
323
|
+
prependListener(event: "disconnect", listener: () => void): this;
|
|
324
|
+
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
325
|
+
prependListener(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
326
|
+
prependListener(event: "listening", listener: (address: Address) => void): this;
|
|
327
|
+
prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
328
|
+
prependListener(event: "online", listener: () => void): this;
|
|
320
329
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
321
|
-
prependOnceListener(event:
|
|
322
|
-
prependOnceListener(event:
|
|
323
|
-
prependOnceListener(event:
|
|
324
|
-
prependOnceListener(event:
|
|
325
|
-
prependOnceListener(event:
|
|
326
|
-
prependOnceListener(event:
|
|
330
|
+
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
331
|
+
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
332
|
+
prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
333
|
+
prependOnceListener(event: "listening", listener: (address: Address) => void): this;
|
|
334
|
+
prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
335
|
+
prependOnceListener(event: "online", listener: () => void): this;
|
|
327
336
|
}
|
|
328
337
|
export interface Cluster extends EventEmitter {
|
|
329
338
|
disconnect(callback?: () => void): void;
|
|
@@ -355,60 +364,69 @@ declare module 'cluster' {
|
|
|
355
364
|
* 7. setup
|
|
356
365
|
*/
|
|
357
366
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
358
|
-
addListener(event:
|
|
359
|
-
addListener(event:
|
|
360
|
-
addListener(event:
|
|
361
|
-
addListener(event:
|
|
362
|
-
addListener(
|
|
363
|
-
|
|
364
|
-
|
|
367
|
+
addListener(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
368
|
+
addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
369
|
+
addListener(event: "fork", listener: (worker: Worker) => void): this;
|
|
370
|
+
addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
371
|
+
addListener(
|
|
372
|
+
event: "message",
|
|
373
|
+
listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void,
|
|
374
|
+
): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
375
|
+
addListener(event: "online", listener: (worker: Worker) => void): this;
|
|
376
|
+
addListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
365
377
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
366
|
-
emit(event:
|
|
367
|
-
emit(event:
|
|
368
|
-
emit(event:
|
|
369
|
-
emit(event:
|
|
370
|
-
emit(event:
|
|
371
|
-
emit(event:
|
|
372
|
-
emit(event:
|
|
378
|
+
emit(event: "disconnect", worker: Worker): boolean;
|
|
379
|
+
emit(event: "exit", worker: Worker, code: number, signal: string): boolean;
|
|
380
|
+
emit(event: "fork", worker: Worker): boolean;
|
|
381
|
+
emit(event: "listening", worker: Worker, address: Address): boolean;
|
|
382
|
+
emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
|
|
383
|
+
emit(event: "online", worker: Worker): boolean;
|
|
384
|
+
emit(event: "setup", settings: ClusterSettings): boolean;
|
|
373
385
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
374
|
-
on(event:
|
|
375
|
-
on(event:
|
|
376
|
-
on(event:
|
|
377
|
-
on(event:
|
|
378
|
-
on(event:
|
|
379
|
-
on(event:
|
|
380
|
-
on(event:
|
|
386
|
+
on(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
387
|
+
on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
388
|
+
on(event: "fork", listener: (worker: Worker) => void): this;
|
|
389
|
+
on(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
390
|
+
on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
391
|
+
on(event: "online", listener: (worker: Worker) => void): this;
|
|
392
|
+
on(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
381
393
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
382
|
-
once(event:
|
|
383
|
-
once(event:
|
|
384
|
-
once(event:
|
|
385
|
-
once(event:
|
|
386
|
-
once(event:
|
|
387
|
-
once(event:
|
|
388
|
-
once(event:
|
|
394
|
+
once(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
395
|
+
once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
396
|
+
once(event: "fork", listener: (worker: Worker) => void): this;
|
|
397
|
+
once(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
398
|
+
once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
399
|
+
once(event: "online", listener: (worker: Worker) => void): this;
|
|
400
|
+
once(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
389
401
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
390
|
-
prependListener(event:
|
|
391
|
-
prependListener(event:
|
|
392
|
-
prependListener(event:
|
|
393
|
-
prependListener(event:
|
|
402
|
+
prependListener(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
403
|
+
prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
404
|
+
prependListener(event: "fork", listener: (worker: Worker) => void): this;
|
|
405
|
+
prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
394
406
|
// the handle is a net.Socket or net.Server object, or undefined.
|
|
395
|
-
prependListener(
|
|
396
|
-
|
|
397
|
-
|
|
407
|
+
prependListener(
|
|
408
|
+
event: "message",
|
|
409
|
+
listener: (worker: Worker, message: any, handle?: net.Socket | net.Server) => void,
|
|
410
|
+
): this;
|
|
411
|
+
prependListener(event: "online", listener: (worker: Worker) => void): this;
|
|
412
|
+
prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
398
413
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
399
|
-
prependOnceListener(event:
|
|
400
|
-
prependOnceListener(event:
|
|
401
|
-
prependOnceListener(event:
|
|
402
|
-
prependOnceListener(event:
|
|
414
|
+
prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
415
|
+
prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
416
|
+
prependOnceListener(event: "fork", listener: (worker: Worker) => void): this;
|
|
417
|
+
prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
403
418
|
// the handle is a net.Socket or net.Server object, or undefined.
|
|
404
|
-
prependOnceListener(
|
|
405
|
-
|
|
406
|
-
|
|
419
|
+
prependOnceListener(
|
|
420
|
+
event: "message",
|
|
421
|
+
listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void,
|
|
422
|
+
): this;
|
|
423
|
+
prependOnceListener(event: "online", listener: (worker: Worker) => void): this;
|
|
424
|
+
prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
407
425
|
}
|
|
408
426
|
const cluster: Cluster;
|
|
409
427
|
export default cluster;
|
|
410
428
|
}
|
|
411
|
-
declare module
|
|
412
|
-
export * from
|
|
413
|
-
export { default as default } from
|
|
429
|
+
declare module "node:cluster" {
|
|
430
|
+
export * from "cluster";
|
|
431
|
+
export { default as default } from "cluster";
|
|
414
432
|
}
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
* ```
|
|
56
56
|
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/console.js)
|
|
57
57
|
*/
|
|
58
|
-
declare module
|
|
59
|
-
import console = require(
|
|
58
|
+
declare module "console" {
|
|
59
|
+
import console = require("node:console");
|
|
60
60
|
export = console;
|
|
61
61
|
}
|
|
62
|
-
declare module
|
|
63
|
-
import { InspectOptions } from
|
|
62
|
+
declare module "node:console" {
|
|
63
|
+
import { InspectOptions } from "node:util";
|
|
64
64
|
global {
|
|
65
65
|
// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build
|
|
66
66
|
interface Console {
|
|
@@ -123,7 +123,7 @@ declare module 'node:console' {
|
|
|
123
123
|
* >
|
|
124
124
|
* ```
|
|
125
125
|
* @since v8.3.0
|
|
126
|
-
* @param label The display label for the counter.
|
|
126
|
+
* @param [label='default'] The display label for the counter.
|
|
127
127
|
*/
|
|
128
128
|
count(label?: string): void;
|
|
129
129
|
/**
|
|
@@ -141,7 +141,7 @@ declare module 'node:console' {
|
|
|
141
141
|
* >
|
|
142
142
|
* ```
|
|
143
143
|
* @since v8.3.0
|
|
144
|
-
* @param label The display label for the counter.
|
|
144
|
+
* @param [label='default'] The display label for the counter.
|
|
145
145
|
*/
|
|
146
146
|
countReset(label?: string): void;
|
|
147
147
|
/**
|
|
@@ -221,7 +221,7 @@ declare module 'node:console' {
|
|
|
221
221
|
log(message?: any, ...optionalParams: any[]): void;
|
|
222
222
|
/**
|
|
223
223
|
* Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just
|
|
224
|
-
* logging the argument if it can
|
|
224
|
+
* logging the argument if it can't be parsed as tabular.
|
|
225
225
|
*
|
|
226
226
|
* ```js
|
|
227
227
|
* // These can't be parsed as tabular data
|
|
@@ -257,6 +257,7 @@ declare module 'node:console' {
|
|
|
257
257
|
* suitable time units to `stdout`. For example, if the elapsed
|
|
258
258
|
* time is 3869ms, `console.timeEnd()` displays "3.869s".
|
|
259
259
|
* @since v0.1.104
|
|
260
|
+
* @param [label='default']
|
|
260
261
|
*/
|
|
261
262
|
time(label?: string): void;
|
|
262
263
|
/**
|
|
@@ -264,12 +265,13 @@ declare module 'node:console' {
|
|
|
264
265
|
* prints the result to `stdout`:
|
|
265
266
|
*
|
|
266
267
|
* ```js
|
|
267
|
-
* console.time('
|
|
268
|
-
*
|
|
269
|
-
* console.timeEnd('
|
|
270
|
-
* //
|
|
268
|
+
* console.time('bunch-of-stuff');
|
|
269
|
+
* // Do a bunch of stuff.
|
|
270
|
+
* console.timeEnd('bunch-of-stuff');
|
|
271
|
+
* // Prints: bunch-of-stuff: 225.438ms
|
|
271
272
|
* ```
|
|
272
273
|
* @since v0.1.104
|
|
274
|
+
* @param [label='default']
|
|
273
275
|
*/
|
|
274
276
|
timeEnd(label?: string): void;
|
|
275
277
|
/**
|
|
@@ -285,6 +287,7 @@ declare module 'node:console' {
|
|
|
285
287
|
* console.timeEnd('process');
|
|
286
288
|
* ```
|
|
287
289
|
* @since v10.7.0
|
|
290
|
+
* @param [label='default']
|
|
288
291
|
*/
|
|
289
292
|
timeLog(label?: string, ...data: any[]): void;
|
|
290
293
|
/**
|
|
@@ -392,7 +395,7 @@ declare module 'node:console' {
|
|
|
392
395
|
stdout: NodeJS.WritableStream;
|
|
393
396
|
stderr?: NodeJS.WritableStream | undefined;
|
|
394
397
|
ignoreErrors?: boolean | undefined;
|
|
395
|
-
colorMode?: boolean |
|
|
398
|
+
colorMode?: boolean | "auto" | undefined;
|
|
396
399
|
inspectOptions?: InspectOptions | undefined;
|
|
397
400
|
/**
|
|
398
401
|
* Set group indentation
|
|
@@ -402,8 +405,8 @@ declare module 'node:console' {
|
|
|
402
405
|
}
|
|
403
406
|
interface ConsoleConstructor {
|
|
404
407
|
prototype: Console;
|
|
405
|
-
new
|
|
406
|
-
new
|
|
408
|
+
new(stdout: NodeJS.WritableStream, stderr?: NodeJS.WritableStream, ignoreErrors?: boolean): Console;
|
|
409
|
+
new(options: ConsoleConstructorOptions): Console;
|
|
407
410
|
}
|
|
408
411
|
}
|
|
409
412
|
var console: Console;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
|
|
2
|
-
declare module
|
|
3
|
-
import { constants as osConstants, SignalConstants } from
|
|
4
|
-
import { constants as cryptoConstants } from
|
|
5
|
-
import { constants as fsConstants } from
|
|
2
|
+
declare module "constants" {
|
|
3
|
+
import { constants as osConstants, SignalConstants } from "node:os";
|
|
4
|
+
import { constants as cryptoConstants } from "node:crypto";
|
|
5
|
+
import { constants as fsConstants } from "node:fs";
|
|
6
6
|
|
|
7
|
-
const exp:
|
|
8
|
-
typeof osConstants.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
typeof
|
|
7
|
+
const exp:
|
|
8
|
+
& typeof osConstants.errno
|
|
9
|
+
& typeof osConstants.priority
|
|
10
|
+
& SignalConstants
|
|
11
|
+
& typeof cryptoConstants
|
|
12
|
+
& typeof fsConstants;
|
|
12
13
|
export = exp;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
declare module
|
|
16
|
-
import constants = require(
|
|
16
|
+
declare module "node:constants" {
|
|
17
|
+
import constants = require("constants");
|
|
17
18
|
export = constants;
|
|
18
19
|
}
|