cdk-ecr-deployment 3.0.76 → 3.0.78
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/.jsii.tabl.json +1 -1
- 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/promises.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +24 -36
- 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 +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +32 -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 -22
- 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 +3 -11
- 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/promises.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +24 -36
- 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 +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +32 -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 -22
- 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 +3 -11
- 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/promises.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +24 -36
- 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 +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +32 -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 -22
- 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 +3 -11
- 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 +4 -4
- 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
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* // Prints:
|
|
15
15
|
* // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e
|
|
16
16
|
* ```
|
|
17
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
17
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/crypto.js)
|
|
18
18
|
*/
|
|
19
19
|
declare module "crypto" {
|
|
20
20
|
import * as stream from "node:stream";
|
|
@@ -96,7 +96,7 @@ declare module "crypto" {
|
|
|
96
96
|
verifySpkac(spkac: NodeJS.ArrayBufferView): boolean;
|
|
97
97
|
}
|
|
98
98
|
namespace constants {
|
|
99
|
-
// https://nodejs.org/dist/latest-
|
|
99
|
+
// https://nodejs.org/dist/latest-v22.x/docs/api/crypto.html#crypto-constants
|
|
100
100
|
const OPENSSL_VERSION_NUMBER: number;
|
|
101
101
|
/** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */
|
|
102
102
|
const SSL_OP_ALL: number;
|
|
@@ -688,48 +688,6 @@ declare module "crypto" {
|
|
|
688
688
|
interface CipherOCBOptions extends stream.TransformOptions {
|
|
689
689
|
authTagLength: number;
|
|
690
690
|
}
|
|
691
|
-
/**
|
|
692
|
-
* Creates and returns a `Cipher` object that uses the given `algorithm` and `password`.
|
|
693
|
-
*
|
|
694
|
-
* The `options` argument controls stream behavior and is optional except when a
|
|
695
|
-
* cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the
|
|
696
|
-
* authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication
|
|
697
|
-
* tag that will be returned by `getAuthTag()` and defaults to 16 bytes.
|
|
698
|
-
* For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes.
|
|
699
|
-
*
|
|
700
|
-
* The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On
|
|
701
|
-
* recent OpenSSL releases, `openssl list -cipher-algorithms` will
|
|
702
|
-
* display the available cipher algorithms.
|
|
703
|
-
*
|
|
704
|
-
* The `password` is used to derive the cipher key and initialization vector (IV).
|
|
705
|
-
* The value must be either a `'latin1'` encoded string, a `Buffer`, a`TypedArray`, or a `DataView`.
|
|
706
|
-
*
|
|
707
|
-
* **This function is semantically insecure for all**
|
|
708
|
-
* **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,**
|
|
709
|
-
* **GCM, or CCM).**
|
|
710
|
-
*
|
|
711
|
-
* The implementation of `crypto.createCipher()` derives keys using the OpenSSL
|
|
712
|
-
* function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one
|
|
713
|
-
* iteration, and no salt. The lack of salt allows dictionary attacks as the same
|
|
714
|
-
* password always creates the same key. The low iteration count and
|
|
715
|
-
* non-cryptographically secure hash algorithm allow passwords to be tested very
|
|
716
|
-
* rapidly.
|
|
717
|
-
*
|
|
718
|
-
* In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that
|
|
719
|
-
* developers derive a key and IV on
|
|
720
|
-
* their own using {@link scrypt} and to use {@link createCipheriv} to create the `Cipher` object. Users should not use ciphers with counter mode
|
|
721
|
-
* (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when
|
|
722
|
-
* they are used in order to avoid the risk of IV reuse that causes
|
|
723
|
-
* vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting Adversaries](https://github.com/nonce-disrespect/nonce-disrespect) for details.
|
|
724
|
-
* @since v0.1.94
|
|
725
|
-
* @deprecated Since v10.0.0 - Use {@link createCipheriv} instead.
|
|
726
|
-
* @param options `stream.transform` options
|
|
727
|
-
*/
|
|
728
|
-
function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM;
|
|
729
|
-
/** @deprecated since v10.0.0 use `createCipheriv()` */
|
|
730
|
-
function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM;
|
|
731
|
-
/** @deprecated since v10.0.0 use `createCipheriv()` */
|
|
732
|
-
function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher;
|
|
733
691
|
/**
|
|
734
692
|
* Creates and returns a `Cipher` object, with the given `algorithm`, `key` and
|
|
735
693
|
* initialization vector (`iv`).
|
|
@@ -793,7 +751,7 @@ declare module "crypto" {
|
|
|
793
751
|
* * Using the `cipher.update()` and `cipher.final()` methods to produce
|
|
794
752
|
* the encrypted data.
|
|
795
753
|
*
|
|
796
|
-
* The {@link
|
|
754
|
+
* The {@link createCipheriv} method is
|
|
797
755
|
* used to create `Cipher` instances. `Cipher` objects are not to be created
|
|
798
756
|
* directly using the `new` keyword.
|
|
799
757
|
*
|
|
@@ -977,37 +935,6 @@ declare module "crypto" {
|
|
|
977
935
|
): this;
|
|
978
936
|
getAuthTag(): Buffer;
|
|
979
937
|
}
|
|
980
|
-
/**
|
|
981
|
-
* Creates and returns a `Decipher` object that uses the given `algorithm` and `password` (key).
|
|
982
|
-
*
|
|
983
|
-
* The `options` argument controls stream behavior and is optional except when a
|
|
984
|
-
* cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the `authTagLength` option is required and specifies the length of the
|
|
985
|
-
* authentication tag in bytes, see `CCM mode`.
|
|
986
|
-
* For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes.
|
|
987
|
-
*
|
|
988
|
-
* **This function is semantically insecure for all**
|
|
989
|
-
* **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,**
|
|
990
|
-
* **GCM, or CCM).**
|
|
991
|
-
*
|
|
992
|
-
* The implementation of `crypto.createDecipher()` derives keys using the OpenSSL
|
|
993
|
-
* function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one
|
|
994
|
-
* iteration, and no salt. The lack of salt allows dictionary attacks as the same
|
|
995
|
-
* password always creates the same key. The low iteration count and
|
|
996
|
-
* non-cryptographically secure hash algorithm allow passwords to be tested very
|
|
997
|
-
* rapidly.
|
|
998
|
-
*
|
|
999
|
-
* In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that
|
|
1000
|
-
* developers derive a key and IV on
|
|
1001
|
-
* their own using {@link scrypt} and to use {@link createDecipheriv} to create the `Decipher` object.
|
|
1002
|
-
* @since v0.1.94
|
|
1003
|
-
* @deprecated Since v10.0.0 - Use {@link createDecipheriv} instead.
|
|
1004
|
-
* @param options `stream.transform` options
|
|
1005
|
-
*/
|
|
1006
|
-
function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM;
|
|
1007
|
-
/** @deprecated since v10.0.0 use `createDecipheriv()` */
|
|
1008
|
-
function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
|
|
1009
|
-
/** @deprecated since v10.0.0 use `createDecipheriv()` */
|
|
1010
|
-
function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher;
|
|
1011
938
|
/**
|
|
1012
939
|
* Creates and returns a `Decipher` object that uses the given `algorithm`, `key` and initialization vector (`iv`).
|
|
1013
940
|
*
|
|
@@ -1070,7 +997,7 @@ declare module "crypto" {
|
|
|
1070
997
|
* * Using the `decipher.update()` and `decipher.final()` methods to
|
|
1071
998
|
* produce the unencrypted data.
|
|
1072
999
|
*
|
|
1073
|
-
* The {@link
|
|
1000
|
+
* The {@link createDecipheriv} method is
|
|
1074
1001
|
* used to create `Decipher` instances. `Decipher` objects are not to be created
|
|
1075
1002
|
* directly using the `new` keyword.
|
|
1076
1003
|
*
|
|
@@ -3406,7 +3333,7 @@ declare module "crypto" {
|
|
|
3406
3333
|
* @since v21.7.0, v20.12.0
|
|
3407
3334
|
* @param data When `data` is a string, it will be encoded as UTF-8 before being hashed. If a different input encoding is desired for a string input, user
|
|
3408
3335
|
* could encode the string into a `TypedArray` using either `TextEncoder` or `Buffer.from()` and passing the encoded `TypedArray` into this API instead.
|
|
3409
|
-
* @param [outputEncoding='hex'] [Encoding](https://nodejs.org/docs/latest-
|
|
3336
|
+
* @param [outputEncoding='hex'] [Encoding](https://nodejs.org/docs/latest-v22.x/api/buffer.html#buffers-and-character-encodings) used to encode the returned digest.
|
|
3410
3337
|
*/
|
|
3411
3338
|
function hash(algorithm: string, data: BinaryLike, outputEncoding?: BinaryToTextEncoding): string;
|
|
3412
3339
|
function hash(algorithm: string, data: BinaryLike, outputEncoding: "buffer"): Buffer;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* server.bind(41234);
|
|
24
24
|
* // Prints: server listening 0.0.0.0:41234
|
|
25
25
|
* ```
|
|
26
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
26
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/dgram.js)
|
|
27
27
|
*/
|
|
28
28
|
declare module "dgram" {
|
|
29
29
|
import { AddressInfo } from "node:net";
|
package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* should generally include the module name to avoid collisions with data from
|
|
21
21
|
* other modules.
|
|
22
22
|
* @since v15.1.0, v14.17.0
|
|
23
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
23
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/diagnostics_channel.js)
|
|
24
24
|
*/
|
|
25
25
|
declare module "diagnostics_channel" {
|
|
26
26
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -346,20 +346,20 @@ declare module "dns/promises" {
|
|
|
346
346
|
*/
|
|
347
347
|
function setServers(servers: readonly string[]): void;
|
|
348
348
|
/**
|
|
349
|
-
* Set the default value of `
|
|
349
|
+
* Set the default value of `verbatim` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnspromiseslookuphostname-options).
|
|
350
|
+
* The value could be:
|
|
350
351
|
*
|
|
351
|
-
* * `ipv4first`: sets default `
|
|
352
|
-
* * `
|
|
353
|
-
* * `verbatim`: sets default `order` to `verbatim`.
|
|
352
|
+
* * `ipv4first`: sets default `verbatim` to `false`.
|
|
353
|
+
* * `verbatim`: sets default `verbatim` to `true`.
|
|
354
354
|
*
|
|
355
|
-
* The default is `verbatim` and
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
355
|
+
* The default is `verbatim` and {@link setDefaultResultOrder} have higher
|
|
356
|
+
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--dns-result-orderorder). When using
|
|
357
|
+
* [worker threads](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html), {@link setDefaultResultOrder} from the main
|
|
358
|
+
* thread won't affect the default dns orders in workers.
|
|
359
359
|
* @since v16.4.0, v14.18.0
|
|
360
|
-
* @param order must be `'ipv4first'
|
|
360
|
+
* @param order must be `'ipv4first'` or `'verbatim'`.
|
|
361
361
|
*/
|
|
362
|
-
function setDefaultResultOrder(order: "ipv4first" | "
|
|
362
|
+
function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void;
|
|
363
363
|
// Error codes
|
|
364
364
|
const NODATA: "ENODATA";
|
|
365
365
|
const FORMERR: "EFORMERR";
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
|
-
* See the [Implementation considerations section](https://nodejs.org/docs/latest-
|
|
45
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
44
|
+
* See the [Implementation considerations section](https://nodejs.org/docs/latest-v22.x/api/dns.html#implementation-considerations) for more information.
|
|
45
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/dns.js)
|
|
46
46
|
*/
|
|
47
47
|
declare module "dns" {
|
|
48
48
|
import * as dnsPromises from "node:dns/promises";
|
|
@@ -71,7 +71,7 @@ declare module "dns" {
|
|
|
71
71
|
*/
|
|
72
72
|
family?: number | "IPv4" | "IPv6" | undefined;
|
|
73
73
|
/**
|
|
74
|
-
* One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-
|
|
74
|
+
* One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-v22.x/api/dns.html#supported-getaddrinfo-flags) flags. Multiple flags may be
|
|
75
75
|
* passed by bitwise `OR`ing their values.
|
|
76
76
|
*/
|
|
77
77
|
hints?: number | undefined;
|
|
@@ -80,20 +80,11 @@ declare module "dns" {
|
|
|
80
80
|
* @default false
|
|
81
81
|
*/
|
|
82
82
|
all?: boolean | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* When `verbatim`, the resolved addresses are return unsorted. When `ipv4first`, the resolved addresses are sorted
|
|
85
|
-
* by placing IPv4 addresses before IPv6 addresses. When `ipv6first`, the resolved addresses are sorted by placing IPv6
|
|
86
|
-
* addresses before IPv4 addresses. Default value is configurable using
|
|
87
|
-
* {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
|
|
88
|
-
* @default `verbatim` (addresses are not reordered)
|
|
89
|
-
*/
|
|
90
|
-
order?: "ipv4first" | "ipv6first" | "verbatim" | undefined;
|
|
91
83
|
/**
|
|
92
84
|
* When `true`, the callback receives IPv4 and IPv6 addresses in the order the DNS resolver returned them. When `false`, IPv4
|
|
93
|
-
* addresses are placed before IPv6 addresses.
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @default true (addresses are not reordered)
|
|
85
|
+
* addresses are placed before IPv6 addresses. Default value is configurable using {@link setDefaultResultOrder}
|
|
86
|
+
* or [`--dns-result-order`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--dns-result-orderorder).
|
|
87
|
+
* @default true
|
|
97
88
|
*/
|
|
98
89
|
verbatim?: boolean | undefined;
|
|
99
90
|
}
|
|
@@ -132,7 +123,7 @@ declare module "dns" {
|
|
|
132
123
|
* The implementation uses an operating system facility that can associate names
|
|
133
124
|
* with addresses and vice versa. This implementation can have subtle but
|
|
134
125
|
* important consequences on the behavior of any Node.js program. Please take some
|
|
135
|
-
* time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-
|
|
126
|
+
* time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v22.x/api/dns.html#implementation-considerations)
|
|
136
127
|
* before using `dns.lookup()`.
|
|
137
128
|
*
|
|
138
129
|
* Example usage:
|
|
@@ -154,7 +145,7 @@ declare module "dns" {
|
|
|
154
145
|
* // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
|
|
155
146
|
* ```
|
|
156
147
|
*
|
|
157
|
-
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-
|
|
148
|
+
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v22.x/api/util.html#utilpromisifyoriginal) ed
|
|
158
149
|
* version, and `all` is not set to `true`, it returns a `Promise` for an `Object` with `address` and `family` properties.
|
|
159
150
|
* @since v0.1.90
|
|
160
151
|
*/
|
|
@@ -194,7 +185,7 @@ declare module "dns" {
|
|
|
194
185
|
* If `address` is not a valid IP address, a `TypeError` will be thrown.
|
|
195
186
|
* The `port` will be coerced to a number. If it is not a legal port, a `TypeError` will be thrown.
|
|
196
187
|
*
|
|
197
|
-
* On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-
|
|
188
|
+
* On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) object,
|
|
198
189
|
* where `err.code` is the error code.
|
|
199
190
|
*
|
|
200
191
|
* ```js
|
|
@@ -205,7 +196,7 @@ declare module "dns" {
|
|
|
205
196
|
* });
|
|
206
197
|
* ```
|
|
207
198
|
*
|
|
208
|
-
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-
|
|
199
|
+
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v22.x/api/util.html#utilpromisifyoriginal) ed
|
|
209
200
|
* version, it returns a `Promise` for an `Object` with `hostname` and `service` properties.
|
|
210
201
|
* @since v0.11.14
|
|
211
202
|
*/
|
|
@@ -322,7 +313,7 @@ declare module "dns" {
|
|
|
322
313
|
*
|
|
323
314
|
* <omitted>
|
|
324
315
|
*
|
|
325
|
-
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-
|
|
316
|
+
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) object,
|
|
326
317
|
* where `err.code` is one of the `DNS error codes`.
|
|
327
318
|
* @since v0.1.27
|
|
328
319
|
* @param hostname Host name to resolve.
|
|
@@ -663,8 +654,8 @@ declare module "dns" {
|
|
|
663
654
|
* Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
|
|
664
655
|
* array of host names.
|
|
665
656
|
*
|
|
666
|
-
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-
|
|
667
|
-
* one of the [DNS error codes](https://nodejs.org/docs/latest-
|
|
657
|
+
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) object, where `err.code` is
|
|
658
|
+
* one of the [DNS error codes](https://nodejs.org/docs/latest-v22.x/api/dns.html#error-codes).
|
|
668
659
|
* @since v0.1.16
|
|
669
660
|
*/
|
|
670
661
|
export function reverse(
|
|
@@ -672,15 +663,14 @@ declare module "dns" {
|
|
|
672
663
|
callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void,
|
|
673
664
|
): void;
|
|
674
665
|
/**
|
|
675
|
-
* Get the default value for `
|
|
666
|
+
* Get the default value for `verbatim` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnspromiseslookuphostname-options).
|
|
676
667
|
* The value could be:
|
|
677
668
|
*
|
|
678
|
-
* * `ipv4first`: for `
|
|
679
|
-
* * `
|
|
680
|
-
* * `verbatim`: for `order` defaulting to `verbatim`.
|
|
669
|
+
* * `ipv4first`: for `verbatim` defaulting to `false`.
|
|
670
|
+
* * `verbatim`: for `verbatim` defaulting to `true`.
|
|
681
671
|
* @since v18.17.0
|
|
682
672
|
*/
|
|
683
|
-
export function getDefaultResultOrder(): "ipv4first" | "
|
|
673
|
+
export function getDefaultResultOrder(): "ipv4first" | "verbatim";
|
|
684
674
|
/**
|
|
685
675
|
* Sets the IP address and port of servers to be used when performing DNS
|
|
686
676
|
* resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
|
|
@@ -727,21 +717,19 @@ declare module "dns" {
|
|
|
727
717
|
*/
|
|
728
718
|
export function getServers(): string[];
|
|
729
719
|
/**
|
|
730
|
-
* Set the default value of `
|
|
720
|
+
* Set the default value of `verbatim` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnspromiseslookuphostname-options).
|
|
731
721
|
* The value could be:
|
|
732
722
|
*
|
|
733
|
-
* * `ipv4first`: sets default `
|
|
734
|
-
* * `
|
|
735
|
-
* * `verbatim`: sets default `order` to `verbatim`.
|
|
723
|
+
* * `ipv4first`: sets default `verbatim` to `false`.
|
|
724
|
+
* * `verbatim`: sets default `verbatim` to `true`.
|
|
736
725
|
*
|
|
737
726
|
* The default is `verbatim` and {@link setDefaultResultOrder} have higher
|
|
738
|
-
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-
|
|
739
|
-
* [worker threads](https://nodejs.org/docs/latest-
|
|
727
|
+
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--dns-result-orderorder). When using
|
|
728
|
+
* [worker threads](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html), {@link setDefaultResultOrder} from the main
|
|
740
729
|
* thread won't affect the default dns orders in workers.
|
|
741
730
|
* @since v16.4.0, v14.18.0
|
|
742
|
-
* @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
|
|
743
731
|
*/
|
|
744
|
-
export function setDefaultResultOrder(order: "ipv4first" | "
|
|
732
|
+
export function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void;
|
|
745
733
|
// Error codes
|
|
746
734
|
export const NODATA: "ENODATA";
|
|
747
735
|
export const FORMERR: "EFORMERR";
|
|
@@ -782,7 +770,7 @@ declare module "dns" {
|
|
|
782
770
|
* An independent resolver for DNS requests.
|
|
783
771
|
*
|
|
784
772
|
* Creating a new resolver uses the default server settings. Setting
|
|
785
|
-
* the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-
|
|
773
|
+
* the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnssetserversservers) does not affect
|
|
786
774
|
* other resolvers:
|
|
787
775
|
*
|
|
788
776
|
* ```js
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* will be notified, rather than losing the context of the error in the `process.on('uncaughtException')` handler, or causing the program to
|
|
13
13
|
* exit immediately with an error code.
|
|
14
14
|
* @deprecated Since v1.4.2 - Deprecated
|
|
15
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
15
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/domain.js)
|
|
16
16
|
*/
|
|
17
17
|
declare module "domain" {
|
|
18
18
|
import EventEmitter = require("node:events");
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* });
|
|
33
33
|
* myEmitter.emit('event');
|
|
34
34
|
* ```
|
|
35
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
35
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/events.js)
|
|
36
36
|
*/
|
|
37
37
|
declare module "events" {
|
|
38
38
|
import { AsyncResource, AsyncResourceOptions } from "node:async_hooks";
|
|
@@ -20,6 +20,7 @@ declare module "fs/promises" {
|
|
|
20
20
|
CopyOptions,
|
|
21
21
|
Dir,
|
|
22
22
|
Dirent,
|
|
23
|
+
GlobOptions,
|
|
23
24
|
MakeDirectoryOptions,
|
|
24
25
|
Mode,
|
|
25
26
|
ObjectEncodingOptions,
|
|
@@ -1239,6 +1240,10 @@ declare module "fs/promises" {
|
|
|
1239
1240
|
* @return Fulfills with `undefined` upon success.
|
|
1240
1241
|
*/
|
|
1241
1242
|
function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise<void>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Retrieves the files matching the specified pattern.
|
|
1245
|
+
*/
|
|
1246
|
+
function glob(pattern: string | string[], options?: GlobOptions): AsyncIterableIterator<string>;
|
|
1242
1247
|
}
|
|
1243
1248
|
declare module "node:fs/promises" {
|
|
1244
1249
|
export * from "fs/promises";
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* All file system operations have synchronous, callback, and promise-based
|
|
18
18
|
* forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
|
|
19
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
19
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/fs.js)
|
|
20
20
|
*/
|
|
21
21
|
declare module "fs" {
|
|
22
22
|
import * as stream from "node:stream";
|
|
@@ -130,7 +130,9 @@ declare module "fs" {
|
|
|
130
130
|
* ```
|
|
131
131
|
* @since v0.1.21
|
|
132
132
|
*/
|
|
133
|
-
export class Stats {
|
|
133
|
+
export class Stats {
|
|
134
|
+
private constructor();
|
|
135
|
+
}
|
|
134
136
|
export interface StatsFsBase<T> {
|
|
135
137
|
/** Type of file system. */
|
|
136
138
|
type: T;
|
|
@@ -4311,6 +4313,34 @@ declare module "fs" {
|
|
|
4311
4313
|
* @param dest destination path to copy to.
|
|
4312
4314
|
*/
|
|
4313
4315
|
export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
|
|
4316
|
+
|
|
4317
|
+
export interface GlobOptions {
|
|
4318
|
+
/**
|
|
4319
|
+
* Current working directory.
|
|
4320
|
+
* @default process.cwd()
|
|
4321
|
+
*/
|
|
4322
|
+
cwd?: string | undefined;
|
|
4323
|
+
/**
|
|
4324
|
+
* Function to filter out files/directories. Return true to exclude the item, false to include it.
|
|
4325
|
+
*/
|
|
4326
|
+
exclude?: ((fileName: string) => boolean) | undefined;
|
|
4327
|
+
}
|
|
4328
|
+
/**
|
|
4329
|
+
* Retrieves the files matching the specified pattern.
|
|
4330
|
+
*/
|
|
4331
|
+
export function glob(
|
|
4332
|
+
pattern: string | string[],
|
|
4333
|
+
callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
|
|
4334
|
+
): void;
|
|
4335
|
+
export function glob(
|
|
4336
|
+
pattern: string | string[],
|
|
4337
|
+
options: GlobOptions,
|
|
4338
|
+
callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
|
|
4339
|
+
): void;
|
|
4340
|
+
/**
|
|
4341
|
+
* Retrieves the files matching the specified pattern.
|
|
4342
|
+
*/
|
|
4343
|
+
export function globSync(pattern: string | string[], options?: GlobOptions): string[];
|
|
4314
4344
|
}
|
|
4315
4345
|
declare module "node:fs" {
|
|
4316
4346
|
export * from "fs";
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* 'Host', 'example.com',
|
|
38
38
|
* 'accepT', '*' ]
|
|
39
39
|
* ```
|
|
40
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
40
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/http.js)
|
|
41
41
|
*/
|
|
42
42
|
declare module "http" {
|
|
43
43
|
import * as stream from "node:stream";
|
|
@@ -1442,7 +1442,7 @@ declare module "http" {
|
|
|
1442
1442
|
* });
|
|
1443
1443
|
* ```
|
|
1444
1444
|
*
|
|
1445
|
-
* `options` in [`socket.connect()`](https://nodejs.org/docs/latest-
|
|
1445
|
+
* `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v22.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
|
|
1446
1446
|
*
|
|
1447
1447
|
* To configure any of them, a custom {@link Agent} instance must be created.
|
|
1448
1448
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* const http2 = require('node:http2');
|
|
7
7
|
* ```
|
|
8
8
|
* @since v8.4.0
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/http2.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "http2" {
|
|
12
12
|
import EventEmitter = require("node:events");
|
|
@@ -1668,7 +1668,7 @@ declare module "http2" {
|
|
|
1668
1668
|
* If there were no previous values for the header, this is equivalent to calling {@link setHeader}.
|
|
1669
1669
|
*
|
|
1670
1670
|
* Attempting to set a header field name or value that contains invalid characters will result in a
|
|
1671
|
-
* [TypeError](https://nodejs.org/docs/latest-
|
|
1671
|
+
* [TypeError](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-typeerror) being thrown.
|
|
1672
1672
|
*
|
|
1673
1673
|
* ```js
|
|
1674
1674
|
* // Returns headers including "set-cookie: a" and "set-cookie: b"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
|
|
3
3
|
* separate module.
|
|
4
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
4
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/https.js)
|
|
5
5
|
*/
|
|
6
6
|
declare module "https" {
|
|
7
7
|
import { Duplex } from "node:stream";
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* ```js
|
|
21
21
|
* import * as inspector from 'node:inspector';
|
|
22
22
|
* ```
|
|
23
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
23
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/inspector.js)
|
|
24
24
|
*/
|
|
25
25
|
declare module 'inspector' {
|
|
26
26
|
import EventEmitter = require('node:events');
|
|
@@ -122,8 +122,6 @@ declare module "module" {
|
|
|
122
122
|
*/
|
|
123
123
|
findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
|
|
124
124
|
}
|
|
125
|
-
/** @deprecated Use `ImportAttributes` instead */
|
|
126
|
-
interface ImportAssertions extends ImportAttributes {}
|
|
127
125
|
interface ImportAttributes extends NodeJS.Dict<string> {
|
|
128
126
|
type?: string | undefined;
|
|
129
127
|
}
|
|
@@ -156,10 +154,6 @@ declare module "module" {
|
|
|
156
154
|
* Export conditions of the relevant `package.json`
|
|
157
155
|
*/
|
|
158
156
|
conditions: string[];
|
|
159
|
-
/**
|
|
160
|
-
* @deprecated Use `importAttributes` instead
|
|
161
|
-
*/
|
|
162
|
-
importAssertions: ImportAttributes;
|
|
163
157
|
/**
|
|
164
158
|
* An object whose key-value pairs represent the assertions for the module to import
|
|
165
159
|
*/
|
|
@@ -174,10 +168,6 @@ declare module "module" {
|
|
|
174
168
|
* A hint to the load hook (it might be ignored)
|
|
175
169
|
*/
|
|
176
170
|
format?: ModuleFormat | null | undefined;
|
|
177
|
-
/**
|
|
178
|
-
* @deprecated Use `importAttributes` instead
|
|
179
|
-
*/
|
|
180
|
-
importAssertions?: ImportAttributes | undefined;
|
|
181
171
|
/**
|
|
182
172
|
* The import attributes to use when caching the module (optional; if excluded the input will be used)
|
|
183
173
|
*/
|
|
@@ -218,10 +208,6 @@ declare module "module" {
|
|
|
218
208
|
* The format optionally supplied by the `resolve` hook chain
|
|
219
209
|
*/
|
|
220
210
|
format: ModuleFormat;
|
|
221
|
-
/**
|
|
222
|
-
* @deprecated Use `importAttributes` instead
|
|
223
|
-
*/
|
|
224
|
-
importAssertions: ImportAttributes;
|
|
225
211
|
/**
|
|
226
212
|
* An object whose key-value pairs represent the assertions for the module to import
|
|
227
213
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* ```js
|
|
11
11
|
* const net = require('node:net');
|
|
12
12
|
* ```
|
|
13
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
13
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/net.js)
|
|
14
14
|
*/
|
|
15
15
|
declare module "net" {
|
|
16
16
|
import * as stream from "node:stream";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* const os = require('node:os');
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/os.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module "os" {
|
|
11
11
|
interface CpuInfo {
|
|
@@ -241,7 +241,7 @@ declare module "os" {
|
|
|
241
241
|
* environment variables for the home directory before falling back to the
|
|
242
242
|
* operating system response.
|
|
243
243
|
*
|
|
244
|
-
* Throws a [`SystemError`](https://nodejs.org/docs/latest-
|
|
244
|
+
* Throws a [`SystemError`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
|
|
245
245
|
* @since v6.0.0
|
|
246
246
|
*/
|
|
247
247
|
function userInfo(options: { encoding: "buffer" }): UserInfo<Buffer>;
|
|
@@ -420,7 +420,7 @@ declare module "os" {
|
|
|
420
420
|
* compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`,
|
|
421
421
|
* and `'x64'`.
|
|
422
422
|
*
|
|
423
|
-
* The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-
|
|
423
|
+
* The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v22.x/api/process.html#processarch).
|
|
424
424
|
* @since v0.5.0
|
|
425
425
|
*/
|
|
426
426
|
function arch(): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.1",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -210,8 +210,8 @@
|
|
|
210
210
|
},
|
|
211
211
|
"scripts": {},
|
|
212
212
|
"dependencies": {
|
|
213
|
-
"undici-types": "~
|
|
213
|
+
"undici-types": "~6.11.1"
|
|
214
214
|
},
|
|
215
|
-
"typesPublisherContentHash": "
|
|
215
|
+
"typesPublisherContentHash": "812418de0c8a4d6f3dd51da81aeba50ecf77191b22dd1bb7c8f56be32e512105",
|
|
216
216
|
"typeScriptVersion": "4.8"
|
|
217
217
|
}
|
|
@@ -13,7 +13,7 @@ declare module "path/win32" {
|
|
|
13
13
|
* ```js
|
|
14
14
|
* const path = require('node:path');
|
|
15
15
|
* ```
|
|
16
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
16
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/path.js)
|
|
17
17
|
*/
|
|
18
18
|
declare module "path" {
|
|
19
19
|
namespace path {
|