cloudstructs 0.9.36 → 0.9.38
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 +26 -26
- package/assets/slack-textract/detect.lambda/index.js +140 -122
- package/assets/ssl-server-test/analyze.lambda/index.js +26 -26
- 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/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/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 +3 -2
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +7 -9
- package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +7 -9
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +9 -89
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@slack/logger/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +5 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.d.ts +3 -3
- package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.js +1 -1
- package/node_modules/@slack/types/dist/events/index.js.map +1 -1
- package/node_modules/@slack/types/dist/events/message.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/message.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/team.d.ts +2 -2
- package/node_modules/@slack/types/dist/events/team.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +5 -5
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +5 -5
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/package.json +16 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +9 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +9 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +9 -89
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +9 -89
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/axios/CHANGELOG.md +17 -0
- package/node_modules/axios/README.md +1 -4
- package/node_modules/axios/dist/axios.js +39 -5
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +46 -9
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +46 -9
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +46 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -2
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +5 -5
- package/node_modules/css-select/lib/attributes.d.ts.map +1 -1
- package/node_modules/css-select/lib/attributes.js.map +1 -1
- package/node_modules/css-select/lib/compile.d.ts.map +1 -1
- package/node_modules/css-select/lib/compile.js.map +1 -1
- package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/attributes.js.map +1 -1
- package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/compile.js.map +1 -1
- package/node_modules/css-select/lib/esm/general.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/general.js.map +1 -1
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/esm/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/index.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -1
- package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/sort.js.map +1 -1
- package/node_modules/css-select/lib/esm/types.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/types.js.map +1 -1
- package/node_modules/css-select/lib/general.d.ts.map +1 -1
- package/node_modules/css-select/lib/general.js.map +1 -1
- package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.js +45 -0
- package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.js +111 -0
- package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.js +111 -0
- package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/index.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -1
- package/node_modules/css-select/lib/sort.d.ts.map +1 -1
- package/node_modules/css-select/lib/sort.js.map +1 -1
- package/node_modules/css-select/lib/types.d.ts.map +1 -1
- package/node_modules/css-select/lib/types.js.map +1 -1
- package/node_modules/css-select/package.json +1 -1
- package/node_modules/css-what/package.json +1 -1
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{README.md.bak → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/package.json +18 -18
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/form-data/Readme.md +0 -355
|
@@ -60,7 +60,6 @@ declare module "timers" {
|
|
|
60
60
|
/**
|
|
61
61
|
* Cancels the immediate. This is similar to calling `clearImmediate()`.
|
|
62
62
|
* @since v20.5.0, v18.18.0
|
|
63
|
-
* @experimental
|
|
64
63
|
*/
|
|
65
64
|
[Symbol.dispose](): void;
|
|
66
65
|
_onImmediate(...args: any[]): void;
|
|
@@ -141,7 +140,6 @@ declare module "timers" {
|
|
|
141
140
|
/**
|
|
142
141
|
* Cancels the timeout.
|
|
143
142
|
* @since v20.5.0, v18.18.0
|
|
144
|
-
* @experimental
|
|
145
143
|
*/
|
|
146
144
|
[Symbol.dispose](): void;
|
|
147
145
|
_onTimeout(...args: any[]): void;
|
|
@@ -315,6 +315,17 @@ declare module "url" {
|
|
|
315
315
|
* @return The fully-resolved platform-specific Node.js file path.
|
|
316
316
|
*/
|
|
317
317
|
function fileURLToPath(url: string | URL, options?: FileUrlToPathOptions): string;
|
|
318
|
+
/**
|
|
319
|
+
* Like `url.fileURLToPath(...)` except that instead of returning a string
|
|
320
|
+
* representation of the path, a `Buffer` is returned. This conversion is
|
|
321
|
+
* helpful when the input URL contains percent-encoded segments that are
|
|
322
|
+
* not valid UTF-8 / Unicode sequences.
|
|
323
|
+
* @since v24.3.0
|
|
324
|
+
* @param url The file URL string or URL object to convert to a path.
|
|
325
|
+
* @returns The fully-resolved platform-specific Node.js file path
|
|
326
|
+
* as a `Buffer`.
|
|
327
|
+
*/
|
|
328
|
+
function fileURLToPathBuffer(url: string | URL, options?: FileUrlToPathOptions): Buffer;
|
|
318
329
|
/**
|
|
319
330
|
* This function ensures that `path` is resolved absolutely, and that the URL
|
|
320
331
|
* control characters are correctly encoded when converting into a File URL.
|
|
@@ -874,7 +885,7 @@ declare module "url" {
|
|
|
874
885
|
* Returns an ES6 `Iterator` over each of the name-value pairs in the query.
|
|
875
886
|
* Each item of the iterator is a JavaScript `Array`. The first item of the `Array` is the `name`, the second item of the `Array` is the `value`.
|
|
876
887
|
*
|
|
877
|
-
* Alias for `urlSearchParams[
|
|
888
|
+
* Alias for `urlSearchParams[Symbol.iterator]()`.
|
|
878
889
|
*/
|
|
879
890
|
entries(): URLSearchParamsIterator<[string, string]>;
|
|
880
891
|
/**
|
|
@@ -431,8 +431,8 @@ declare module "util" {
|
|
|
431
431
|
* intended for debugging. The output of `util.inspect` may change at any time
|
|
432
432
|
* and should not be depended upon programmatically. Additional `options` may be
|
|
433
433
|
* passed that alter the result.
|
|
434
|
-
* `util.inspect()` will use the constructor's name and/or
|
|
435
|
-
* an identifiable tag for an inspected value.
|
|
434
|
+
* `util.inspect()` will use the constructor's name and/or `Symbol.toStringTag`
|
|
435
|
+
* property to make an identifiable tag for an inspected value.
|
|
436
436
|
*
|
|
437
437
|
* ```js
|
|
438
438
|
* class Foo {
|
|
@@ -1172,6 +1172,7 @@ declare module "util" {
|
|
|
1172
1172
|
| "hidden"
|
|
1173
1173
|
| "inverse"
|
|
1174
1174
|
| "italic"
|
|
1175
|
+
| "none"
|
|
1175
1176
|
| "overlined"
|
|
1176
1177
|
| "reset"
|
|
1177
1178
|
| "strikethrough"
|
|
@@ -1228,6 +1229,8 @@ declare module "util" {
|
|
|
1228
1229
|
* );
|
|
1229
1230
|
* ```
|
|
1230
1231
|
*
|
|
1232
|
+
* The special format value `none` applies no additional styling to the text.
|
|
1233
|
+
*
|
|
1231
1234
|
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v24.x/api/util.html#modifiers).
|
|
1232
1235
|
* @param format A text format or an Array of text formats defined in `util.inspect.colors`.
|
|
1233
1236
|
* @param text The text to to be formatted.
|
|
@@ -2108,6 +2111,7 @@ declare module "util/types" {
|
|
|
2108
2111
|
* console.log(myError instanceof Error); // true
|
|
2109
2112
|
* ```
|
|
2110
2113
|
* @since v10.0.0
|
|
2114
|
+
* @deprecated The `util.types.isNativeError` API is deprecated. Please use `Error.isError` instead.
|
|
2111
2115
|
*/
|
|
2112
2116
|
function isNativeError(object: unknown): object is Error;
|
|
2113
2117
|
/**
|
|
@@ -482,6 +482,18 @@ declare module "worker_threads" {
|
|
|
482
482
|
* @since v24.0.0
|
|
483
483
|
*/
|
|
484
484
|
getHeapStatistics(): Promise<HeapInfo>;
|
|
485
|
+
/**
|
|
486
|
+
* Calls `worker.terminate()` when the dispose scope is exited.
|
|
487
|
+
*
|
|
488
|
+
* ```js
|
|
489
|
+
* async function example() {
|
|
490
|
+
* await using worker = new Worker('for (;;) {}', { eval: true });
|
|
491
|
+
* // Worker is automatically terminate when the scope is exited.
|
|
492
|
+
* }
|
|
493
|
+
* ```
|
|
494
|
+
* @since v24.2.0
|
|
495
|
+
*/
|
|
496
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
485
497
|
addListener(event: "error", listener: (err: Error) => void): this;
|
|
486
498
|
addListener(event: "exit", listener: (exitCode: number) => void): this;
|
|
487
499
|
addListener(event: "message", listener: (value: any) => void): this;
|
|
@@ -147,6 +147,10 @@ declare module "zlib" {
|
|
|
147
147
|
* @default buffer.kMaxLength
|
|
148
148
|
*/
|
|
149
149
|
maxOutputLength?: number | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* If `true`, returns an object with `buffer` and `engine`.
|
|
152
|
+
*/
|
|
153
|
+
info?: boolean | undefined;
|
|
150
154
|
}
|
|
151
155
|
interface ZstdOptions {
|
|
152
156
|
/**
|
|
@@ -172,6 +176,10 @@ declare module "zlib" {
|
|
|
172
176
|
* @default buffer.kMaxLength
|
|
173
177
|
*/
|
|
174
178
|
maxOutputLength?: number | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* If `true`, returns an object with `buffer` and `engine`.
|
|
181
|
+
*/
|
|
182
|
+
info?: boolean | undefined;
|
|
175
183
|
}
|
|
176
184
|
interface Zlib {
|
|
177
185
|
readonly bytesWritten: number;
|
|
@@ -610,8 +618,6 @@ declare module "zlib" {
|
|
|
610
618
|
const Z_FINISH: number;
|
|
611
619
|
/** @deprecated Use `constants.Z_BLOCK` */
|
|
612
620
|
const Z_BLOCK: number;
|
|
613
|
-
/** @deprecated Use `constants.Z_TREES` */
|
|
614
|
-
const Z_TREES: number;
|
|
615
621
|
// Return codes for the compression/decompression functions.
|
|
616
622
|
// Negative values are errors, positive values are used for special but normal events.
|
|
617
623
|
/** @deprecated Use `constants.Z_OK` */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { URL } from 'url'
|
|
2
2
|
import Pool from './pool'
|
|
3
3
|
import Dispatcher from './dispatcher'
|
|
4
|
+
import TClientStats from './client-stats'
|
|
5
|
+
import TPoolStats from './pool-stats'
|
|
4
6
|
|
|
5
7
|
export default Agent
|
|
6
8
|
|
|
@@ -12,6 +14,8 @@ declare class Agent extends Dispatcher {
|
|
|
12
14
|
destroyed: boolean
|
|
13
15
|
/** Dispatches a request. */
|
|
14
16
|
dispatch (options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandler): boolean
|
|
17
|
+
/** Aggregate stats for a Agent by origin. */
|
|
18
|
+
readonly stats: Record<string, TClientStats | TPoolStats>
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
declare namespace Agent {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Client from './client'
|
|
2
|
+
|
|
3
|
+
export default ClientStats
|
|
4
|
+
|
|
5
|
+
declare class ClientStats {
|
|
6
|
+
constructor (pool: Client)
|
|
7
|
+
/** If socket has open connection. */
|
|
8
|
+
connected: boolean
|
|
9
|
+
/** Number of open socket connections in this client that do not have an active request. */
|
|
10
|
+
pending: number
|
|
11
|
+
/** Number of currently active requests of this client. */
|
|
12
|
+
running: number
|
|
13
|
+
/** Number of active, pending, or queued requests of this client. */
|
|
14
|
+
size: number
|
|
15
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { URL } from 'url'
|
|
2
2
|
import Dispatcher from './dispatcher'
|
|
3
3
|
import buildConnector from './connector'
|
|
4
|
+
import TClientStats from './client-stats'
|
|
4
5
|
|
|
5
6
|
type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, 'origin'>
|
|
6
7
|
|
|
@@ -15,6 +16,8 @@ export class Client extends Dispatcher {
|
|
|
15
16
|
closed: boolean
|
|
16
17
|
/** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
|
|
17
18
|
destroyed: boolean
|
|
19
|
+
/** Aggregate stats for a Client. */
|
|
20
|
+
readonly stats: TClientStats
|
|
18
21
|
|
|
19
22
|
// Override dispatcher APIs.
|
|
20
23
|
override connect (
|
|
@@ -84,13 +87,13 @@ export declare namespace Client {
|
|
|
84
87
|
/**
|
|
85
88
|
* @description Enables support for H2 if the server has assigned bigger priority to it through ALPN negotiation.
|
|
86
89
|
* @default false
|
|
87
|
-
|
|
90
|
+
*/
|
|
88
91
|
allowH2?: boolean;
|
|
89
92
|
/**
|
|
90
93
|
* @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
|
|
91
94
|
* @default 100
|
|
92
|
-
|
|
93
|
-
maxConcurrentStreams?: number
|
|
95
|
+
*/
|
|
96
|
+
maxConcurrentStreams?: number;
|
|
94
97
|
}
|
|
95
98
|
export interface SocketInfo {
|
|
96
99
|
localAddress?: string
|
|
@@ -59,6 +59,9 @@ declare namespace MockAgent {
|
|
|
59
59
|
/** Ignore trailing slashes in the path */
|
|
60
60
|
ignoreTrailingSlash?: boolean;
|
|
61
61
|
|
|
62
|
+
/** Accept URLs with search parameters using non standard syntaxes. default false */
|
|
63
|
+
acceptNonStandardSearchParameters?: boolean;
|
|
64
|
+
|
|
62
65
|
/** Enable call history. you can either call MockAgent.enableCallHistory(). default false */
|
|
63
66
|
enableCallHistory?: boolean
|
|
64
67
|
}
|
|
@@ -33,6 +33,8 @@ declare namespace Pool {
|
|
|
33
33
|
factory?(origin: URL, opts: object): Dispatcher;
|
|
34
34
|
/** The max number of clients to create. `null` if no limit. Default `null`. */
|
|
35
35
|
connections?: number | null;
|
|
36
|
+
/** The amount of time before a client is removed from the pool and closed. `null` if no time limit. Default `null` */
|
|
37
|
+
clientTtl?: number | null;
|
|
36
38
|
|
|
37
39
|
interceptors?: { Pool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options['interceptors']
|
|
38
40
|
}
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [1.11.0](https://github.com/axios/axios/compare/v1.10.0...v1.11.0) (2025-07-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* form-data npm pakcage ([#6970](https://github.com/axios/axios/issues/6970)) ([e72c193](https://github.com/axios/axios/commit/e72c193722530db538b19e5ddaaa4544d226b253))
|
|
9
|
+
* prevent RangeError when using large Buffers ([#6961](https://github.com/axios/axios/issues/6961)) ([a2214ca](https://github.com/axios/axios/commit/a2214ca1bc60540baf2c80573cea3a0ff91ba9d1))
|
|
10
|
+
* **types:** resolve type discrepancies between ESM and CJS TypeScript declaration files ([#6956](https://github.com/axios/axios/issues/6956)) ([8517aa1](https://github.com/axios/axios/commit/8517aa16f8d082fc1d5309c642220fa736159110))
|
|
11
|
+
|
|
12
|
+
### Contributors to this release
|
|
13
|
+
|
|
14
|
+
- <img src="https://avatars.githubusercontent.com/u/12534341?v=4&s=18" alt="avatar" width="18"/> [izzy goldman](https://github.com/izzygld "+186/-93 (#6970 )")
|
|
15
|
+
- <img src="https://avatars.githubusercontent.com/u/142807367?v=4&s=18" alt="avatar" width="18"/> [Manish Sahani](https://github.com/manishsahanidev "+70/-0 (#6961 )")
|
|
16
|
+
- <img src="https://avatars.githubusercontent.com/u/189505037?v=4&s=18" alt="avatar" width="18"/> [Noritaka Kobayashi](https://github.com/noritaka1166 "+12/-10 (#6938 #6939 )")
|
|
17
|
+
- <img src="https://avatars.githubusercontent.com/u/392612?v=4&s=18" alt="avatar" width="18"/> [James Nail](https://github.com/jrnail23 "+13/-2 (#6956 )")
|
|
18
|
+
- <img src="https://avatars.githubusercontent.com/u/163745239?v=4&s=18" alt="avatar" width="18"/> [Tejaswi1305](https://github.com/Tejaswi1305 "+1/-1 (#6894 )")
|
|
19
|
+
|
|
3
20
|
# [1.10.0](https://github.com/axios/axios/compare/v1.9.0...v1.10.0) (2025-06-14)
|
|
4
21
|
|
|
5
22
|
|
|
@@ -4,12 +4,9 @@
|
|
|
4
4
|
</td><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-instagram-followers-twicsy.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>twicsy.com</b></a> </p>
|
|
5
5
|
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we're Descope! We are building something in the authentication space for app developers and can’t wait to place it in your hands.">Hi, we're Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Community</b></a> </p>
|
|
6
6
|
</td><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buzzoid-buy-instagram-followers.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world's #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>buzzoid.com</b></a> </p>
|
|
7
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.
|
|
7
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/famety-buy-instagram-followers.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.famety.net</b></a> </p>
|
|
8
8
|
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/instagram-likes.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>poprey.com</b></a> </p>
|
|
9
9
|
</td><td align="center" width="33.333333333333336%"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/youtube-subscribers-ssmarket.png" alt="Buy Youtube Subscribers"/> </a> <p align="center" title="SS Market offers professional social media services that rapidly increase your YouTube subscriber count, elevating your channel to a powerful position.">SS Market offers professional social media services that rapidly increase your YouTube subscriber co...</p> <p align="center"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>ssmarket.net</b></a> </p>
|
|
10
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://www.reddit.com/r/TikTokExpert/comments/1kamfi7/where_can_i_buy_youtube_views_likes_subscribers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-youtube-views-likes-reddit.png" alt="Buy YouTube Views & Subscribers"/> </a> <p align="center" title="Recommend trusted and best sites to buy YouTube subscribers, likes and views">Recommend trusted and best sites to buy YouTube subscribers, likes and views</p> <p align="center"> <a href="https://www.reddit.com/r/TikTokExpert/comments/1kamfi7/where_can_i_buy_youtube_views_likes_subscribers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.reddit.com</b></a> </p>
|
|
11
|
-
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://smmpanelserver.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="200px" height="56px" src="https://axios-http.com/assets/sponsors/opencollective/smmpanelserver123.png" alt="smmpanelserver"/> </a> <p align="center" title="smmpanelserver - Best and Cheapest Smm Panel">smmpanelserver - Best and Cheapest Smm Panel</p> <p align="center"> <a href="https://smmpanelserver.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>smmpanelserver.com</b></a> </p>
|
|
12
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
|
|
13
10
|
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
|
|
14
11
|
</td></tr></table>
|
|
15
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Axios v1.
|
|
1
|
+
/*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -818,6 +818,26 @@
|
|
|
818
818
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
819
819
|
};
|
|
820
820
|
|
|
821
|
+
/**
|
|
822
|
+
* Determine if a value is an empty object (safely handles Buffers)
|
|
823
|
+
*
|
|
824
|
+
* @param {*} val The value to test
|
|
825
|
+
*
|
|
826
|
+
* @returns {boolean} True if value is an empty object, otherwise false
|
|
827
|
+
*/
|
|
828
|
+
var isEmptyObject = function isEmptyObject(val) {
|
|
829
|
+
// Early return for non-objects or Buffers to prevent RangeError
|
|
830
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
831
|
+
return false;
|
|
832
|
+
}
|
|
833
|
+
try {
|
|
834
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
835
|
+
} catch (e) {
|
|
836
|
+
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
837
|
+
return false;
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
|
|
821
841
|
/**
|
|
822
842
|
* Determine if a value is a Date
|
|
823
843
|
*
|
|
@@ -942,6 +962,11 @@
|
|
|
942
962
|
fn.call(null, obj[i], i, obj);
|
|
943
963
|
}
|
|
944
964
|
} else {
|
|
965
|
+
// Buffer check
|
|
966
|
+
if (isBuffer(obj)) {
|
|
967
|
+
return;
|
|
968
|
+
}
|
|
969
|
+
|
|
945
970
|
// Iterate over object keys
|
|
946
971
|
var keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
947
972
|
var len = keys.length;
|
|
@@ -953,6 +978,9 @@
|
|
|
953
978
|
}
|
|
954
979
|
}
|
|
955
980
|
function findKey(obj, key) {
|
|
981
|
+
if (isBuffer(obj)) {
|
|
982
|
+
return null;
|
|
983
|
+
}
|
|
956
984
|
key = key.toLowerCase();
|
|
957
985
|
var keys = Object.keys(obj);
|
|
958
986
|
var i = keys.length;
|
|
@@ -1286,6 +1314,11 @@
|
|
|
1286
1314
|
if (stack.indexOf(source) >= 0) {
|
|
1287
1315
|
return;
|
|
1288
1316
|
}
|
|
1317
|
+
|
|
1318
|
+
//Buffer check
|
|
1319
|
+
if (isBuffer(source)) {
|
|
1320
|
+
return source;
|
|
1321
|
+
}
|
|
1289
1322
|
if (!('toJSON' in source)) {
|
|
1290
1323
|
stack[i] = source;
|
|
1291
1324
|
var target = isArray(source) ? [] : {};
|
|
@@ -1347,6 +1380,7 @@
|
|
|
1347
1380
|
isBoolean: isBoolean,
|
|
1348
1381
|
isObject: isObject,
|
|
1349
1382
|
isPlainObject: isPlainObject,
|
|
1383
|
+
isEmptyObject: isEmptyObject,
|
|
1350
1384
|
isReadableStream: isReadableStream,
|
|
1351
1385
|
isRequest: isRequest,
|
|
1352
1386
|
isResponse: isResponse,
|
|
@@ -1907,7 +1941,7 @@
|
|
|
1907
1941
|
var platform = _objectSpread2(_objectSpread2({}, utils), platform$1);
|
|
1908
1942
|
|
|
1909
1943
|
function toURLEncodedForm(data, options) {
|
|
1910
|
-
return toFormData(data, new platform.classes.URLSearchParams(),
|
|
1944
|
+
return toFormData(data, new platform.classes.URLSearchParams(), _objectSpread2({
|
|
1911
1945
|
visitor: function visitor(value, key, path, helpers) {
|
|
1912
1946
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1913
1947
|
this.append(key, value.toString('base64'));
|
|
@@ -2576,7 +2610,7 @@
|
|
|
2576
2610
|
clearTimeout(timer);
|
|
2577
2611
|
timer = null;
|
|
2578
2612
|
}
|
|
2579
|
-
fn.apply(
|
|
2613
|
+
fn.apply(void 0, _toConsumableArray(args));
|
|
2580
2614
|
};
|
|
2581
2615
|
var throttled = function throttled() {
|
|
2582
2616
|
var now = Date.now();
|
|
@@ -2824,7 +2858,7 @@
|
|
|
2824
2858
|
return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true);
|
|
2825
2859
|
}
|
|
2826
2860
|
};
|
|
2827
|
-
utils$1.forEach(Object.keys(
|
|
2861
|
+
utils$1.forEach(Object.keys(_objectSpread2(_objectSpread2({}, config1), config2)), function computeConfigValue(prop) {
|
|
2828
2862
|
var merge = mergeMap[prop] || mergeDeepProperties;
|
|
2829
2863
|
var configValue = merge(config1[prop], config2[prop], prop);
|
|
2830
2864
|
utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -3677,7 +3711,7 @@
|
|
|
3677
3711
|
});
|
|
3678
3712
|
}
|
|
3679
3713
|
|
|
3680
|
-
var VERSION = "1.
|
|
3714
|
+
var VERSION = "1.11.0";
|
|
3681
3715
|
|
|
3682
3716
|
var validators$1 = {};
|
|
3683
3717
|
|