cloudstructs 0.9.13 → 0.9.14
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 +3 -3
- package/assets/slack-textract/detect.lambda/index.js +14 -9
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/email-receiver/whitelist.lambda.js +2 -3
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/provider.lambda.js +2 -3
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/events.lambda.js +2 -3
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-events/signature.js +2 -3
- package/lib/slack-textract/detect.lambda.js +2 -3
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/analyze.lambda.js +2 -3
- package/lib/ssl-server-test/extract-grade.lambda.js +2 -3
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/state-machine-cr-provider/runtime/http.js +3 -3
- package/lib/state-machine-cr-provider/runtime/index.js +5 -5
- package/lib/static-website/index.js +1 -1
- package/lib/static-website/origin-request.edge-lambda.js +2 -3
- package/lib/toolkit-cleaner/clean-images.lambda.js +2 -3
- package/lib/toolkit-cleaner/clean-objects.lambda.js +2 -3
- package/lib/toolkit-cleaner/extract-template-hashes.lambda.js +2 -3
- package/lib/toolkit-cleaner/get-stack-names.lambda.js +2 -3
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/lib/url-shortener/redirect.edge-lambda.js +2 -3
- package/lib/url-shortener/shortener.lambda.js +2 -3
- package/node_modules/@babel/runtime/helpers/extends.js +2 -2
- package/node_modules/@babel/runtime/helpers/get.js +2 -2
- package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +2 -2
- package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +2 -2
- package/node_modules/@babel/runtime/helpers/typeof.js +2 -2
- package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +2 -2
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +47 -48
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +13 -0
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +35 -0
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +213 -0
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +18 -0
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +47 -48
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +13 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +35 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +213 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +18 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- 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 +12 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +5 -78
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +18 -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 +19 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +75 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +99 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +15 -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/index.d.ts +1 -0
- 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 +10 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +45 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +178 -19
- 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/sqlite.d.ts +213 -0
- 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 +378 -101
- 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 +5 -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 +19 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +8 -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 +19 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +12 -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 +18 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/errors.d.ts +21 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +63 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/fetch.d.ts +25 -25
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/formdata.d.ts +1 -1
- 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 +10 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +15 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-interceptor.d.ts +4 -4
- 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 +8 -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 +18 -0
- package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/webidl.d.ts +10 -8
- 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 +12 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +5 -78
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +18 -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 +19 -0
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +75 -2
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +99 -1
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +15 -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/index.d.ts +1 -0
- 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 +10 -1
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +45 -9
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +178 -19
- 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/sqlite.d.ts +213 -0
- 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 +378 -101
- 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 +5 -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 +19 -2
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +8 -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 +19 -1
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +12 -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/env-http-proxy-agent.d.ts +21 -0
- package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +149 -0
- package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +63 -0
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +209 -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 +71 -0
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +15 -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 +8 -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 +18 -0
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +222 -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 +12 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +5 -78
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +18 -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 +19 -0
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +75 -2
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +99 -1
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +15 -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/index.d.ts +1 -0
- 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 +10 -1
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +45 -9
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +178 -19
- 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/sqlite.d.ts +213 -0
- 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 +378 -101
- 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 +5 -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 +19 -2
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +8 -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 +19 -1
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +12 -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/env-http-proxy-agent.d.ts +21 -0
- package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +149 -0
- package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +63 -0
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +209 -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 +71 -0
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +15 -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 +8 -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 +18 -0
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +222 -0
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +152 -0
- package/node_modules/axios/CHANGELOG.md +16 -0
- package/node_modules/axios/README.md +6 -57
- package/node_modules/axios/dist/axios.js +29 -22
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +17 -10
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +17 -10
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +18 -11
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +4 -1
- package/node_modules/axios/lib/adapters/http.js +1 -1
- package/node_modules/axios/lib/core/AxiosError.js +5 -2
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/node_modules/axios/lib/platform/common/utils.js +5 -4
- package/node_modules/axios/package.json +1 -1
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +4 -2
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/foreground-child/dist/commonjs/index.js +4 -2
- package/node_modules/foreground-child/dist/commonjs/index.js.map +1 -1
- package/node_modules/foreground-child/dist/esm/index.d.ts +4 -2
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -1
- package/node_modules/foreground-child/dist/esm/index.js +4 -2
- package/node_modules/foreground-child/dist/esm/index.js.map +1 -1
- package/node_modules/foreground-child/package.json +1 -1
- package/node_modules/juice/package.json +3 -3
- package/node_modules/uglify-js/bin/uglifyjs +6 -3
- package/node_modules/uglify-js/lib/compress.js +117 -75
- package/node_modules/uglify-js/lib/minify.js +4 -3
- package/node_modules/uglify-js/lib/output.js +16 -5
- package/node_modules/uglify-js/package.json +1 -1
- package/node_modules/uglify-js/tools/node.js +6 -1
- package/package.json +18 -18
- package/node_modules/undici-types/handlers.d.ts +0 -9
- package/node_modules/undici-types/interceptors.d.ts +0 -5
- /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}/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}/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}/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-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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The timer functions within Node.js implement a similar API as the timers API
|
|
7
7
|
* provided by Web Browsers but use a different internal implementation that is
|
|
8
8
|
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/timers.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "timers" {
|
|
12
12
|
import { Abortable } from "node:events";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const tls = require('node:tls');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tls.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "tls" {
|
|
12
12
|
import { X509Certificate } from "node:crypto";
|
|
@@ -843,6 +843,7 @@ declare module "tls" {
|
|
|
843
843
|
ciphers?: string | undefined;
|
|
844
844
|
/**
|
|
845
845
|
* Name of an OpenSSL engine which can provide the client certificate.
|
|
846
|
+
* @deprecated
|
|
846
847
|
*/
|
|
847
848
|
clientCertEngine?: string | undefined;
|
|
848
849
|
/**
|
|
@@ -885,12 +886,14 @@ declare module "tls" {
|
|
|
885
886
|
/**
|
|
886
887
|
* Name of an OpenSSL engine to get private key from. Should be used
|
|
887
888
|
* together with privateKeyIdentifier.
|
|
889
|
+
* @deprecated
|
|
888
890
|
*/
|
|
889
891
|
privateKeyEngine?: string | undefined;
|
|
890
892
|
/**
|
|
891
893
|
* Identifier of a private key managed by an OpenSSL engine. Should be
|
|
892
894
|
* used together with privateKeyEngine. Should not be set together with
|
|
893
895
|
* key, because both options define a private key in different ways.
|
|
896
|
+
* @deprecated
|
|
894
897
|
*/
|
|
895
898
|
privateKeyIdentifier?: string | undefined;
|
|
896
899
|
/**
|
|
@@ -1155,7 +1158,7 @@ declare module "tls" {
|
|
|
1155
1158
|
* the `ciphers` option of `{@link createSecureContext}`.
|
|
1156
1159
|
*
|
|
1157
1160
|
* Not all supported ciphers are enabled by default. See
|
|
1158
|
-
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-
|
|
1161
|
+
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v22.x/api/tls.html#modifying-the-default-tls-cipher-suite).
|
|
1159
1162
|
*
|
|
1160
1163
|
* Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
|
|
1161
1164
|
* TLSv1.2 and below.
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* The available categories are:
|
|
10
10
|
*
|
|
11
11
|
* * `node`: An empty placeholder.
|
|
12
|
-
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-
|
|
13
|
-
* The [`async_hooks`](https://nodejs.org/docs/latest-
|
|
12
|
+
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) trace data.
|
|
13
|
+
* The [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
|
|
14
14
|
* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
|
|
15
15
|
* * `node.console`: Enables capture of `console.time()` and `console.count()` output.
|
|
16
16
|
* * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* * `node.fs_dir.sync`: Enables capture of trace data for file system sync directory methods.
|
|
23
23
|
* * `node.fs.async`: Enables capture of trace data for file system async methods.
|
|
24
24
|
* * `node.fs_dir.async`: Enables capture of trace data for file system async directory methods.
|
|
25
|
-
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-
|
|
25
|
+
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v22.x/api/perf_hooks.html) measurements.
|
|
26
26
|
* * `node.perf.usertiming`: Enables capture of only Performance API User Timing
|
|
27
27
|
* measures and marks.
|
|
28
28
|
* * `node.perf.timerify`: Enables capture of only Performance API timerify
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* * `node.promises.rejections`: Enables capture of trace data tracking the number
|
|
31
31
|
* of unhandled Promise rejections and handled-after-rejections.
|
|
32
32
|
* * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
|
|
33
|
-
* * `v8`: The [V8](https://nodejs.org/docs/latest-
|
|
33
|
+
* * `v8`: The [V8](https://nodejs.org/docs/latest-v22.x/api/v8.html) events are GC, compiling, and execution related.
|
|
34
34
|
* * `node.http`: Enables capture of trace data for http request / response.
|
|
35
35
|
*
|
|
36
36
|
* By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
* However the trace-event timestamps are expressed in microseconds,
|
|
89
89
|
* unlike `process.hrtime()` which returns nanoseconds.
|
|
90
90
|
*
|
|
91
|
-
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-
|
|
91
|
+
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html#class-worker) threads.
|
|
92
92
|
* @experimental
|
|
93
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
93
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/trace_events.js)
|
|
94
94
|
*/
|
|
95
95
|
declare module "trace_events" {
|
|
96
96
|
/**
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* In most cases, there should be little to no reason for an application to
|
|
23
23
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
|
|
24
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
24
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tty.js)
|
|
25
25
|
*/
|
|
26
26
|
declare module "tty" {
|
|
27
27
|
import * as net from "node:net";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* import url from 'node:url';
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/url.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module "url" {
|
|
11
11
|
import { Blob as NodeBlob } from "node:buffer";
|
|
@@ -50,10 +50,18 @@ declare module "url" {
|
|
|
50
50
|
/**
|
|
51
51
|
* `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
|
|
52
52
|
* @default undefined
|
|
53
|
+
* @since v22.1.0
|
|
54
|
+
*/
|
|
55
|
+
windows?: boolean | undefined;
|
|
56
|
+
}
|
|
57
|
+
interface PathToFileUrlOptions {
|
|
58
|
+
/**
|
|
59
|
+
* `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
|
|
60
|
+
* @default undefined
|
|
61
|
+
* @since v22.1.0
|
|
53
62
|
*/
|
|
54
63
|
windows?: boolean | undefined;
|
|
55
64
|
}
|
|
56
|
-
interface PathToFileUrlOptions extends FileUrlToPathOptions {}
|
|
57
65
|
/**
|
|
58
66
|
* The `url.parse()` method takes a URL string, parses it, and returns a URL
|
|
59
67
|
* object.
|
|
@@ -437,6 +445,15 @@ declare module "url" {
|
|
|
437
445
|
* @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first.
|
|
438
446
|
*/
|
|
439
447
|
static canParse(input: string, base?: string): boolean;
|
|
448
|
+
/**
|
|
449
|
+
* Parses a string as a URL. If `base` is provided, it will be used as the base URL for the purpose of resolving non-absolute `input` URLs.
|
|
450
|
+
* Returns `null` if `input` is not a valid.
|
|
451
|
+
* @param input The absolute or relative input URL to parse. If `input` is relative, then `base` is required. If `input` is absolute, the `base` is ignored. If `input` is not a string, it is
|
|
452
|
+
* `converted to a string` first.
|
|
453
|
+
* @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first.
|
|
454
|
+
* @since v22.1.0
|
|
455
|
+
*/
|
|
456
|
+
static parse(input: string, base?: string): URL | null;
|
|
440
457
|
constructor(input: string | { toString: () => string }, base?: string | URL);
|
|
441
458
|
/**
|
|
442
459
|
* Gets and sets the fragment portion of the URL.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const util = require('node:util');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/util.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "util" {
|
|
12
12
|
import * as types from "node:util/types";
|
|
@@ -1269,7 +1269,7 @@ declare module "util" {
|
|
|
1269
1269
|
* );
|
|
1270
1270
|
* ```
|
|
1271
1271
|
*
|
|
1272
|
-
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-
|
|
1272
|
+
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v22.x/api/util.html#modifiers).
|
|
1273
1273
|
* @param format A text format or an Array of text formats defined in `util.inspect.colors`.
|
|
1274
1274
|
* @param text The text to to be formatted.
|
|
1275
1275
|
* @since v20.12.0
|
|
@@ -1480,6 +1480,12 @@ declare module "util" {
|
|
|
1480
1480
|
* Whether this command accepts positional arguments.
|
|
1481
1481
|
*/
|
|
1482
1482
|
allowPositionals?: boolean | undefined;
|
|
1483
|
+
/**
|
|
1484
|
+
* If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
|
|
1485
|
+
* @default false
|
|
1486
|
+
* @since v22.4.0
|
|
1487
|
+
*/
|
|
1488
|
+
allowNegative?: boolean | undefined;
|
|
1483
1489
|
/**
|
|
1484
1490
|
* Return the parsed tokens. This is useful for extending the built-in behavior,
|
|
1485
1491
|
* from adding additional checks through to reprocessing the tokens in different ways.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ```js
|
|
5
5
|
* const v8 = require('node:v8');
|
|
6
6
|
* ```
|
|
7
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
7
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/v8.js)
|
|
8
8
|
*/
|
|
9
9
|
declare module "v8" {
|
|
10
10
|
import { Readable } from "node:stream";
|
|
@@ -466,7 +466,7 @@ declare module "v8" {
|
|
|
466
466
|
function stopCoverage(): void;
|
|
467
467
|
/**
|
|
468
468
|
* The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once.
|
|
469
|
-
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-
|
|
469
|
+
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
|
|
470
470
|
* @experimental
|
|
471
471
|
* @since v18.10.0, v16.18.0
|
|
472
472
|
*/
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
*
|
|
35
35
|
* console.log(x); // 1; y is not defined.
|
|
36
36
|
* ```
|
|
37
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
37
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/vm.js)
|
|
38
38
|
*/
|
|
39
39
|
declare module "vm" {
|
|
40
40
|
import { ImportAttributes } from "node:module";
|
|
@@ -66,7 +66,7 @@ declare module "vm" {
|
|
|
66
66
|
/**
|
|
67
67
|
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
|
|
68
68
|
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
|
|
69
|
-
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-
|
|
69
|
+
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
|
|
70
70
|
*/
|
|
71
71
|
importModuleDynamically?:
|
|
72
72
|
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
|
|
@@ -348,9 +348,9 @@ declare module "vm" {
|
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
350
|
* If given a `contextObject`, the `vm.createContext()` method will
|
|
351
|
-
* [prepare that object](https://nodejs.org/docs/latest-
|
|
351
|
+
* [prepare that object](https://nodejs.org/docs/latest-v22.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
|
|
352
352
|
* and return a reference to it so that it can be used in `{@link runInContext}` or
|
|
353
|
-
* [`script.runInContext()`](https://nodejs.org/docs/latest-
|
|
353
|
+
* [`script.runInContext()`](https://nodejs.org/docs/latest-v22.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
|
|
354
354
|
* scripts, the `contextObject` will be the global object, retaining all of its
|
|
355
355
|
* existing properties but also having the built-in objects and functions any
|
|
356
356
|
* standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global
|
|
@@ -598,8 +598,6 @@ declare module "vm" {
|
|
|
598
598
|
specifier: string,
|
|
599
599
|
referencingModule: Module,
|
|
600
600
|
extra: {
|
|
601
|
-
/** @deprecated Use `attributes` instead */
|
|
602
|
-
assert: ImportAttributes;
|
|
603
601
|
attributes: ImportAttributes;
|
|
604
602
|
},
|
|
605
603
|
) => Module | Promise<Module>;
|
|
@@ -914,7 +912,7 @@ declare module "vm" {
|
|
|
914
912
|
* and `vm.compileFunction()` so that Node.js uses the default ESM loader from the main
|
|
915
913
|
* context to load the requested module.
|
|
916
914
|
*
|
|
917
|
-
* For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-
|
|
915
|
+
* For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
|
|
918
916
|
*/
|
|
919
917
|
const USE_MAIN_CONTEXT_DEFAULT_LOADER: number;
|
|
920
918
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
* wat2wasm demo.wat
|
|
68
68
|
* ```
|
|
69
69
|
* @experimental
|
|
70
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
70
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/wasi.js)
|
|
71
71
|
*/
|
|
72
72
|
declare module "wasi" {
|
|
73
73
|
interface WASIOptions {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
*
|
|
50
50
|
* Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
|
|
51
51
|
* specifically `argv` and `execArgv` options.
|
|
52
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
52
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/worker_threads.js)
|
|
53
53
|
*/
|
|
54
54
|
declare module "worker_threads" {
|
|
55
55
|
import { Blob } from "node:buffer";
|
|
@@ -409,6 +409,24 @@ declare module "worker_threads" {
|
|
|
409
409
|
* @since v10.5.0
|
|
410
410
|
*/
|
|
411
411
|
postMessage(value: any, transferList?: readonly TransferListItem[]): void;
|
|
412
|
+
/**
|
|
413
|
+
* Sends a value to another worker, identified by its thread ID.
|
|
414
|
+
* @param threadId The target thread ID. If the thread ID is invalid, a `ERR_WORKER_MESSAGING_FAILED` error will be thrown.
|
|
415
|
+
* If the target thread ID is the current thread ID, a `ERR_WORKER_MESSAGING_SAME_THREAD` error will be thrown.
|
|
416
|
+
* @param value The value to send.
|
|
417
|
+
* @param transferList If one or more `MessagePort`-like objects are passed in value, a `transferList` is required for those items
|
|
418
|
+
* or `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` is thrown. See `port.postMessage()` for more information.
|
|
419
|
+
* @param timeout Time to wait for the message to be delivered in milliseconds. By default it's `undefined`, which means wait forever.
|
|
420
|
+
* If the operation times out, a `ERR_WORKER_MESSAGING_TIMEOUT` error is thrown.
|
|
421
|
+
* @since v22.5.0
|
|
422
|
+
*/
|
|
423
|
+
postMessageToThread(threadId: number, value: any, timeout?: number): Promise<void>;
|
|
424
|
+
postMessageToThread(
|
|
425
|
+
threadId: number,
|
|
426
|
+
value: any,
|
|
427
|
+
transferList: readonly TransferListItem[],
|
|
428
|
+
timeout?: number,
|
|
429
|
+
): Promise<void>;
|
|
412
430
|
/**
|
|
413
431
|
* Opposite of `unref()`, calling `ref()` on a previously `unref()`ed worker does _not_ let the program exit if it's the only active handle left (the default
|
|
414
432
|
* behavior). If the worker is `ref()`ed, calling `ref()` again has
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
11
|
* Compression and decompression are built around the Node.js
|
|
12
|
-
* [Streams API](https://nodejs.org/docs/latest-
|
|
12
|
+
* [Streams API](https://nodejs.org/docs/latest-v22.x/api/stream.html).
|
|
13
13
|
*
|
|
14
14
|
* Compressing or decompressing a stream (such as a file) can be accomplished by
|
|
15
15
|
* piping the source stream through a `zlib` `Transform` stream into a destination
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
* });
|
|
90
90
|
* ```
|
|
91
91
|
* @since v0.5.8
|
|
92
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
92
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/zlib.js)
|
|
93
93
|
*/
|
|
94
94
|
declare module "zlib" {
|
|
95
95
|
import * as stream from "node:stream";
|
|
@@ -143,7 +143,7 @@ declare module "zlib" {
|
|
|
143
143
|
}
|
|
144
144
|
| undefined;
|
|
145
145
|
/**
|
|
146
|
-
* Limits output size when using [convenience methods](https://nodejs.org/docs/latest-
|
|
146
|
+
* Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
|
|
147
147
|
* @default buffer.kMaxLength
|
|
148
148
|
*/
|
|
149
149
|
maxOutputLength?: number | undefined;
|
|
@@ -172,6 +172,15 @@ declare module "zlib" {
|
|
|
172
172
|
interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
173
173
|
interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
|
|
174
174
|
interface Unzip extends stream.Transform, Zlib {}
|
|
175
|
+
/**
|
|
176
|
+
* Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
|
|
177
|
+
* If `value` is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
|
|
178
|
+
* @param data When `data` is a string, it will be encoded as UTF-8 before being used for computation.
|
|
179
|
+
* @param value An optional starting value. It must be a 32-bit unsigned integer. @default 0
|
|
180
|
+
* @returns A 32-bit unsigned integer containing the checksum.
|
|
181
|
+
* @since v22.2.0
|
|
182
|
+
*/
|
|
183
|
+
function crc32(data: string | Buffer | NodeJS.ArrayBufferView, value?: number): number;
|
|
175
184
|
/**
|
|
176
185
|
* Creates and returns a new `BrotliCompress` object.
|
|
177
186
|
* @since v11.7.0, v10.16.0
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Matteo Collina and Undici contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -4,6 +4,8 @@ import { URL } from 'url'
|
|
|
4
4
|
|
|
5
5
|
export default BalancedPool
|
|
6
6
|
|
|
7
|
+
type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
|
|
8
|
+
|
|
7
9
|
declare class BalancedPool extends Dispatcher {
|
|
8
10
|
constructor(url: string | string[] | URL | URL[], options?: Pool.Options);
|
|
9
11
|
|
|
@@ -15,4 +17,13 @@ declare class BalancedPool extends Dispatcher {
|
|
|
15
17
|
closed: boolean;
|
|
16
18
|
/** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
|
|
17
19
|
destroyed: boolean;
|
|
20
|
+
|
|
21
|
+
// Override dispatcher APIs.
|
|
22
|
+
override connect(
|
|
23
|
+
options: BalancedPoolConnectOptions
|
|
24
|
+
): Promise<Dispatcher.ConnectData>;
|
|
25
|
+
override connect(
|
|
26
|
+
options: BalancedPoolConnectOptions,
|
|
27
|
+
callback: (err: Error | null, data: Dispatcher.ConnectData) => void
|
|
28
|
+
): void;
|
|
18
29
|
}
|
package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/client.d.ts
RENAMED
|
@@ -3,6 +3,8 @@ import { TlsOptions } from 'tls'
|
|
|
3
3
|
import Dispatcher from './dispatcher'
|
|
4
4
|
import buildConnector from "./connector";
|
|
5
5
|
|
|
6
|
+
type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* A basic HTTP/1.1 client, mapped on top a single TCP/TLS connection. Pipelining is disabled by default.
|
|
8
10
|
*/
|
|
@@ -14,6 +16,15 @@ export class Client extends Dispatcher {
|
|
|
14
16
|
closed: boolean;
|
|
15
17
|
/** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
|
|
16
18
|
destroyed: boolean;
|
|
19
|
+
|
|
20
|
+
// Override dispatcher APIs.
|
|
21
|
+
override connect(
|
|
22
|
+
options: ClientConnectOptions
|
|
23
|
+
): Promise<Dispatcher.ConnectData>;
|
|
24
|
+
override connect(
|
|
25
|
+
options: ClientConnectOptions,
|
|
26
|
+
callback: (err: Error | null, data: Dispatcher.ConnectData) => void
|
|
27
|
+
): void;
|
|
17
28
|
}
|
|
18
29
|
|
|
19
30
|
export declare namespace Client {
|
|
@@ -77,7 +88,7 @@ export declare namespace Client {
|
|
|
77
88
|
*/
|
|
78
89
|
allowH2?: boolean;
|
|
79
90
|
/**
|
|
80
|
-
* @description Dictates the maximum number of concurrent streams for a single H2 session. It can be
|
|
91
|
+
* @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
|
|
81
92
|
* @default 100
|
|
82
93
|
*/
|
|
83
94
|
maxConcurrentStreams?: number
|
|
@@ -18,6 +18,9 @@ declare class Dispatcher extends EventEmitter {
|
|
|
18
18
|
/** Starts two-way communications with the requested resource. */
|
|
19
19
|
connect(options: Dispatcher.ConnectOptions): Promise<Dispatcher.ConnectData>;
|
|
20
20
|
connect(options: Dispatcher.ConnectOptions, callback: (err: Error | null, data: Dispatcher.ConnectData) => void): void;
|
|
21
|
+
/** Compose a chain of dispatchers */
|
|
22
|
+
compose(dispatchers: Dispatcher.DispatcherComposeInterceptor[]): Dispatcher.ComposedDispatcher;
|
|
23
|
+
compose(...dispatchers: Dispatcher.DispatcherComposeInterceptor[]): Dispatcher.ComposedDispatcher;
|
|
21
24
|
/** Performs an HTTP request. */
|
|
22
25
|
request(options: Dispatcher.RequestOptions): Promise<Dispatcher.ResponseData>;
|
|
23
26
|
request(options: Dispatcher.RequestOptions, callback: (err: Error | null, data: Dispatcher.ResponseData) => void): void;
|
|
@@ -93,6 +96,8 @@ declare class Dispatcher extends EventEmitter {
|
|
|
93
96
|
}
|
|
94
97
|
|
|
95
98
|
declare namespace Dispatcher {
|
|
99
|
+
export interface ComposedDispatcher extends Dispatcher {}
|
|
100
|
+
export type DispatcherComposeInterceptor = (dispatch: Dispatcher['dispatch']) => Dispatcher['dispatch'];
|
|
96
101
|
export interface DispatchOptions {
|
|
97
102
|
origin?: string | URL;
|
|
98
103
|
path: string;
|
|
@@ -100,7 +105,7 @@ declare namespace Dispatcher {
|
|
|
100
105
|
/** Default: `null` */
|
|
101
106
|
body?: string | Buffer | Uint8Array | Readable | null | FormData;
|
|
102
107
|
/** Default: `null` */
|
|
103
|
-
headers?: IncomingHttpHeaders | string[] | null;
|
|
108
|
+
headers?: IncomingHttpHeaders | string[] | Iterable<[string, string | string[] | undefined]> | null;
|
|
104
109
|
/** Query string params to be embedded in the request URL. Default: `null` */
|
|
105
110
|
query?: Record<string, any>;
|
|
106
111
|
/** Whether the requests can be safely retried or not. If `false` the request won't be sent until all preceding requests in the pipeline have completed. Default: `true` if `method` is `HEAD` or `GET`. */
|
|
@@ -121,6 +126,7 @@ declare namespace Dispatcher {
|
|
|
121
126
|
expectContinue?: boolean;
|
|
122
127
|
}
|
|
123
128
|
export interface ConnectOptions {
|
|
129
|
+
origin: string | URL;
|
|
124
130
|
path: string;
|
|
125
131
|
/** Default: `null` */
|
|
126
132
|
headers?: IncomingHttpHeaders | string[] | null;
|
|
@@ -130,6 +136,8 @@ declare namespace Dispatcher {
|
|
|
130
136
|
opaque?: unknown;
|
|
131
137
|
/** Default: 0 */
|
|
132
138
|
maxRedirections?: number;
|
|
139
|
+
/** Default: false */
|
|
140
|
+
redirectionLimitReached?: boolean;
|
|
133
141
|
/** Default: `null` */
|
|
134
142
|
responseHeader?: 'raw' | null;
|
|
135
143
|
}
|
|
@@ -140,6 +148,8 @@ declare namespace Dispatcher {
|
|
|
140
148
|
signal?: AbortSignal | EventEmitter | null;
|
|
141
149
|
/** Default: 0 */
|
|
142
150
|
maxRedirections?: number;
|
|
151
|
+
/** Default: false */
|
|
152
|
+
redirectionLimitReached?: boolean;
|
|
143
153
|
/** Default: `null` */
|
|
144
154
|
onInfo?: (info: { statusCode: number, headers: Record<string, string | string[]> }) => void;
|
|
145
155
|
/** Default: `null` */
|
|
@@ -163,6 +173,8 @@ declare namespace Dispatcher {
|
|
|
163
173
|
signal?: AbortSignal | EventEmitter | null;
|
|
164
174
|
/** Default: 0 */
|
|
165
175
|
maxRedirections?: number;
|
|
176
|
+
/** Default: false */
|
|
177
|
+
redirectionLimitReached?: boolean;
|
|
166
178
|
/** Default: `null` */
|
|
167
179
|
responseHeader?: 'raw' | null;
|
|
168
180
|
}
|
|
@@ -205,13 +217,15 @@ declare namespace Dispatcher {
|
|
|
205
217
|
export type StreamFactory = (data: StreamFactoryData) => Writable;
|
|
206
218
|
export interface DispatchHandlers {
|
|
207
219
|
/** Invoked before request is dispatched on socket. May be invoked multiple times when a request is retried when the request at the head of the pipeline fails. */
|
|
208
|
-
onConnect?(abort: () => void): void;
|
|
220
|
+
onConnect?(abort: (err?: Error) => void): void;
|
|
209
221
|
/** Invoked when an error has occurred. */
|
|
210
222
|
onError?(err: Error): void;
|
|
211
223
|
/** Invoked when request is upgraded either due to a `Upgrade` header or `CONNECT` method. */
|
|
212
224
|
onUpgrade?(statusCode: number, headers: Buffer[] | string[] | null, socket: Duplex): void;
|
|
225
|
+
/** Invoked when response is received, before headers have been read. **/
|
|
226
|
+
onResponseStarted?(): void;
|
|
213
227
|
/** Invoked when statusCode and headers have been received. May be invoked multiple times due to 1xx informational headers. */
|
|
214
|
-
onHeaders?(statusCode: number, headers: Buffer[]
|
|
228
|
+
onHeaders?(statusCode: number, headers: Buffer[], resume: () => void, statusText: string): boolean;
|
|
215
229
|
/** Invoked when response payload data is received. */
|
|
216
230
|
onData?(chunk: Buffer): boolean;
|
|
217
231
|
/** Invoked when response payload and trailers have been received and the request has completed. */
|
|
@@ -226,7 +240,7 @@ declare namespace Dispatcher {
|
|
|
226
240
|
* @link https://fetch.spec.whatwg.org/#body-mixin
|
|
227
241
|
*/
|
|
228
242
|
interface BodyMixin {
|
|
229
|
-
readonly body?: never;
|
|
243
|
+
readonly body?: never;
|
|
230
244
|
readonly bodyUsed: boolean;
|
|
231
245
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
232
246
|
blob(): Promise<Blob>;
|
package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import Agent from './agent'
|
|
2
|
+
import Dispatcher from './dispatcher'
|
|
3
|
+
|
|
4
|
+
export default EnvHttpProxyAgent
|
|
5
|
+
|
|
6
|
+
declare class EnvHttpProxyAgent extends Dispatcher {
|
|
7
|
+
constructor(opts?: EnvHttpProxyAgent.Options)
|
|
8
|
+
|
|
9
|
+
dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare namespace EnvHttpProxyAgent {
|
|
13
|
+
export interface Options extends Agent.Options {
|
|
14
|
+
/** Overrides the value of the HTTP_PROXY environment variable */
|
|
15
|
+
httpProxy?: string;
|
|
16
|
+
/** Overrides the value of the HTTPS_PROXY environment variable */
|
|
17
|
+
httpsProxy?: string;
|
|
18
|
+
/** Overrides the value of the NO_PROXY environment variable */
|
|
19
|
+
noProxy?: string;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/errors.d.ts
RENAMED
|
@@ -125,4 +125,25 @@ declare namespace Errors {
|
|
|
125
125
|
name: 'ResponseExceededMaxSizeError';
|
|
126
126
|
code: 'UND_ERR_RES_EXCEEDED_MAX_SIZE';
|
|
127
127
|
}
|
|
128
|
+
|
|
129
|
+
export class RequestRetryError extends UndiciError {
|
|
130
|
+
constructor (
|
|
131
|
+
message: string,
|
|
132
|
+
statusCode: number,
|
|
133
|
+
headers?: IncomingHttpHeaders | string[] | null,
|
|
134
|
+
body?: null | Record<string, any> | string
|
|
135
|
+
);
|
|
136
|
+
name: 'RequestRetryError';
|
|
137
|
+
code: 'UND_ERR_REQ_RETRY';
|
|
138
|
+
statusCode: number;
|
|
139
|
+
data: {
|
|
140
|
+
count: number;
|
|
141
|
+
};
|
|
142
|
+
headers: Record<string, string | string[]>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export class SecureProxyConnectionError extends UndiciError {
|
|
146
|
+
name: 'SecureProxyConnectionError';
|
|
147
|
+
code: 'UND_ERR_PRX_TLS';
|
|
148
|
+
}
|
|
128
149
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { MessageEvent, ErrorEvent } from './websocket'
|
|
2
|
+
import Dispatcher from './dispatcher'
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
EventTarget,
|
|
6
|
+
Event,
|
|
7
|
+
EventListenerOptions,
|
|
8
|
+
AddEventListenerOptions,
|
|
9
|
+
EventListenerOrEventListenerObject
|
|
10
|
+
} from './patch'
|
|
11
|
+
|
|
12
|
+
interface EventSourceEventMap {
|
|
13
|
+
error: ErrorEvent
|
|
14
|
+
message: MessageEvent
|
|
15
|
+
open: Event
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface EventSource extends EventTarget {
|
|
19
|
+
close(): void
|
|
20
|
+
readonly CLOSED: 2
|
|
21
|
+
readonly CONNECTING: 0
|
|
22
|
+
readonly OPEN: 1
|
|
23
|
+
onerror: (this: EventSource, ev: ErrorEvent) => any
|
|
24
|
+
onmessage: (this: EventSource, ev: MessageEvent) => any
|
|
25
|
+
onopen: (this: EventSource, ev: Event) => any
|
|
26
|
+
readonly readyState: 0 | 1 | 2
|
|
27
|
+
readonly url: string
|
|
28
|
+
readonly withCredentials: boolean
|
|
29
|
+
|
|
30
|
+
addEventListener<K extends keyof EventSourceEventMap>(
|
|
31
|
+
type: K,
|
|
32
|
+
listener: (this: EventSource, ev: EventSourceEventMap[K]) => any,
|
|
33
|
+
options?: boolean | AddEventListenerOptions
|
|
34
|
+
): void
|
|
35
|
+
addEventListener(
|
|
36
|
+
type: string,
|
|
37
|
+
listener: EventListenerOrEventListenerObject,
|
|
38
|
+
options?: boolean | AddEventListenerOptions
|
|
39
|
+
): void
|
|
40
|
+
removeEventListener<K extends keyof EventSourceEventMap>(
|
|
41
|
+
type: K,
|
|
42
|
+
listener: (this: EventSource, ev: EventSourceEventMap[K]) => any,
|
|
43
|
+
options?: boolean | EventListenerOptions
|
|
44
|
+
): void
|
|
45
|
+
removeEventListener(
|
|
46
|
+
type: string,
|
|
47
|
+
listener: EventListenerOrEventListenerObject,
|
|
48
|
+
options?: boolean | EventListenerOptions
|
|
49
|
+
): void
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export declare const EventSource: {
|
|
53
|
+
prototype: EventSource
|
|
54
|
+
new (url: string | URL, init?: EventSourceInit): EventSource
|
|
55
|
+
readonly CLOSED: 2
|
|
56
|
+
readonly CONNECTING: 0
|
|
57
|
+
readonly OPEN: 1
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface EventSourceInit {
|
|
61
|
+
withCredentials?: boolean,
|
|
62
|
+
dispatcher?: Dispatcher
|
|
63
|
+
}
|