cdk-ecr-deployment 3.0.75 → 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 -82
- 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 +10 -82
- 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 -82
- 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 +10 -82
- 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 -82
- 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 +10 -82
- 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 +5 -5
- 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
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import Dispatcher from "./dispatcher";
|
|
2
|
+
|
|
3
|
+
export default RetryHandler;
|
|
4
|
+
|
|
5
|
+
declare class RetryHandler implements Dispatcher.DispatchHandlers {
|
|
6
|
+
constructor(
|
|
7
|
+
options: Dispatcher.DispatchOptions & {
|
|
8
|
+
retryOptions?: RetryHandler.RetryOptions;
|
|
9
|
+
},
|
|
10
|
+
retryHandlers: RetryHandler.RetryHandlers
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare namespace RetryHandler {
|
|
15
|
+
export type RetryState = { counter: number; };
|
|
16
|
+
|
|
17
|
+
export type RetryContext = {
|
|
18
|
+
state: RetryState;
|
|
19
|
+
opts: Dispatcher.DispatchOptions & {
|
|
20
|
+
retryOptions?: RetryHandler.RetryOptions;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type OnRetryCallback = (result?: Error | null) => void;
|
|
25
|
+
|
|
26
|
+
export type RetryCallback = (
|
|
27
|
+
err: Error,
|
|
28
|
+
context: {
|
|
29
|
+
state: RetryState;
|
|
30
|
+
opts: Dispatcher.DispatchOptions & {
|
|
31
|
+
retryOptions?: RetryHandler.RetryOptions;
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
callback: OnRetryCallback
|
|
35
|
+
) => number | null;
|
|
36
|
+
|
|
37
|
+
export interface RetryOptions {
|
|
38
|
+
/**
|
|
39
|
+
* Callback to be invoked on every retry iteration.
|
|
40
|
+
* It receives the error, current state of the retry object and the options object
|
|
41
|
+
* passed when instantiating the retry handler.
|
|
42
|
+
*
|
|
43
|
+
* @type {RetryCallback}
|
|
44
|
+
* @memberof RetryOptions
|
|
45
|
+
*/
|
|
46
|
+
retry?: RetryCallback;
|
|
47
|
+
/**
|
|
48
|
+
* Maximum number of retries to allow.
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof RetryOptions
|
|
52
|
+
* @default 5
|
|
53
|
+
*/
|
|
54
|
+
maxRetries?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Max number of milliseconds allow between retries
|
|
57
|
+
*
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof RetryOptions
|
|
60
|
+
* @default 30000
|
|
61
|
+
*/
|
|
62
|
+
maxTimeout?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Initial number of milliseconds to wait before retrying for the first time.
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof RetryOptions
|
|
68
|
+
* @default 500
|
|
69
|
+
*/
|
|
70
|
+
minTimeout?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Factior to multiply the timeout factor between retries.
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof RetryOptions
|
|
76
|
+
* @default 2
|
|
77
|
+
*/
|
|
78
|
+
timeoutFactor?: number;
|
|
79
|
+
/**
|
|
80
|
+
* It enables to automatically infer timeout between retries based on the `Retry-After` header.
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof RetryOptions
|
|
84
|
+
* @default true
|
|
85
|
+
*/
|
|
86
|
+
retryAfter?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* HTTP methods to retry.
|
|
89
|
+
*
|
|
90
|
+
* @type {Dispatcher.HttpMethod[]}
|
|
91
|
+
* @memberof RetryOptions
|
|
92
|
+
* @default ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'],
|
|
93
|
+
*/
|
|
94
|
+
methods?: Dispatcher.HttpMethod[];
|
|
95
|
+
/**
|
|
96
|
+
* Error codes to be retried. e.g. `ECONNRESET`, `ENOTFOUND`, `ETIMEDOUT`, `ECONNREFUSED`, etc.
|
|
97
|
+
*
|
|
98
|
+
* @type {string[]}
|
|
99
|
+
* @default ['ECONNRESET','ECONNREFUSED','ENOTFOUND','ENETDOWN','ENETUNREACH','EHOSTDOWN','EHOSTUNREACH','EPIPE']
|
|
100
|
+
*/
|
|
101
|
+
errorCodes?: string[];
|
|
102
|
+
/**
|
|
103
|
+
* HTTP status codes to be retried.
|
|
104
|
+
*
|
|
105
|
+
* @type {number[]}
|
|
106
|
+
* @memberof RetryOptions
|
|
107
|
+
* @default [500, 502, 503, 504, 429],
|
|
108
|
+
*/
|
|
109
|
+
statusCodes?: number[];
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface RetryHandlers {
|
|
113
|
+
dispatch: Dispatcher["dispatch"];
|
|
114
|
+
handler: Dispatcher.DispatchHandlers;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export namespace util {
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves a header name and returns its lowercase value.
|
|
4
|
+
* @param value Header name
|
|
5
|
+
*/
|
|
6
|
+
export function headerNameToString(value: string | Buffer): string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Receives a header object and returns the parsed value.
|
|
10
|
+
* @param headers Header object
|
|
11
|
+
*/
|
|
12
|
+
export function parseHeaders(
|
|
13
|
+
headers:
|
|
14
|
+
| Record<string, string | string[]>
|
|
15
|
+
| (Buffer | string | (Buffer | string)[])[]
|
|
16
|
+
): Record<string, string | string[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Receives a header object and returns the parsed value.
|
|
19
|
+
* @param headers Header object
|
|
20
|
+
* @param obj Object to specify a proxy object. Used to assign parsed values. But, if `headers` is an object, it is not used.
|
|
21
|
+
* @returns If `headers` is an object, it is `headers`. Otherwise, if `obj` is specified, it is equivalent to `obj`.
|
|
22
|
+
*/
|
|
23
|
+
export function parseHeaders<
|
|
24
|
+
H extends
|
|
25
|
+
| Record<string, string | string[]>
|
|
26
|
+
| (Buffer | string | (Buffer | string)[])[]
|
|
27
|
+
>(
|
|
28
|
+
headers: H,
|
|
29
|
+
obj?: H extends any[] ? Record<string, string | string[]> : never
|
|
30
|
+
): Record<string, string | string[]>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
// These types are not exported, and are only used internally
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Take in an unknown value and return one that is of type T
|
|
5
|
+
*/
|
|
6
|
+
type Converter<T> = (object: unknown) => T
|
|
7
|
+
|
|
8
|
+
type SequenceConverter<T> = (object: unknown, iterable?: IterableIterator<T>) => T[]
|
|
9
|
+
|
|
10
|
+
type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
|
|
11
|
+
|
|
12
|
+
interface ConvertToIntOpts {
|
|
13
|
+
clamp?: boolean
|
|
14
|
+
enforceRange?: boolean
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface WebidlErrors {
|
|
18
|
+
exception (opts: { header: string, message: string }): TypeError
|
|
19
|
+
/**
|
|
20
|
+
* @description Throw an error when conversion from one type to another has failed
|
|
21
|
+
*/
|
|
22
|
+
conversionFailed (opts: {
|
|
23
|
+
prefix: string
|
|
24
|
+
argument: string
|
|
25
|
+
types: string[]
|
|
26
|
+
}): TypeError
|
|
27
|
+
/**
|
|
28
|
+
* @description Throw an error when an invalid argument is provided
|
|
29
|
+
*/
|
|
30
|
+
invalidArgument (opts: {
|
|
31
|
+
prefix: string
|
|
32
|
+
value: string
|
|
33
|
+
type: string
|
|
34
|
+
}): TypeError
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
interface WebidlUtil {
|
|
38
|
+
/**
|
|
39
|
+
* @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
|
|
40
|
+
*/
|
|
41
|
+
Type (object: unknown):
|
|
42
|
+
| 'Undefined'
|
|
43
|
+
| 'Boolean'
|
|
44
|
+
| 'String'
|
|
45
|
+
| 'Symbol'
|
|
46
|
+
| 'Number'
|
|
47
|
+
| 'BigInt'
|
|
48
|
+
| 'Null'
|
|
49
|
+
| 'Object'
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
|
|
53
|
+
*/
|
|
54
|
+
ConvertToInt (
|
|
55
|
+
V: unknown,
|
|
56
|
+
bitLength: number,
|
|
57
|
+
signedness: 'signed' | 'unsigned',
|
|
58
|
+
opts?: ConvertToIntOpts
|
|
59
|
+
): number
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
|
|
63
|
+
*/
|
|
64
|
+
IntegerPart (N: number): number
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Stringifies {@param V}
|
|
68
|
+
*/
|
|
69
|
+
Stringify (V: any): string
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface WebidlConverters {
|
|
73
|
+
/**
|
|
74
|
+
* @see https://webidl.spec.whatwg.org/#es-DOMString
|
|
75
|
+
*/
|
|
76
|
+
DOMString (V: unknown, opts?: {
|
|
77
|
+
legacyNullToEmptyString: boolean
|
|
78
|
+
}): string
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @see https://webidl.spec.whatwg.org/#es-ByteString
|
|
82
|
+
*/
|
|
83
|
+
ByteString (V: unknown): string
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @see https://webidl.spec.whatwg.org/#es-USVString
|
|
87
|
+
*/
|
|
88
|
+
USVString (V: unknown): string
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @see https://webidl.spec.whatwg.org/#es-boolean
|
|
92
|
+
*/
|
|
93
|
+
boolean (V: unknown): boolean
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @see https://webidl.spec.whatwg.org/#es-any
|
|
97
|
+
*/
|
|
98
|
+
any <Value>(V: Value): Value
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @see https://webidl.spec.whatwg.org/#es-long-long
|
|
102
|
+
*/
|
|
103
|
+
['long long'] (V: unknown): number
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @see https://webidl.spec.whatwg.org/#es-unsigned-long-long
|
|
107
|
+
*/
|
|
108
|
+
['unsigned long long'] (V: unknown): number
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @see https://webidl.spec.whatwg.org/#es-unsigned-long
|
|
112
|
+
*/
|
|
113
|
+
['unsigned long'] (V: unknown): number
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @see https://webidl.spec.whatwg.org/#es-unsigned-short
|
|
117
|
+
*/
|
|
118
|
+
['unsigned short'] (V: unknown, opts?: ConvertToIntOpts): number
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
|
|
122
|
+
*/
|
|
123
|
+
ArrayBuffer (V: unknown): ArrayBufferLike
|
|
124
|
+
ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
|
128
|
+
*/
|
|
129
|
+
TypedArray (
|
|
130
|
+
V: unknown,
|
|
131
|
+
TypedArray: NodeJS.TypedArray | ArrayBufferLike
|
|
132
|
+
): NodeJS.TypedArray | ArrayBufferLike
|
|
133
|
+
TypedArray (
|
|
134
|
+
V: unknown,
|
|
135
|
+
TypedArray: NodeJS.TypedArray | ArrayBufferLike,
|
|
136
|
+
opts?: { allowShared: false }
|
|
137
|
+
): NodeJS.TypedArray | ArrayBuffer
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
|
141
|
+
*/
|
|
142
|
+
DataView (V: unknown, opts?: { allowShared: boolean }): DataView
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @see https://webidl.spec.whatwg.org/#BufferSource
|
|
146
|
+
*/
|
|
147
|
+
BufferSource (
|
|
148
|
+
V: unknown,
|
|
149
|
+
opts?: { allowShared: boolean }
|
|
150
|
+
): NodeJS.TypedArray | ArrayBufferLike | DataView
|
|
151
|
+
|
|
152
|
+
['sequence<ByteString>']: SequenceConverter<string>
|
|
153
|
+
|
|
154
|
+
['sequence<sequence<ByteString>>']: SequenceConverter<string[]>
|
|
155
|
+
|
|
156
|
+
['record<ByteString, ByteString>']: RecordConverter<string, string>
|
|
157
|
+
|
|
158
|
+
[Key: string]: (...args: any[]) => unknown
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface Webidl {
|
|
162
|
+
errors: WebidlErrors
|
|
163
|
+
util: WebidlUtil
|
|
164
|
+
converters: WebidlConverters
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @description Performs a brand-check on {@param V} to ensure it is a
|
|
168
|
+
* {@param cls} object.
|
|
169
|
+
*/
|
|
170
|
+
brandCheck <Interface>(V: unknown, cls: Interface, opts?: { strict?: boolean }): asserts V is Interface
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @see https://webidl.spec.whatwg.org/#es-sequence
|
|
174
|
+
* @description Convert a value, V, to a WebIDL sequence type.
|
|
175
|
+
*/
|
|
176
|
+
sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
|
|
177
|
+
|
|
178
|
+
illegalConstructor (): never
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @see https://webidl.spec.whatwg.org/#es-to-record
|
|
182
|
+
* @description Convert a value, V, to a WebIDL record type.
|
|
183
|
+
*/
|
|
184
|
+
recordConverter <K extends string, V>(
|
|
185
|
+
keyConverter: Converter<K>,
|
|
186
|
+
valueConverter: Converter<V>
|
|
187
|
+
): RecordConverter<K, V>
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Similar to {@link Webidl.brandCheck} but allows skipping the check if third party
|
|
191
|
+
* interfaces are allowed.
|
|
192
|
+
*/
|
|
193
|
+
interfaceConverter <Interface>(cls: Interface): (
|
|
194
|
+
V: unknown,
|
|
195
|
+
opts?: { strict: boolean }
|
|
196
|
+
) => asserts V is typeof cls
|
|
197
|
+
|
|
198
|
+
// TODO(@KhafraDev): a type could likely be implemented that can infer the return type
|
|
199
|
+
// from the converters given?
|
|
200
|
+
/**
|
|
201
|
+
* Converts a value, V, to a WebIDL dictionary types. Allows limiting which keys are
|
|
202
|
+
* allowed, values allowed, optional and required keys. Auto converts the value to
|
|
203
|
+
* a type given a converter.
|
|
204
|
+
*/
|
|
205
|
+
dictionaryConverter (converters: {
|
|
206
|
+
key: string,
|
|
207
|
+
defaultValue?: unknown,
|
|
208
|
+
required?: boolean,
|
|
209
|
+
converter: (...args: unknown[]) => unknown,
|
|
210
|
+
allowedValues?: unknown[]
|
|
211
|
+
}[]): (V: unknown) => Record<string, unknown>
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @see https://webidl.spec.whatwg.org/#idl-nullable-type
|
|
215
|
+
* @description allows a type, V, to be null
|
|
216
|
+
*/
|
|
217
|
+
nullableConverter <T>(
|
|
218
|
+
converter: Converter<T>
|
|
219
|
+
): (V: unknown) => ReturnType<typeof converter> | null
|
|
220
|
+
|
|
221
|
+
argumentLengthCheck (args: { length: number }, min: number, context: {
|
|
222
|
+
header: string
|
|
223
|
+
message?: string
|
|
224
|
+
}): void
|
|
225
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
|
|
3
|
+
import type { Blob } from 'buffer'
|
|
4
|
+
import type { MessagePort } from 'worker_threads'
|
|
5
|
+
import {
|
|
6
|
+
EventTarget,
|
|
7
|
+
Event,
|
|
8
|
+
EventInit,
|
|
9
|
+
EventListenerOptions,
|
|
10
|
+
AddEventListenerOptions,
|
|
11
|
+
EventListenerOrEventListenerObject
|
|
12
|
+
} from './patch'
|
|
13
|
+
import Dispatcher from './dispatcher'
|
|
14
|
+
import { HeadersInit } from './fetch'
|
|
15
|
+
|
|
16
|
+
export type BinaryType = 'blob' | 'arraybuffer'
|
|
17
|
+
|
|
18
|
+
interface WebSocketEventMap {
|
|
19
|
+
close: CloseEvent
|
|
20
|
+
error: ErrorEvent
|
|
21
|
+
message: MessageEvent
|
|
22
|
+
open: Event
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface WebSocket extends EventTarget {
|
|
26
|
+
binaryType: BinaryType
|
|
27
|
+
|
|
28
|
+
readonly bufferedAmount: number
|
|
29
|
+
readonly extensions: string
|
|
30
|
+
|
|
31
|
+
onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
|
|
32
|
+
onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
|
|
33
|
+
onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
|
|
34
|
+
onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
|
|
35
|
+
|
|
36
|
+
readonly protocol: string
|
|
37
|
+
readonly readyState: number
|
|
38
|
+
readonly url: string
|
|
39
|
+
|
|
40
|
+
close(code?: number, reason?: string): void
|
|
41
|
+
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
|
|
42
|
+
|
|
43
|
+
readonly CLOSED: number
|
|
44
|
+
readonly CLOSING: number
|
|
45
|
+
readonly CONNECTING: number
|
|
46
|
+
readonly OPEN: number
|
|
47
|
+
|
|
48
|
+
addEventListener<K extends keyof WebSocketEventMap>(
|
|
49
|
+
type: K,
|
|
50
|
+
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
|
|
51
|
+
options?: boolean | AddEventListenerOptions
|
|
52
|
+
): void
|
|
53
|
+
addEventListener(
|
|
54
|
+
type: string,
|
|
55
|
+
listener: EventListenerOrEventListenerObject,
|
|
56
|
+
options?: boolean | AddEventListenerOptions
|
|
57
|
+
): void
|
|
58
|
+
removeEventListener<K extends keyof WebSocketEventMap>(
|
|
59
|
+
type: K,
|
|
60
|
+
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
|
|
61
|
+
options?: boolean | EventListenerOptions
|
|
62
|
+
): void
|
|
63
|
+
removeEventListener(
|
|
64
|
+
type: string,
|
|
65
|
+
listener: EventListenerOrEventListenerObject,
|
|
66
|
+
options?: boolean | EventListenerOptions
|
|
67
|
+
): void
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export declare const WebSocket: {
|
|
71
|
+
prototype: WebSocket
|
|
72
|
+
new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
|
|
73
|
+
readonly CLOSED: number
|
|
74
|
+
readonly CLOSING: number
|
|
75
|
+
readonly CONNECTING: number
|
|
76
|
+
readonly OPEN: number
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
interface CloseEventInit extends EventInit {
|
|
80
|
+
code?: number
|
|
81
|
+
reason?: string
|
|
82
|
+
wasClean?: boolean
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface CloseEvent extends Event {
|
|
86
|
+
readonly code: number
|
|
87
|
+
readonly reason: string
|
|
88
|
+
readonly wasClean: boolean
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export declare const CloseEvent: {
|
|
92
|
+
prototype: CloseEvent
|
|
93
|
+
new (type: string, eventInitDict?: CloseEventInit): CloseEvent
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface MessageEventInit<T = any> extends EventInit {
|
|
97
|
+
data?: T
|
|
98
|
+
lastEventId?: string
|
|
99
|
+
origin?: string
|
|
100
|
+
ports?: (typeof MessagePort)[]
|
|
101
|
+
source?: typeof MessagePort | null
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
interface MessageEvent<T = any> extends Event {
|
|
105
|
+
readonly data: T
|
|
106
|
+
readonly lastEventId: string
|
|
107
|
+
readonly origin: string
|
|
108
|
+
readonly ports: ReadonlyArray<typeof MessagePort>
|
|
109
|
+
readonly source: typeof MessagePort | null
|
|
110
|
+
initMessageEvent(
|
|
111
|
+
type: string,
|
|
112
|
+
bubbles?: boolean,
|
|
113
|
+
cancelable?: boolean,
|
|
114
|
+
data?: any,
|
|
115
|
+
origin?: string,
|
|
116
|
+
lastEventId?: string,
|
|
117
|
+
source?: typeof MessagePort | null,
|
|
118
|
+
ports?: (typeof MessagePort)[]
|
|
119
|
+
): void;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export declare const MessageEvent: {
|
|
123
|
+
prototype: MessageEvent
|
|
124
|
+
new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
interface ErrorEventInit extends EventInit {
|
|
128
|
+
message?: string
|
|
129
|
+
filename?: string
|
|
130
|
+
lineno?: number
|
|
131
|
+
colno?: number
|
|
132
|
+
error?: any
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
interface ErrorEvent extends Event {
|
|
136
|
+
readonly message: string
|
|
137
|
+
readonly filename: string
|
|
138
|
+
readonly lineno: number
|
|
139
|
+
readonly colno: number
|
|
140
|
+
readonly error: any
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export declare const ErrorEvent: {
|
|
144
|
+
prototype: ErrorEvent
|
|
145
|
+
new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
interface WebSocketInit {
|
|
149
|
+
protocols?: string | string[],
|
|
150
|
+
dispatcher?: Dispatcher,
|
|
151
|
+
headers?: HeadersInit
|
|
152
|
+
}
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@types/node": "^18",
|
|
51
51
|
"@typescript-eslint/eslint-plugin": "^7",
|
|
52
52
|
"@typescript-eslint/parser": "^7",
|
|
53
|
-
"cdklabs-projen-project-types": "^0.1.
|
|
53
|
+
"cdklabs-projen-project-types": "^0.1.200",
|
|
54
54
|
"eslint": "^8",
|
|
55
55
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
56
56
|
"eslint-plugin-import": "^2.29.1",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"jsii-docgen": "^1.8.110",
|
|
62
62
|
"jsii-pacmak": "^1.101.0",
|
|
63
63
|
"jsii-rosetta": "^5.4.25",
|
|
64
|
-
"projen": "^0.84.
|
|
64
|
+
"projen": "^0.84.10",
|
|
65
65
|
"standard-version": "^9",
|
|
66
66
|
"ts-jest": "^27",
|
|
67
67
|
"ts-node": "^10.9.2",
|
|
@@ -93,13 +93,13 @@
|
|
|
93
93
|
"publishConfig": {
|
|
94
94
|
"access": "public"
|
|
95
95
|
},
|
|
96
|
-
"version": "3.0.
|
|
96
|
+
"version": "3.0.77",
|
|
97
97
|
"jest": {
|
|
98
98
|
"coverageProvider": "v8",
|
|
99
99
|
"testMatch": [
|
|
100
|
-
"<rootDir>/@(src|test)
|
|
100
|
+
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)",
|
|
101
101
|
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)",
|
|
102
|
-
"<rootDir>/@(projenrc)
|
|
102
|
+
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)",
|
|
103
103
|
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)"
|
|
104
104
|
],
|
|
105
105
|
"clearMocks": true,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Dispatcher from "./dispatcher";
|
|
2
|
-
|
|
3
|
-
export declare class RedirectHandler implements Dispatcher.DispatchHandlers{
|
|
4
|
-
constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers)
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{
|
|
8
|
-
constructor (handler: Dispatcher.DispatchHandlers)
|
|
9
|
-
}
|
/package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/README.md
RENAMED
|
File without changes
|
/package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/agent.d.ts
RENAMED
|
File without changes
|
/package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/api.d.ts
RENAMED
|
File without changes
|
/package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cache.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/file.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/patch.d.ts
RENAMED
|
File without changes
|
|
File without changes
|