cdk-ecr-deployment 3.0.76 → 3.0.77
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/.jsii +2 -2
- package/lib/index.js +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +5 -78
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +17 -17
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +16 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +60 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +12 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +5 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/balanced-pool.d.ts +11 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/client.d.ts +12 -1
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/diagnostics-channel.d.ts +1 -2
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/dispatcher.d.ts +17 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +61 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/fetch.d.ts +22 -23
- package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/index.d.ts +6 -1
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/package.json +1 -1
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/pool.d.ts +11 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/proxy-agent.d.ts +0 -2
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/readable.d.ts +2 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +11 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +31 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/webidl.d.ts +6 -1
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/websocket.d.ts +22 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +5 -78
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +17 -17
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +16 -0
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +60 -2
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -14
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +12 -11
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +5 -7
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@types/keyv/node_modules/undici-types/README.md +6 -0
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/node_modules/@types/keyv/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +108 -0
- package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/@types/keyv/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +28 -0
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +255 -0
- package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +128 -0
- package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +61 -0
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +208 -0
- package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +68 -0
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +55 -0
- package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +71 -0
- package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +60 -0
- package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +11 -0
- package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +31 -0
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +225 -0
- package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +152 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +5 -78
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +17 -17
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +16 -0
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +60 -2
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -14
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +12 -11
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +5 -7
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@types/responselike/node_modules/undici-types/README.md +6 -0
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/node_modules/@types/responselike/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +108 -0
- package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/@types/responselike/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +28 -0
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +255 -0
- package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +128 -0
- package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +61 -0
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +208 -0
- package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +68 -0
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +55 -0
- package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +71 -0
- package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +60 -0
- package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +11 -0
- package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +31 -0
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +225 -0
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +152 -0
- package/package.json +3 -3
- package/node_modules/undici-types/handlers.d.ts +0 -9
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/README.md +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/agent.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/api.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cache.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/connector.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/content-type.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cookies.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/errors.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/file.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/filereader.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/formdata.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/global-dispatcher.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/global-origin.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/header.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/interceptors.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-client.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-errors.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-interceptor.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-pool.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/patch.d.ts +0 -0
- /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/pool-stats.d.ts +0 -0
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
*
|
|
77
77
|
* If any tests fail, the process exit code is set to `1`.
|
|
78
78
|
* @since v18.0.0, v16.17.0
|
|
79
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
79
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/test.js)
|
|
80
80
|
*/
|
|
81
81
|
declare module "node:test" {
|
|
82
82
|
import { Readable } from "node:stream";
|
|
@@ -144,7 +144,7 @@ declare module "node:test" {
|
|
|
144
144
|
function test(options?: TestOptions, fn?: TestFn): Promise<void>;
|
|
145
145
|
function test(fn?: TestFn): Promise<void>;
|
|
146
146
|
namespace test {
|
|
147
|
-
export { after, afterEach, before, beforeEach, describe, it, mock, only, run, skip, test, todo };
|
|
147
|
+
export { after, afterEach, before, beforeEach, describe, it, mock, only, run, skip, suite, test, todo };
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* The `suite()` function is imported from the `node:test` module.
|
|
@@ -160,7 +160,7 @@ declare module "node:test" {
|
|
|
160
160
|
function suite(fn?: SuiteFn): Promise<void>;
|
|
161
161
|
namespace suite {
|
|
162
162
|
/**
|
|
163
|
-
* Shorthand for skipping a suite. This is the same as [`suite([name], { skip: true }[, fn])`](https://nodejs.org/docs/latest-
|
|
163
|
+
* Shorthand for skipping a suite. This is the same as [`suite([name], { skip: true }[, fn])`](https://nodejs.org/docs/latest-v22.x/api/test.html#suitename-options-fn).
|
|
164
164
|
* @since v20.13.0
|
|
165
165
|
*/
|
|
166
166
|
function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
@@ -168,7 +168,7 @@ declare module "node:test" {
|
|
|
168
168
|
function skip(options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
169
169
|
function skip(fn?: SuiteFn): Promise<void>;
|
|
170
170
|
/**
|
|
171
|
-
* Shorthand for marking a suite as `TODO`. This is the same as [`suite([name], { todo: true }[, fn])`](https://nodejs.org/docs/latest-
|
|
171
|
+
* Shorthand for marking a suite as `TODO`. This is the same as [`suite([name], { todo: true }[, fn])`](https://nodejs.org/docs/latest-v22.x/api/test.html#suitename-options-fn).
|
|
172
172
|
* @since v20.13.0
|
|
173
173
|
*/
|
|
174
174
|
function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
@@ -176,7 +176,7 @@ declare module "node:test" {
|
|
|
176
176
|
function todo(options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
177
177
|
function todo(fn?: SuiteFn): Promise<void>;
|
|
178
178
|
/**
|
|
179
|
-
* Shorthand for marking a suite as `only`. This is the same as [`suite([name], { only: true }[, fn])`](https://nodejs.org/docs/latest-
|
|
179
|
+
* Shorthand for marking a suite as `only`. This is the same as [`suite([name], { only: true }[, fn])`](https://nodejs.org/docs/latest-v22.x/api/test.html#suitename-options-fn).
|
|
180
180
|
* @since v20.13.0
|
|
181
181
|
*/
|
|
182
182
|
function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
@@ -195,7 +195,7 @@ declare module "node:test" {
|
|
|
195
195
|
function describe(fn?: SuiteFn): Promise<void>;
|
|
196
196
|
namespace describe {
|
|
197
197
|
/**
|
|
198
|
-
* Shorthand for skipping a suite. This is the same as [`describe([name], { skip: true }[, fn])`](https://nodejs.org/docs/latest-
|
|
198
|
+
* Shorthand for skipping a suite. This is the same as [`describe([name], { skip: true }[, fn])`](https://nodejs.org/docs/latest-v22.x/api/test.html#describename-options-fn).
|
|
199
199
|
* @since v18.15.0
|
|
200
200
|
*/
|
|
201
201
|
function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
@@ -203,7 +203,7 @@ declare module "node:test" {
|
|
|
203
203
|
function skip(options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
204
204
|
function skip(fn?: SuiteFn): Promise<void>;
|
|
205
205
|
/**
|
|
206
|
-
* Shorthand for marking a suite as `TODO`. This is the same as [`describe([name], { todo: true }[, fn])`](https://nodejs.org/docs/latest-
|
|
206
|
+
* Shorthand for marking a suite as `TODO`. This is the same as [`describe([name], { todo: true }[, fn])`](https://nodejs.org/docs/latest-v22.x/api/test.html#describename-options-fn).
|
|
207
207
|
* @since v18.15.0
|
|
208
208
|
*/
|
|
209
209
|
function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
@@ -211,7 +211,7 @@ declare module "node:test" {
|
|
|
211
211
|
function todo(options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
212
212
|
function todo(fn?: SuiteFn): Promise<void>;
|
|
213
213
|
/**
|
|
214
|
-
* Shorthand for marking a suite as `only`. This is the same as [`describe([name], { only: true }[, fn])`](https://nodejs.org/docs/latest-
|
|
214
|
+
* Shorthand for marking a suite as `only`. This is the same as [`describe([name], { only: true }[, fn])`](https://nodejs.org/docs/latest-v22.x/api/test.html#describename-options-fn).
|
|
215
215
|
* @since v18.15.0
|
|
216
216
|
*/
|
|
217
217
|
function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
|
|
@@ -306,7 +306,7 @@ declare module "node:test" {
|
|
|
306
306
|
concurrency?: number | boolean | undefined;
|
|
307
307
|
/**
|
|
308
308
|
* An array containing the list of files to run. **Default** matching files from
|
|
309
|
-
* [test runner execution model](https://nodejs.org/docs/latest-
|
|
309
|
+
* [test runner execution model](https://nodejs.org/docs/latest-v22.x/api/test.html#test-runner-execution-model).
|
|
310
310
|
*/
|
|
311
311
|
files?: readonly string[] | undefined;
|
|
312
312
|
/**
|
|
@@ -1326,6 +1326,7 @@ declare module "node:test" {
|
|
|
1326
1326
|
only,
|
|
1327
1327
|
run,
|
|
1328
1328
|
skip,
|
|
1329
|
+
suite,
|
|
1329
1330
|
SuiteContext,
|
|
1330
1331
|
test,
|
|
1331
1332
|
test as default,
|
|
@@ -1679,7 +1680,7 @@ interface TestStdout extends TestLocationInfo {
|
|
|
1679
1680
|
* import test from 'test/reporters';
|
|
1680
1681
|
* ```
|
|
1681
1682
|
* @since v19.9.0
|
|
1682
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
1683
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/test/reporters.js)
|
|
1683
1684
|
*/
|
|
1684
1685
|
declare module "node:test/reporters" {
|
|
1685
1686
|
import { Transform, TransformOptions } from "node:stream";
|
|
@@ -1720,7 +1721,7 @@ declare module "node:test/reporters" {
|
|
|
1720
1721
|
*/
|
|
1721
1722
|
function junit(source: TestEventGenerator): AsyncGenerator<string, void>;
|
|
1722
1723
|
/**
|
|
1723
|
-
* The `lcov` reporter outputs test coverage when used with the [`--experimental-test-coverage`](https://nodejs.org/docs/latest-
|
|
1724
|
+
* The `lcov` reporter outputs test coverage when used with the [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--experimental-test-coverage) flag.
|
|
1724
1725
|
*/
|
|
1725
1726
|
class Lcov extends Transform {
|
|
1726
1727
|
constructor(opts?: TransformOptions);
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The timer functions within Node.js implement a similar API as the timers API
|
|
7
7
|
* provided by Web Browsers but use a different internal implementation that is
|
|
8
8
|
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/timers.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "timers" {
|
|
12
12
|
import { Abortable } from "node:events";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const tls = require('node:tls');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tls.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "tls" {
|
|
12
12
|
import { X509Certificate } from "node:crypto";
|
|
@@ -1155,7 +1155,7 @@ declare module "tls" {
|
|
|
1155
1155
|
* the `ciphers` option of `{@link createSecureContext}`.
|
|
1156
1156
|
*
|
|
1157
1157
|
* Not all supported ciphers are enabled by default. See
|
|
1158
|
-
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-
|
|
1158
|
+
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v22.x/api/tls.html#modifying-the-default-tls-cipher-suite).
|
|
1159
1159
|
*
|
|
1160
1160
|
* Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
|
|
1161
1161
|
* TLSv1.2 and below.
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* The available categories are:
|
|
10
10
|
*
|
|
11
11
|
* * `node`: An empty placeholder.
|
|
12
|
-
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-
|
|
13
|
-
* The [`async_hooks`](https://nodejs.org/docs/latest-
|
|
12
|
+
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) trace data.
|
|
13
|
+
* The [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
|
|
14
14
|
* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
|
|
15
15
|
* * `node.console`: Enables capture of `console.time()` and `console.count()` output.
|
|
16
16
|
* * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* * `node.fs_dir.sync`: Enables capture of trace data for file system sync directory methods.
|
|
23
23
|
* * `node.fs.async`: Enables capture of trace data for file system async methods.
|
|
24
24
|
* * `node.fs_dir.async`: Enables capture of trace data for file system async directory methods.
|
|
25
|
-
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-
|
|
25
|
+
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v22.x/api/perf_hooks.html) measurements.
|
|
26
26
|
* * `node.perf.usertiming`: Enables capture of only Performance API User Timing
|
|
27
27
|
* measures and marks.
|
|
28
28
|
* * `node.perf.timerify`: Enables capture of only Performance API timerify
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* * `node.promises.rejections`: Enables capture of trace data tracking the number
|
|
31
31
|
* of unhandled Promise rejections and handled-after-rejections.
|
|
32
32
|
* * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
|
|
33
|
-
* * `v8`: The [V8](https://nodejs.org/docs/latest-
|
|
33
|
+
* * `v8`: The [V8](https://nodejs.org/docs/latest-v22.x/api/v8.html) events are GC, compiling, and execution related.
|
|
34
34
|
* * `node.http`: Enables capture of trace data for http request / response.
|
|
35
35
|
*
|
|
36
36
|
* By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
* However the trace-event timestamps are expressed in microseconds,
|
|
89
89
|
* unlike `process.hrtime()` which returns nanoseconds.
|
|
90
90
|
*
|
|
91
|
-
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-
|
|
91
|
+
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html#class-worker) threads.
|
|
92
92
|
* @experimental
|
|
93
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
93
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/trace_events.js)
|
|
94
94
|
*/
|
|
95
95
|
declare module "trace_events" {
|
|
96
96
|
/**
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* In most cases, there should be little to no reason for an application to
|
|
23
23
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
|
|
24
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
24
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tty.js)
|
|
25
25
|
*/
|
|
26
26
|
declare module "tty" {
|
|
27
27
|
import * as net from "node:net";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* import url from 'node:url';
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/url.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module "url" {
|
|
11
11
|
import { Blob as NodeBlob } from "node:buffer";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const util = require('node:util');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/util.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "util" {
|
|
12
12
|
import * as types from "node:util/types";
|
|
@@ -1269,7 +1269,7 @@ declare module "util" {
|
|
|
1269
1269
|
* );
|
|
1270
1270
|
* ```
|
|
1271
1271
|
*
|
|
1272
|
-
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-
|
|
1272
|
+
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v22.x/api/util.html#modifiers).
|
|
1273
1273
|
* @param format A text format or an Array of text formats defined in `util.inspect.colors`.
|
|
1274
1274
|
* @param text The text to to be formatted.
|
|
1275
1275
|
* @since v20.12.0
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ```js
|
|
5
5
|
* const v8 = require('node:v8');
|
|
6
6
|
* ```
|
|
7
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
7
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/v8.js)
|
|
8
8
|
*/
|
|
9
9
|
declare module "v8" {
|
|
10
10
|
import { Readable } from "node:stream";
|
|
@@ -466,7 +466,7 @@ declare module "v8" {
|
|
|
466
466
|
function stopCoverage(): void;
|
|
467
467
|
/**
|
|
468
468
|
* The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once.
|
|
469
|
-
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-
|
|
469
|
+
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
|
|
470
470
|
* @experimental
|
|
471
471
|
* @since v18.10.0, v16.18.0
|
|
472
472
|
*/
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
*
|
|
35
35
|
* console.log(x); // 1; y is not defined.
|
|
36
36
|
* ```
|
|
37
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
37
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/vm.js)
|
|
38
38
|
*/
|
|
39
39
|
declare module "vm" {
|
|
40
40
|
import { ImportAttributes } from "node:module";
|
|
@@ -66,7 +66,7 @@ declare module "vm" {
|
|
|
66
66
|
/**
|
|
67
67
|
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
|
|
68
68
|
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
|
|
69
|
-
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-
|
|
69
|
+
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
|
|
70
70
|
*/
|
|
71
71
|
importModuleDynamically?:
|
|
72
72
|
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
|
|
@@ -348,9 +348,9 @@ declare module "vm" {
|
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
350
|
* If given a `contextObject`, the `vm.createContext()` method will
|
|
351
|
-
* [prepare that object](https://nodejs.org/docs/latest-
|
|
351
|
+
* [prepare that object](https://nodejs.org/docs/latest-v22.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
|
|
352
352
|
* and return a reference to it so that it can be used in `{@link runInContext}` or
|
|
353
|
-
* [`script.runInContext()`](https://nodejs.org/docs/latest-
|
|
353
|
+
* [`script.runInContext()`](https://nodejs.org/docs/latest-v22.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
|
|
354
354
|
* scripts, the `contextObject` will be the global object, retaining all of its
|
|
355
355
|
* existing properties but also having the built-in objects and functions any
|
|
356
356
|
* standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global
|
|
@@ -598,8 +598,6 @@ declare module "vm" {
|
|
|
598
598
|
specifier: string,
|
|
599
599
|
referencingModule: Module,
|
|
600
600
|
extra: {
|
|
601
|
-
/** @deprecated Use `attributes` instead */
|
|
602
|
-
assert: ImportAttributes;
|
|
603
601
|
attributes: ImportAttributes;
|
|
604
602
|
},
|
|
605
603
|
) => Module | Promise<Module>;
|
|
@@ -914,7 +912,7 @@ declare module "vm" {
|
|
|
914
912
|
* and `vm.compileFunction()` so that Node.js uses the default ESM loader from the main
|
|
915
913
|
* context to load the requested module.
|
|
916
914
|
*
|
|
917
|
-
* For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-
|
|
915
|
+
* For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
|
|
918
916
|
*/
|
|
919
917
|
const USE_MAIN_CONTEXT_DEFAULT_LOADER: number;
|
|
920
918
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
* wat2wasm demo.wat
|
|
68
68
|
* ```
|
|
69
69
|
* @experimental
|
|
70
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
70
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/wasi.js)
|
|
71
71
|
*/
|
|
72
72
|
declare module "wasi" {
|
|
73
73
|
interface WASIOptions {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
*
|
|
50
50
|
* Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
|
|
51
51
|
* specifically `argv` and `execArgv` options.
|
|
52
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
52
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/worker_threads.js)
|
|
53
53
|
*/
|
|
54
54
|
declare module "worker_threads" {
|
|
55
55
|
import { Blob } from "node:buffer";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
11
|
* Compression and decompression are built around the Node.js
|
|
12
|
-
* [Streams API](https://nodejs.org/docs/latest-
|
|
12
|
+
* [Streams API](https://nodejs.org/docs/latest-v22.x/api/stream.html).
|
|
13
13
|
*
|
|
14
14
|
* Compressing or decompressing a stream (such as a file) can be accomplished by
|
|
15
15
|
* piping the source stream through a `zlib` `Transform` stream into a destination
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
* });
|
|
90
90
|
* ```
|
|
91
91
|
* @since v0.5.8
|
|
92
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
92
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/zlib.js)
|
|
93
93
|
*/
|
|
94
94
|
declare module "zlib" {
|
|
95
95
|
import * as stream from "node:stream";
|
|
@@ -143,7 +143,7 @@ declare module "zlib" {
|
|
|
143
143
|
}
|
|
144
144
|
| undefined;
|
|
145
145
|
/**
|
|
146
|
-
* Limits output size when using [convenience methods](https://nodejs.org/docs/latest-
|
|
146
|
+
* Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
|
|
147
147
|
* @default buffer.kMaxLength
|
|
148
148
|
*/
|
|
149
149
|
maxOutputLength?: number | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Matteo Collina and Undici contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# undici-types
|
|
2
|
+
|
|
3
|
+
This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version.
|
|
4
|
+
|
|
5
|
+
- [GitHub nodejs/undici](https://github.com/nodejs/undici)
|
|
6
|
+
- [Undici Documentation](https://undici.nodejs.org/#/)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { URL } from 'url'
|
|
2
|
+
import Pool from './pool'
|
|
3
|
+
import Dispatcher from "./dispatcher";
|
|
4
|
+
|
|
5
|
+
export default Agent
|
|
6
|
+
|
|
7
|
+
declare class Agent extends Dispatcher{
|
|
8
|
+
constructor(opts?: Agent.Options)
|
|
9
|
+
/** `true` after `dispatcher.close()` has been called. */
|
|
10
|
+
closed: boolean;
|
|
11
|
+
/** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */
|
|
12
|
+
destroyed: boolean;
|
|
13
|
+
/** Dispatches a request. */
|
|
14
|
+
dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare namespace Agent {
|
|
18
|
+
export interface Options extends Pool.Options {
|
|
19
|
+
/** Default: `(origin, opts) => new Pool(origin, opts)`. */
|
|
20
|
+
factory?(origin: string | URL, opts: Object): Dispatcher;
|
|
21
|
+
/** Integer. Default: `0` */
|
|
22
|
+
maxRedirections?: number;
|
|
23
|
+
|
|
24
|
+
interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface DispatchOptions extends Dispatcher.DispatchOptions {
|
|
28
|
+
/** Integer. */
|
|
29
|
+
maxRedirections?: number;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { URL, UrlObject } from 'url'
|
|
2
|
+
import { Duplex } from 'stream'
|
|
3
|
+
import Dispatcher from './dispatcher'
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
request,
|
|
7
|
+
stream,
|
|
8
|
+
pipeline,
|
|
9
|
+
connect,
|
|
10
|
+
upgrade,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** Performs an HTTP request. */
|
|
14
|
+
declare function request(
|
|
15
|
+
url: string | URL | UrlObject,
|
|
16
|
+
options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path' | 'method'> & Partial<Pick<Dispatcher.RequestOptions, 'method'>>,
|
|
17
|
+
): Promise<Dispatcher.ResponseData>;
|
|
18
|
+
|
|
19
|
+
/** A faster version of `request`. */
|
|
20
|
+
declare function stream(
|
|
21
|
+
url: string | URL | UrlObject,
|
|
22
|
+
options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path'>,
|
|
23
|
+
factory: Dispatcher.StreamFactory
|
|
24
|
+
): Promise<Dispatcher.StreamData>;
|
|
25
|
+
|
|
26
|
+
/** For easy use with `stream.pipeline`. */
|
|
27
|
+
declare function pipeline(
|
|
28
|
+
url: string | URL | UrlObject,
|
|
29
|
+
options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions, 'origin' | 'path'>,
|
|
30
|
+
handler: Dispatcher.PipelineHandler
|
|
31
|
+
): Duplex;
|
|
32
|
+
|
|
33
|
+
/** Starts two-way communications with the requested resource. */
|
|
34
|
+
declare function connect(
|
|
35
|
+
url: string | URL | UrlObject,
|
|
36
|
+
options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'>
|
|
37
|
+
): Promise<Dispatcher.ConnectData>;
|
|
38
|
+
|
|
39
|
+
/** Upgrade to a different protocol. */
|
|
40
|
+
declare function upgrade(
|
|
41
|
+
url: string | URL | UrlObject,
|
|
42
|
+
options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.UpgradeOptions, 'origin' | 'path'>
|
|
43
|
+
): Promise<Dispatcher.UpgradeData>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import Pool from './pool'
|
|
2
|
+
import Dispatcher from './dispatcher'
|
|
3
|
+
import { URL } from 'url'
|
|
4
|
+
|
|
5
|
+
export default BalancedPool
|
|
6
|
+
|
|
7
|
+
type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
|
|
8
|
+
|
|
9
|
+
declare class BalancedPool extends Dispatcher {
|
|
10
|
+
constructor(url: string | string[] | URL | URL[], options?: Pool.Options);
|
|
11
|
+
|
|
12
|
+
addUpstream(upstream: string | URL): BalancedPool;
|
|
13
|
+
removeUpstream(upstream: string | URL): BalancedPool;
|
|
14
|
+
upstreams: Array<string>;
|
|
15
|
+
|
|
16
|
+
/** `true` after `pool.close()` has been called. */
|
|
17
|
+
closed: boolean;
|
|
18
|
+
/** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
|
|
19
|
+
destroyed: boolean;
|
|
20
|
+
|
|
21
|
+
// Override dispatcher APIs.
|
|
22
|
+
override connect(
|
|
23
|
+
options: BalancedPoolConnectOptions
|
|
24
|
+
): Promise<Dispatcher.ConnectData>;
|
|
25
|
+
override connect(
|
|
26
|
+
options: BalancedPoolConnectOptions,
|
|
27
|
+
callback: (err: Error | null, data: Dispatcher.ConnectData) => void
|
|
28
|
+
): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { RequestInfo, Response, Request } from './fetch'
|
|
2
|
+
|
|
3
|
+
export interface CacheStorage {
|
|
4
|
+
match (request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>,
|
|
5
|
+
has (cacheName: string): Promise<boolean>,
|
|
6
|
+
open (cacheName: string): Promise<Cache>,
|
|
7
|
+
delete (cacheName: string): Promise<boolean>,
|
|
8
|
+
keys (): Promise<string[]>
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare const CacheStorage: {
|
|
12
|
+
prototype: CacheStorage
|
|
13
|
+
new(): CacheStorage
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface Cache {
|
|
17
|
+
match (request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>,
|
|
18
|
+
matchAll (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Response[]>,
|
|
19
|
+
add (request: RequestInfo): Promise<undefined>,
|
|
20
|
+
addAll (requests: RequestInfo[]): Promise<undefined>,
|
|
21
|
+
put (request: RequestInfo, response: Response): Promise<undefined>,
|
|
22
|
+
delete (request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>,
|
|
23
|
+
keys (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Request[]>
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface CacheQueryOptions {
|
|
27
|
+
ignoreSearch?: boolean,
|
|
28
|
+
ignoreMethod?: boolean,
|
|
29
|
+
ignoreVary?: boolean
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface MultiCacheQueryOptions extends CacheQueryOptions {
|
|
33
|
+
cacheName?: string
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export declare const caches: CacheStorage
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { URL } from 'url'
|
|
2
|
+
import { TlsOptions } from 'tls'
|
|
3
|
+
import Dispatcher from './dispatcher'
|
|
4
|
+
import buildConnector from "./connector";
|
|
5
|
+
|
|
6
|
+
type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A basic HTTP/1.1 client, mapped on top a single TCP/TLS connection. Pipelining is disabled by default.
|
|
10
|
+
*/
|
|
11
|
+
export class Client extends Dispatcher {
|
|
12
|
+
constructor(url: string | URL, options?: Client.Options);
|
|
13
|
+
/** Property to get and set the pipelining factor. */
|
|
14
|
+
pipelining: number;
|
|
15
|
+
/** `true` after `client.close()` has been called. */
|
|
16
|
+
closed: boolean;
|
|
17
|
+
/** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
|
|
18
|
+
destroyed: boolean;
|
|
19
|
+
|
|
20
|
+
// Override dispatcher APIs.
|
|
21
|
+
override connect(
|
|
22
|
+
options: ClientConnectOptions
|
|
23
|
+
): Promise<Dispatcher.ConnectData>;
|
|
24
|
+
override connect(
|
|
25
|
+
options: ClientConnectOptions,
|
|
26
|
+
callback: (err: Error | null, data: Dispatcher.ConnectData) => void
|
|
27
|
+
): void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare namespace Client {
|
|
31
|
+
export interface OptionsInterceptors {
|
|
32
|
+
Client: readonly Dispatcher.DispatchInterceptor[];
|
|
33
|
+
}
|
|
34
|
+
export interface Options {
|
|
35
|
+
/** TODO */
|
|
36
|
+
interceptors?: OptionsInterceptors;
|
|
37
|
+
/** The maximum length of request headers in bytes. Default: Node.js' `--max-http-header-size` or `16384` (16KiB). */
|
|
38
|
+
maxHeaderSize?: number;
|
|
39
|
+
/** The amount of time, in milliseconds, the parser will wait to receive the complete HTTP headers (Node 14 and above only). Default: `300e3` milliseconds (300s). */
|
|
40
|
+
headersTimeout?: number;
|
|
41
|
+
/** @deprecated unsupported socketTimeout, use headersTimeout & bodyTimeout instead */
|
|
42
|
+
socketTimeout?: never;
|
|
43
|
+
/** @deprecated unsupported requestTimeout, use headersTimeout & bodyTimeout instead */
|
|
44
|
+
requestTimeout?: never;
|
|
45
|
+
/** TODO */
|
|
46
|
+
connectTimeout?: number;
|
|
47
|
+
/** The timeout after which a request will time out, in milliseconds. Monitors time between receiving body data. Use `0` to disable it entirely. Default: `300e3` milliseconds (300s). */
|
|
48
|
+
bodyTimeout?: number;
|
|
49
|
+
/** @deprecated unsupported idleTimeout, use keepAliveTimeout instead */
|
|
50
|
+
idleTimeout?: never;
|
|
51
|
+
/** @deprecated unsupported keepAlive, use pipelining=0 instead */
|
|
52
|
+
keepAlive?: never;
|
|
53
|
+
/** the timeout, in milliseconds, after which a socket without active requests will time out. Monitors time between activity on a connected socket. This value may be overridden by *keep-alive* hints from the server. Default: `4e3` milliseconds (4s). */
|
|
54
|
+
keepAliveTimeout?: number;
|
|
55
|
+
/** @deprecated unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead */
|
|
56
|
+
maxKeepAliveTimeout?: never;
|
|
57
|
+
/** the maximum allowed `idleTimeout`, in milliseconds, when overridden by *keep-alive* hints from the server. Default: `600e3` milliseconds (10min). */
|
|
58
|
+
keepAliveMaxTimeout?: number;
|
|
59
|
+
/** A number of milliseconds subtracted from server *keep-alive* hints when overriding `idleTimeout` to account for timing inaccuracies caused by e.g. transport latency. Default: `1e3` milliseconds (1s). */
|
|
60
|
+
keepAliveTimeoutThreshold?: number;
|
|
61
|
+
/** TODO */
|
|
62
|
+
socketPath?: string;
|
|
63
|
+
/** The amount of concurrent requests to be sent over the single TCP/TLS connection according to [RFC7230](https://tools.ietf.org/html/rfc7230#section-6.3.2). Default: `1`. */
|
|
64
|
+
pipelining?: number;
|
|
65
|
+
/** @deprecated use the connect option instead */
|
|
66
|
+
tls?: never;
|
|
67
|
+
/** If `true`, an error is thrown when the request content-length header doesn't match the length of the request body. Default: `true`. */
|
|
68
|
+
strictContentLength?: boolean;
|
|
69
|
+
/** TODO */
|
|
70
|
+
maxCachedSessions?: number;
|
|
71
|
+
/** TODO */
|
|
72
|
+
maxRedirections?: number;
|
|
73
|
+
/** TODO */
|
|
74
|
+
connect?: buildConnector.BuildOptions | buildConnector.connector;
|
|
75
|
+
/** TODO */
|
|
76
|
+
maxRequestsPerClient?: number;
|
|
77
|
+
/** TODO */
|
|
78
|
+
localAddress?: string;
|
|
79
|
+
/** Max response body size in bytes, -1 is disabled */
|
|
80
|
+
maxResponseSize?: number;
|
|
81
|
+
/** Enables a family autodetection algorithm that loosely implements section 5 of RFC 8305. */
|
|
82
|
+
autoSelectFamily?: boolean;
|
|
83
|
+
/** The amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the `autoSelectFamily` option. */
|
|
84
|
+
autoSelectFamilyAttemptTimeout?: number;
|
|
85
|
+
/**
|
|
86
|
+
* @description Enables support for H2 if the server has assigned bigger priority to it through ALPN negotiation.
|
|
87
|
+
* @default false
|
|
88
|
+
*/
|
|
89
|
+
allowH2?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
|
|
92
|
+
* @default 100
|
|
93
|
+
*/
|
|
94
|
+
maxConcurrentStreams?: number
|
|
95
|
+
}
|
|
96
|
+
export interface SocketInfo {
|
|
97
|
+
localAddress?: string
|
|
98
|
+
localPort?: number
|
|
99
|
+
remoteAddress?: string
|
|
100
|
+
remotePort?: number
|
|
101
|
+
remoteFamily?: string
|
|
102
|
+
timeout?: number
|
|
103
|
+
bytesWritten?: number
|
|
104
|
+
bytesRead?: number
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export default Client;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TLSSocket, ConnectionOptions } from 'tls'
|
|
2
|
+
import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from 'net'
|
|
3
|
+
|
|
4
|
+
export default buildConnector
|
|
5
|
+
declare function buildConnector (options?: buildConnector.BuildOptions): buildConnector.connector
|
|
6
|
+
|
|
7
|
+
declare namespace buildConnector {
|
|
8
|
+
export type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConnectOpts) & {
|
|
9
|
+
allowH2?: boolean;
|
|
10
|
+
maxCachedSessions?: number | null;
|
|
11
|
+
socketPath?: string | null;
|
|
12
|
+
timeout?: number | null;
|
|
13
|
+
port?: number;
|
|
14
|
+
keepAlive?: boolean | null;
|
|
15
|
+
keepAliveInitialDelay?: number | null;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface Options {
|
|
19
|
+
hostname: string
|
|
20
|
+
host?: string
|
|
21
|
+
protocol: string
|
|
22
|
+
port: string
|
|
23
|
+
servername?: string
|
|
24
|
+
localAddress?: string | null
|
|
25
|
+
httpSocket?: Socket
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type Callback = (...args: CallbackArgs) => void
|
|
29
|
+
type CallbackArgs = [null, Socket | TLSSocket] | [Error, null]
|
|
30
|
+
|
|
31
|
+
export interface connector {
|
|
32
|
+
(options: buildConnector.Options, callback: buildConnector.Callback): void
|
|
33
|
+
}
|
|
34
|
+
}
|