cloudstructs 0.9.5 → 0.9.7
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-app/provider.lambda/index.js +46 -96
- package/assets/slack-events/events.lambda/index.js +4 -8
- package/assets/slack-textract/detect.lambda/index.js +617 -492
- package/assets/ssl-server-test/analyze.lambda/index.js +46 -96
- package/assets/static-website/origin-request.edge-lambda/index.js +1 -2
- package/assets/url-shortener/shortener.lambda/index.js +1 -2
- 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/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +41 -44
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +43 -37
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +77 -47
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +28 -11
- 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 +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +214 -43
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +55 -49
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +41 -44
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +43 -37
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +77 -47
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +28 -11
- 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 +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +214 -43
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +55 -49
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +16 -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 +41 -44
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +43 -37
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +77 -47
- 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 +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- 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 +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +214 -43
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +55 -49
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +35 -17
- 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 +16 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +41 -44
- package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +43 -37
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +77 -47
- package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +214 -43
- package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +55 -49
- package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +16 -3
- 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 +41 -44
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +43 -37
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +77 -47
- 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 +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- 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 +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +214 -43
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +55 -49
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +35 -17
- 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 +16 -16
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +16 -3
- 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 +41 -44
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +43 -37
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +77 -47
- 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 +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- 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 +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +214 -43
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +55 -49
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +35 -17
- 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 +16 -16
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/axios/CHANGELOG.md +868 -790
- package/node_modules/axios/README.md +60 -15
- package/node_modules/axios/dist/axios.js +1018 -294
- 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 +688 -308
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +688 -308
- 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 +597 -246
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +5 -2
- package/node_modules/axios/index.d.ts +5 -2
- package/node_modules/axios/lib/adapters/adapters.js +3 -1
- package/node_modules/axios/lib/adapters/fetch.js +227 -0
- package/node_modules/axios/lib/adapters/xhr.js +31 -101
- package/node_modules/axios/lib/core/Axios.js +9 -6
- package/node_modules/axios/lib/core/AxiosHeaders.js +4 -0
- package/node_modules/axios/lib/defaults/index.js +7 -2
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +9 -8
- package/node_modules/axios/lib/helpers/composeSignals.js +46 -0
- package/node_modules/axios/lib/helpers/progressEventReducer.js +32 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
- package/node_modules/axios/lib/helpers/throttle.js +5 -3
- package/node_modules/axios/lib/helpers/trackStream.js +55 -0
- package/node_modules/axios/lib/platform/common/utils.js +4 -1
- package/node_modules/axios/lib/utils.js +7 -2
- package/node_modules/axios/package.json +4 -3
- package/package.json +18 -18
|
@@ -62,8 +62,7 @@ var require_eventemitter3 = __commonJS({
|
|
|
62
62
|
}
|
|
63
63
|
if (Object.create) {
|
|
64
64
|
Events.prototype = /* @__PURE__ */ Object.create(null);
|
|
65
|
-
if (!new Events().__proto__)
|
|
66
|
-
prefix = false;
|
|
65
|
+
if (!new Events().__proto__) prefix = false;
|
|
67
66
|
}
|
|
68
67
|
function EE(fn, context, once) {
|
|
69
68
|
this.fn = fn;
|
|
@@ -75,19 +74,14 @@ var require_eventemitter3 = __commonJS({
|
|
|
75
74
|
throw new TypeError("The listener must be a function");
|
|
76
75
|
}
|
|
77
76
|
var listener = new EE(fn, context || emitter, once), evt = prefix ? prefix + event : event;
|
|
78
|
-
if (!emitter._events[evt])
|
|
79
|
-
|
|
80
|
-
else
|
|
81
|
-
emitter._events[evt].push(listener);
|
|
82
|
-
else
|
|
83
|
-
emitter._events[evt] = [emitter._events[evt], listener];
|
|
77
|
+
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
|
78
|
+
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
|
79
|
+
else emitter._events[evt] = [emitter._events[evt], listener];
|
|
84
80
|
return emitter;
|
|
85
81
|
}
|
|
86
82
|
function clearEvent(emitter, evt) {
|
|
87
|
-
if (--emitter._eventsCount === 0)
|
|
88
|
-
|
|
89
|
-
else
|
|
90
|
-
delete emitter._events[evt];
|
|
83
|
+
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
|
84
|
+
else delete emitter._events[evt];
|
|
91
85
|
}
|
|
92
86
|
function EventEmitter() {
|
|
93
87
|
this._events = new Events();
|
|
@@ -95,11 +89,9 @@ var require_eventemitter3 = __commonJS({
|
|
|
95
89
|
}
|
|
96
90
|
EventEmitter.prototype.eventNames = function eventNames() {
|
|
97
91
|
var names = [], events, name;
|
|
98
|
-
if (this._eventsCount === 0)
|
|
99
|
-
return names;
|
|
92
|
+
if (this._eventsCount === 0) return names;
|
|
100
93
|
for (name in events = this._events) {
|
|
101
|
-
if (has.call(events, name))
|
|
102
|
-
names.push(prefix ? name.slice(1) : name);
|
|
94
|
+
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
|
103
95
|
}
|
|
104
96
|
if (Object.getOwnPropertySymbols) {
|
|
105
97
|
return names.concat(Object.getOwnPropertySymbols(events));
|
|
@@ -108,10 +100,8 @@ var require_eventemitter3 = __commonJS({
|
|
|
108
100
|
};
|
|
109
101
|
EventEmitter.prototype.listeners = function listeners(event) {
|
|
110
102
|
var evt = prefix ? prefix + event : event, handlers = this._events[evt];
|
|
111
|
-
if (!handlers)
|
|
112
|
-
|
|
113
|
-
if (handlers.fn)
|
|
114
|
-
return [handlers.fn];
|
|
103
|
+
if (!handlers) return [];
|
|
104
|
+
if (handlers.fn) return [handlers.fn];
|
|
115
105
|
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
|
116
106
|
ee[i] = handlers[i].fn;
|
|
117
107
|
}
|
|
@@ -119,20 +109,16 @@ var require_eventemitter3 = __commonJS({
|
|
|
119
109
|
};
|
|
120
110
|
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
|
121
111
|
var evt = prefix ? prefix + event : event, listeners = this._events[evt];
|
|
122
|
-
if (!listeners)
|
|
123
|
-
|
|
124
|
-
if (listeners.fn)
|
|
125
|
-
return 1;
|
|
112
|
+
if (!listeners) return 0;
|
|
113
|
+
if (listeners.fn) return 1;
|
|
126
114
|
return listeners.length;
|
|
127
115
|
};
|
|
128
116
|
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
129
117
|
var evt = prefix ? prefix + event : event;
|
|
130
|
-
if (!this._events[evt])
|
|
131
|
-
return false;
|
|
118
|
+
if (!this._events[evt]) return false;
|
|
132
119
|
var listeners = this._events[evt], len = arguments.length, args, i;
|
|
133
120
|
if (listeners.fn) {
|
|
134
|
-
if (listeners.once)
|
|
135
|
-
this.removeListener(event, listeners.fn, void 0, true);
|
|
121
|
+
if (listeners.once) this.removeListener(event, listeners.fn, void 0, true);
|
|
136
122
|
switch (len) {
|
|
137
123
|
case 1:
|
|
138
124
|
return listeners.fn.call(listeners.context), true;
|
|
@@ -154,8 +140,7 @@ var require_eventemitter3 = __commonJS({
|
|
|
154
140
|
} else {
|
|
155
141
|
var length = listeners.length, j;
|
|
156
142
|
for (i = 0; i < length; i++) {
|
|
157
|
-
if (listeners[i].once)
|
|
158
|
-
this.removeListener(event, listeners[i].fn, void 0, true);
|
|
143
|
+
if (listeners[i].once) this.removeListener(event, listeners[i].fn, void 0, true);
|
|
159
144
|
switch (len) {
|
|
160
145
|
case 1:
|
|
161
146
|
listeners[i].fn.call(listeners[i].context);
|
|
@@ -170,10 +155,9 @@ var require_eventemitter3 = __commonJS({
|
|
|
170
155
|
listeners[i].fn.call(listeners[i].context, a1, a2, a3);
|
|
171
156
|
break;
|
|
172
157
|
default:
|
|
173
|
-
if (!args)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
158
|
+
if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
|
|
159
|
+
args[j - 1] = arguments[j];
|
|
160
|
+
}
|
|
177
161
|
listeners[i].fn.apply(listeners[i].context, args);
|
|
178
162
|
}
|
|
179
163
|
}
|
|
@@ -188,8 +172,7 @@ var require_eventemitter3 = __commonJS({
|
|
|
188
172
|
};
|
|
189
173
|
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
190
174
|
var evt = prefix ? prefix + event : event;
|
|
191
|
-
if (!this._events[evt])
|
|
192
|
-
return this;
|
|
175
|
+
if (!this._events[evt]) return this;
|
|
193
176
|
if (!fn) {
|
|
194
177
|
clearEvent(this, evt);
|
|
195
178
|
return this;
|
|
@@ -205,10 +188,8 @@ var require_eventemitter3 = __commonJS({
|
|
|
205
188
|
events.push(listeners[i]);
|
|
206
189
|
}
|
|
207
190
|
}
|
|
208
|
-
if (events.length)
|
|
209
|
-
|
|
210
|
-
else
|
|
211
|
-
clearEvent(this, evt);
|
|
191
|
+
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
|
192
|
+
else clearEvent(this, evt);
|
|
212
193
|
}
|
|
213
194
|
return this;
|
|
214
195
|
};
|
|
@@ -216,8 +197,7 @@ var require_eventemitter3 = __commonJS({
|
|
|
216
197
|
var evt;
|
|
217
198
|
if (event) {
|
|
218
199
|
evt = prefix ? prefix + event : event;
|
|
219
|
-
if (this._events[evt])
|
|
220
|
-
clearEvent(this, evt);
|
|
200
|
+
if (this._events[evt]) clearEvent(this, evt);
|
|
221
201
|
} else {
|
|
222
202
|
this._events = new Events();
|
|
223
203
|
this._eventsCount = 0;
|
|
@@ -1156,8 +1136,7 @@ var require_combined_stream = __commonJS({
|
|
|
1156
1136
|
if (!this.pauseStreams) {
|
|
1157
1137
|
return;
|
|
1158
1138
|
}
|
|
1159
|
-
if (this.pauseStreams && this._currentStream && typeof this._currentStream.pause == "function")
|
|
1160
|
-
this._currentStream.pause();
|
|
1139
|
+
if (this.pauseStreams && this._currentStream && typeof this._currentStream.pause == "function") this._currentStream.pause();
|
|
1161
1140
|
this.emit("pause");
|
|
1162
1141
|
};
|
|
1163
1142
|
CombinedStream.prototype.resume = function() {
|
|
@@ -1166,8 +1145,7 @@ var require_combined_stream = __commonJS({
|
|
|
1166
1145
|
this.writable = true;
|
|
1167
1146
|
this._getNext();
|
|
1168
1147
|
}
|
|
1169
|
-
if (this.pauseStreams && this._currentStream && typeof this._currentStream.resume == "function")
|
|
1170
|
-
this._currentStream.resume();
|
|
1148
|
+
if (this.pauseStreams && this._currentStream && typeof this._currentStream.resume == "function") this._currentStream.resume();
|
|
1171
1149
|
this.emit("resume");
|
|
1172
1150
|
};
|
|
1173
1151
|
CombinedStream.prototype.end = function() {
|
|
@@ -9784,8 +9762,7 @@ var require_mime_types = __commonJS({
|
|
|
9784
9762
|
}
|
|
9785
9763
|
if (mime.indexOf("charset") === -1) {
|
|
9786
9764
|
var charset2 = exports2.charset(mime);
|
|
9787
|
-
if (charset2)
|
|
9788
|
-
mime += "; charset=" + charset2.toLowerCase();
|
|
9765
|
+
if (charset2) mime += "; charset=" + charset2.toLowerCase();
|
|
9789
9766
|
}
|
|
9790
9767
|
return mime;
|
|
9791
9768
|
}
|
|
@@ -10182,8 +10159,7 @@ var require_form_data = __commonJS({
|
|
|
10182
10159
|
}
|
|
10183
10160
|
var header;
|
|
10184
10161
|
for (var prop in headers) {
|
|
10185
|
-
if (!headers.hasOwnProperty(prop))
|
|
10186
|
-
continue;
|
|
10162
|
+
if (!headers.hasOwnProperty(prop)) continue;
|
|
10187
10163
|
header = headers[prop];
|
|
10188
10164
|
if (header == null) {
|
|
10189
10165
|
continue;
|
|
@@ -11793,6 +11769,7 @@ var require_axios = __commonJS({
|
|
|
11793
11769
|
kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
|
|
11794
11770
|
};
|
|
11795
11771
|
var isURLSearchParams = kindOfTest("URLSearchParams");
|
|
11772
|
+
var [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
|
|
11796
11773
|
var trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
11797
11774
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
11798
11775
|
if (obj === null || typeof obj === "undefined") {
|
|
@@ -11831,8 +11808,7 @@ var require_axios = __commonJS({
|
|
|
11831
11808
|
return null;
|
|
11832
11809
|
}
|
|
11833
11810
|
var _global = (() => {
|
|
11834
|
-
if (typeof globalThis !== "undefined")
|
|
11835
|
-
return globalThis;
|
|
11811
|
+
if (typeof globalThis !== "undefined") return globalThis;
|
|
11836
11812
|
return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
|
|
11837
11813
|
})();
|
|
11838
11814
|
var isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
@@ -11886,8 +11862,7 @@ var require_axios = __commonJS({
|
|
|
11886
11862
|
let prop;
|
|
11887
11863
|
const merged = {};
|
|
11888
11864
|
destObj = destObj || {};
|
|
11889
|
-
if (sourceObj == null)
|
|
11890
|
-
return destObj;
|
|
11865
|
+
if (sourceObj == null) return destObj;
|
|
11891
11866
|
do {
|
|
11892
11867
|
props = Object.getOwnPropertyNames(sourceObj);
|
|
11893
11868
|
i = props.length;
|
|
@@ -11912,13 +11887,10 @@ var require_axios = __commonJS({
|
|
|
11912
11887
|
return lastIndex !== -1 && lastIndex === position;
|
|
11913
11888
|
};
|
|
11914
11889
|
var toArray = (thing) => {
|
|
11915
|
-
if (!thing)
|
|
11916
|
-
|
|
11917
|
-
if (isArray(thing))
|
|
11918
|
-
return thing;
|
|
11890
|
+
if (!thing) return null;
|
|
11891
|
+
if (isArray(thing)) return thing;
|
|
11919
11892
|
let i = thing.length;
|
|
11920
|
-
if (!isNumber(i))
|
|
11921
|
-
return null;
|
|
11893
|
+
if (!isNumber(i)) return null;
|
|
11922
11894
|
const arr = new Array(i);
|
|
11923
11895
|
while (i-- > 0) {
|
|
11924
11896
|
arr[i] = thing[i];
|
|
@@ -11975,8 +11947,7 @@ var require_axios = __commonJS({
|
|
|
11975
11947
|
return false;
|
|
11976
11948
|
}
|
|
11977
11949
|
const value = obj[name];
|
|
11978
|
-
if (!isFunction(value))
|
|
11979
|
-
return;
|
|
11950
|
+
if (!isFunction(value)) return;
|
|
11980
11951
|
descriptor.enumerable = false;
|
|
11981
11952
|
if ("writable" in descriptor) {
|
|
11982
11953
|
descriptor.writable = false;
|
|
@@ -12002,8 +11973,7 @@ var require_axios = __commonJS({
|
|
|
12002
11973
|
var noop = () => {
|
|
12003
11974
|
};
|
|
12004
11975
|
var toFiniteNumber = (value, defaultValue) => {
|
|
12005
|
-
value = +value;
|
|
12006
|
-
return Number.isFinite(value) ? value : defaultValue;
|
|
11976
|
+
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
12007
11977
|
};
|
|
12008
11978
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
12009
11979
|
var DIGIT = "0123456789";
|
|
@@ -12058,6 +12028,10 @@ var require_axios = __commonJS({
|
|
|
12058
12028
|
isBoolean,
|
|
12059
12029
|
isObject,
|
|
12060
12030
|
isPlainObject,
|
|
12031
|
+
isReadableStream,
|
|
12032
|
+
isRequest,
|
|
12033
|
+
isResponse,
|
|
12034
|
+
isHeaders,
|
|
12061
12035
|
isUndefined,
|
|
12062
12036
|
isDate,
|
|
12063
12037
|
isFile,
|
|
@@ -12177,8 +12151,7 @@ var require_axios = __commonJS({
|
|
|
12177
12151
|
return utils$1.endsWith(key, "[]") ? key.slice(0, -2) : key;
|
|
12178
12152
|
}
|
|
12179
12153
|
function renderKey(path, key, dots) {
|
|
12180
|
-
if (!path)
|
|
12181
|
-
return key;
|
|
12154
|
+
if (!path) return key;
|
|
12182
12155
|
return path.concat(key).map(function each(token, i) {
|
|
12183
12156
|
token = removeBrackets(token);
|
|
12184
12157
|
return !dots && i ? "[" + token + "]" : token;
|
|
@@ -12212,8 +12185,7 @@ var require_axios = __commonJS({
|
|
|
12212
12185
|
throw new TypeError("visitor must be a function");
|
|
12213
12186
|
}
|
|
12214
12187
|
function convertValue(value) {
|
|
12215
|
-
if (value === null)
|
|
12216
|
-
return "";
|
|
12188
|
+
if (value === null) return "";
|
|
12217
12189
|
if (utils$1.isDate(value)) {
|
|
12218
12190
|
return value.toISOString();
|
|
12219
12191
|
}
|
|
@@ -12256,8 +12228,7 @@ var require_axios = __commonJS({
|
|
|
12256
12228
|
isVisitable
|
|
12257
12229
|
});
|
|
12258
12230
|
function build(value, path) {
|
|
12259
|
-
if (utils$1.isUndefined(value))
|
|
12260
|
-
return;
|
|
12231
|
+
if (utils$1.isUndefined(value)) return;
|
|
12261
12232
|
if (stack.indexOf(value) !== -1) {
|
|
12262
12233
|
throw Error("Circular reference detected in " + path.join("."));
|
|
12263
12234
|
}
|
|
@@ -12421,11 +12392,13 @@ var require_axios = __commonJS({
|
|
|
12421
12392
|
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
12422
12393
|
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
12423
12394
|
})();
|
|
12395
|
+
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
12424
12396
|
var utils = /* @__PURE__ */ Object.freeze({
|
|
12425
12397
|
__proto__: null,
|
|
12426
12398
|
hasBrowserEnv,
|
|
12427
12399
|
hasStandardBrowserWebWorkerEnv,
|
|
12428
|
-
hasStandardBrowserEnv
|
|
12400
|
+
hasStandardBrowserEnv,
|
|
12401
|
+
origin
|
|
12429
12402
|
});
|
|
12430
12403
|
var platform = {
|
|
12431
12404
|
...utils,
|
|
@@ -12462,8 +12435,7 @@ var require_axios = __commonJS({
|
|
|
12462
12435
|
function formDataToJSON(formData) {
|
|
12463
12436
|
function buildPath(path, value, target, index) {
|
|
12464
12437
|
let name = path[index++];
|
|
12465
|
-
if (name === "__proto__")
|
|
12466
|
-
return true;
|
|
12438
|
+
if (name === "__proto__") return true;
|
|
12467
12439
|
const isNumericKey = Number.isFinite(+name);
|
|
12468
12440
|
const isLast = index >= path.length;
|
|
12469
12441
|
name = !name && utils$1.isArray(target) ? target.length : name;
|
|
@@ -12508,7 +12480,7 @@ var require_axios = __commonJS({
|
|
|
12508
12480
|
}
|
|
12509
12481
|
var defaults = {
|
|
12510
12482
|
transitional: transitionalDefaults,
|
|
12511
|
-
adapter: ["xhr", "http"],
|
|
12483
|
+
adapter: ["xhr", "http", "fetch"],
|
|
12512
12484
|
transformRequest: [function transformRequest(data, headers) {
|
|
12513
12485
|
const contentType = headers.getContentType() || "";
|
|
12514
12486
|
const hasJSONContentType = contentType.indexOf("application/json") > -1;
|
|
@@ -12520,7 +12492,7 @@ var require_axios = __commonJS({
|
|
|
12520
12492
|
if (isFormData2) {
|
|
12521
12493
|
return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
|
12522
12494
|
}
|
|
12523
|
-
if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data)) {
|
|
12495
|
+
if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
|
|
12524
12496
|
return data;
|
|
12525
12497
|
}
|
|
12526
12498
|
if (utils$1.isArrayBufferView(data)) {
|
|
@@ -12554,6 +12526,9 @@ var require_axios = __commonJS({
|
|
|
12554
12526
|
const transitional = this.transitional || defaults.transitional;
|
|
12555
12527
|
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
12556
12528
|
const JSONRequested = this.responseType === "json";
|
|
12529
|
+
if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
|
|
12530
|
+
return data;
|
|
12531
|
+
}
|
|
12557
12532
|
if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
12558
12533
|
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
12559
12534
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
@@ -12667,8 +12642,7 @@ var require_axios = __commonJS({
|
|
|
12667
12642
|
if (isHeaderNameFilter) {
|
|
12668
12643
|
value = header;
|
|
12669
12644
|
}
|
|
12670
|
-
if (!utils$1.isString(value))
|
|
12671
|
-
return;
|
|
12645
|
+
if (!utils$1.isString(value)) return;
|
|
12672
12646
|
if (utils$1.isString(filter)) {
|
|
12673
12647
|
return value.indexOf(filter) !== -1;
|
|
12674
12648
|
}
|
|
@@ -12713,6 +12687,10 @@ var require_axios = __commonJS({
|
|
|
12713
12687
|
setHeaders(header, valueOrRewrite);
|
|
12714
12688
|
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
12715
12689
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
12690
|
+
} else if (utils$1.isHeaders(header)) {
|
|
12691
|
+
for (const [key, value] of header.entries()) {
|
|
12692
|
+
setHeader(value, key, rewrite);
|
|
12693
|
+
}
|
|
12716
12694
|
} else {
|
|
12717
12695
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
12718
12696
|
}
|
|
@@ -12903,7 +12881,7 @@ var require_axios = __commonJS({
|
|
|
12903
12881
|
}
|
|
12904
12882
|
return requestedURL;
|
|
12905
12883
|
}
|
|
12906
|
-
var VERSION = "1.
|
|
12884
|
+
var VERSION = "1.7.2";
|
|
12907
12885
|
function parseProtocol(url2) {
|
|
12908
12886
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
12909
12887
|
return match && match[1] || "";
|
|
@@ -12939,7 +12917,8 @@ var require_axios = __commonJS({
|
|
|
12939
12917
|
let timestamp = 0;
|
|
12940
12918
|
const threshold = 1e3 / freq;
|
|
12941
12919
|
let timer = null;
|
|
12942
|
-
return function throttled(
|
|
12920
|
+
return function throttled() {
|
|
12921
|
+
const force = this === true;
|
|
12943
12922
|
const now = Date.now();
|
|
12944
12923
|
if (force || now - timestamp > threshold) {
|
|
12945
12924
|
if (timer) {
|
|
@@ -12947,13 +12926,13 @@ var require_axios = __commonJS({
|
|
|
12947
12926
|
timer = null;
|
|
12948
12927
|
}
|
|
12949
12928
|
timestamp = now;
|
|
12950
|
-
return fn.apply(null,
|
|
12929
|
+
return fn.apply(null, arguments);
|
|
12951
12930
|
}
|
|
12952
12931
|
if (!timer) {
|
|
12953
12932
|
timer = setTimeout(() => {
|
|
12954
12933
|
timer = null;
|
|
12955
12934
|
timestamp = Date.now();
|
|
12956
|
-
return fn.apply(null,
|
|
12935
|
+
return fn.apply(null, arguments);
|
|
12957
12936
|
}, threshold - (now - timestamp));
|
|
12958
12937
|
}
|
|
12959
12938
|
};
|
|
@@ -13035,23 +13014,23 @@ var require_axios = __commonJS({
|
|
|
13035
13014
|
const totalBytes = internals.length;
|
|
13036
13015
|
const bytesTransferred = internals.bytesSeen;
|
|
13037
13016
|
const progressBytes = bytesTransferred - bytesNotified;
|
|
13038
|
-
if (!progressBytes || self2.destroyed)
|
|
13039
|
-
return;
|
|
13017
|
+
if (!progressBytes || self2.destroyed) return;
|
|
13040
13018
|
const rate = _speedometer(progressBytes);
|
|
13041
13019
|
bytesNotified = bytesTransferred;
|
|
13042
13020
|
process.nextTick(() => {
|
|
13043
13021
|
self2.emit("progress", {
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
|
|
13022
|
+
loaded: bytesTransferred,
|
|
13023
|
+
total: totalBytes,
|
|
13024
|
+
progress: totalBytes ? bytesTransferred / totalBytes : void 0,
|
|
13025
|
+
bytes: progressBytes,
|
|
13026
|
+
rate: rate ? rate : void 0,
|
|
13027
|
+
estimated: rate && totalBytes && bytesTransferred <= totalBytes ? (totalBytes - bytesTransferred) / rate : void 0,
|
|
13028
|
+
lengthComputable: totalBytes != null
|
|
13050
13029
|
});
|
|
13051
13030
|
});
|
|
13052
13031
|
}, internals.ticksRate);
|
|
13053
13032
|
const onFinish = () => {
|
|
13054
|
-
internals.updateProgress(true);
|
|
13033
|
+
internals.updateProgress.call(true);
|
|
13055
13034
|
};
|
|
13056
13035
|
this.once("end", onFinish);
|
|
13057
13036
|
this.once("error", onFinish);
|
|
@@ -13322,8 +13301,7 @@ var require_axios = __commonJS({
|
|
|
13322
13301
|
let onDone;
|
|
13323
13302
|
let isDone;
|
|
13324
13303
|
const done = (value, isRejected) => {
|
|
13325
|
-
if (isDone)
|
|
13326
|
-
return;
|
|
13304
|
+
if (isDone) return;
|
|
13327
13305
|
isDone = true;
|
|
13328
13306
|
onDone && onDone(value, isRejected);
|
|
13329
13307
|
};
|
|
@@ -13467,8 +13445,7 @@ var require_axios = __commonJS({
|
|
|
13467
13445
|
headers.setContentLength(data.size || 0);
|
|
13468
13446
|
data = stream__default["default"].Readable.from(readBlob$1(data));
|
|
13469
13447
|
} else if (data && !utils$1.isStream(data)) {
|
|
13470
|
-
if (Buffer.isBuffer(data))
|
|
13471
|
-
;
|
|
13448
|
+
if (Buffer.isBuffer(data)) ;
|
|
13472
13449
|
else if (utils$1.isArrayBuffer(data)) {
|
|
13473
13450
|
data = Buffer.from(new Uint8Array(data));
|
|
13474
13451
|
} else if (utils$1.isString(data)) {
|
|
@@ -13585,8 +13562,7 @@ var require_axios = __commonJS({
|
|
|
13585
13562
|
options.insecureHTTPParser = config.insecureHTTPParser;
|
|
13586
13563
|
}
|
|
13587
13564
|
req = transport.request(options, function handleResponse(res) {
|
|
13588
|
-
if (req.destroyed)
|
|
13589
|
-
return;
|
|
13565
|
+
if (req.destroyed) return;
|
|
13590
13566
|
const streams = [res];
|
|
13591
13567
|
const responseLength = +res.headers["content-length"];
|
|
13592
13568
|
if (onDownloadProgress) {
|
|
@@ -13673,8 +13649,7 @@ var require_axios = __commonJS({
|
|
|
13673
13649
|
reject(err);
|
|
13674
13650
|
});
|
|
13675
13651
|
responseStream.on("error", function handleStreamError(err) {
|
|
13676
|
-
if (req.destroyed)
|
|
13677
|
-
return;
|
|
13652
|
+
if (req.destroyed) return;
|
|
13678
13653
|
reject(AxiosError.from(err, null, config, lastRequest));
|
|
13679
13654
|
});
|
|
13680
13655
|
responseStream.on("end", function handleStreamEnd() {
|
|
@@ -13722,8 +13697,7 @@ var require_axios = __commonJS({
|
|
|
13722
13697
|
return;
|
|
13723
13698
|
}
|
|
13724
13699
|
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
13725
|
-
if (isDone)
|
|
13726
|
-
return;
|
|
13700
|
+
if (isDone) return;
|
|
13727
13701
|
let timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded";
|
|
13728
13702
|
const transitional = config.transitional || transitionalDefaults;
|
|
13729
13703
|
if (config.timeoutErrorMessage) {
|
|
@@ -13759,37 +13733,30 @@ var require_axios = __commonJS({
|
|
|
13759
13733
|
}
|
|
13760
13734
|
});
|
|
13761
13735
|
};
|
|
13762
|
-
var
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13768
|
-
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
|
|
13773
|
-
|
|
13774
|
-
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13786
|
-
read() {
|
|
13787
|
-
return null;
|
|
13788
|
-
},
|
|
13789
|
-
remove() {
|
|
13790
|
-
}
|
|
13791
|
-
}
|
|
13792
|
-
);
|
|
13736
|
+
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
13737
|
+
let bytesNotified = 0;
|
|
13738
|
+
const _speedometer = speedometer(50, 250);
|
|
13739
|
+
return throttle((e) => {
|
|
13740
|
+
const loaded = e.loaded;
|
|
13741
|
+
const total = e.lengthComputable ? e.total : void 0;
|
|
13742
|
+
const progressBytes = loaded - bytesNotified;
|
|
13743
|
+
const rate = _speedometer(progressBytes);
|
|
13744
|
+
const inRange = loaded <= total;
|
|
13745
|
+
bytesNotified = loaded;
|
|
13746
|
+
const data = {
|
|
13747
|
+
loaded,
|
|
13748
|
+
total,
|
|
13749
|
+
progress: total ? loaded / total : void 0,
|
|
13750
|
+
bytes: progressBytes,
|
|
13751
|
+
rate: rate ? rate : void 0,
|
|
13752
|
+
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
13753
|
+
event: e,
|
|
13754
|
+
lengthComputable: total != null
|
|
13755
|
+
};
|
|
13756
|
+
data[isDownloadStream ? "download" : "upload"] = true;
|
|
13757
|
+
listener(data);
|
|
13758
|
+
}, freq);
|
|
13759
|
+
};
|
|
13793
13760
|
var isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
13794
13761
|
// Standard browser envs have full support of the APIs needed to test
|
|
13795
13762
|
// whether the request URL is of the same origin as current location.
|
|
@@ -13829,62 +13796,165 @@ var require_axios = __commonJS({
|
|
|
13829
13796
|
};
|
|
13830
13797
|
}()
|
|
13831
13798
|
);
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
|
|
13835
|
-
|
|
13836
|
-
|
|
13837
|
-
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
|
|
13851
|
-
|
|
13852
|
-
|
|
13799
|
+
var cookies = platform.hasStandardBrowserEnv ? (
|
|
13800
|
+
// Standard browser envs support document.cookie
|
|
13801
|
+
{
|
|
13802
|
+
write(name, value, expires, path, domain, secure) {
|
|
13803
|
+
const cookie = [name + "=" + encodeURIComponent(value)];
|
|
13804
|
+
utils$1.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
|
|
13805
|
+
utils$1.isString(path) && cookie.push("path=" + path);
|
|
13806
|
+
utils$1.isString(domain) && cookie.push("domain=" + domain);
|
|
13807
|
+
secure === true && cookie.push("secure");
|
|
13808
|
+
document.cookie = cookie.join("; ");
|
|
13809
|
+
},
|
|
13810
|
+
read(name) {
|
|
13811
|
+
const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
|
|
13812
|
+
return match ? decodeURIComponent(match[3]) : null;
|
|
13813
|
+
},
|
|
13814
|
+
remove(name) {
|
|
13815
|
+
this.write(name, "", Date.now() - 864e5);
|
|
13816
|
+
}
|
|
13817
|
+
}
|
|
13818
|
+
) : (
|
|
13819
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
13820
|
+
{
|
|
13821
|
+
write() {
|
|
13822
|
+
},
|
|
13823
|
+
read() {
|
|
13824
|
+
return null;
|
|
13825
|
+
},
|
|
13826
|
+
remove() {
|
|
13827
|
+
}
|
|
13828
|
+
}
|
|
13829
|
+
);
|
|
13830
|
+
var headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
13831
|
+
function mergeConfig(config1, config2) {
|
|
13832
|
+
config2 = config2 || {};
|
|
13833
|
+
const config = {};
|
|
13834
|
+
function getMergedValue(target, source, caseless) {
|
|
13835
|
+
if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
|
|
13836
|
+
return utils$1.merge.call({ caseless }, target, source);
|
|
13837
|
+
} else if (utils$1.isPlainObject(source)) {
|
|
13838
|
+
return utils$1.merge({}, source);
|
|
13839
|
+
} else if (utils$1.isArray(source)) {
|
|
13840
|
+
return source.slice();
|
|
13841
|
+
}
|
|
13842
|
+
return source;
|
|
13843
|
+
}
|
|
13844
|
+
function mergeDeepProperties(a, b, caseless) {
|
|
13845
|
+
if (!utils$1.isUndefined(b)) {
|
|
13846
|
+
return getMergedValue(a, b, caseless);
|
|
13847
|
+
} else if (!utils$1.isUndefined(a)) {
|
|
13848
|
+
return getMergedValue(void 0, a, caseless);
|
|
13849
|
+
}
|
|
13850
|
+
}
|
|
13851
|
+
function valueFromConfig2(a, b) {
|
|
13852
|
+
if (!utils$1.isUndefined(b)) {
|
|
13853
|
+
return getMergedValue(void 0, b);
|
|
13854
|
+
}
|
|
13855
|
+
}
|
|
13856
|
+
function defaultToConfig2(a, b) {
|
|
13857
|
+
if (!utils$1.isUndefined(b)) {
|
|
13858
|
+
return getMergedValue(void 0, b);
|
|
13859
|
+
} else if (!utils$1.isUndefined(a)) {
|
|
13860
|
+
return getMergedValue(void 0, a);
|
|
13861
|
+
}
|
|
13862
|
+
}
|
|
13863
|
+
function mergeDirectKeys(a, b, prop) {
|
|
13864
|
+
if (prop in config2) {
|
|
13865
|
+
return getMergedValue(a, b);
|
|
13866
|
+
} else if (prop in config1) {
|
|
13867
|
+
return getMergedValue(void 0, a);
|
|
13868
|
+
}
|
|
13869
|
+
}
|
|
13870
|
+
const mergeMap = {
|
|
13871
|
+
url: valueFromConfig2,
|
|
13872
|
+
method: valueFromConfig2,
|
|
13873
|
+
data: valueFromConfig2,
|
|
13874
|
+
baseURL: defaultToConfig2,
|
|
13875
|
+
transformRequest: defaultToConfig2,
|
|
13876
|
+
transformResponse: defaultToConfig2,
|
|
13877
|
+
paramsSerializer: defaultToConfig2,
|
|
13878
|
+
timeout: defaultToConfig2,
|
|
13879
|
+
timeoutMessage: defaultToConfig2,
|
|
13880
|
+
withCredentials: defaultToConfig2,
|
|
13881
|
+
withXSRFToken: defaultToConfig2,
|
|
13882
|
+
adapter: defaultToConfig2,
|
|
13883
|
+
responseType: defaultToConfig2,
|
|
13884
|
+
xsrfCookieName: defaultToConfig2,
|
|
13885
|
+
xsrfHeaderName: defaultToConfig2,
|
|
13886
|
+
onUploadProgress: defaultToConfig2,
|
|
13887
|
+
onDownloadProgress: defaultToConfig2,
|
|
13888
|
+
decompress: defaultToConfig2,
|
|
13889
|
+
maxContentLength: defaultToConfig2,
|
|
13890
|
+
maxBodyLength: defaultToConfig2,
|
|
13891
|
+
beforeRedirect: defaultToConfig2,
|
|
13892
|
+
transport: defaultToConfig2,
|
|
13893
|
+
httpAgent: defaultToConfig2,
|
|
13894
|
+
httpsAgent: defaultToConfig2,
|
|
13895
|
+
cancelToken: defaultToConfig2,
|
|
13896
|
+
socketPath: defaultToConfig2,
|
|
13897
|
+
responseEncoding: defaultToConfig2,
|
|
13898
|
+
validateStatus: mergeDirectKeys,
|
|
13899
|
+
headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
|
|
13853
13900
|
};
|
|
13901
|
+
utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
|
|
13902
|
+
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
13903
|
+
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
13904
|
+
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
13905
|
+
});
|
|
13906
|
+
return config;
|
|
13854
13907
|
}
|
|
13908
|
+
var resolveConfig = (config) => {
|
|
13909
|
+
const newConfig = mergeConfig({}, config);
|
|
13910
|
+
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
13911
|
+
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
13912
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
13913
|
+
if (auth) {
|
|
13914
|
+
headers.set(
|
|
13915
|
+
"Authorization",
|
|
13916
|
+
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
13917
|
+
);
|
|
13918
|
+
}
|
|
13919
|
+
let contentType;
|
|
13920
|
+
if (utils$1.isFormData(data)) {
|
|
13921
|
+
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
13922
|
+
headers.setContentType(void 0);
|
|
13923
|
+
} else if ((contentType = headers.getContentType()) !== false) {
|
|
13924
|
+
const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
|
|
13925
|
+
headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
|
|
13926
|
+
}
|
|
13927
|
+
}
|
|
13928
|
+
if (platform.hasStandardBrowserEnv) {
|
|
13929
|
+
withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
|
|
13930
|
+
if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(newConfig.url)) {
|
|
13931
|
+
const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
|
|
13932
|
+
if (xsrfValue) {
|
|
13933
|
+
headers.set(xsrfHeaderName, xsrfValue);
|
|
13934
|
+
}
|
|
13935
|
+
}
|
|
13936
|
+
}
|
|
13937
|
+
return newConfig;
|
|
13938
|
+
};
|
|
13855
13939
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
13856
13940
|
var xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
13857
13941
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
13858
|
-
|
|
13859
|
-
|
|
13860
|
-
|
|
13942
|
+
const _config = resolveConfig(config);
|
|
13943
|
+
let requestData = _config.data;
|
|
13944
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
13945
|
+
let { responseType } = _config;
|
|
13861
13946
|
let onCanceled;
|
|
13862
13947
|
function done() {
|
|
13863
|
-
if (
|
|
13864
|
-
|
|
13865
|
-
}
|
|
13866
|
-
if (config.signal) {
|
|
13867
|
-
config.signal.removeEventListener("abort", onCanceled);
|
|
13948
|
+
if (_config.cancelToken) {
|
|
13949
|
+
_config.cancelToken.unsubscribe(onCanceled);
|
|
13868
13950
|
}
|
|
13869
|
-
|
|
13870
|
-
|
|
13871
|
-
if (utils$1.isFormData(requestData)) {
|
|
13872
|
-
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
13873
|
-
requestHeaders.setContentType(false);
|
|
13874
|
-
} else if ((contentType = requestHeaders.getContentType()) !== false) {
|
|
13875
|
-
const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
|
|
13876
|
-
requestHeaders.setContentType([type || "multipart/form-data", ...tokens].join("; "));
|
|
13951
|
+
if (_config.signal) {
|
|
13952
|
+
_config.signal.removeEventListener("abort", onCanceled);
|
|
13877
13953
|
}
|
|
13878
13954
|
}
|
|
13879
13955
|
let request = new XMLHttpRequest();
|
|
13880
|
-
|
|
13881
|
-
|
|
13882
|
-
const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : "";
|
|
13883
|
-
requestHeaders.set("Authorization", "Basic " + btoa(username + ":" + password));
|
|
13884
|
-
}
|
|
13885
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
13886
|
-
request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
|
|
13887
|
-
request.timeout = config.timeout;
|
|
13956
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
13957
|
+
request.timeout = _config.timeout;
|
|
13888
13958
|
function onloadend() {
|
|
13889
13959
|
if (!request) {
|
|
13890
13960
|
return;
|
|
@@ -13927,55 +13997,46 @@ var require_axios = __commonJS({
|
|
|
13927
13997
|
if (!request) {
|
|
13928
13998
|
return;
|
|
13929
13999
|
}
|
|
13930
|
-
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED,
|
|
14000
|
+
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, _config, request));
|
|
13931
14001
|
request = null;
|
|
13932
14002
|
};
|
|
13933
14003
|
request.onerror = function handleError() {
|
|
13934
|
-
reject(new AxiosError("Network Error", AxiosError.ERR_NETWORK,
|
|
14004
|
+
reject(new AxiosError("Network Error", AxiosError.ERR_NETWORK, _config, request));
|
|
13935
14005
|
request = null;
|
|
13936
14006
|
};
|
|
13937
14007
|
request.ontimeout = function handleTimeout() {
|
|
13938
|
-
let timeoutErrorMessage =
|
|
13939
|
-
const transitional =
|
|
13940
|
-
if (
|
|
13941
|
-
timeoutErrorMessage =
|
|
14008
|
+
let timeoutErrorMessage = _config.timeout ? "timeout of " + _config.timeout + "ms exceeded" : "timeout exceeded";
|
|
14009
|
+
const transitional = _config.transitional || transitionalDefaults;
|
|
14010
|
+
if (_config.timeoutErrorMessage) {
|
|
14011
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
13942
14012
|
}
|
|
13943
14013
|
reject(new AxiosError(
|
|
13944
14014
|
timeoutErrorMessage,
|
|
13945
14015
|
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
13946
|
-
|
|
14016
|
+
_config,
|
|
13947
14017
|
request
|
|
13948
14018
|
));
|
|
13949
14019
|
request = null;
|
|
13950
14020
|
};
|
|
13951
|
-
if (platform.hasStandardBrowserEnv) {
|
|
13952
|
-
withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
|
|
13953
|
-
if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(fullPath)) {
|
|
13954
|
-
const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
|
|
13955
|
-
if (xsrfValue) {
|
|
13956
|
-
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
|
|
13957
|
-
}
|
|
13958
|
-
}
|
|
13959
|
-
}
|
|
13960
14021
|
requestData === void 0 && requestHeaders.setContentType(null);
|
|
13961
14022
|
if ("setRequestHeader" in request) {
|
|
13962
14023
|
utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
13963
14024
|
request.setRequestHeader(key, val);
|
|
13964
14025
|
});
|
|
13965
14026
|
}
|
|
13966
|
-
if (!utils$1.isUndefined(
|
|
13967
|
-
request.withCredentials = !!
|
|
14027
|
+
if (!utils$1.isUndefined(_config.withCredentials)) {
|
|
14028
|
+
request.withCredentials = !!_config.withCredentials;
|
|
13968
14029
|
}
|
|
13969
14030
|
if (responseType && responseType !== "json") {
|
|
13970
|
-
request.responseType =
|
|
14031
|
+
request.responseType = _config.responseType;
|
|
13971
14032
|
}
|
|
13972
|
-
if (typeof
|
|
13973
|
-
request.addEventListener("progress", progressEventReducer(
|
|
14033
|
+
if (typeof _config.onDownloadProgress === "function") {
|
|
14034
|
+
request.addEventListener("progress", progressEventReducer(_config.onDownloadProgress, true));
|
|
13974
14035
|
}
|
|
13975
|
-
if (typeof
|
|
13976
|
-
request.upload.addEventListener("progress", progressEventReducer(
|
|
14036
|
+
if (typeof _config.onUploadProgress === "function" && request.upload) {
|
|
14037
|
+
request.upload.addEventListener("progress", progressEventReducer(_config.onUploadProgress));
|
|
13977
14038
|
}
|
|
13978
|
-
if (
|
|
14039
|
+
if (_config.cancelToken || _config.signal) {
|
|
13979
14040
|
onCanceled = (cancel) => {
|
|
13980
14041
|
if (!request) {
|
|
13981
14042
|
return;
|
|
@@ -13984,12 +14045,12 @@ var require_axios = __commonJS({
|
|
|
13984
14045
|
request.abort();
|
|
13985
14046
|
request = null;
|
|
13986
14047
|
};
|
|
13987
|
-
|
|
13988
|
-
if (
|
|
13989
|
-
|
|
14048
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
14049
|
+
if (_config.signal) {
|
|
14050
|
+
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener("abort", onCanceled);
|
|
13990
14051
|
}
|
|
13991
14052
|
}
|
|
13992
|
-
const protocol = parseProtocol(
|
|
14053
|
+
const protocol = parseProtocol(_config.url);
|
|
13993
14054
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
13994
14055
|
reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
|
|
13995
14056
|
return;
|
|
@@ -13997,9 +14058,248 @@ var require_axios = __commonJS({
|
|
|
13997
14058
|
request.send(requestData || null);
|
|
13998
14059
|
});
|
|
13999
14060
|
};
|
|
14061
|
+
var composeSignals = (signals, timeout) => {
|
|
14062
|
+
let controller = new AbortController();
|
|
14063
|
+
let aborted;
|
|
14064
|
+
const onabort = function(cancel) {
|
|
14065
|
+
if (!aborted) {
|
|
14066
|
+
aborted = true;
|
|
14067
|
+
unsubscribe();
|
|
14068
|
+
const err = cancel instanceof Error ? cancel : this.reason;
|
|
14069
|
+
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
14070
|
+
}
|
|
14071
|
+
};
|
|
14072
|
+
let timer = timeout && setTimeout(() => {
|
|
14073
|
+
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
14074
|
+
}, timeout);
|
|
14075
|
+
const unsubscribe = () => {
|
|
14076
|
+
if (signals) {
|
|
14077
|
+
timer && clearTimeout(timer);
|
|
14078
|
+
timer = null;
|
|
14079
|
+
signals.forEach((signal2) => {
|
|
14080
|
+
signal2 && (signal2.removeEventListener ? signal2.removeEventListener("abort", onabort) : signal2.unsubscribe(onabort));
|
|
14081
|
+
});
|
|
14082
|
+
signals = null;
|
|
14083
|
+
}
|
|
14084
|
+
};
|
|
14085
|
+
signals.forEach((signal2) => signal2 && signal2.addEventListener && signal2.addEventListener("abort", onabort));
|
|
14086
|
+
const { signal } = controller;
|
|
14087
|
+
signal.unsubscribe = unsubscribe;
|
|
14088
|
+
return [signal, () => {
|
|
14089
|
+
timer && clearTimeout(timer);
|
|
14090
|
+
timer = null;
|
|
14091
|
+
}];
|
|
14092
|
+
};
|
|
14093
|
+
var composeSignals$1 = composeSignals;
|
|
14094
|
+
var streamChunk = function* (chunk, chunkSize) {
|
|
14095
|
+
let len = chunk.byteLength;
|
|
14096
|
+
if (!chunkSize || len < chunkSize) {
|
|
14097
|
+
yield chunk;
|
|
14098
|
+
return;
|
|
14099
|
+
}
|
|
14100
|
+
let pos = 0;
|
|
14101
|
+
let end;
|
|
14102
|
+
while (pos < len) {
|
|
14103
|
+
end = pos + chunkSize;
|
|
14104
|
+
yield chunk.slice(pos, end);
|
|
14105
|
+
pos = end;
|
|
14106
|
+
}
|
|
14107
|
+
};
|
|
14108
|
+
var readBytes = async function* (iterable, chunkSize, encode2) {
|
|
14109
|
+
for await (const chunk of iterable) {
|
|
14110
|
+
yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : await encode2(String(chunk)), chunkSize);
|
|
14111
|
+
}
|
|
14112
|
+
};
|
|
14113
|
+
var trackStream = (stream2, chunkSize, onProgress, onFinish, encode2) => {
|
|
14114
|
+
const iterator = readBytes(stream2, chunkSize, encode2);
|
|
14115
|
+
let bytes = 0;
|
|
14116
|
+
return new ReadableStream({
|
|
14117
|
+
type: "bytes",
|
|
14118
|
+
async pull(controller) {
|
|
14119
|
+
const { done, value } = await iterator.next();
|
|
14120
|
+
if (done) {
|
|
14121
|
+
controller.close();
|
|
14122
|
+
onFinish();
|
|
14123
|
+
return;
|
|
14124
|
+
}
|
|
14125
|
+
let len = value.byteLength;
|
|
14126
|
+
onProgress && onProgress(bytes += len);
|
|
14127
|
+
controller.enqueue(new Uint8Array(value));
|
|
14128
|
+
},
|
|
14129
|
+
cancel(reason) {
|
|
14130
|
+
onFinish(reason);
|
|
14131
|
+
return iterator.return();
|
|
14132
|
+
}
|
|
14133
|
+
}, {
|
|
14134
|
+
highWaterMark: 2
|
|
14135
|
+
});
|
|
14136
|
+
};
|
|
14137
|
+
var fetchProgressDecorator = (total, fn) => {
|
|
14138
|
+
const lengthComputable = total != null;
|
|
14139
|
+
return (loaded) => setTimeout(() => fn({
|
|
14140
|
+
lengthComputable,
|
|
14141
|
+
total,
|
|
14142
|
+
loaded
|
|
14143
|
+
}));
|
|
14144
|
+
};
|
|
14145
|
+
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
14146
|
+
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
14147
|
+
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
14148
|
+
var supportsRequestStream = isReadableStreamSupported && (() => {
|
|
14149
|
+
let duplexAccessed = false;
|
|
14150
|
+
const hasContentType = new Request(platform.origin, {
|
|
14151
|
+
body: new ReadableStream(),
|
|
14152
|
+
method: "POST",
|
|
14153
|
+
get duplex() {
|
|
14154
|
+
duplexAccessed = true;
|
|
14155
|
+
return "half";
|
|
14156
|
+
}
|
|
14157
|
+
}).headers.has("Content-Type");
|
|
14158
|
+
return duplexAccessed && !hasContentType;
|
|
14159
|
+
})();
|
|
14160
|
+
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
14161
|
+
var supportsResponseStream = isReadableStreamSupported && !!(() => {
|
|
14162
|
+
try {
|
|
14163
|
+
return utils$1.isReadableStream(new Response("").body);
|
|
14164
|
+
} catch (err) {
|
|
14165
|
+
}
|
|
14166
|
+
})();
|
|
14167
|
+
var resolvers = {
|
|
14168
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
14169
|
+
};
|
|
14170
|
+
isFetchSupported && ((res) => {
|
|
14171
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
14172
|
+
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
|
|
14173
|
+
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
14174
|
+
});
|
|
14175
|
+
});
|
|
14176
|
+
})(new Response());
|
|
14177
|
+
var getBodyLength = async (body) => {
|
|
14178
|
+
if (body == null) {
|
|
14179
|
+
return 0;
|
|
14180
|
+
}
|
|
14181
|
+
if (utils$1.isBlob(body)) {
|
|
14182
|
+
return body.size;
|
|
14183
|
+
}
|
|
14184
|
+
if (utils$1.isSpecCompliantForm(body)) {
|
|
14185
|
+
return (await new Request(body).arrayBuffer()).byteLength;
|
|
14186
|
+
}
|
|
14187
|
+
if (utils$1.isArrayBufferView(body)) {
|
|
14188
|
+
return body.byteLength;
|
|
14189
|
+
}
|
|
14190
|
+
if (utils$1.isURLSearchParams(body)) {
|
|
14191
|
+
body = body + "";
|
|
14192
|
+
}
|
|
14193
|
+
if (utils$1.isString(body)) {
|
|
14194
|
+
return (await encodeText(body)).byteLength;
|
|
14195
|
+
}
|
|
14196
|
+
};
|
|
14197
|
+
var resolveBodyLength = async (headers, body) => {
|
|
14198
|
+
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
14199
|
+
return length == null ? getBodyLength(body) : length;
|
|
14200
|
+
};
|
|
14201
|
+
var fetchAdapter = isFetchSupported && (async (config) => {
|
|
14202
|
+
let {
|
|
14203
|
+
url: url2,
|
|
14204
|
+
method,
|
|
14205
|
+
data,
|
|
14206
|
+
signal,
|
|
14207
|
+
cancelToken,
|
|
14208
|
+
timeout,
|
|
14209
|
+
onDownloadProgress,
|
|
14210
|
+
onUploadProgress,
|
|
14211
|
+
responseType,
|
|
14212
|
+
headers,
|
|
14213
|
+
withCredentials = "same-origin",
|
|
14214
|
+
fetchOptions
|
|
14215
|
+
} = resolveConfig(config);
|
|
14216
|
+
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
14217
|
+
let [composedSignal, stopTimeout] = signal || cancelToken || timeout ? composeSignals$1([signal, cancelToken], timeout) : [];
|
|
14218
|
+
let finished, request;
|
|
14219
|
+
const onFinish = () => {
|
|
14220
|
+
!finished && setTimeout(() => {
|
|
14221
|
+
composedSignal && composedSignal.unsubscribe();
|
|
14222
|
+
});
|
|
14223
|
+
finished = true;
|
|
14224
|
+
};
|
|
14225
|
+
let requestContentLength;
|
|
14226
|
+
try {
|
|
14227
|
+
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
14228
|
+
let _request = new Request(url2, {
|
|
14229
|
+
method: "POST",
|
|
14230
|
+
body: data,
|
|
14231
|
+
duplex: "half"
|
|
14232
|
+
});
|
|
14233
|
+
let contentTypeHeader;
|
|
14234
|
+
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
14235
|
+
headers.setContentType(contentTypeHeader);
|
|
14236
|
+
}
|
|
14237
|
+
if (_request.body) {
|
|
14238
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(
|
|
14239
|
+
requestContentLength,
|
|
14240
|
+
progressEventReducer(onUploadProgress)
|
|
14241
|
+
), null, encodeText);
|
|
14242
|
+
}
|
|
14243
|
+
}
|
|
14244
|
+
if (!utils$1.isString(withCredentials)) {
|
|
14245
|
+
withCredentials = withCredentials ? "cors" : "omit";
|
|
14246
|
+
}
|
|
14247
|
+
request = new Request(url2, {
|
|
14248
|
+
...fetchOptions,
|
|
14249
|
+
signal: composedSignal,
|
|
14250
|
+
method: method.toUpperCase(),
|
|
14251
|
+
headers: headers.normalize().toJSON(),
|
|
14252
|
+
body: data,
|
|
14253
|
+
duplex: "half",
|
|
14254
|
+
withCredentials
|
|
14255
|
+
});
|
|
14256
|
+
let response = await fetch(request);
|
|
14257
|
+
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
14258
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
14259
|
+
const options = {};
|
|
14260
|
+
["status", "statusText", "headers"].forEach((prop) => {
|
|
14261
|
+
options[prop] = response[prop];
|
|
14262
|
+
});
|
|
14263
|
+
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
14264
|
+
response = new Response(
|
|
14265
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(
|
|
14266
|
+
responseContentLength,
|
|
14267
|
+
progressEventReducer(onDownloadProgress, true)
|
|
14268
|
+
), isStreamResponse && onFinish, encodeText),
|
|
14269
|
+
options
|
|
14270
|
+
);
|
|
14271
|
+
}
|
|
14272
|
+
responseType = responseType || "text";
|
|
14273
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
14274
|
+
!isStreamResponse && onFinish();
|
|
14275
|
+
stopTimeout && stopTimeout();
|
|
14276
|
+
return await new Promise((resolve, reject) => {
|
|
14277
|
+
settle(resolve, reject, {
|
|
14278
|
+
data: responseData,
|
|
14279
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
14280
|
+
status: response.status,
|
|
14281
|
+
statusText: response.statusText,
|
|
14282
|
+
config,
|
|
14283
|
+
request
|
|
14284
|
+
});
|
|
14285
|
+
});
|
|
14286
|
+
} catch (err) {
|
|
14287
|
+
onFinish();
|
|
14288
|
+
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
14289
|
+
throw Object.assign(
|
|
14290
|
+
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
14291
|
+
{
|
|
14292
|
+
cause: err.cause || err
|
|
14293
|
+
}
|
|
14294
|
+
);
|
|
14295
|
+
}
|
|
14296
|
+
throw AxiosError.from(err, err && err.code, config, request);
|
|
14297
|
+
}
|
|
14298
|
+
});
|
|
14000
14299
|
var knownAdapters = {
|
|
14001
14300
|
http: httpAdapter,
|
|
14002
|
-
xhr: xhrAdapter
|
|
14301
|
+
xhr: xhrAdapter,
|
|
14302
|
+
fetch: fetchAdapter
|
|
14003
14303
|
};
|
|
14004
14304
|
utils$1.forEach(knownAdapters, (fn, value) => {
|
|
14005
14305
|
if (fn) {
|
|
@@ -14091,84 +14391,6 @@ var require_axios = __commonJS({
|
|
|
14091
14391
|
return Promise.reject(reason);
|
|
14092
14392
|
});
|
|
14093
14393
|
}
|
|
14094
|
-
var headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
14095
|
-
function mergeConfig(config1, config2) {
|
|
14096
|
-
config2 = config2 || {};
|
|
14097
|
-
const config = {};
|
|
14098
|
-
function getMergedValue(target, source, caseless) {
|
|
14099
|
-
if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
|
|
14100
|
-
return utils$1.merge.call({ caseless }, target, source);
|
|
14101
|
-
} else if (utils$1.isPlainObject(source)) {
|
|
14102
|
-
return utils$1.merge({}, source);
|
|
14103
|
-
} else if (utils$1.isArray(source)) {
|
|
14104
|
-
return source.slice();
|
|
14105
|
-
}
|
|
14106
|
-
return source;
|
|
14107
|
-
}
|
|
14108
|
-
function mergeDeepProperties(a, b, caseless) {
|
|
14109
|
-
if (!utils$1.isUndefined(b)) {
|
|
14110
|
-
return getMergedValue(a, b, caseless);
|
|
14111
|
-
} else if (!utils$1.isUndefined(a)) {
|
|
14112
|
-
return getMergedValue(void 0, a, caseless);
|
|
14113
|
-
}
|
|
14114
|
-
}
|
|
14115
|
-
function valueFromConfig2(a, b) {
|
|
14116
|
-
if (!utils$1.isUndefined(b)) {
|
|
14117
|
-
return getMergedValue(void 0, b);
|
|
14118
|
-
}
|
|
14119
|
-
}
|
|
14120
|
-
function defaultToConfig2(a, b) {
|
|
14121
|
-
if (!utils$1.isUndefined(b)) {
|
|
14122
|
-
return getMergedValue(void 0, b);
|
|
14123
|
-
} else if (!utils$1.isUndefined(a)) {
|
|
14124
|
-
return getMergedValue(void 0, a);
|
|
14125
|
-
}
|
|
14126
|
-
}
|
|
14127
|
-
function mergeDirectKeys(a, b, prop) {
|
|
14128
|
-
if (prop in config2) {
|
|
14129
|
-
return getMergedValue(a, b);
|
|
14130
|
-
} else if (prop in config1) {
|
|
14131
|
-
return getMergedValue(void 0, a);
|
|
14132
|
-
}
|
|
14133
|
-
}
|
|
14134
|
-
const mergeMap = {
|
|
14135
|
-
url: valueFromConfig2,
|
|
14136
|
-
method: valueFromConfig2,
|
|
14137
|
-
data: valueFromConfig2,
|
|
14138
|
-
baseURL: defaultToConfig2,
|
|
14139
|
-
transformRequest: defaultToConfig2,
|
|
14140
|
-
transformResponse: defaultToConfig2,
|
|
14141
|
-
paramsSerializer: defaultToConfig2,
|
|
14142
|
-
timeout: defaultToConfig2,
|
|
14143
|
-
timeoutMessage: defaultToConfig2,
|
|
14144
|
-
withCredentials: defaultToConfig2,
|
|
14145
|
-
withXSRFToken: defaultToConfig2,
|
|
14146
|
-
adapter: defaultToConfig2,
|
|
14147
|
-
responseType: defaultToConfig2,
|
|
14148
|
-
xsrfCookieName: defaultToConfig2,
|
|
14149
|
-
xsrfHeaderName: defaultToConfig2,
|
|
14150
|
-
onUploadProgress: defaultToConfig2,
|
|
14151
|
-
onDownloadProgress: defaultToConfig2,
|
|
14152
|
-
decompress: defaultToConfig2,
|
|
14153
|
-
maxContentLength: defaultToConfig2,
|
|
14154
|
-
maxBodyLength: defaultToConfig2,
|
|
14155
|
-
beforeRedirect: defaultToConfig2,
|
|
14156
|
-
transport: defaultToConfig2,
|
|
14157
|
-
httpAgent: defaultToConfig2,
|
|
14158
|
-
httpsAgent: defaultToConfig2,
|
|
14159
|
-
cancelToken: defaultToConfig2,
|
|
14160
|
-
socketPath: defaultToConfig2,
|
|
14161
|
-
responseEncoding: defaultToConfig2,
|
|
14162
|
-
validateStatus: mergeDirectKeys,
|
|
14163
|
-
headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
|
|
14164
|
-
};
|
|
14165
|
-
utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
|
|
14166
|
-
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
14167
|
-
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
14168
|
-
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
14169
|
-
});
|
|
14170
|
-
return config;
|
|
14171
|
-
}
|
|
14172
14394
|
var validators$1 = {};
|
|
14173
14395
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
14174
14396
|
validators$1[type] = function validator2(thing) {
|
|
@@ -14250,10 +14472,13 @@ var require_axios = __commonJS({
|
|
|
14250
14472
|
let dummy;
|
|
14251
14473
|
Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : dummy = new Error();
|
|
14252
14474
|
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
|
|
14253
|
-
|
|
14254
|
-
err.stack
|
|
14255
|
-
|
|
14256
|
-
err.stack
|
|
14475
|
+
try {
|
|
14476
|
+
if (!err.stack) {
|
|
14477
|
+
err.stack = stack;
|
|
14478
|
+
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ""))) {
|
|
14479
|
+
err.stack += "\n" + stack;
|
|
14480
|
+
}
|
|
14481
|
+
} catch (e) {
|
|
14257
14482
|
}
|
|
14258
14483
|
}
|
|
14259
14484
|
throw err;
|
|
@@ -14394,8 +14619,7 @@ var require_axios = __commonJS({
|
|
|
14394
14619
|
});
|
|
14395
14620
|
const token = this;
|
|
14396
14621
|
this.promise.then((cancel) => {
|
|
14397
|
-
if (!token._listeners)
|
|
14398
|
-
return;
|
|
14622
|
+
if (!token._listeners) return;
|
|
14399
14623
|
let i = token._listeners.length;
|
|
14400
14624
|
while (i-- > 0) {
|
|
14401
14625
|
token._listeners[i](cancel);
|
|
@@ -14709,8 +14933,7 @@ var require_form_data2 = __commonJS({
|
|
|
14709
14933
|
}
|
|
14710
14934
|
var header;
|
|
14711
14935
|
for (var prop in headers) {
|
|
14712
|
-
if (!headers.hasOwnProperty(prop))
|
|
14713
|
-
continue;
|
|
14936
|
+
if (!headers.hasOwnProperty(prop)) continue;
|
|
14714
14937
|
header = headers[prop];
|
|
14715
14938
|
if (header == null) {
|
|
14716
14939
|
continue;
|
|
@@ -14928,8 +15151,7 @@ var require_eventemitter32 = __commonJS({
|
|
|
14928
15151
|
}
|
|
14929
15152
|
if (Object.create) {
|
|
14930
15153
|
Events.prototype = /* @__PURE__ */ Object.create(null);
|
|
14931
|
-
if (!new Events().__proto__)
|
|
14932
|
-
prefix = false;
|
|
15154
|
+
if (!new Events().__proto__) prefix = false;
|
|
14933
15155
|
}
|
|
14934
15156
|
function EE(fn, context, once) {
|
|
14935
15157
|
this.fn = fn;
|
|
@@ -14941,19 +15163,14 @@ var require_eventemitter32 = __commonJS({
|
|
|
14941
15163
|
throw new TypeError("The listener must be a function");
|
|
14942
15164
|
}
|
|
14943
15165
|
var listener = new EE(fn, context || emitter, once), evt = prefix ? prefix + event : event;
|
|
14944
|
-
if (!emitter._events[evt])
|
|
14945
|
-
|
|
14946
|
-
else
|
|
14947
|
-
emitter._events[evt].push(listener);
|
|
14948
|
-
else
|
|
14949
|
-
emitter._events[evt] = [emitter._events[evt], listener];
|
|
15166
|
+
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
|
15167
|
+
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
|
15168
|
+
else emitter._events[evt] = [emitter._events[evt], listener];
|
|
14950
15169
|
return emitter;
|
|
14951
15170
|
}
|
|
14952
15171
|
function clearEvent(emitter, evt) {
|
|
14953
|
-
if (--emitter._eventsCount === 0)
|
|
14954
|
-
|
|
14955
|
-
else
|
|
14956
|
-
delete emitter._events[evt];
|
|
15172
|
+
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
|
15173
|
+
else delete emitter._events[evt];
|
|
14957
15174
|
}
|
|
14958
15175
|
function EventEmitter() {
|
|
14959
15176
|
this._events = new Events();
|
|
@@ -14961,11 +15178,9 @@ var require_eventemitter32 = __commonJS({
|
|
|
14961
15178
|
}
|
|
14962
15179
|
EventEmitter.prototype.eventNames = function eventNames() {
|
|
14963
15180
|
var names = [], events, name;
|
|
14964
|
-
if (this._eventsCount === 0)
|
|
14965
|
-
return names;
|
|
15181
|
+
if (this._eventsCount === 0) return names;
|
|
14966
15182
|
for (name in events = this._events) {
|
|
14967
|
-
if (has.call(events, name))
|
|
14968
|
-
names.push(prefix ? name.slice(1) : name);
|
|
15183
|
+
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
|
14969
15184
|
}
|
|
14970
15185
|
if (Object.getOwnPropertySymbols) {
|
|
14971
15186
|
return names.concat(Object.getOwnPropertySymbols(events));
|
|
@@ -14974,10 +15189,8 @@ var require_eventemitter32 = __commonJS({
|
|
|
14974
15189
|
};
|
|
14975
15190
|
EventEmitter.prototype.listeners = function listeners(event) {
|
|
14976
15191
|
var evt = prefix ? prefix + event : event, handlers = this._events[evt];
|
|
14977
|
-
if (!handlers)
|
|
14978
|
-
|
|
14979
|
-
if (handlers.fn)
|
|
14980
|
-
return [handlers.fn];
|
|
15192
|
+
if (!handlers) return [];
|
|
15193
|
+
if (handlers.fn) return [handlers.fn];
|
|
14981
15194
|
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
|
14982
15195
|
ee[i] = handlers[i].fn;
|
|
14983
15196
|
}
|
|
@@ -14985,20 +15198,16 @@ var require_eventemitter32 = __commonJS({
|
|
|
14985
15198
|
};
|
|
14986
15199
|
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
|
14987
15200
|
var evt = prefix ? prefix + event : event, listeners = this._events[evt];
|
|
14988
|
-
if (!listeners)
|
|
14989
|
-
|
|
14990
|
-
if (listeners.fn)
|
|
14991
|
-
return 1;
|
|
15201
|
+
if (!listeners) return 0;
|
|
15202
|
+
if (listeners.fn) return 1;
|
|
14992
15203
|
return listeners.length;
|
|
14993
15204
|
};
|
|
14994
15205
|
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
14995
15206
|
var evt = prefix ? prefix + event : event;
|
|
14996
|
-
if (!this._events[evt])
|
|
14997
|
-
return false;
|
|
15207
|
+
if (!this._events[evt]) return false;
|
|
14998
15208
|
var listeners = this._events[evt], len = arguments.length, args, i;
|
|
14999
15209
|
if (listeners.fn) {
|
|
15000
|
-
if (listeners.once)
|
|
15001
|
-
this.removeListener(event, listeners.fn, void 0, true);
|
|
15210
|
+
if (listeners.once) this.removeListener(event, listeners.fn, void 0, true);
|
|
15002
15211
|
switch (len) {
|
|
15003
15212
|
case 1:
|
|
15004
15213
|
return listeners.fn.call(listeners.context), true;
|
|
@@ -15020,8 +15229,7 @@ var require_eventemitter32 = __commonJS({
|
|
|
15020
15229
|
} else {
|
|
15021
15230
|
var length = listeners.length, j;
|
|
15022
15231
|
for (i = 0; i < length; i++) {
|
|
15023
|
-
if (listeners[i].once)
|
|
15024
|
-
this.removeListener(event, listeners[i].fn, void 0, true);
|
|
15232
|
+
if (listeners[i].once) this.removeListener(event, listeners[i].fn, void 0, true);
|
|
15025
15233
|
switch (len) {
|
|
15026
15234
|
case 1:
|
|
15027
15235
|
listeners[i].fn.call(listeners[i].context);
|
|
@@ -15036,10 +15244,9 @@ var require_eventemitter32 = __commonJS({
|
|
|
15036
15244
|
listeners[i].fn.call(listeners[i].context, a1, a2, a3);
|
|
15037
15245
|
break;
|
|
15038
15246
|
default:
|
|
15039
|
-
if (!args)
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
}
|
|
15247
|
+
if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
|
|
15248
|
+
args[j - 1] = arguments[j];
|
|
15249
|
+
}
|
|
15043
15250
|
listeners[i].fn.apply(listeners[i].context, args);
|
|
15044
15251
|
}
|
|
15045
15252
|
}
|
|
@@ -15054,8 +15261,7 @@ var require_eventemitter32 = __commonJS({
|
|
|
15054
15261
|
};
|
|
15055
15262
|
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
15056
15263
|
var evt = prefix ? prefix + event : event;
|
|
15057
|
-
if (!this._events[evt])
|
|
15058
|
-
return this;
|
|
15264
|
+
if (!this._events[evt]) return this;
|
|
15059
15265
|
if (!fn) {
|
|
15060
15266
|
clearEvent(this, evt);
|
|
15061
15267
|
return this;
|
|
@@ -15071,10 +15277,8 @@ var require_eventemitter32 = __commonJS({
|
|
|
15071
15277
|
events.push(listeners[i]);
|
|
15072
15278
|
}
|
|
15073
15279
|
}
|
|
15074
|
-
if (events.length)
|
|
15075
|
-
|
|
15076
|
-
else
|
|
15077
|
-
clearEvent(this, evt);
|
|
15280
|
+
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
|
15281
|
+
else clearEvent(this, evt);
|
|
15078
15282
|
}
|
|
15079
15283
|
return this;
|
|
15080
15284
|
};
|
|
@@ -15082,8 +15286,7 @@ var require_eventemitter32 = __commonJS({
|
|
|
15082
15286
|
var evt;
|
|
15083
15287
|
if (event) {
|
|
15084
15288
|
evt = prefix ? prefix + event : event;
|
|
15085
|
-
if (this._events[evt])
|
|
15086
|
-
clearEvent(this, evt);
|
|
15289
|
+
if (this._events[evt]) clearEvent(this, evt);
|
|
15087
15290
|
} else {
|
|
15088
15291
|
this._events = new Events();
|
|
15089
15292
|
this._eventsCount = 0;
|
|
@@ -15177,8 +15380,7 @@ var require_dist2 = __commonJS({
|
|
|
15177
15380
|
"node_modules/@slack/types/dist/index.js"(exports2) {
|
|
15178
15381
|
"use strict";
|
|
15179
15382
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
15180
|
-
if (k2 === void 0)
|
|
15181
|
-
k2 = k;
|
|
15383
|
+
if (k2 === void 0) k2 = k;
|
|
15182
15384
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15183
15385
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
15184
15386
|
desc = { enumerable: true, get: function() {
|
|
@@ -15187,14 +15389,11 @@ var require_dist2 = __commonJS({
|
|
|
15187
15389
|
}
|
|
15188
15390
|
Object.defineProperty(o, k2, desc);
|
|
15189
15391
|
} : function(o, m, k, k2) {
|
|
15190
|
-
if (k2 === void 0)
|
|
15191
|
-
k2 = k;
|
|
15392
|
+
if (k2 === void 0) k2 = k;
|
|
15192
15393
|
o[k2] = m[k];
|
|
15193
15394
|
});
|
|
15194
15395
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
15195
|
-
for (var p in m)
|
|
15196
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
15197
|
-
__createBinding(exports3, m, p);
|
|
15396
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
15198
15397
|
};
|
|
15199
15398
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
15200
15399
|
__exportStar(require_calls(), exports2);
|
|
@@ -15214,8 +15413,7 @@ var require_methods = __commonJS({
|
|
|
15214
15413
|
"node_modules/@slack/web-api/dist/methods.js"(exports2) {
|
|
15215
15414
|
"use strict";
|
|
15216
15415
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
15217
|
-
if (k2 === void 0)
|
|
15218
|
-
k2 = k;
|
|
15416
|
+
if (k2 === void 0) k2 = k;
|
|
15219
15417
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15220
15418
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
15221
15419
|
desc = { enumerable: true, get: function() {
|
|
@@ -15224,14 +15422,11 @@ var require_methods = __commonJS({
|
|
|
15224
15422
|
}
|
|
15225
15423
|
Object.defineProperty(o, k2, desc);
|
|
15226
15424
|
} : function(o, m, k, k2) {
|
|
15227
|
-
if (k2 === void 0)
|
|
15228
|
-
k2 = k;
|
|
15425
|
+
if (k2 === void 0) k2 = k;
|
|
15229
15426
|
o[k2] = m[k];
|
|
15230
15427
|
});
|
|
15231
15428
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
15232
|
-
for (var p in m)
|
|
15233
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
15234
|
-
__createBinding(exports3, m, p);
|
|
15429
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
15235
15430
|
};
|
|
15236
15431
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
15237
15432
|
exports2.cursorPaginationEnabledMethods = exports2.Methods = void 0;
|
|
@@ -15855,8 +16050,7 @@ var require_instrument = __commonJS({
|
|
|
15855
16050
|
"node_modules/@slack/web-api/dist/instrument.js"(exports2) {
|
|
15856
16051
|
"use strict";
|
|
15857
16052
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
15858
|
-
if (k2 === void 0)
|
|
15859
|
-
k2 = k;
|
|
16053
|
+
if (k2 === void 0) k2 = k;
|
|
15860
16054
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15861
16055
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
15862
16056
|
desc = { enumerable: true, get: function() {
|
|
@@ -15865,8 +16059,7 @@ var require_instrument = __commonJS({
|
|
|
15865
16059
|
}
|
|
15866
16060
|
Object.defineProperty(o, k2, desc);
|
|
15867
16061
|
} : function(o, m, k, k2) {
|
|
15868
|
-
if (k2 === void 0)
|
|
15869
|
-
k2 = k;
|
|
16062
|
+
if (k2 === void 0) k2 = k;
|
|
15870
16063
|
o[k2] = m[k];
|
|
15871
16064
|
});
|
|
15872
16065
|
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
@@ -15875,13 +16068,10 @@ var require_instrument = __commonJS({
|
|
|
15875
16068
|
o["default"] = v;
|
|
15876
16069
|
});
|
|
15877
16070
|
var __importStar = exports2 && exports2.__importStar || function(mod) {
|
|
15878
|
-
if (mod && mod.__esModule)
|
|
15879
|
-
return mod;
|
|
16071
|
+
if (mod && mod.__esModule) return mod;
|
|
15880
16072
|
var result = {};
|
|
15881
16073
|
if (mod != null) {
|
|
15882
|
-
for (var k in mod)
|
|
15883
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
15884
|
-
__createBinding(result, mod, k);
|
|
16074
|
+
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
15885
16075
|
}
|
|
15886
16076
|
__setModuleDefault(result, mod);
|
|
15887
16077
|
return result;
|
|
@@ -16358,8 +16548,7 @@ var require_WebClient = __commonJS({
|
|
|
16358
16548
|
"node_modules/@slack/web-api/dist/WebClient.js"(exports2) {
|
|
16359
16549
|
"use strict";
|
|
16360
16550
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
16361
|
-
if (k2 === void 0)
|
|
16362
|
-
k2 = k;
|
|
16551
|
+
if (k2 === void 0) k2 = k;
|
|
16363
16552
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16364
16553
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16365
16554
|
desc = { enumerable: true, get: function() {
|
|
@@ -16368,8 +16557,7 @@ var require_WebClient = __commonJS({
|
|
|
16368
16557
|
}
|
|
16369
16558
|
Object.defineProperty(o, k2, desc);
|
|
16370
16559
|
} : function(o, m, k, k2) {
|
|
16371
|
-
if (k2 === void 0)
|
|
16372
|
-
k2 = k;
|
|
16560
|
+
if (k2 === void 0) k2 = k;
|
|
16373
16561
|
o[k2] = m[k];
|
|
16374
16562
|
});
|
|
16375
16563
|
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
@@ -16378,13 +16566,10 @@ var require_WebClient = __commonJS({
|
|
|
16378
16566
|
o["default"] = v;
|
|
16379
16567
|
});
|
|
16380
16568
|
var __importStar = exports2 && exports2.__importStar || function(mod) {
|
|
16381
|
-
if (mod && mod.__esModule)
|
|
16382
|
-
return mod;
|
|
16569
|
+
if (mod && mod.__esModule) return mod;
|
|
16383
16570
|
var result = {};
|
|
16384
16571
|
if (mod != null) {
|
|
16385
|
-
for (var k in mod)
|
|
16386
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
16387
|
-
__createBinding(result, mod, k);
|
|
16572
|
+
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
16388
16573
|
}
|
|
16389
16574
|
__setModuleDefault(result, mod);
|
|
16390
16575
|
return result;
|
|
@@ -16393,19 +16578,17 @@ var require_WebClient = __commonJS({
|
|
|
16393
16578
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
16394
16579
|
};
|
|
16395
16580
|
var __asyncGenerator = exports2 && exports2.__asyncGenerator || function(thisArg, _arguments, generator) {
|
|
16396
|
-
if (!Symbol.asyncIterator)
|
|
16397
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
16581
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
16398
16582
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
16399
16583
|
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
16400
16584
|
return this;
|
|
16401
16585
|
}, i;
|
|
16402
16586
|
function verb(n) {
|
|
16403
|
-
if (g[n])
|
|
16404
|
-
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
};
|
|
16587
|
+
if (g[n]) i[n] = function(v) {
|
|
16588
|
+
return new Promise(function(a, b) {
|
|
16589
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
16590
|
+
});
|
|
16591
|
+
};
|
|
16409
16592
|
}
|
|
16410
16593
|
function resume(n, v) {
|
|
16411
16594
|
try {
|
|
@@ -16424,13 +16607,11 @@ var require_WebClient = __commonJS({
|
|
|
16424
16607
|
resume("throw", value);
|
|
16425
16608
|
}
|
|
16426
16609
|
function settle(f, v) {
|
|
16427
|
-
if (f(v), q.shift(), q.length)
|
|
16428
|
-
resume(q[0][0], q[0][1]);
|
|
16610
|
+
if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
|
|
16429
16611
|
}
|
|
16430
16612
|
};
|
|
16431
16613
|
var __asyncValues = exports2 && exports2.__asyncValues || function(o) {
|
|
16432
|
-
if (!Symbol.asyncIterator)
|
|
16433
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
16614
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
16434
16615
|
var m = o[Symbol.asyncIterator], i;
|
|
16435
16616
|
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
16436
16617
|
return this;
|
|
@@ -16631,11 +16812,9 @@ var require_WebClient = __commonJS({
|
|
|
16631
16812
|
e_1 = { error: e_1_1 };
|
|
16632
16813
|
} finally {
|
|
16633
16814
|
try {
|
|
16634
|
-
if (!_d && !_a && (_b = pageIterator_1.return))
|
|
16635
|
-
await _b.call(pageIterator_1);
|
|
16815
|
+
if (!_d && !_a && (_b = pageIterator_1.return)) await _b.call(pageIterator_1);
|
|
16636
16816
|
} finally {
|
|
16637
|
-
if (e_1)
|
|
16638
|
-
throw e_1.error;
|
|
16817
|
+
if (e_1) throw e_1.error;
|
|
16639
16818
|
}
|
|
16640
16819
|
}
|
|
16641
16820
|
return accumulator;
|
|
@@ -17007,8 +17186,7 @@ var require_dist4 = __commonJS({
|
|
|
17007
17186
|
"node_modules/@slack/web-api/dist/index.js"(exports2) {
|
|
17008
17187
|
"use strict";
|
|
17009
17188
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
17010
|
-
if (k2 === void 0)
|
|
17011
|
-
k2 = k;
|
|
17189
|
+
if (k2 === void 0) k2 = k;
|
|
17012
17190
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
17013
17191
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17014
17192
|
desc = { enumerable: true, get: function() {
|
|
@@ -17017,14 +17195,11 @@ var require_dist4 = __commonJS({
|
|
|
17017
17195
|
}
|
|
17018
17196
|
Object.defineProperty(o, k2, desc);
|
|
17019
17197
|
} : function(o, m, k, k2) {
|
|
17020
|
-
if (k2 === void 0)
|
|
17021
|
-
k2 = k;
|
|
17198
|
+
if (k2 === void 0) k2 = k;
|
|
17022
17199
|
o[k2] = m[k];
|
|
17023
17200
|
});
|
|
17024
17201
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
17025
|
-
for (var p in m)
|
|
17026
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
17027
|
-
__createBinding(exports3, m, p);
|
|
17202
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
17028
17203
|
};
|
|
17029
17204
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
17030
17205
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -18256,8 +18431,7 @@ var require_wrappy = __commonJS({
|
|
|
18256
18431
|
"use strict";
|
|
18257
18432
|
module2.exports = wrappy;
|
|
18258
18433
|
function wrappy(fn, cb) {
|
|
18259
|
-
if (fn && cb)
|
|
18260
|
-
return wrappy(fn)(cb);
|
|
18434
|
+
if (fn && cb) return wrappy(fn)(cb);
|
|
18261
18435
|
if (typeof fn !== "function")
|
|
18262
18436
|
throw new TypeError("need wrapper function");
|
|
18263
18437
|
Object.keys(fn).forEach(function(k) {
|
|
@@ -18305,8 +18479,7 @@ var require_once = __commonJS({
|
|
|
18305
18479
|
});
|
|
18306
18480
|
function once(fn) {
|
|
18307
18481
|
var f = function() {
|
|
18308
|
-
if (f.called)
|
|
18309
|
-
return f.value;
|
|
18482
|
+
if (f.called) return f.value;
|
|
18310
18483
|
f.called = true;
|
|
18311
18484
|
return f.value = fn.apply(this, arguments);
|
|
18312
18485
|
};
|
|
@@ -18342,10 +18515,8 @@ var require_end_of_stream = __commonJS({
|
|
|
18342
18515
|
return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3;
|
|
18343
18516
|
};
|
|
18344
18517
|
var eos = function(stream, opts, callback) {
|
|
18345
|
-
if (typeof opts === "function")
|
|
18346
|
-
|
|
18347
|
-
if (!opts)
|
|
18348
|
-
opts = {};
|
|
18518
|
+
if (typeof opts === "function") return eos(stream, null, opts);
|
|
18519
|
+
if (!opts) opts = {};
|
|
18349
18520
|
callback = once(callback || noop);
|
|
18350
18521
|
var ws = stream._writableState;
|
|
18351
18522
|
var rs = stream._readableState;
|
|
@@ -18353,18 +18524,15 @@ var require_end_of_stream = __commonJS({
|
|
|
18353
18524
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
18354
18525
|
var cancelled = false;
|
|
18355
18526
|
var onlegacyfinish = function() {
|
|
18356
|
-
if (!stream.writable)
|
|
18357
|
-
onfinish();
|
|
18527
|
+
if (!stream.writable) onfinish();
|
|
18358
18528
|
};
|
|
18359
18529
|
var onfinish = function() {
|
|
18360
18530
|
writable = false;
|
|
18361
|
-
if (!readable)
|
|
18362
|
-
callback.call(stream);
|
|
18531
|
+
if (!readable) callback.call(stream);
|
|
18363
18532
|
};
|
|
18364
18533
|
var onend = function() {
|
|
18365
18534
|
readable = false;
|
|
18366
|
-
if (!writable)
|
|
18367
|
-
callback.call(stream);
|
|
18535
|
+
if (!writable) callback.call(stream);
|
|
18368
18536
|
};
|
|
18369
18537
|
var onexit = function(exitCode) {
|
|
18370
18538
|
callback.call(stream, exitCode ? new Error("exited with error code: " + exitCode) : null);
|
|
@@ -18376,12 +18544,9 @@ var require_end_of_stream = __commonJS({
|
|
|
18376
18544
|
process.nextTick(onclosenexttick);
|
|
18377
18545
|
};
|
|
18378
18546
|
var onclosenexttick = function() {
|
|
18379
|
-
if (cancelled)
|
|
18380
|
-
|
|
18381
|
-
if (
|
|
18382
|
-
return callback.call(stream, new Error("premature close"));
|
|
18383
|
-
if (writable && !(ws && (ws.ended && !ws.destroyed)))
|
|
18384
|
-
return callback.call(stream, new Error("premature close"));
|
|
18547
|
+
if (cancelled) return;
|
|
18548
|
+
if (readable && !(rs && (rs.ended && !rs.destroyed))) return callback.call(stream, new Error("premature close"));
|
|
18549
|
+
if (writable && !(ws && (ws.ended && !ws.destroyed))) return callback.call(stream, new Error("premature close"));
|
|
18385
18550
|
};
|
|
18386
18551
|
var onrequest = function() {
|
|
18387
18552
|
stream.req.on("finish", onfinish);
|
|
@@ -18389,28 +18554,23 @@ var require_end_of_stream = __commonJS({
|
|
|
18389
18554
|
if (isRequest(stream)) {
|
|
18390
18555
|
stream.on("complete", onfinish);
|
|
18391
18556
|
stream.on("abort", onclose);
|
|
18392
|
-
if (stream.req)
|
|
18393
|
-
|
|
18394
|
-
else
|
|
18395
|
-
stream.on("request", onrequest);
|
|
18557
|
+
if (stream.req) onrequest();
|
|
18558
|
+
else stream.on("request", onrequest);
|
|
18396
18559
|
} else if (writable && !ws) {
|
|
18397
18560
|
stream.on("end", onlegacyfinish);
|
|
18398
18561
|
stream.on("close", onlegacyfinish);
|
|
18399
18562
|
}
|
|
18400
|
-
if (isChildProcess(stream))
|
|
18401
|
-
stream.on("exit", onexit);
|
|
18563
|
+
if (isChildProcess(stream)) stream.on("exit", onexit);
|
|
18402
18564
|
stream.on("end", onend);
|
|
18403
18565
|
stream.on("finish", onfinish);
|
|
18404
|
-
if (opts.error !== false)
|
|
18405
|
-
stream.on("error", onerror);
|
|
18566
|
+
if (opts.error !== false) stream.on("error", onerror);
|
|
18406
18567
|
stream.on("close", onclose);
|
|
18407
18568
|
return function() {
|
|
18408
18569
|
cancelled = true;
|
|
18409
18570
|
stream.removeListener("complete", onfinish);
|
|
18410
18571
|
stream.removeListener("abort", onclose);
|
|
18411
18572
|
stream.removeListener("request", onrequest);
|
|
18412
|
-
if (stream.req)
|
|
18413
|
-
stream.req.removeListener("finish", onfinish);
|
|
18573
|
+
if (stream.req) stream.req.removeListener("finish", onfinish);
|
|
18414
18574
|
stream.removeListener("end", onlegacyfinish);
|
|
18415
18575
|
stream.removeListener("close", onlegacyfinish);
|
|
18416
18576
|
stream.removeListener("finish", onfinish);
|
|
@@ -18438,10 +18598,8 @@ var require_pump = __commonJS({
|
|
|
18438
18598
|
return typeof fn === "function";
|
|
18439
18599
|
};
|
|
18440
18600
|
var isFS = function(stream) {
|
|
18441
|
-
if (!ancient)
|
|
18442
|
-
|
|
18443
|
-
if (!fs)
|
|
18444
|
-
return false;
|
|
18601
|
+
if (!ancient) return false;
|
|
18602
|
+
if (!fs) return false;
|
|
18445
18603
|
return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) && isFn(stream.close);
|
|
18446
18604
|
};
|
|
18447
18605
|
var isRequest = function(stream) {
|
|
@@ -18454,24 +18612,18 @@ var require_pump = __commonJS({
|
|
|
18454
18612
|
closed = true;
|
|
18455
18613
|
});
|
|
18456
18614
|
eos(stream, { readable: reading, writable: writing }, function(err) {
|
|
18457
|
-
if (err)
|
|
18458
|
-
return callback(err);
|
|
18615
|
+
if (err) return callback(err);
|
|
18459
18616
|
closed = true;
|
|
18460
18617
|
callback();
|
|
18461
18618
|
});
|
|
18462
18619
|
var destroyed = false;
|
|
18463
18620
|
return function(err) {
|
|
18464
|
-
if (closed)
|
|
18465
|
-
|
|
18466
|
-
if (destroyed)
|
|
18467
|
-
return;
|
|
18621
|
+
if (closed) return;
|
|
18622
|
+
if (destroyed) return;
|
|
18468
18623
|
destroyed = true;
|
|
18469
|
-
if (isFS(stream))
|
|
18470
|
-
|
|
18471
|
-
if (
|
|
18472
|
-
return stream.abort();
|
|
18473
|
-
if (isFn(stream.destroy))
|
|
18474
|
-
return stream.destroy();
|
|
18624
|
+
if (isFS(stream)) return stream.close(noop);
|
|
18625
|
+
if (isRequest(stream)) return stream.abort();
|
|
18626
|
+
if (isFn(stream.destroy)) return stream.destroy();
|
|
18475
18627
|
callback(err || new Error("stream was destroyed"));
|
|
18476
18628
|
};
|
|
18477
18629
|
};
|
|
@@ -18484,21 +18636,16 @@ var require_pump = __commonJS({
|
|
|
18484
18636
|
var pump = function() {
|
|
18485
18637
|
var streams = Array.prototype.slice.call(arguments);
|
|
18486
18638
|
var callback = isFn(streams[streams.length - 1] || noop) && streams.pop() || noop;
|
|
18487
|
-
if (Array.isArray(streams[0]))
|
|
18488
|
-
|
|
18489
|
-
if (streams.length < 2)
|
|
18490
|
-
throw new Error("pump requires two streams per minimum");
|
|
18639
|
+
if (Array.isArray(streams[0])) streams = streams[0];
|
|
18640
|
+
if (streams.length < 2) throw new Error("pump requires two streams per minimum");
|
|
18491
18641
|
var error;
|
|
18492
18642
|
var destroys = streams.map(function(stream, i) {
|
|
18493
18643
|
var reading = i < streams.length - 1;
|
|
18494
18644
|
var writing = i > 0;
|
|
18495
18645
|
return destroyer(stream, reading, writing, function(err) {
|
|
18496
|
-
if (!error)
|
|
18497
|
-
|
|
18498
|
-
if (
|
|
18499
|
-
destroys.forEach(call);
|
|
18500
|
-
if (reading)
|
|
18501
|
-
return;
|
|
18646
|
+
if (!error) error = err;
|
|
18647
|
+
if (err) destroys.forEach(call);
|
|
18648
|
+
if (reading) return;
|
|
18502
18649
|
destroys.forEach(call);
|
|
18503
18650
|
callback(error);
|
|
18504
18651
|
});
|
|
@@ -18678,8 +18825,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
18678
18825
|
}
|
|
18679
18826
|
function parseCacheControl(header) {
|
|
18680
18827
|
const cc = {};
|
|
18681
|
-
if (!header)
|
|
18682
|
-
return cc;
|
|
18828
|
+
if (!header) return cc;
|
|
18683
18829
|
const parts = header.trim().split(/,/);
|
|
18684
18830
|
for (const part of parts) {
|
|
18685
18831
|
const [k, v] = part.split(/=/, 2);
|
|
@@ -18806,16 +18952,14 @@ var require_http_cache_semantics = __commonJS({
|
|
|
18806
18952
|
}
|
|
18807
18953
|
const fields = this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);
|
|
18808
18954
|
for (const name of fields) {
|
|
18809
|
-
if (req.headers[name] !== this._reqHeaders[name])
|
|
18810
|
-
return false;
|
|
18955
|
+
if (req.headers[name] !== this._reqHeaders[name]) return false;
|
|
18811
18956
|
}
|
|
18812
18957
|
return true;
|
|
18813
18958
|
}
|
|
18814
18959
|
_copyWithoutHopByHopHeaders(inHeaders) {
|
|
18815
18960
|
const headers = {};
|
|
18816
18961
|
for (const name in inHeaders) {
|
|
18817
|
-
if (hopByHopHeaders[name])
|
|
18818
|
-
continue;
|
|
18962
|
+
if (hopByHopHeaders[name]) continue;
|
|
18819
18963
|
headers[name] = inHeaders[name];
|
|
18820
18964
|
}
|
|
18821
18965
|
if (inHeaders.connection) {
|
|
@@ -18938,10 +19082,8 @@ var require_http_cache_semantics = __commonJS({
|
|
|
18938
19082
|
return new this(void 0, void 0, { _fromObject: obj });
|
|
18939
19083
|
}
|
|
18940
19084
|
_fromObject(obj) {
|
|
18941
|
-
if (this._responseTime)
|
|
18942
|
-
|
|
18943
|
-
if (!obj || obj.v !== 1)
|
|
18944
|
-
throw Error("Invalid serialization");
|
|
19085
|
+
if (this._responseTime) throw Error("Reinitialized");
|
|
19086
|
+
if (!obj || obj.v !== 1) throw Error("Invalid serialization");
|
|
18945
19087
|
this._responseTime = obj.t;
|
|
18946
19088
|
this._isShared = obj.sh;
|
|
18947
19089
|
this._cacheHeuristic = obj.ch;
|
|
@@ -19099,7 +19241,7 @@ var require_src2 = __commonJS({
|
|
|
19099
19241
|
"use strict";
|
|
19100
19242
|
var Readable = require("stream").Readable;
|
|
19101
19243
|
var lowercaseKeys = require_lowercase_keys();
|
|
19102
|
-
var
|
|
19244
|
+
var Response2 = class extends Readable {
|
|
19103
19245
|
constructor(statusCode, headers, body, url) {
|
|
19104
19246
|
if (typeof statusCode !== "number") {
|
|
19105
19247
|
throw new TypeError("Argument `statusCode` should be a number");
|
|
@@ -19124,7 +19266,7 @@ var require_src2 = __commonJS({
|
|
|
19124
19266
|
this.push(null);
|
|
19125
19267
|
}
|
|
19126
19268
|
};
|
|
19127
|
-
module2.exports =
|
|
19269
|
+
module2.exports = Response2;
|
|
19128
19270
|
}
|
|
19129
19271
|
});
|
|
19130
19272
|
|
|
@@ -19181,8 +19323,7 @@ var require_json_buffer = __commonJS({
|
|
|
19181
19323
|
"node_modules/json-buffer/index.js"(exports2) {
|
|
19182
19324
|
"use strict";
|
|
19183
19325
|
exports2.stringify = function stringify(o) {
|
|
19184
|
-
if ("undefined" == typeof o)
|
|
19185
|
-
return o;
|
|
19326
|
+
if ("undefined" == typeof o) return o;
|
|
19186
19327
|
if (o && Buffer.isBuffer(o))
|
|
19187
19328
|
return JSON.stringify(":base64:" + o.toString("base64"));
|
|
19188
19329
|
if (o && o.toJSON)
|
|
@@ -19440,7 +19581,7 @@ var require_src5 = __commonJS({
|
|
|
19440
19581
|
var normalizeUrl = require_normalize_url();
|
|
19441
19582
|
var getStream = require_get_stream();
|
|
19442
19583
|
var CachePolicy = require_http_cache_semantics();
|
|
19443
|
-
var
|
|
19584
|
+
var Response2 = require_src2();
|
|
19444
19585
|
var lowercaseKeys = require_lowercase_keys();
|
|
19445
19586
|
var cloneResponse = require_src3();
|
|
19446
19587
|
var Keyv = require_src4();
|
|
@@ -19510,7 +19651,7 @@ var require_src5 = __commonJS({
|
|
|
19510
19651
|
const revalidatedPolicy = CachePolicy.fromObject(revalidate.cachePolicy).revalidatedPolicy(opts2, response);
|
|
19511
19652
|
if (!revalidatedPolicy.modified) {
|
|
19512
19653
|
const headers = revalidatedPolicy.policy.responseHeaders();
|
|
19513
|
-
response = new
|
|
19654
|
+
response = new Response2(revalidate.statusCode, headers, revalidate.body, revalidate.url);
|
|
19514
19655
|
response.cachePolicy = revalidatedPolicy.policy;
|
|
19515
19656
|
response.fromCache = true;
|
|
19516
19657
|
}
|
|
@@ -19581,7 +19722,7 @@ var require_src5 = __commonJS({
|
|
|
19581
19722
|
const policy = CachePolicy.fromObject(cacheEntry.cachePolicy);
|
|
19582
19723
|
if (policy.satisfiesWithoutRevalidation(opts2) && !opts2.forceRefresh) {
|
|
19583
19724
|
const headers = policy.responseHeaders();
|
|
19584
|
-
const response = new
|
|
19725
|
+
const response = new Response2(cacheEntry.statusCode, headers, cacheEntry.body, cacheEntry.url);
|
|
19585
19726
|
response.cachePolicy = policy;
|
|
19586
19727
|
response.fromCache = true;
|
|
19587
19728
|
ee.emit("response", response);
|
|
@@ -21662,7 +21803,7 @@ var require_core = __commonJS({
|
|
|
21662
21803
|
Error.captureStackTrace(this, this.constructor);
|
|
21663
21804
|
this.name = "RequestError";
|
|
21664
21805
|
this.code = (_a = error.code) !== null && _a !== void 0 ? _a : "ERR_GOT_REQUEST_ERROR";
|
|
21665
|
-
if (self2 instanceof
|
|
21806
|
+
if (self2 instanceof Request2) {
|
|
21666
21807
|
Object.defineProperty(this, "request", {
|
|
21667
21808
|
enumerable: false,
|
|
21668
21809
|
value: self2
|
|
@@ -21763,7 +21904,7 @@ var require_core = __commonJS({
|
|
|
21763
21904
|
"upgrade",
|
|
21764
21905
|
"timeout"
|
|
21765
21906
|
];
|
|
21766
|
-
var
|
|
21907
|
+
var Request2 = class extends stream_1.Duplex {
|
|
21767
21908
|
constructor(url, options = {}, defaults) {
|
|
21768
21909
|
super({
|
|
21769
21910
|
// This must be false, to enable throwing after destroy
|
|
@@ -22850,7 +22991,7 @@ var require_core = __commonJS({
|
|
|
22850
22991
|
return this;
|
|
22851
22992
|
}
|
|
22852
22993
|
};
|
|
22853
|
-
exports2.default =
|
|
22994
|
+
exports2.default = Request2;
|
|
22854
22995
|
}
|
|
22855
22996
|
});
|
|
22856
22997
|
|
|
@@ -22859,20 +23000,16 @@ var require_types = __commonJS({
|
|
|
22859
23000
|
"node_modules/got/dist/source/as-promise/types.js"(exports2) {
|
|
22860
23001
|
"use strict";
|
|
22861
23002
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
22862
|
-
if (k2 === void 0)
|
|
22863
|
-
k2 = k;
|
|
23003
|
+
if (k2 === void 0) k2 = k;
|
|
22864
23004
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
22865
23005
|
return m[k];
|
|
22866
23006
|
} });
|
|
22867
23007
|
} : function(o, m, k, k2) {
|
|
22868
|
-
if (k2 === void 0)
|
|
22869
|
-
k2 = k;
|
|
23008
|
+
if (k2 === void 0) k2 = k;
|
|
22870
23009
|
o[k2] = m[k];
|
|
22871
23010
|
});
|
|
22872
23011
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
22873
|
-
for (var p in m)
|
|
22874
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
22875
|
-
__createBinding(exports3, m, p);
|
|
23012
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
22876
23013
|
};
|
|
22877
23014
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
22878
23015
|
exports2.CancelError = exports2.ParseError = void 0;
|
|
@@ -22936,20 +23073,16 @@ var require_as_promise = __commonJS({
|
|
|
22936
23073
|
"node_modules/got/dist/source/as-promise/index.js"(exports2) {
|
|
22937
23074
|
"use strict";
|
|
22938
23075
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
22939
|
-
if (k2 === void 0)
|
|
22940
|
-
k2 = k;
|
|
23076
|
+
if (k2 === void 0) k2 = k;
|
|
22941
23077
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
22942
23078
|
return m[k];
|
|
22943
23079
|
} });
|
|
22944
23080
|
} : function(o, m, k, k2) {
|
|
22945
|
-
if (k2 === void 0)
|
|
22946
|
-
k2 = k;
|
|
23081
|
+
if (k2 === void 0) k2 = k;
|
|
22947
23082
|
o[k2] = m[k];
|
|
22948
23083
|
});
|
|
22949
23084
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
22950
|
-
for (var p in m)
|
|
22951
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
22952
|
-
__createBinding(exports3, m, p);
|
|
23085
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
22953
23086
|
};
|
|
22954
23087
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
22955
23088
|
var events_1 = require("events");
|
|
@@ -23169,20 +23302,16 @@ var require_create = __commonJS({
|
|
|
23169
23302
|
"node_modules/got/dist/source/create.js"(exports2) {
|
|
23170
23303
|
"use strict";
|
|
23171
23304
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
23172
|
-
if (k2 === void 0)
|
|
23173
|
-
k2 = k;
|
|
23305
|
+
if (k2 === void 0) k2 = k;
|
|
23174
23306
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
23175
23307
|
return m[k];
|
|
23176
23308
|
} });
|
|
23177
23309
|
} : function(o, m, k, k2) {
|
|
23178
|
-
if (k2 === void 0)
|
|
23179
|
-
k2 = k;
|
|
23310
|
+
if (k2 === void 0) k2 = k;
|
|
23180
23311
|
o[k2] = m[k];
|
|
23181
23312
|
});
|
|
23182
23313
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
23183
|
-
for (var p in m)
|
|
23184
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
23185
|
-
__createBinding(exports3, m, p);
|
|
23314
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
23186
23315
|
};
|
|
23187
23316
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
23188
23317
|
exports2.defaultHandler = void 0;
|
|
@@ -23395,20 +23524,16 @@ var require_source5 = __commonJS({
|
|
|
23395
23524
|
"node_modules/got/dist/source/index.js"(exports2, module2) {
|
|
23396
23525
|
"use strict";
|
|
23397
23526
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
23398
|
-
if (k2 === void 0)
|
|
23399
|
-
k2 = k;
|
|
23527
|
+
if (k2 === void 0) k2 = k;
|
|
23400
23528
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
23401
23529
|
return m[k];
|
|
23402
23530
|
} });
|
|
23403
23531
|
} : function(o, m, k, k2) {
|
|
23404
|
-
if (k2 === void 0)
|
|
23405
|
-
k2 = k;
|
|
23532
|
+
if (k2 === void 0) k2 = k;
|
|
23406
23533
|
o[k2] = m[k];
|
|
23407
23534
|
});
|
|
23408
23535
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
23409
|
-
for (var p in m)
|
|
23410
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
|
|
23411
|
-
__createBinding(exports3, m, p);
|
|
23536
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
23412
23537
|
};
|
|
23413
23538
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
23414
23539
|
var url_1 = require("url");
|