@zowe/db2-for-zowe-cli 6.1.16 → 6.1.17
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/README.md +29 -0
- package/lib/Db2PluginLifeCycle.d.ts +80 -0
- package/lib/Db2PluginLifeCycle.js +154 -0
- package/lib/Db2PluginLifeCycle.js.map +1 -0
- package/lib/imperative.js +1 -0
- package/lib/imperative.js.map +1 -1
- package/node_modules/adm-zip/LICENSE +21 -0
- package/node_modules/adm-zip/README.md +90 -0
- package/node_modules/adm-zip/adm-zip.js +994 -0
- package/node_modules/adm-zip/headers/entryHeader.js +384 -0
- package/node_modules/adm-zip/headers/index.js +2 -0
- package/node_modules/adm-zip/headers/mainHeader.js +177 -0
- package/node_modules/adm-zip/methods/deflater.js +33 -0
- package/node_modules/adm-zip/methods/index.js +3 -0
- package/node_modules/adm-zip/methods/inflater.js +34 -0
- package/node_modules/adm-zip/methods/zipcrypto.js +175 -0
- package/node_modules/adm-zip/package.json +56 -0
- package/node_modules/adm-zip/types.d.ts +223 -0
- package/node_modules/adm-zip/util/constants.js +142 -0
- package/node_modules/adm-zip/util/decoder.js +5 -0
- package/node_modules/adm-zip/util/errors.js +63 -0
- package/node_modules/adm-zip/util/fattr.js +76 -0
- package/node_modules/adm-zip/util/index.js +5 -0
- package/node_modules/adm-zip/util/utils.js +393 -0
- package/node_modules/adm-zip/zipEntry.js +390 -0
- package/node_modules/adm-zip/zipFile.js +456 -0
- package/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +63 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/available-typed-arrays/.eslintrc +5 -0
- package/node_modules/available-typed-arrays/.github/FUNDING.yml +12 -0
- package/node_modules/available-typed-arrays/.nycrc +9 -0
- package/node_modules/available-typed-arrays/CHANGELOG.md +100 -0
- package/node_modules/available-typed-arrays/LICENSE +21 -0
- package/node_modules/available-typed-arrays/README.md +55 -0
- package/node_modules/available-typed-arrays/index.d.ts +8 -0
- package/node_modules/available-typed-arrays/index.js +17 -0
- package/node_modules/available-typed-arrays/package.json +93 -0
- package/node_modules/available-typed-arrays/test/index.js +18 -0
- package/node_modules/available-typed-arrays/tsconfig.json +49 -0
- package/node_modules/axios/CHANGELOG.md +1872 -0
- package/node_modules/axios/LICENSE +7 -0
- package/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/axios/README.md +2623 -0
- package/node_modules/axios/dist/axios.js +5509 -0
- package/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/axios/dist/browser/axios.cjs +5469 -0
- package/node_modules/axios/dist/esm/axios.js +5490 -0
- package/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/axios/dist/node/axios.cjs +6356 -0
- package/node_modules/axios/index.d.cts +762 -0
- package/node_modules/axios/index.d.ts +783 -0
- package/node_modules/axios/index.js +45 -0
- package/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/axios/lib/adapters/fetch.js +643 -0
- package/node_modules/axios/lib/adapters/http.js +1406 -0
- package/node_modules/axios/lib/adapters/xhr.js +228 -0
- package/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/axios/lib/core/Axios.js +301 -0
- package/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/axios/lib/core/InterceptorManager.js +72 -0
- package/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/axios/lib/core/buildFullPath.js +88 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +89 -0
- package/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/axios/lib/defaults/index.js +177 -0
- package/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/axios/lib/helpers/Http2Sessions.js +119 -0
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
- package/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/axios/lib/helpers/fromDataURI.js +68 -0
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +105 -0
- package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +329 -0
- package/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/axios/lib/helpers/throttle.js +44 -0
- package/node_modules/axios/lib/helpers/toFormData.js +286 -0
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/axios/lib/utils.js +1029 -0
- package/node_modules/axios/node_modules/agent-base/README.md +145 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/index.d.ts +78 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/index.js +203 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/index.js.map +1 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- package/node_modules/axios/node_modules/agent-base/package.json +64 -0
- package/node_modules/axios/node_modules/agent-base/src/index.ts +345 -0
- package/node_modules/axios/node_modules/agent-base/src/promisify.ts +33 -0
- package/node_modules/axios/node_modules/https-proxy-agent/README.md +137 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/axios/node_modules/https-proxy-agent/package.json +56 -0
- package/node_modules/axios/package.json +203 -0
- package/node_modules/big-integer/BigInteger.d.ts +2393 -0
- package/node_modules/big-integer/BigInteger.js +1453 -0
- package/node_modules/big-integer/BigInteger.min.js +1 -0
- package/node_modules/big-integer/LICENSE +24 -0
- package/node_modules/big-integer/README.md +589 -0
- package/node_modules/big-integer/bower.json +29 -0
- package/node_modules/big-integer/package.json +48 -0
- package/node_modules/big-integer/tsconfig.json +24 -0
- package/node_modules/bindings/LICENSE.md +22 -0
- package/node_modules/bindings/README.md +98 -0
- package/node_modules/bindings/bindings.js +221 -0
- package/node_modules/bindings/package.json +28 -0
- package/node_modules/buffer-alloc/index.js +32 -0
- package/node_modules/buffer-alloc/package.json +26 -0
- package/node_modules/buffer-alloc/readme.md +43 -0
- package/node_modules/buffer-alloc-unsafe/index.js +17 -0
- package/node_modules/buffer-alloc-unsafe/package.json +24 -0
- package/node_modules/buffer-alloc-unsafe/readme.md +46 -0
- package/node_modules/buffer-fill/index.js +113 -0
- package/node_modules/buffer-fill/package.json +16 -0
- package/node_modules/buffer-fill/readme.md +54 -0
- package/node_modules/call-bind/.eslintignore +1 -0
- package/node_modules/call-bind/.eslintrc +16 -0
- package/node_modules/call-bind/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind/.nycrc +9 -0
- package/node_modules/call-bind/CHANGELOG.md +115 -0
- package/node_modules/call-bind/LICENSE +21 -0
- package/node_modules/call-bind/README.md +64 -0
- package/node_modules/call-bind/callBound.js +15 -0
- package/node_modules/call-bind/index.js +24 -0
- package/node_modules/call-bind/package.json +93 -0
- package/node_modules/call-bind/test/callBound.js +54 -0
- package/node_modules/call-bind/test/index.js +82 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/call-bound/.eslintrc +13 -0
- package/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/node_modules/call-bound/.nycrc +9 -0
- package/node_modules/call-bound/CHANGELOG.md +42 -0
- package/node_modules/call-bound/LICENSE +21 -0
- package/node_modules/call-bound/README.md +53 -0
- package/node_modules/call-bound/index.d.ts +94 -0
- package/node_modules/call-bound/index.js +19 -0
- package/node_modules/call-bound/package.json +99 -0
- package/node_modules/call-bound/test/index.js +61 -0
- package/node_modules/call-bound/tsconfig.json +10 -0
- package/node_modules/combined-stream/License +19 -0
- package/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/combined-stream/package.json +25 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/define-data-property/.eslintrc +24 -0
- package/node_modules/define-data-property/.github/FUNDING.yml +12 -0
- package/node_modules/define-data-property/.nycrc +13 -0
- package/node_modules/define-data-property/CHANGELOG.md +70 -0
- package/node_modules/define-data-property/LICENSE +21 -0
- package/node_modules/define-data-property/README.md +67 -0
- package/node_modules/define-data-property/index.d.ts +12 -0
- package/node_modules/define-data-property/index.js +56 -0
- package/node_modules/define-data-property/package.json +106 -0
- package/node_modules/define-data-property/test/index.js +392 -0
- package/node_modules/define-data-property/tsconfig.json +59 -0
- package/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/delayed-stream/License +19 -0
- package/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/delayed-stream/package.json +27 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/end-of-stream/LICENSE +21 -0
- package/node_modules/end-of-stream/README.md +54 -0
- package/node_modules/end-of-stream/index.js +96 -0
- package/node_modules/end-of-stream/package.json +37 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +79 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/file-uri-to-path/.npmignore +1 -0
- package/node_modules/file-uri-to-path/.travis.yml +30 -0
- package/node_modules/file-uri-to-path/History.md +21 -0
- package/node_modules/file-uri-to-path/LICENSE +20 -0
- package/node_modules/file-uri-to-path/README.md +74 -0
- package/node_modules/file-uri-to-path/index.d.ts +2 -0
- package/node_modules/file-uri-to-path/index.js +66 -0
- package/node_modules/file-uri-to-path/package.json +32 -0
- package/node_modules/file-uri-to-path/test/test.js +24 -0
- package/node_modules/file-uri-to-path/test/tests.json +13 -0
- package/node_modules/follow-redirects/LICENSE +18 -0
- package/node_modules/follow-redirects/README.md +157 -0
- package/node_modules/follow-redirects/debug.js +15 -0
- package/node_modules/follow-redirects/http.js +1 -0
- package/node_modules/follow-redirects/https.js +1 -0
- package/node_modules/follow-redirects/index.js +709 -0
- package/node_modules/follow-redirects/package.json +58 -0
- package/node_modules/for-each/.editorconfig +20 -0
- package/node_modules/for-each/.eslintrc +30 -0
- package/node_modules/for-each/.github/FUNDING.yml +12 -0
- package/node_modules/for-each/.github/SECURITY.md +3 -0
- package/node_modules/for-each/.nycrc +8 -0
- package/node_modules/for-each/CHANGELOG.md +107 -0
- package/node_modules/for-each/LICENSE +22 -0
- package/node_modules/for-each/README.md +39 -0
- package/node_modules/for-each/index.d.ts +35 -0
- package/node_modules/for-each/index.js +69 -0
- package/node_modules/for-each/package.json +76 -0
- package/node_modules/for-each/test/test.js +224 -0
- package/node_modules/for-each/tsconfig.json +8 -0
- package/node_modules/form-data/CHANGELOG.md +686 -0
- package/node_modules/form-data/License +19 -0
- package/node_modules/form-data/README.md +355 -0
- package/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/form-data/lib/browser.js +4 -0
- package/node_modules/form-data/lib/form_data.js +506 -0
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/form-data/package.json +82 -0
- package/node_modules/fs-constants/LICENSE +21 -0
- package/node_modules/fs-constants/README.md +26 -0
- package/node_modules/fs-constants/browser.js +1 -0
- package/node_modules/fs-constants/index.js +1 -0
- package/node_modules/fs-constants/package.json +19 -0
- package/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/fs-extra/README.md +294 -0
- package/node_modules/fs-extra/lib/copy/copy-sync.js +176 -0
- package/node_modules/fs-extra/lib/copy/copy.js +180 -0
- package/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/node_modules/fs-extra/lib/ensure/file.js +66 -0
- package/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
- package/node_modules/fs-extra/lib/ensure/symlink.js +108 -0
- package/node_modules/fs-extra/lib/esm.mjs +68 -0
- package/node_modules/fs-extra/lib/fs/index.js +146 -0
- package/node_modules/fs-extra/lib/index.js +16 -0
- package/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/node_modules/fs-extra/lib/move/index.js +7 -0
- package/node_modules/fs-extra/lib/move/move-sync.js +55 -0
- package/node_modules/fs-extra/lib/move/move.js +59 -0
- package/node_modules/fs-extra/lib/output-file/index.js +31 -0
- package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/fs-extra/lib/remove/index.js +17 -0
- package/node_modules/fs-extra/lib/util/async.js +29 -0
- package/node_modules/fs-extra/lib/util/stat.js +165 -0
- package/node_modules/fs-extra/lib/util/utimes.js +53 -0
- package/node_modules/fs-extra/package.json +71 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/graceful-fs/package.json +53 -0
- package/node_modules/graceful-fs/polyfills.js +355 -0
- package/node_modules/has-property-descriptors/.eslintrc +13 -0
- package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
- package/node_modules/has-property-descriptors/.nycrc +9 -0
- package/node_modules/has-property-descriptors/CHANGELOG.md +35 -0
- package/node_modules/has-property-descriptors/LICENSE +21 -0
- package/node_modules/has-property-descriptors/README.md +43 -0
- package/node_modules/has-property-descriptors/index.js +22 -0
- package/node_modules/has-property-descriptors/package.json +77 -0
- package/node_modules/has-property-descriptors/test/index.js +57 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/ibm_db/APIDocumentation.md +2024 -0
- package/node_modules/ibm_db/LICENSE +23 -0
- package/node_modules/ibm_db/README.md +735 -0
- package/node_modules/ibm_db/binding.gyp +98 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2cli +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2diag +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2drdat +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2dsdcfgfill +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2ldcfg +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2lddrg +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2level +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2support +0 -0
- package/node_modules/ibm_db/installer/clidriver/bin/db2trc +0 -0
- package/node_modules/ibm_db/installer/clidriver/bnd/db2ajgrt.bnd +0 -0
- package/node_modules/ibm_db/installer/clidriver/bnd/db2cli.bnd +0 -0
- package/node_modules/ibm_db/installer/clidriver/bnd/db2cli.lst +4 -0
- package/node_modules/ibm_db/installer/clidriver/bnd/db2clipk.bnd +0 -0
- package/node_modules/ibm_db/installer/clidriver/bnd/db2clist.bnd +0 -0
- package/node_modules/ibm_db/installer/clidriver/bnd/db2spcdb.bnd +0 -0
- package/node_modules/ibm_db/installer/clidriver/cfg/db2cli.ini.sample +16 -0
- package/node_modules/ibm_db/installer/clidriver/cfg/db2dsdriver.cfg.sample +50 -0
- package/node_modules/ibm_db/installer/clidriver/cfg/db2dsdriver.xsd +216 -0
- package/node_modules/ibm_db/installer/clidriver/cfgcache/conlic.bin +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/04370923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/08500923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/08501252.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/08600923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/08630923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09230437.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09230850.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09230860.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09231043.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09231051.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09231114.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09231208.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09231252.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09231275.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09241252.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/09370950.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/10430923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/10510923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/11140923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/12080923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/12520850.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/12520923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/12750923.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/1388ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/IBM00850.ucs +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/IBM00923.ucs +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/alt/IBM01252.ucs +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/0930ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/0939ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/0943ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/0954ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/1390ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/1399ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/5039ucs2.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/conv/ms/ucs20943.cnv +0 -0
- package/node_modules/ibm_db/installer/clidriver/db2dump/db2diag.log +0 -0
- package/node_modules/ibm_db/installer/clidriver/include/sql.h +3172 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlca.h +119 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlcli.h +1042 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlcli1.h +1962 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlda.h +303 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlenv.h +7409 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlext.h +2189 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlstate.h +1500 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlsystm.h +119 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqltypes.h +22 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlucode.h +22 -0
- package/node_modules/ibm_db/installer/clidriver/include/sqlunx.h +24 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/C/icc/Standard_International_Program_License_Agreement.pdf +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/C/icc/icclib/ICCSIG.txt +23 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/C/icc/icclib/libicclib084.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/N/icc/Standard_International_Program_License_Agreement.pdf +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/N/icc/icclib/ICCSIG.txt +23 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/N/icc/icclib/libicclib085.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8acmeidup_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8cms_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8dbfl_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8drld_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8iccs_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8kicc_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8km2_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8km_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8ldap_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8p11_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8ssl_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8sys_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/icc/libgsk8valn_64.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/libDB2xml4c.so.58.0 +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/libdb2.so.1 +0 -0
- package/node_modules/ibm_db/installer/clidriver/lib/libdb2clixml4c.so.1 +0 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_cs +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_de +747 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_el +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_en +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_es +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_fr +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_in +747 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_it +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_ja +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_ko +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_lt +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_pl +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_pt +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_ru +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_sl +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_tr +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_zh +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/UNIX/odbc_LI_zh_TW +743 -0
- package/node_modules/ibm_db/installer/clidriver/license/dsdriver_fixlist.html +134 -0
- package/node_modules/ibm_db/installer/clidriver/license/odbc_REDIST.txt +216 -0
- package/node_modules/ibm_db/installer/clidriver/license/odbc_notices.txt +444 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2adm.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2admh.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2caem.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2cklog.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2cli.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2clia1.lst +35 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2clias.lst +21 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2clih.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2clit.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2clp.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2clp2.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2diag.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2fodc.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2sql.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2sqlh.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2stt.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2supp.mo +0 -0
- package/node_modules/ibm_db/installer/clidriver/properties/version/ibm.com_IBM_Data_Server_Driver_for_ODBC_and_CLI-12.1.4.swidtag +6 -0
- package/node_modules/ibm_db/installer/clidriver/scripts/setenv.sh +25 -0
- package/node_modules/ibm_db/installer/clidriver/scripts/testconnection.sh +67 -0
- package/node_modules/ibm_db/installer/clidriver/security64/plugin/IBM/client/IBMIAMauth.so +0 -0
- package/node_modules/ibm_db/installer/clidriver/security64/plugin/IBM/client/IBMkrb5.so +0 -0
- package/node_modules/ibm_db/installer/driverInstall.js +958 -0
- package/node_modules/ibm_db/installer/ifx.sh +38 -0
- package/node_modules/ibm_db/installer/setenv.sh +23 -0
- package/node_modules/ibm_db/installer/testODBCConnection.bat +51 -0
- package/node_modules/ibm_db/installer/testODBCConnection.sh +61 -0
- package/node_modules/ibm_db/lib/climacros.js +431 -0
- package/node_modules/ibm_db/lib/odbc.js +3487 -0
- package/node_modules/ibm_db/lib/simple-queue.js +42 -0
- package/node_modules/ibm_db/package.json +70 -0
- package/node_modules/ibm_db/src/odbc.cpp +1396 -0
- package/node_modules/ibm_db/src/odbc.h +473 -0
- package/node_modules/ibm_db/src/odbc_connection.cpp +1612 -0
- package/node_modules/ibm_db/src/odbc_connection.h +215 -0
- package/node_modules/ibm_db/src/odbc_result.cpp +1547 -0
- package/node_modules/ibm_db/src/odbc_result.h +152 -0
- package/node_modules/ibm_db/src/odbc_statement.cpp +861 -0
- package/node_modules/ibm_db/src/odbc_statement.h +135 -0
- package/node_modules/ibm_db/src/strptime.c +389 -0
- package/node_modules/ibm_db/src/strptime.h +47 -0
- package/node_modules/ibm_db/test/README +23 -0
- package/node_modules/ibm_db/test/bench-insert.js +62 -0
- package/node_modules/ibm_db/test/bench-insertBatch10.js +74 -0
- package/node_modules/ibm_db/test/bench-insertBatch100.js +75 -0
- package/node_modules/ibm_db/test/bench-insertBatch1000.js +75 -0
- package/node_modules/ibm_db/test/bench-insertBatch10000.js +75 -0
- package/node_modules/ibm_db/test/bench-prepare-bind-execute-closeSync.js +60 -0
- package/node_modules/ibm_db/test/bench-prepare-bind-executeNonQuery.js +53 -0
- package/node_modules/ibm_db/test/bench-prepare-bindSync-execute-closeSync.js +50 -0
- package/node_modules/ibm_db/test/bench-prepare-bindSync-executeNonQuery.js +48 -0
- package/node_modules/ibm_db/test/bench-prepare-execute-closeSync.js +51 -0
- package/node_modules/ibm_db/test/bench-prepare-executeNonQuery.js +47 -0
- package/node_modules/ibm_db/test/bench-prepare-not.js +43 -0
- package/node_modules/ibm_db/test/bench-query-fetch.js +59 -0
- package/node_modules/ibm_db/test/bench-query-fetchAll.js +49 -0
- package/node_modules/ibm_db/test/bench-query-fetchAllSync.js +43 -0
- package/node_modules/ibm_db/test/bench-query.js +40 -0
- package/node_modules/ibm_db/test/bench-querySync-fetchArray.js +28 -0
- package/node_modules/ibm_db/test/bench-querySync.js +29 -0
- package/node_modules/ibm_db/test/common.d.ts +10 -0
- package/node_modules/ibm_db/test/common.js +127 -0
- package/node_modules/ibm_db/test/config.json +7 -0
- package/node_modules/ibm_db/test/config.zos.json +4 -0
- package/node_modules/ibm_db/test/data/panda.jpg +0 -0
- package/node_modules/ibm_db/test/data/phool.jpg +0 -0
- package/node_modules/ibm_db/test/data/pushpa.jpg +0 -0
- package/node_modules/ibm_db/test/data/sample1.txt +10 -0
- package/node_modules/ibm_db/test/data/sample2.txt +1 -0
- package/node_modules/ibm_db/test/data/sample3.txt +1 -0
- package/node_modules/ibm_db/test/data/sampledoc.docx +0 -0
- package/node_modules/ibm_db/test/data/trc.fmt +30114 -0
- package/node_modules/ibm_db/test/disabled/test-binding-statement-rebinding.js +59 -0
- package/node_modules/ibm_db/test/disabled/test-open-dont-close.js +12 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-booleans-only.js +21 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-decimals-only.js +20 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-null.js +21 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-nulls-mixed.js +23 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-numbers-mixed.js +22 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-numbers-only.js +24 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-strings-only.js +23 -0
- package/node_modules/ibm_db/test/disabled/test-param-select-with-unicode.js +15 -0
- package/node_modules/ibm_db/test/disabled/test-prepare-bind-execute-closeSync.js +62 -0
- package/node_modules/ibm_db/test/disabled/test-prepare-bind-execute-error.js +49 -0
- package/node_modules/ibm_db/test/disabled/test-prepare-bind-execute-long-string.js +63 -0
- package/node_modules/ibm_db/test/disabled/test-prepare-bind-executeNonQuery.js +63 -0
- package/node_modules/ibm_db/test/disabled/test-prepare-bindSync-execute-closeSync.js +46 -0
- package/node_modules/ibm_db/test/disabled/test-prepare-bindSync-executeNonQuery.js +50 -0
- package/node_modules/ibm_db/test/disabled/test-prepare.js +34 -0
- package/node_modules/ibm_db/test/disabled/test-prepareSync.js +29 -0
- package/node_modules/ibm_db/test/disabled/test-query-select-fetchAll.js +23 -0
- package/node_modules/ibm_db/test/disabled/test-query-select-fetchAllSync.js +23 -0
- package/node_modules/ibm_db/test/disabled/test-query-select-unicode.js +15 -0
- package/node_modules/ibm_db/test/disabled/test-querySync-select-unicode.js +20 -0
- package/node_modules/ibm_db/test/nodeEE-leak-huge-query.js +152 -0
- package/node_modules/ibm_db/test/nodeEE-leak-multiple-query-multiple-connections.js +149 -0
- package/node_modules/ibm_db/test/nodeEE-leak-multiple-query-pool-connections.js +155 -0
- package/node_modules/ibm_db/test/nodeEE-leak-multiple-query.js +134 -0
- package/node_modules/ibm_db/test/nodeEE-stress-async-waterfall-multiple-connections.js +175 -0
- package/node_modules/ibm_db/test/nodeEE-stress-async-waterfall.js +169 -0
- package/node_modules/ibm_db/test/nodeEE-stress-mixed-query-multiple-connections.js +160 -0
- package/node_modules/ibm_db/test/nodeEE-stress-mixed-query.js +149 -0
- package/node_modules/ibm_db/test/odbc-bench.c +123 -0
- package/node_modules/ibm_db/test/perfTest.js +53 -0
- package/node_modules/ibm_db/test/quick-example.sh +30 -0
- package/node_modules/ibm_db/test/quick-example.ts +80 -0
- package/node_modules/ibm_db/test/run-bench.js +96 -0
- package/node_modules/ibm_db/test/run-nodeEE.js +132 -0
- package/node_modules/ibm_db/test/run-tests.js +138 -0
- package/node_modules/ibm_db/test/sql-cli.js +28 -0
- package/node_modules/ibm_db/test/test-affected-rows.js +55 -0
- package/node_modules/ibm_db/test/test-all-data-types.js +109 -0
- package/node_modules/ibm_db/test/test-array-insert.js +178 -0
- package/node_modules/ibm_db/test/test-async-await.js +105 -0
- package/node_modules/ibm_db/test/test-attributes.js +34 -0
- package/node_modules/ibm_db/test/test-bad-connection-string.js +30 -0
- package/node_modules/ibm_db/test/test-bad-pool-connection-prepare-execute.js +57 -0
- package/node_modules/ibm_db/test/test-basic-test.js +138 -0
- package/node_modules/ibm_db/test/test-binary-array-insert.js +73 -0
- package/node_modules/ibm_db/test/test-binding-connection-timeOut.js +31 -0
- package/node_modules/ibm_db/test/test-binding-statement-executeSync.js +84 -0
- package/node_modules/ibm_db/test/test-binding-transaction-commit.js +79 -0
- package/node_modules/ibm_db/test/test-binding-transaction-commitSync.js +53 -0
- package/node_modules/ibm_db/test/test-blob-from-file.js +90 -0
- package/node_modules/ibm_db/test/test-blob-insert.js +144 -0
- package/node_modules/ibm_db/test/test-blob-stream-insert.js +299 -0
- package/node_modules/ibm_db/test/test-blob-to-file.js +370 -0
- package/node_modules/ibm_db/test/test-block-fetch.js +364 -0
- package/node_modules/ibm_db/test/test-blocking-issue210.js +123 -0
- package/node_modules/ibm_db/test/test-call-async.js +64 -0
- package/node_modules/ibm_db/test/test-call-stmt.js +53 -0
- package/node_modules/ibm_db/test/test-chinese-char.js +59 -0
- package/node_modules/ibm_db/test/test-closed.js +14 -0
- package/node_modules/ibm_db/test/test-connection-object.js +16 -0
- package/node_modules/ibm_db/test/test-date.js +32 -0
- package/node_modules/ibm_db/test/test-dbclob.js +93 -0
- package/node_modules/ibm_db/test/test-decimals.js +135 -0
- package/node_modules/ibm_db/test/test-describe-column.js +92 -0
- package/node_modules/ibm_db/test/test-describe-database.js +18 -0
- package/node_modules/ibm_db/test/test-describe-table.js +31 -0
- package/node_modules/ibm_db/test/test-domains-open.js +19 -0
- package/node_modules/ibm_db/test/test-executeFile.js +167 -0
- package/node_modules/ibm_db/test/test-executeFileSync.js +86 -0
- package/node_modules/ibm_db/test/test-fetch-apis.js +146 -0
- package/node_modules/ibm_db/test/test-fetchN.js +130 -0
- package/node_modules/ibm_db/test/test-getinfo.js +197 -0
- package/node_modules/ibm_db/test/test-global-open-close.js +11 -0
- package/node_modules/ibm_db/test/test-ibm-db-issue14.js +58 -0
- package/node_modules/ibm_db/test/test-ibm-db-issue17.js +54 -0
- package/node_modules/ibm_db/test/test-ibm-db-issue18.js +54 -0
- package/node_modules/ibm_db/test/test-instantiate-one-and-end.js +9 -0
- package/node_modules/ibm_db/test/test-issue-1059-fetchAll-undefined.js +67 -0
- package/node_modules/ibm_db/test/test-issue-54.js +39 -0
- package/node_modules/ibm_db/test/test-issue-get-column-value-2.js +44 -0
- package/node_modules/ibm_db/test/test-issue211.js +80 -0
- package/node_modules/ibm_db/test/test-issue253.js +39 -0
- package/node_modules/ibm_db/test/test-max-pool-size.js +96 -0
- package/node_modules/ibm_db/test/test-memory-leaks-new-objects.js +33 -0
- package/node_modules/ibm_db/test/test-multi-open-close.js +45 -0
- package/node_modules/ibm_db/test/test-multi-open-query-close.js +75 -0
- package/node_modules/ibm_db/test/test-multi-openSync-closeSync.js +52 -0
- package/node_modules/ibm_db/test/test-open-close.js +29 -0
- package/node_modules/ibm_db/test/test-open-connectTimeout.js +33 -0
- package/node_modules/ibm_db/test/test-openSync.js +31 -0
- package/node_modules/ibm_db/test/test-pool-close.js +120 -0
- package/node_modules/ibm_db/test/test-pool-connect.js +36 -0
- package/node_modules/ibm_db/test/test-pool-idle-connection.js +72 -0
- package/node_modules/ibm_db/test/test-pool-rollbackTransaction.js +35 -0
- package/node_modules/ibm_db/test/test-pool-stale-connections.js +111 -0
- package/node_modules/ibm_db/test/test-pool-uncommited.js +33 -0
- package/node_modules/ibm_db/test/test-prepareSync-bad-sql.js +34 -0
- package/node_modules/ibm_db/test/test-prepareSync-multiple-execution.js +93 -0
- package/node_modules/ibm_db/test/test-promise-all-data-types.js +42 -0
- package/node_modules/ibm_db/test/test-promise-open-close.js +33 -0
- package/node_modules/ibm_db/test/test-query-create-table-fetchSync.js +23 -0
- package/node_modules/ibm_db/test/test-query-create-table.js +12 -0
- package/node_modules/ibm_db/test/test-query-drop-table.js +13 -0
- package/node_modules/ibm_db/test/test-query-insert.js +38 -0
- package/node_modules/ibm_db/test/test-query-select-fetch.js +21 -0
- package/node_modules/ibm_db/test/test-query-select-fetchMode-array.js +17 -0
- package/node_modules/ibm_db/test/test-query-select.js +64 -0
- package/node_modules/ibm_db/test/test-queryResult.js +35 -0
- package/node_modules/ibm_db/test/test-queryStream.js +43 -0
- package/node_modules/ibm_db/test/test-querySync-select-with-exception.js +25 -0
- package/node_modules/ibm_db/test/test-querySync-select.js +28 -0
- package/node_modules/ibm_db/test/test-quick-example.js +25 -0
- package/node_modules/ibm_db/test/test-require-and-end.js +8 -0
- package/node_modules/ibm_db/test/test-row-array-insert.js +167 -0
- package/node_modules/ibm_db/test/test-sp-array.js +54 -0
- package/node_modules/ibm_db/test/test-sp-dbc-6000.js +88 -0
- package/node_modules/ibm_db/test/test-sp-memleak.js +136 -0
- package/node_modules/ibm_db/test/test-sp-resultset-execute.js +269 -0
- package/node_modules/ibm_db/test/test-sp-resultset.js +228 -0
- package/node_modules/ibm_db/test/test-statement-close.js +118 -0
- package/node_modules/ibm_db/test/test-transaction-commit-sync.js +54 -0
- package/node_modules/ibm_db/test/test-transaction-commit.js +79 -0
- package/node_modules/ibm_db/test/test-typescript.js +48 -0
- package/node_modules/ibm_db/test/test-xml-datatype.js +70 -0
- package/node_modules/ibm_db/test/testWebApp.js +56 -0
- package/node_modules/ibm_db/test/trace +51 -0
- package/node_modules/ibm_db/test/typescript-apis-test.js +978 -0
- package/node_modules/ibm_db/test/webapp.html +17 -0
- package/node_modules/ibm_db/test/webapp.js +79 -0
- package/node_modules/ibm_db/typescript/README.md +29 -0
- package/node_modules/ibm_db/typescript/dist/ConnStr.d.ts +8 -0
- package/node_modules/ibm_db/typescript/dist/DB2Error.d.ts +5 -0
- package/node_modules/ibm_db/typescript/dist/Database.d.ts +116 -0
- package/node_modules/ibm_db/typescript/dist/DescribeObject.d.ts +7 -0
- package/node_modules/ibm_db/typescript/dist/ODBC.d.ts +29 -0
- package/node_modules/ibm_db/typescript/dist/ODBCConnection.d.ts +39 -0
- package/node_modules/ibm_db/typescript/dist/ODBCResult.d.ts +53 -0
- package/node_modules/ibm_db/typescript/dist/ODBCStatement.d.ts +33 -0
- package/node_modules/ibm_db/typescript/dist/Options.d.ts +14 -0
- package/node_modules/ibm_db/typescript/dist/Pool.d.ts +30 -0
- package/node_modules/ibm_db/typescript/dist/PoolOptions.d.ts +7 -0
- package/node_modules/ibm_db/typescript/dist/attributes.d.ts +214 -0
- package/node_modules/ibm_db/typescript/dist/index.d.ts +24 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/is-callable/.editorconfig +31 -0
- package/node_modules/is-callable/.eslintrc +10 -0
- package/node_modules/is-callable/.github/FUNDING.yml +12 -0
- package/node_modules/is-callable/.nycrc +9 -0
- package/node_modules/is-callable/CHANGELOG.md +158 -0
- package/node_modules/is-callable/LICENSE +22 -0
- package/node_modules/is-callable/README.md +83 -0
- package/node_modules/is-callable/index.js +101 -0
- package/node_modules/is-callable/package.json +106 -0
- package/node_modules/is-callable/test/index.js +244 -0
- package/node_modules/is-typed-array/.editorconfig +20 -0
- package/node_modules/is-typed-array/.eslintrc +13 -0
- package/node_modules/is-typed-array/.github/FUNDING.yml +12 -0
- package/node_modules/is-typed-array/.nycrc +9 -0
- package/node_modules/is-typed-array/CHANGELOG.md +166 -0
- package/node_modules/is-typed-array/LICENSE +22 -0
- package/node_modules/is-typed-array/README.md +70 -0
- package/node_modules/is-typed-array/index.d.ts +9 -0
- package/node_modules/is-typed-array/index.js +8 -0
- package/node_modules/is-typed-array/package.json +129 -0
- package/node_modules/is-typed-array/test/index.js +111 -0
- package/node_modules/is-typed-array/tsconfig.json +6 -0
- package/node_modules/isarray/LICENSE +21 -0
- package/node_modules/isarray/README.md +38 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +48 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +18 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +52 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +30 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +30 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17259 -0
- package/node_modules/lodash/lodash.min.js +136 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +19 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +91 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +284 -0
- package/node_modules/lodash/templateSettings.js +71 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +100 -0
- package/node_modules/mime-db/db.json +8519 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +60 -0
- package/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +113 -0
- package/node_modules/mime-types/index.js +188 -0
- package/node_modules/mime-types/package.json +44 -0
- package/node_modules/minimist/.eslintrc +29 -0
- package/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/node_modules/minimist/.nycrc +14 -0
- package/node_modules/minimist/CHANGELOG.md +298 -0
- package/node_modules/minimist/LICENSE +18 -0
- package/node_modules/minimist/README.md +121 -0
- package/node_modules/minimist/example/parse.js +4 -0
- package/node_modules/minimist/index.js +263 -0
- package/node_modules/minimist/package.json +75 -0
- package/node_modules/minimist/test/all_bool.js +34 -0
- package/node_modules/minimist/test/bool.js +177 -0
- package/node_modules/minimist/test/dash.js +43 -0
- package/node_modules/minimist/test/default_bool.js +37 -0
- package/node_modules/minimist/test/dotted.js +24 -0
- package/node_modules/minimist/test/kv_short.js +32 -0
- package/node_modules/minimist/test/long.js +33 -0
- package/node_modules/minimist/test/num.js +38 -0
- package/node_modules/minimist/test/parse.js +209 -0
- package/node_modules/minimist/test/parse_modified.js +11 -0
- package/node_modules/minimist/test/proto.js +64 -0
- package/node_modules/minimist/test/short.js +69 -0
- package/node_modules/minimist/test/stop_early.js +17 -0
- package/node_modules/minimist/test/unknown.js +104 -0
- package/node_modules/minimist/test/whitespace.js +10 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/node-addon-api/LICENSE.md +9 -0
- package/node_modules/node-addon-api/README.md +319 -0
- package/node_modules/node-addon-api/common.gypi +20 -0
- package/node_modules/node-addon-api/except.gypi +25 -0
- package/node_modules/node-addon-api/index.js +12 -0
- package/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
- package/node_modules/node-addon-api/napi-inl.h +6607 -0
- package/node_modules/node-addon-api/napi.h +3201 -0
- package/node_modules/node-addon-api/node_addon_api.gyp +32 -0
- package/node_modules/node-addon-api/node_api.gyp +9 -0
- package/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +480 -0
- package/node_modules/node-addon-api/tools/README.md +73 -0
- package/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/node_modules/node-addon-api/tools/eslint-format.js +79 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/possible-typed-array-names/.eslintrc +5 -0
- package/node_modules/possible-typed-array-names/.github/FUNDING.yml +12 -0
- package/node_modules/possible-typed-array-names/CHANGELOG.md +29 -0
- package/node_modules/possible-typed-array-names/LICENSE +21 -0
- package/node_modules/possible-typed-array-names/README.md +50 -0
- package/node_modules/possible-typed-array-names/index.d.ts +16 -0
- package/node_modules/possible-typed-array-names/index.js +17 -0
- package/node_modules/possible-typed-array-names/package.json +84 -0
- package/node_modules/possible-typed-array-names/test/index.js +19 -0
- package/node_modules/possible-typed-array-names/tsconfig.json +9 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/proxy-from-env/LICENSE +20 -0
- package/node_modules/proxy-from-env/README.md +163 -0
- package/node_modules/proxy-from-env/index.cjs +105 -0
- package/node_modules/proxy-from-env/index.js +103 -0
- package/node_modules/proxy-from-env/package.json +43 -0
- package/node_modules/pump/.travis.yml +5 -0
- package/node_modules/pump/LICENSE +21 -0
- package/node_modules/pump/README.md +56 -0
- package/node_modules/pump/index.js +80 -0
- package/node_modules/pump/package.json +24 -0
- package/node_modules/pump/test-browser.js +58 -0
- package/node_modules/pump/test.js +46 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/set-function-length/.eslintrc +27 -0
- package/node_modules/set-function-length/.github/FUNDING.yml +12 -0
- package/node_modules/set-function-length/.nycrc +13 -0
- package/node_modules/set-function-length/CHANGELOG.md +70 -0
- package/node_modules/set-function-length/LICENSE +21 -0
- package/node_modules/set-function-length/README.md +56 -0
- package/node_modules/set-function-length/env.d.ts +9 -0
- package/node_modules/set-function-length/env.js +25 -0
- package/node_modules/set-function-length/index.d.ts +7 -0
- package/node_modules/set-function-length/index.js +42 -0
- package/node_modules/set-function-length/package.json +102 -0
- package/node_modules/set-function-length/tsconfig.json +9 -0
- package/node_modules/tar-fs/.travis.yml +3 -0
- package/node_modules/tar-fs/LICENSE +21 -0
- package/node_modules/tar-fs/README.md +163 -0
- package/node_modules/tar-fs/index.js +356 -0
- package/node_modules/tar-fs/node_modules/chownr/LICENSE +15 -0
- package/node_modules/tar-fs/node_modules/chownr/README.md +3 -0
- package/node_modules/tar-fs/node_modules/chownr/chownr.js +167 -0
- package/node_modules/tar-fs/node_modules/chownr/package.json +29 -0
- package/node_modules/tar-fs/node_modules/mkdirp/LICENSE +21 -0
- package/node_modules/tar-fs/node_modules/mkdirp/bin/cmd.js +33 -0
- package/node_modules/tar-fs/node_modules/mkdirp/bin/usage.txt +12 -0
- package/node_modules/tar-fs/node_modules/mkdirp/index.js +102 -0
- package/node_modules/tar-fs/node_modules/mkdirp/package.json +33 -0
- package/node_modules/tar-fs/node_modules/mkdirp/readme.markdown +100 -0
- package/node_modules/tar-fs/package.json +41 -0
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +346 -0
- package/node_modules/tar-stream/LICENSE +21 -0
- package/node_modules/tar-stream/README.md +168 -0
- package/node_modules/tar-stream/extract.js +258 -0
- package/node_modules/tar-stream/headers.js +283 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/node_modules/bl/.jshintrc +59 -0
- package/node_modules/tar-stream/node_modules/bl/.travis.yml +13 -0
- package/node_modules/tar-stream/node_modules/bl/LICENSE.md +13 -0
- package/node_modules/tar-stream/node_modules/bl/README.md +208 -0
- package/node_modules/tar-stream/node_modules/bl/bl.js +290 -0
- package/node_modules/tar-stream/node_modules/bl/package.json +35 -0
- package/node_modules/tar-stream/node_modules/bl/test/test.js +718 -0
- package/node_modules/tar-stream/node_modules/isarray/.npmignore +1 -0
- package/node_modules/tar-stream/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/tar-stream/node_modules/isarray/Makefile +6 -0
- package/node_modules/tar-stream/node_modules/isarray/README.md +60 -0
- package/node_modules/tar-stream/node_modules/isarray/component.json +19 -0
- package/node_modules/tar-stream/node_modules/isarray/index.js +5 -0
- package/node_modules/tar-stream/node_modules/isarray/package.json +45 -0
- package/node_modules/tar-stream/node_modules/isarray/test.js +20 -0
- package/node_modules/tar-stream/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/tar-stream/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/tar-stream/node_modules/readable-stream/README.md +58 -0
- package/node_modules/tar-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/tar-stream/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/package.json +52 -0
- package/node_modules/tar-stream/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/tar-stream/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/tar-stream/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/tar-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/tar-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/tar-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/tar-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/tar-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/tar-stream/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/tar-stream/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/tar-stream/node_modules/string_decoder/README.md +47 -0
- package/node_modules/tar-stream/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/tar-stream/node_modules/string_decoder/package.json +31 -0
- package/node_modules/tar-stream/pack.js +255 -0
- package/node_modules/tar-stream/package.json +60 -0
- package/node_modules/targz/.npmignore +2 -0
- package/node_modules/targz/LICENSE +22 -0
- package/node_modules/targz/README.md +103 -0
- package/node_modules/targz/index.js +1 -0
- package/node_modules/targz/lib/targz.js +78 -0
- package/node_modules/targz/package.json +28 -0
- package/node_modules/to-buffer/.github/FUNDING.yml +12 -0
- package/node_modules/to-buffer/CHANGELOG.md +81 -0
- package/node_modules/to-buffer/LICENSE +21 -0
- package/node_modules/to-buffer/README.md +44 -0
- package/node_modules/to-buffer/index.js +109 -0
- package/node_modules/to-buffer/package.json +62 -0
- package/node_modules/typed-array-buffer/.eslintrc +13 -0
- package/node_modules/typed-array-buffer/.github/FUNDING.yml +12 -0
- package/node_modules/typed-array-buffer/.nycrc +13 -0
- package/node_modules/typed-array-buffer/CHANGELOG.md +50 -0
- package/node_modules/typed-array-buffer/LICENSE +21 -0
- package/node_modules/typed-array-buffer/README.md +42 -0
- package/node_modules/typed-array-buffer/index.d.ts +9 -0
- package/node_modules/typed-array-buffer/index.js +19 -0
- package/node_modules/typed-array-buffer/package.json +82 -0
- package/node_modules/typed-array-buffer/test/index.js +23 -0
- package/node_modules/typed-array-buffer/tsconfig.json +9 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/which-typed-array/.editorconfig +20 -0
- package/node_modules/which-typed-array/.github/FUNDING.yml +12 -0
- package/node_modules/which-typed-array/.nycrc +13 -0
- package/node_modules/which-typed-array/CHANGELOG.md +287 -0
- package/node_modules/which-typed-array/LICENSE +22 -0
- package/node_modules/which-typed-array/README.md +70 -0
- package/node_modules/which-typed-array/eslint.config.mjs +12 -0
- package/node_modules/which-typed-array/index.d.ts +35 -0
- package/node_modules/which-typed-array/index.js +135 -0
- package/node_modules/which-typed-array/package.json +130 -0
- package/node_modules/which-typed-array/test/index.js +105 -0
- package/node_modules/which-typed-array/tsconfig.json +9 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/xtend/.jshintrc +30 -0
- package/node_modules/xtend/LICENSE +20 -0
- package/node_modules/xtend/README.md +32 -0
- package/node_modules/xtend/immutable.js +19 -0
- package/node_modules/xtend/mutable.js +17 -0
- package/node_modules/xtend/package.json +55 -0
- package/node_modules/xtend/test.js +103 -0
- package/package.json +28 -18
- package/npm-shrinkwrap.json +0 -608
|
@@ -0,0 +1,1406 @@
|
|
|
1
|
+
import utils from '../utils.js';
|
|
2
|
+
import settle from '../core/settle.js';
|
|
3
|
+
import buildFullPath from '../core/buildFullPath.js';
|
|
4
|
+
import buildURL from '../helpers/buildURL.js';
|
|
5
|
+
import { getProxyForUrl } from 'proxy-from-env';
|
|
6
|
+
import HttpsProxyAgent from 'https-proxy-agent';
|
|
7
|
+
import http from 'http';
|
|
8
|
+
import https from 'https';
|
|
9
|
+
import http2 from 'http2';
|
|
10
|
+
import util from 'util';
|
|
11
|
+
import { resolve as resolvePath } from 'path';
|
|
12
|
+
import followRedirects from 'follow-redirects';
|
|
13
|
+
import zlib from 'zlib';
|
|
14
|
+
import { VERSION } from '../env/data.js';
|
|
15
|
+
import transitionalDefaults from '../defaults/transitional.js';
|
|
16
|
+
import AxiosError from '../core/AxiosError.js';
|
|
17
|
+
import CanceledError from '../cancel/CanceledError.js';
|
|
18
|
+
import platform from '../platform/index.js';
|
|
19
|
+
import fromDataURI from '../helpers/fromDataURI.js';
|
|
20
|
+
import stream from 'stream';
|
|
21
|
+
import AxiosHeaders from '../core/AxiosHeaders.js';
|
|
22
|
+
import setFormDataHeaders from '../core/setFormDataHeaders.js';
|
|
23
|
+
import AxiosTransformStream from '../helpers/AxiosTransformStream.js';
|
|
24
|
+
import { EventEmitter } from 'events';
|
|
25
|
+
import formDataToStream from '../helpers/formDataToStream.js';
|
|
26
|
+
import readBlob from '../helpers/readBlob.js';
|
|
27
|
+
import ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js';
|
|
28
|
+
import Http2Sessions from '../helpers/Http2Sessions.js';
|
|
29
|
+
import callbackify from '../helpers/callbackify.js';
|
|
30
|
+
import shouldBypassProxy from '../helpers/shouldBypassProxy.js';
|
|
31
|
+
import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';
|
|
32
|
+
import {
|
|
33
|
+
progressEventReducer,
|
|
34
|
+
progressEventDecorator,
|
|
35
|
+
asyncDecorator,
|
|
36
|
+
} from '../helpers/progressEventReducer.js';
|
|
37
|
+
import { estimateDataURLBufferAllocation } from '../helpers/estimateDataURLDecodedBytes.js';
|
|
38
|
+
|
|
39
|
+
const zlibOptions = {
|
|
40
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
41
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const brotliOptions = {
|
|
45
|
+
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
46
|
+
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const zstdOptions = {
|
|
50
|
+
flush: zlib.constants.ZSTD_e_flush,
|
|
51
|
+
finishFlush: zlib.constants.ZSTD_e_flush,
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress);
|
|
55
|
+
const isZstdSupported = utils.isFunction(zlib.createZstdDecompress);
|
|
56
|
+
const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : '');
|
|
57
|
+
const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : '');
|
|
58
|
+
const scheduleProgress =
|
|
59
|
+
typeof process !== 'undefined' && process.nextTick ? process.nextTick.bind(process) : utils.asap;
|
|
60
|
+
|
|
61
|
+
const { http: httpFollow, https: httpsFollow } = followRedirects;
|
|
62
|
+
|
|
63
|
+
const isHttps = /https:?/;
|
|
64
|
+
|
|
65
|
+
// Symbols used to bind a single 'error' listener to a pooled socket and track
|
|
66
|
+
// the request currently owning that socket across keep-alive reuse (issue #10780).
|
|
67
|
+
const kAxiosSocketListener = Symbol('axios.http.socketListener');
|
|
68
|
+
const kAxiosCurrentReq = Symbol('axios.http.currentReq');
|
|
69
|
+
|
|
70
|
+
// Tags HttpsProxyAgent instances installed by setProxy() so the redirect path
|
|
71
|
+
// can strip them without clobbering a user-supplied agent that happens to be
|
|
72
|
+
// an HttpsProxyAgent.
|
|
73
|
+
const kAxiosInstalledTunnel = Symbol('axios.http.installedTunnel');
|
|
74
|
+
|
|
75
|
+
// Cache of CONNECT-tunneling agents keyed by proxy config so repeat requests
|
|
76
|
+
// through the same proxy reuse a single agent (and its socket pool). The
|
|
77
|
+
// keyspace is bounded by the set of distinct proxy configs the process uses,
|
|
78
|
+
// so unbounded growth is not a concern in practice.
|
|
79
|
+
const tunnelingAgentCache = new Map();
|
|
80
|
+
const tunnelingAgentCacheUser = new WeakMap();
|
|
81
|
+
// Minimum minor versions where Node's HTTP Agent supports native proxyEnv
|
|
82
|
+
// handling. Checking the selected agent below also covers startup modes such
|
|
83
|
+
// as NODE_OPTIONS=--use-env-proxy and --no-use-env-proxy precedence.
|
|
84
|
+
const NODE_NATIVE_ENV_PROXY_SUPPORT = {
|
|
85
|
+
22: 21,
|
|
86
|
+
24: 5,
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) {
|
|
90
|
+
if (!nodeVersion) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const [major, minor] = nodeVersion.split('.').map((part) => Number(part));
|
|
95
|
+
|
|
96
|
+
if (!Number.isInteger(major) || !Number.isInteger(minor)) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (major > 24) {
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return (
|
|
105
|
+
NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major]
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) {
|
|
110
|
+
if (!isNodeNativeEnvProxySupported(nodeVersion)) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const agentOptions = agent && agent.options;
|
|
115
|
+
|
|
116
|
+
return Boolean(
|
|
117
|
+
agentOptions &&
|
|
118
|
+
utils.hasOwnProp(agentOptions, 'proxyEnv') &&
|
|
119
|
+
agentOptions.proxyEnv != null
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) {
|
|
124
|
+
return isHttps.test(options.protocol)
|
|
125
|
+
? (configHttpsAgent || https.globalAgent)
|
|
126
|
+
: (configHttpAgent || http.globalAgent);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function getTunnelingAgent(agentOptions, userHttpsAgent) {
|
|
130
|
+
const key =
|
|
131
|
+
agentOptions.protocol +
|
|
132
|
+
'//' +
|
|
133
|
+
agentOptions.hostname +
|
|
134
|
+
':' +
|
|
135
|
+
(agentOptions.port || '') +
|
|
136
|
+
'#' +
|
|
137
|
+
(agentOptions.auth || '');
|
|
138
|
+
const cache = userHttpsAgent
|
|
139
|
+
? (tunnelingAgentCacheUser.get(userHttpsAgent) ||
|
|
140
|
+
tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent))
|
|
141
|
+
: tunnelingAgentCache;
|
|
142
|
+
let agent = cache.get(key);
|
|
143
|
+
if (agent) return agent;
|
|
144
|
+
// Forward the user's TLS options (custom CA, rejectUnauthorized, client cert,
|
|
145
|
+
// etc.) into the tunneling agent so they apply to the origin TLS upgrade
|
|
146
|
+
// performed after CONNECT. Our proxy fields take precedence on conflict.
|
|
147
|
+
const merged = userHttpsAgent && userHttpsAgent.options
|
|
148
|
+
? { ...userHttpsAgent.options, ...agentOptions }
|
|
149
|
+
: agentOptions;
|
|
150
|
+
agent = new HttpsProxyAgent(merged);
|
|
151
|
+
if (userHttpsAgent && userHttpsAgent.options) {
|
|
152
|
+
const originTLSOptions = { ...userHttpsAgent.options };
|
|
153
|
+
const callback = agent.callback;
|
|
154
|
+
agent.callback = function axiosTunnelingAgentCallback(req, opts) {
|
|
155
|
+
// HttpsProxyAgent v5 reads callback opts for the post-CONNECT origin TLS upgrade.
|
|
156
|
+
return callback.call(this, req, { ...originTLSOptions, ...opts });
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
agent[kAxiosInstalledTunnel] = true;
|
|
160
|
+
cache.set(key, agent);
|
|
161
|
+
return agent;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const supportedProtocols = platform.protocols.map((protocol) => {
|
|
165
|
+
return protocol + ':';
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
// Node's WHATWG URL parser returns `username` and `password` percent-encoded.
|
|
169
|
+
// Decode before composing the `auth` option so credentials such as
|
|
170
|
+
// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the
|
|
171
|
+
// original value for malformed input so a bad encoding never throws.
|
|
172
|
+
const decodeURIComponentSafe = (value) => {
|
|
173
|
+
if (!utils.isString(value)) {
|
|
174
|
+
return value;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
try {
|
|
178
|
+
return decodeURIComponent(value);
|
|
179
|
+
} catch (error) {
|
|
180
|
+
return value;
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
const flushOnFinish = (stream, [throttled, flush]) => {
|
|
185
|
+
stream.on('end', flush).on('error', flush);
|
|
186
|
+
|
|
187
|
+
return throttled;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
const http2Sessions = new Http2Sessions();
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* If the proxy, auth, sensitive header, or config beforeRedirects functions are defined,
|
|
194
|
+
* call them with the options object.
|
|
195
|
+
*
|
|
196
|
+
* @param {Object<string, any>} options - The options object that was passed to the request.
|
|
197
|
+
*
|
|
198
|
+
* @returns {Object<string, any>}
|
|
199
|
+
*/
|
|
200
|
+
function dispatchBeforeRedirect(options, responseDetails, requestDetails) {
|
|
201
|
+
if (options.beforeRedirects.proxy) {
|
|
202
|
+
options.beforeRedirects.proxy(options);
|
|
203
|
+
}
|
|
204
|
+
if (options.beforeRedirects.auth) {
|
|
205
|
+
options.beforeRedirects.auth(options);
|
|
206
|
+
}
|
|
207
|
+
if (options.beforeRedirects.sensitiveHeaders) {
|
|
208
|
+
options.beforeRedirects.sensitiveHeaders(options, requestDetails);
|
|
209
|
+
}
|
|
210
|
+
if (options.beforeRedirects.config) {
|
|
211
|
+
options.beforeRedirects.config(options, responseDetails, requestDetails);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
function stripMatchingHeaders(headers, sensitiveSet) {
|
|
216
|
+
if (!headers) {
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
Object.keys(headers).forEach((header) => {
|
|
221
|
+
if (sensitiveSet.has(header.toLowerCase())) {
|
|
222
|
+
delete headers[header];
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
function isSameOriginRedirect(redirectOptions, requestDetails) {
|
|
228
|
+
if (!requestDetails) {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
try {
|
|
233
|
+
return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin;
|
|
234
|
+
} catch (e) {
|
|
235
|
+
// If origin comparison fails, treat the redirect as unsafe.
|
|
236
|
+
return false;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* If the proxy or config afterRedirects functions are defined, call them with the options
|
|
242
|
+
*
|
|
243
|
+
* @param {http.ClientRequestArgs} options
|
|
244
|
+
* @param {AxiosProxyConfig} configProxy configuration from Axios options object
|
|
245
|
+
* @param {string} location
|
|
246
|
+
*
|
|
247
|
+
* @returns {http.ClientRequestArgs}
|
|
248
|
+
*/
|
|
249
|
+
function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) {
|
|
250
|
+
let proxy = configProxy;
|
|
251
|
+
const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent);
|
|
252
|
+
if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) {
|
|
253
|
+
const proxyUrl = getProxyForUrl(location);
|
|
254
|
+
if (proxyUrl) {
|
|
255
|
+
if (!shouldBypassProxy(location)) {
|
|
256
|
+
proxy = new URL(proxyUrl);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
// On redirect re-invocation, strip any stale Proxy-Authorization header carried
|
|
261
|
+
// over from the prior request (e.g. new target no longer uses a proxy, or uses
|
|
262
|
+
// a different proxy). Skip on the initial request so user-supplied headers are
|
|
263
|
+
// preserved. Header names are case-insensitive, so remove every case variant.
|
|
264
|
+
if (isRedirect && options.headers) {
|
|
265
|
+
for (const name of Object.keys(options.headers)) {
|
|
266
|
+
if (name.toLowerCase() === 'proxy-authorization') {
|
|
267
|
+
delete options.headers[name];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
// Strip any tunneling agent we installed for the previous hop so a redirect
|
|
272
|
+
// that drops the proxy or crosses an HTTPS↔HTTP boundary doesn't reuse a
|
|
273
|
+
// stale one. Match on our Symbol marker so a user-supplied HttpsProxyAgent
|
|
274
|
+
// (which won't carry the marker) is left alone.
|
|
275
|
+
if (isRedirect && options.agent && options.agent[kAxiosInstalledTunnel]) {
|
|
276
|
+
options.agent = undefined;
|
|
277
|
+
}
|
|
278
|
+
if (proxy) {
|
|
279
|
+
// Read proxy fields without traversing the prototype chain. URL instances expose
|
|
280
|
+
// username/password/hostname/host/port/protocol via getters on URL.prototype (so
|
|
281
|
+
// direct reads are shielded), but plain object proxies — and the `auth` field
|
|
282
|
+
// (which URL does not expose) — must be guarded so a polluted Object.prototype
|
|
283
|
+
// (e.g. Object.prototype.auth = { username, password }) cannot inject
|
|
284
|
+
// attacker-controlled credentials into the Proxy-Authorization header or
|
|
285
|
+
// redirect proxying to an attacker-controlled host.
|
|
286
|
+
const isProxyURL = proxy instanceof URL;
|
|
287
|
+
const readProxyField = (key) =>
|
|
288
|
+
isProxyURL || utils.hasOwnProp(proxy, key) ? proxy[key] : undefined;
|
|
289
|
+
|
|
290
|
+
const proxyUsername = readProxyField('username');
|
|
291
|
+
const proxyPassword = readProxyField('password');
|
|
292
|
+
let proxyAuth = utils.hasOwnProp(proxy, 'auth') ? proxy.auth : undefined;
|
|
293
|
+
|
|
294
|
+
// Basic proxy authorization
|
|
295
|
+
if (proxyUsername) {
|
|
296
|
+
proxyAuth = (proxyUsername || '') + ':' + (proxyPassword || '');
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
if (proxyAuth) {
|
|
300
|
+
// Support proxy auth object form. Read sub-fields via own-prop checks so a
|
|
301
|
+
// plain object inheriting from polluted Object.prototype cannot leak creds.
|
|
302
|
+
const authIsObject = typeof proxyAuth === 'object';
|
|
303
|
+
const authUsername =
|
|
304
|
+
authIsObject && utils.hasOwnProp(proxyAuth, 'username') ? proxyAuth.username : undefined;
|
|
305
|
+
const authPassword =
|
|
306
|
+
authIsObject && utils.hasOwnProp(proxyAuth, 'password') ? proxyAuth.password : undefined;
|
|
307
|
+
const validProxyAuth = Boolean(authUsername || authPassword);
|
|
308
|
+
|
|
309
|
+
if (validProxyAuth) {
|
|
310
|
+
proxyAuth = (authUsername || '') + ':' + (authPassword || '');
|
|
311
|
+
} else if (authIsObject) {
|
|
312
|
+
throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy });
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
const targetIsHttps = isHttps.test(options.protocol);
|
|
317
|
+
|
|
318
|
+
if (targetIsHttps) {
|
|
319
|
+
// CONNECT-tunneling path for HTTPS targets. Preserves end-to-end TLS to
|
|
320
|
+
// the origin so the proxy cannot inspect the URL, headers, or body — the
|
|
321
|
+
// behavior already promised by THREATMODEL.md (T-R9). HttpsProxyAgent
|
|
322
|
+
// sends Proxy-Authorization on the CONNECT request only, never on the
|
|
323
|
+
// wrapped TLS request, which is why we don't stamp it onto
|
|
324
|
+
// options.headers here. If the user already supplied an HttpsProxyAgent,
|
|
325
|
+
// they own tunneling end-to-end and we leave them alone; otherwise we
|
|
326
|
+
// install our own tunneling agent and forward their TLS options (if any)
|
|
327
|
+
// so a custom httpsAgent for cert pinning / rejectUnauthorized still
|
|
328
|
+
// applies to the origin TLS upgrade.
|
|
329
|
+
if (!(configHttpsAgent instanceof HttpsProxyAgent)) {
|
|
330
|
+
const proxyHost = readProxyField('hostname') || readProxyField('host');
|
|
331
|
+
const proxyPort = readProxyField('port');
|
|
332
|
+
const rawProxyProtocol = readProxyField('protocol');
|
|
333
|
+
const normalizedProtocol = rawProxyProtocol
|
|
334
|
+
? rawProxyProtocol.includes(':')
|
|
335
|
+
? rawProxyProtocol
|
|
336
|
+
: `${rawProxyProtocol}:`
|
|
337
|
+
: 'http:';
|
|
338
|
+
// Bracket IPv6 literals for URL parsing; URL.hostname strips the
|
|
339
|
+
// brackets again on read so the agent receives the raw form.
|
|
340
|
+
const proxyHostForURL =
|
|
341
|
+
proxyHost && proxyHost.includes(':') && !proxyHost.startsWith('[')
|
|
342
|
+
? `[${proxyHost}]`
|
|
343
|
+
: proxyHost;
|
|
344
|
+
const proxyURL = new URL(
|
|
345
|
+
`${normalizedProtocol}//${proxyHostForURL}${proxyPort ? ':' + proxyPort : ''}`
|
|
346
|
+
);
|
|
347
|
+
const agentOptions = {
|
|
348
|
+
protocol: proxyURL.protocol,
|
|
349
|
+
hostname: proxyURL.hostname.replace(/^\[|\]$/g, ''),
|
|
350
|
+
port: proxyURL.port,
|
|
351
|
+
auth: proxyAuth && typeof proxyAuth === 'string' ? proxyAuth : undefined,
|
|
352
|
+
};
|
|
353
|
+
if (proxyURL.protocol === 'https:') {
|
|
354
|
+
agentOptions.ALPNProtocols = ['http/1.1'];
|
|
355
|
+
}
|
|
356
|
+
const tunnelingAgent = getTunnelingAgent(agentOptions, configHttpsAgent);
|
|
357
|
+
// Set both: `options.agent` is consumed by the native https.request path
|
|
358
|
+
// (maxRedirects === 0); `options.agents.https` is consumed by
|
|
359
|
+
// follow-redirects, which ignores `options.agent` when `options.agents`
|
|
360
|
+
// is present.
|
|
361
|
+
options.agent = tunnelingAgent;
|
|
362
|
+
if (options.agents) {
|
|
363
|
+
options.agents.https = tunnelingAgent;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
} else {
|
|
367
|
+
// Forward-proxy mode for plaintext HTTP targets. The request line carries
|
|
368
|
+
// the absolute URL and the proxy sees everything — acceptable for plain
|
|
369
|
+
// HTTP since the wire was already plaintext.
|
|
370
|
+
if (proxyAuth) {
|
|
371
|
+
const base64 = Buffer.from(proxyAuth, 'utf8').toString('base64');
|
|
372
|
+
options.headers['Proxy-Authorization'] = 'Basic ' + base64;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// Preserve a user-supplied Host header (case-insensitive) so callers can override
|
|
376
|
+
// the value forwarded to the proxy; otherwise default to the request URL's host.
|
|
377
|
+
let hasUserHostHeader = false;
|
|
378
|
+
for (const name of Object.keys(options.headers)) {
|
|
379
|
+
if (name.toLowerCase() === 'host') {
|
|
380
|
+
hasUserHostHeader = true;
|
|
381
|
+
break;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
if (!hasUserHostHeader) {
|
|
385
|
+
options.headers.host = options.hostname + (options.port ? ':' + options.port : '');
|
|
386
|
+
}
|
|
387
|
+
const proxyHost = readProxyField('hostname') || readProxyField('host');
|
|
388
|
+
options.hostname = proxyHost;
|
|
389
|
+
// Replace 'host' since options is not a URL object
|
|
390
|
+
options.host = proxyHost;
|
|
391
|
+
options.port = readProxyField('port');
|
|
392
|
+
options.path = location;
|
|
393
|
+
const proxyProtocol = readProxyField('protocol');
|
|
394
|
+
if (proxyProtocol) {
|
|
395
|
+
options.protocol = proxyProtocol.includes(':') ? proxyProtocol : `${proxyProtocol}:`;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {
|
|
401
|
+
// Configure proxy for redirected request, passing the original config proxy to apply
|
|
402
|
+
// the exact same logic as if the redirected request was performed by axios directly.
|
|
403
|
+
setProxy(
|
|
404
|
+
redirectOptions,
|
|
405
|
+
configProxy,
|
|
406
|
+
redirectOptions.href,
|
|
407
|
+
true,
|
|
408
|
+
configHttpsAgent,
|
|
409
|
+
configHttpAgent
|
|
410
|
+
);
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
const isHttpAdapterSupported =
|
|
415
|
+
typeof process !== 'undefined' && utils.kindOf(process) === 'process';
|
|
416
|
+
|
|
417
|
+
// temporary hotfix
|
|
418
|
+
|
|
419
|
+
const wrapAsync = (asyncExecutor) => {
|
|
420
|
+
return new Promise((resolve, reject) => {
|
|
421
|
+
let onDone;
|
|
422
|
+
let isDone;
|
|
423
|
+
|
|
424
|
+
const done = (value, isRejected) => {
|
|
425
|
+
if (isDone) return;
|
|
426
|
+
isDone = true;
|
|
427
|
+
onDone && onDone(value, isRejected);
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
const _resolve = (value) => {
|
|
431
|
+
done(value);
|
|
432
|
+
resolve(value);
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
const _reject = (reason) => {
|
|
436
|
+
done(reason, true);
|
|
437
|
+
reject(reason);
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);
|
|
441
|
+
});
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
const resolveFamily = ({ address, family }) => {
|
|
445
|
+
if (!utils.isString(address)) {
|
|
446
|
+
throw TypeError('address must be a string');
|
|
447
|
+
}
|
|
448
|
+
return {
|
|
449
|
+
address,
|
|
450
|
+
family: family || (address.indexOf('.') < 0 ? 6 : 4),
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
const buildAddressEntry = (address, family) =>
|
|
455
|
+
resolveFamily(utils.isObject(address) ? address : { address, family });
|
|
456
|
+
|
|
457
|
+
const http2Transport = {
|
|
458
|
+
request(options, cb) {
|
|
459
|
+
const authority =
|
|
460
|
+
options.protocol +
|
|
461
|
+
'//' +
|
|
462
|
+
options.hostname +
|
|
463
|
+
':' +
|
|
464
|
+
(options.port || (options.protocol === 'https:' ? 443 : 80));
|
|
465
|
+
|
|
466
|
+
const { http2Options, headers } = options;
|
|
467
|
+
|
|
468
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
469
|
+
|
|
470
|
+
const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } =
|
|
471
|
+
http2.constants;
|
|
472
|
+
|
|
473
|
+
const http2Headers = {
|
|
474
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
|
475
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
476
|
+
[HTTP2_HEADER_PATH]: options.path,
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
utils.forEach(headers, (header, name) => {
|
|
480
|
+
name.charAt(0) !== ':' && (http2Headers[name] = header);
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
const req = session.request(http2Headers);
|
|
484
|
+
|
|
485
|
+
req.once('response', (responseHeaders) => {
|
|
486
|
+
const response = req; //duplex
|
|
487
|
+
|
|
488
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
489
|
+
|
|
490
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
491
|
+
|
|
492
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
493
|
+
|
|
494
|
+
response.headers = responseHeaders;
|
|
495
|
+
|
|
496
|
+
response.statusCode = +status;
|
|
497
|
+
|
|
498
|
+
cb(response);
|
|
499
|
+
});
|
|
500
|
+
|
|
501
|
+
return req;
|
|
502
|
+
},
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
/*eslint consistent-return:0*/
|
|
506
|
+
export default isHttpAdapterSupported &&
|
|
507
|
+
function httpAdapter(config) {
|
|
508
|
+
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
|
509
|
+
// Read config pollution-safely: own properties and members inherited from
|
|
510
|
+
// a non-Object.prototype source (e.g. an Object.create(defaults) template)
|
|
511
|
+
// are honored, but values injected onto a polluted Object.prototype are
|
|
512
|
+
// ignored. All behavior-affecting reads in this adapter go through own()
|
|
513
|
+
// so the protection boundary stays consistent.
|
|
514
|
+
const own = (key) => utils.getSafeProp(config, key);
|
|
515
|
+
const transitional = own('transitional') || transitionalDefaults;
|
|
516
|
+
let data = own('data');
|
|
517
|
+
let lookup = own('lookup');
|
|
518
|
+
let family = own('family');
|
|
519
|
+
let httpVersion = own('httpVersion');
|
|
520
|
+
if (httpVersion === undefined) httpVersion = 1;
|
|
521
|
+
let http2Options = own('http2Options');
|
|
522
|
+
const httpAgent = own('httpAgent');
|
|
523
|
+
const httpsAgent = own('httpsAgent');
|
|
524
|
+
const configProxy = own('proxy');
|
|
525
|
+
const responseType = own('responseType');
|
|
526
|
+
const responseEncoding = own('responseEncoding');
|
|
527
|
+
const socketPath = own('socketPath');
|
|
528
|
+
const method = own('method').toUpperCase();
|
|
529
|
+
const maxRedirects = own('maxRedirects');
|
|
530
|
+
const maxBodyLength = own('maxBodyLength');
|
|
531
|
+
const maxContentLength = own('maxContentLength');
|
|
532
|
+
const decompress = own('decompress');
|
|
533
|
+
let isDone;
|
|
534
|
+
let rejected = false;
|
|
535
|
+
let req;
|
|
536
|
+
let connectPhaseTimer;
|
|
537
|
+
|
|
538
|
+
httpVersion = +httpVersion;
|
|
539
|
+
|
|
540
|
+
if (Number.isNaN(httpVersion)) {
|
|
541
|
+
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
545
|
+
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
const isHttp2 = httpVersion === 2;
|
|
549
|
+
|
|
550
|
+
if (lookup) {
|
|
551
|
+
const _lookup = callbackify(lookup, (value) => (utils.isArray(value) ? value : [value]));
|
|
552
|
+
// hotfix to support opt.all option which is required for node 20.x
|
|
553
|
+
lookup = (hostname, opt, cb) => {
|
|
554
|
+
_lookup(hostname, opt, (err, arg0, arg1) => {
|
|
555
|
+
if (err) {
|
|
556
|
+
return cb(err);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
const addresses = utils.isArray(arg0)
|
|
560
|
+
? arg0.map((addr) => buildAddressEntry(addr))
|
|
561
|
+
: [buildAddressEntry(arg0, arg1)];
|
|
562
|
+
|
|
563
|
+
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
564
|
+
});
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
const abortEmitter = new EventEmitter();
|
|
569
|
+
|
|
570
|
+
function abort(reason) {
|
|
571
|
+
try {
|
|
572
|
+
abortEmitter.emit(
|
|
573
|
+
'abort',
|
|
574
|
+
!reason || reason.type ? new CanceledError(null, config, req) : reason
|
|
575
|
+
);
|
|
576
|
+
} catch (err) {
|
|
577
|
+
// ignore emit errors
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
function clearConnectPhaseTimer() {
|
|
582
|
+
if (connectPhaseTimer) {
|
|
583
|
+
clearTimeout(connectPhaseTimer);
|
|
584
|
+
connectPhaseTimer = null;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
function createTimeoutError() {
|
|
589
|
+
const configTimeout = own('timeout');
|
|
590
|
+
let timeoutErrorMessage = configTimeout
|
|
591
|
+
? 'timeout of ' + configTimeout + 'ms exceeded'
|
|
592
|
+
: 'timeout exceeded';
|
|
593
|
+
const configTimeoutErrorMessage = own('timeoutErrorMessage');
|
|
594
|
+
if (configTimeoutErrorMessage) {
|
|
595
|
+
timeoutErrorMessage = configTimeoutErrorMessage;
|
|
596
|
+
}
|
|
597
|
+
return new AxiosError(
|
|
598
|
+
timeoutErrorMessage,
|
|
599
|
+
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
600
|
+
config,
|
|
601
|
+
req
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
abortEmitter.once('abort', reject);
|
|
606
|
+
|
|
607
|
+
const onFinished = () => {
|
|
608
|
+
clearConnectPhaseTimer();
|
|
609
|
+
|
|
610
|
+
if (config.cancelToken) {
|
|
611
|
+
config.cancelToken.unsubscribe(abort);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
if (config.signal) {
|
|
615
|
+
config.signal.removeEventListener('abort', abort);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
abortEmitter.removeAllListeners();
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
if (config.cancelToken || config.signal) {
|
|
622
|
+
config.cancelToken && config.cancelToken.subscribe(abort);
|
|
623
|
+
if (config.signal) {
|
|
624
|
+
config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
onDone((response, isRejected) => {
|
|
629
|
+
isDone = true;
|
|
630
|
+
clearConnectPhaseTimer();
|
|
631
|
+
|
|
632
|
+
if (isRejected) {
|
|
633
|
+
rejected = true;
|
|
634
|
+
onFinished();
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
const { data } = response;
|
|
639
|
+
|
|
640
|
+
if (data instanceof stream.Readable || data instanceof stream.Duplex) {
|
|
641
|
+
const offListeners = stream.finished(data, () => {
|
|
642
|
+
offListeners();
|
|
643
|
+
onFinished();
|
|
644
|
+
});
|
|
645
|
+
} else {
|
|
646
|
+
onFinished();
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
|
|
650
|
+
// Parse url
|
|
651
|
+
const fullPath = buildFullPath(own('baseURL'), own('url'), own('allowAbsoluteUrls'), config);
|
|
652
|
+
// Unix-socket requests (own socketPath) commonly pass a path-only url
|
|
653
|
+
// like '/foo'; supply a synthetic base so new URL() can still parse it.
|
|
654
|
+
// Use the own-property value (not config.socketPath) so a polluted
|
|
655
|
+
// prototype cannot influence URL base selection.
|
|
656
|
+
const urlBase = socketPath
|
|
657
|
+
? 'http://localhost'
|
|
658
|
+
: (platform.hasBrowserEnv ? platform.origin : undefined);
|
|
659
|
+
const parsed = new URL(fullPath, urlBase);
|
|
660
|
+
const protocol = parsed.protocol || supportedProtocols[0];
|
|
661
|
+
|
|
662
|
+
if (protocol === 'data:') {
|
|
663
|
+
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
664
|
+
if (maxContentLength > -1) {
|
|
665
|
+
// Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed.
|
|
666
|
+
const dataUrl = String(own('url') || fullPath || '');
|
|
667
|
+
const estimated = estimateDataURLBufferAllocation(dataUrl);
|
|
668
|
+
|
|
669
|
+
if (estimated > maxContentLength) {
|
|
670
|
+
return reject(
|
|
671
|
+
new AxiosError(
|
|
672
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
673
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
674
|
+
config
|
|
675
|
+
)
|
|
676
|
+
);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
let convertedData;
|
|
681
|
+
|
|
682
|
+
if (method !== 'GET') {
|
|
683
|
+
return settle(resolve, reject, {
|
|
684
|
+
status: 405,
|
|
685
|
+
statusText: 'method not allowed',
|
|
686
|
+
headers: {},
|
|
687
|
+
config,
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
try {
|
|
692
|
+
convertedData = fromDataURI(own('url'), responseType === 'blob', {
|
|
693
|
+
Blob: config.env && config.env.Blob,
|
|
694
|
+
});
|
|
695
|
+
} catch (err) {
|
|
696
|
+
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
if (responseType === 'text') {
|
|
700
|
+
convertedData = convertedData.toString(responseEncoding);
|
|
701
|
+
|
|
702
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
703
|
+
convertedData = utils.stripBOM(convertedData);
|
|
704
|
+
}
|
|
705
|
+
} else if (responseType === 'stream') {
|
|
706
|
+
convertedData = stream.Readable.from(convertedData);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
return settle(resolve, reject, {
|
|
710
|
+
data: convertedData,
|
|
711
|
+
status: 200,
|
|
712
|
+
statusText: 'OK',
|
|
713
|
+
headers: new AxiosHeaders(),
|
|
714
|
+
config,
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
719
|
+
return reject(
|
|
720
|
+
new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config)
|
|
721
|
+
);
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
725
|
+
|
|
726
|
+
// Set User-Agent (required by some servers)
|
|
727
|
+
// See https://github.com/axios/axios/issues/69
|
|
728
|
+
// User-Agent is specified; handle case where no UA header is desired
|
|
729
|
+
// Only set header if it hasn't been set in config
|
|
730
|
+
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
731
|
+
|
|
732
|
+
const { onUploadProgress, onDownloadProgress } = config;
|
|
733
|
+
const maxRate = config.maxRate;
|
|
734
|
+
let maxUploadRate = undefined;
|
|
735
|
+
let maxDownloadRate = undefined;
|
|
736
|
+
|
|
737
|
+
// support for spec compliant FormData objects
|
|
738
|
+
if (utils.isSpecCompliantForm(data)) {
|
|
739
|
+
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
740
|
+
|
|
741
|
+
data = formDataToStream(
|
|
742
|
+
data,
|
|
743
|
+
(formHeaders) => {
|
|
744
|
+
headers.set(formHeaders);
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
tag: `axios-${VERSION}-boundary`,
|
|
748
|
+
boundary: (userBoundary && userBoundary[1]) || undefined,
|
|
749
|
+
}
|
|
750
|
+
);
|
|
751
|
+
// support for https://www.npmjs.com/package/form-data api
|
|
752
|
+
} else if (
|
|
753
|
+
utils.isFormData(data) &&
|
|
754
|
+
utils.isFunction(data.getHeaders) &&
|
|
755
|
+
data.getHeaders !== Object.prototype.getHeaders
|
|
756
|
+
) {
|
|
757
|
+
setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));
|
|
758
|
+
|
|
759
|
+
if (!headers.hasContentLength()) {
|
|
760
|
+
try {
|
|
761
|
+
const knownLength = await util.promisify(data.getLength).call(data);
|
|
762
|
+
Number.isFinite(knownLength) &&
|
|
763
|
+
knownLength >= 0 &&
|
|
764
|
+
headers.setContentLength(knownLength);
|
|
765
|
+
/*eslint no-empty:0*/
|
|
766
|
+
} catch (e) {}
|
|
767
|
+
}
|
|
768
|
+
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
769
|
+
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
770
|
+
headers.setContentLength(data.size || 0);
|
|
771
|
+
data = stream.Readable.from(readBlob(data));
|
|
772
|
+
} else if (data && !utils.isStream(data)) {
|
|
773
|
+
if (Buffer.isBuffer(data)) {
|
|
774
|
+
// Nothing to do...
|
|
775
|
+
} else if (utils.isArrayBuffer(data)) {
|
|
776
|
+
data = Buffer.from(new Uint8Array(data));
|
|
777
|
+
} else if (utils.isString(data)) {
|
|
778
|
+
data = Buffer.from(data, 'utf-8');
|
|
779
|
+
} else {
|
|
780
|
+
return reject(
|
|
781
|
+
new AxiosError(
|
|
782
|
+
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
783
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
784
|
+
config
|
|
785
|
+
)
|
|
786
|
+
);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
// Add Content-Length header if data exists
|
|
790
|
+
headers.setContentLength(data.length, false);
|
|
791
|
+
|
|
792
|
+
if (maxBodyLength > -1 && data.length > maxBodyLength) {
|
|
793
|
+
return reject(
|
|
794
|
+
new AxiosError(
|
|
795
|
+
'Request body larger than maxBodyLength limit',
|
|
796
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
797
|
+
config
|
|
798
|
+
)
|
|
799
|
+
);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
const contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
804
|
+
|
|
805
|
+
if (utils.isArray(maxRate)) {
|
|
806
|
+
maxUploadRate = maxRate[0];
|
|
807
|
+
maxDownloadRate = maxRate[1];
|
|
808
|
+
} else {
|
|
809
|
+
maxUploadRate = maxDownloadRate = maxRate;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
if (data && (onUploadProgress || maxUploadRate)) {
|
|
813
|
+
if (!utils.isStream(data)) {
|
|
814
|
+
data = stream.Readable.from(data, { objectMode: false });
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
data = stream.pipeline(
|
|
818
|
+
[
|
|
819
|
+
data,
|
|
820
|
+
new AxiosTransformStream({
|
|
821
|
+
maxRate: utils.toFiniteNumber(maxUploadRate),
|
|
822
|
+
}),
|
|
823
|
+
],
|
|
824
|
+
utils.noop
|
|
825
|
+
);
|
|
826
|
+
|
|
827
|
+
onUploadProgress &&
|
|
828
|
+
data.on(
|
|
829
|
+
'progress',
|
|
830
|
+
flushOnFinish(
|
|
831
|
+
data,
|
|
832
|
+
progressEventDecorator(
|
|
833
|
+
contentLength,
|
|
834
|
+
progressEventReducer(asyncDecorator(onUploadProgress, scheduleProgress), false, 3)
|
|
835
|
+
)
|
|
836
|
+
)
|
|
837
|
+
);
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// HTTP basic authentication
|
|
841
|
+
let auth = undefined;
|
|
842
|
+
const configAuth = own('auth');
|
|
843
|
+
if (configAuth) {
|
|
844
|
+
const username = utils.getSafeProp(configAuth, 'username') || '';
|
|
845
|
+
const password = utils.getSafeProp(configAuth, 'password') || '';
|
|
846
|
+
auth = username + ':' + password;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
if (!auth && (parsed.username || parsed.password)) {
|
|
850
|
+
const urlUsername = decodeURIComponentSafe(parsed.username);
|
|
851
|
+
const urlPassword = decodeURIComponentSafe(parsed.password);
|
|
852
|
+
auth = urlUsername + ':' + urlPassword;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
auth && headers.delete('authorization');
|
|
856
|
+
|
|
857
|
+
let path;
|
|
858
|
+
|
|
859
|
+
try {
|
|
860
|
+
path = buildURL(
|
|
861
|
+
parsed.pathname + parsed.search,
|
|
862
|
+
own('params'),
|
|
863
|
+
own('paramsSerializer')
|
|
864
|
+
).replace(/^\?/, '');
|
|
865
|
+
} catch (err) {
|
|
866
|
+
return reject(
|
|
867
|
+
AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config, null, null, {
|
|
868
|
+
url: own('url'),
|
|
869
|
+
exists: true
|
|
870
|
+
})
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
headers.set(
|
|
875
|
+
'Accept-Encoding',
|
|
876
|
+
utils.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') &&
|
|
877
|
+
transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING,
|
|
878
|
+
false
|
|
879
|
+
);
|
|
880
|
+
|
|
881
|
+
// Null-prototype to block prototype pollution gadgets on properties read
|
|
882
|
+
// directly by Node's http.request (e.g. insecureHTTPParser, lookup).
|
|
883
|
+
const options = Object.assign(Object.create(null), {
|
|
884
|
+
path,
|
|
885
|
+
method: method,
|
|
886
|
+
headers: toByteStringHeaderObject(headers),
|
|
887
|
+
agents: { http: httpAgent, https: httpsAgent },
|
|
888
|
+
auth,
|
|
889
|
+
protocol,
|
|
890
|
+
family,
|
|
891
|
+
beforeRedirect: dispatchBeforeRedirect,
|
|
892
|
+
beforeRedirects: Object.create(null),
|
|
893
|
+
http2Options,
|
|
894
|
+
});
|
|
895
|
+
|
|
896
|
+
// cacheable-lookup integration hotfix
|
|
897
|
+
!utils.isUndefined(lookup) && (options.lookup = lookup);
|
|
898
|
+
|
|
899
|
+
if (socketPath) {
|
|
900
|
+
if (typeof socketPath !== 'string') {
|
|
901
|
+
return reject(
|
|
902
|
+
new AxiosError('socketPath must be a string', AxiosError.ERR_BAD_OPTION_VALUE, config)
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
const allowedSocketPaths = own('allowedSocketPaths');
|
|
907
|
+
if (allowedSocketPaths != null) {
|
|
908
|
+
const allowed = Array.isArray(allowedSocketPaths)
|
|
909
|
+
? allowedSocketPaths
|
|
910
|
+
: [allowedSocketPaths];
|
|
911
|
+
|
|
912
|
+
const resolvedSocket = resolvePath(socketPath);
|
|
913
|
+
const isAllowed = allowed.some(
|
|
914
|
+
(entry) => typeof entry === 'string' && resolvePath(entry) === resolvedSocket
|
|
915
|
+
);
|
|
916
|
+
|
|
917
|
+
if (!isAllowed) {
|
|
918
|
+
return reject(
|
|
919
|
+
new AxiosError(
|
|
920
|
+
`socketPath "${socketPath}" is not permitted by allowedSocketPaths`,
|
|
921
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
922
|
+
config
|
|
923
|
+
)
|
|
924
|
+
);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
options.socketPath = socketPath;
|
|
929
|
+
} else {
|
|
930
|
+
options.hostname = parsed.hostname.startsWith('[')
|
|
931
|
+
? parsed.hostname.slice(1, -1)
|
|
932
|
+
: parsed.hostname;
|
|
933
|
+
options.port = parsed.port;
|
|
934
|
+
setProxy(
|
|
935
|
+
options,
|
|
936
|
+
configProxy,
|
|
937
|
+
protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path,
|
|
938
|
+
false,
|
|
939
|
+
httpsAgent,
|
|
940
|
+
httpAgent
|
|
941
|
+
);
|
|
942
|
+
}
|
|
943
|
+
let transport;
|
|
944
|
+
let isNativeTransport = false;
|
|
945
|
+
// True only for the follow-redirects transport, which applies
|
|
946
|
+
// options.maxBodyLength itself. Every other transport (http2, native
|
|
947
|
+
// http/https, a user-supplied custom transport) needs the explicit
|
|
948
|
+
// byte-counting pipeline below to enforce maxBodyLength on streamed uploads.
|
|
949
|
+
let transportEnforcesMaxBodyLength = false;
|
|
950
|
+
const isHttpsRequest = isHttps.test(options.protocol);
|
|
951
|
+
// Don't clobber a CONNECT-tunneling agent installed by setProxy() for an
|
|
952
|
+
// HTTPS target.
|
|
953
|
+
if (options.agent == null) {
|
|
954
|
+
options.agent = isHttpsRequest ? httpsAgent : httpAgent;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
if (isHttp2) {
|
|
958
|
+
transport = http2Transport;
|
|
959
|
+
} else {
|
|
960
|
+
const configTransport = own('transport');
|
|
961
|
+
if (configTransport) {
|
|
962
|
+
transport = configTransport;
|
|
963
|
+
} else if (maxRedirects === 0) {
|
|
964
|
+
transport = isHttpsRequest ? https : http;
|
|
965
|
+
isNativeTransport = true;
|
|
966
|
+
} else {
|
|
967
|
+
transportEnforcesMaxBodyLength = true;
|
|
968
|
+
options.sensitiveHeaders = [];
|
|
969
|
+
if (maxRedirects) {
|
|
970
|
+
options.maxRedirects = maxRedirects;
|
|
971
|
+
}
|
|
972
|
+
const configBeforeRedirect = own('beforeRedirect');
|
|
973
|
+
if (configBeforeRedirect) {
|
|
974
|
+
options.beforeRedirects.config = configBeforeRedirect;
|
|
975
|
+
}
|
|
976
|
+
if (auth) {
|
|
977
|
+
// Restore HTTP Basic credentials on same-origin redirects only.
|
|
978
|
+
// follow-redirects >= 1.15.8 strips Authorization on every redirect (see #6929);
|
|
979
|
+
// cross-origin stripping is the documented mitigation for T-R2 in THREATMODEL.md
|
|
980
|
+
// and is preserved by deliberately not restoring on origin change.
|
|
981
|
+
const requestOrigin = parsed.origin;
|
|
982
|
+
const authToRestore = auth;
|
|
983
|
+
options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) {
|
|
984
|
+
try {
|
|
985
|
+
if (new URL(redirectOptions.href).origin === requestOrigin) {
|
|
986
|
+
redirectOptions.auth = authToRestore;
|
|
987
|
+
}
|
|
988
|
+
} catch (e) {
|
|
989
|
+
// ignore malformed URL: leaving auth stripped is fail-safe
|
|
990
|
+
}
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
const sensitiveHeaders = own('sensitiveHeaders');
|
|
994
|
+
if (sensitiveHeaders != null) {
|
|
995
|
+
if (!utils.isArray(sensitiveHeaders)) {
|
|
996
|
+
return reject(
|
|
997
|
+
new AxiosError(
|
|
998
|
+
'sensitiveHeaders must be an array of strings',
|
|
999
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
1000
|
+
config
|
|
1001
|
+
)
|
|
1002
|
+
);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
const sensitiveSet = new Set();
|
|
1006
|
+
for (const header of sensitiveHeaders) {
|
|
1007
|
+
if (!utils.isString(header)) {
|
|
1008
|
+
return reject(
|
|
1009
|
+
new AxiosError(
|
|
1010
|
+
'sensitiveHeaders must be an array of strings',
|
|
1011
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
1012
|
+
config
|
|
1013
|
+
)
|
|
1014
|
+
);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
sensitiveSet.add(header.toLowerCase());
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
if (sensitiveSet.size) {
|
|
1021
|
+
options.sensitiveHeaders = Array.from(sensitiveSet);
|
|
1022
|
+
options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders(
|
|
1023
|
+
redirectOptions,
|
|
1024
|
+
requestDetails
|
|
1025
|
+
) {
|
|
1026
|
+
if (!isSameOriginRedirect(redirectOptions, requestDetails)) {
|
|
1027
|
+
stripMatchingHeaders(redirectOptions.headers, sensitiveSet);
|
|
1028
|
+
}
|
|
1029
|
+
};
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
// Set an explicit maxBodyLength option for transports that inspect it.
|
|
1037
|
+
// When maxBodyLength is -1 (default/unlimited), use Infinity so
|
|
1038
|
+
// follow-redirects does not fall back to its own 10MB default.
|
|
1039
|
+
if (maxBodyLength > -1) {
|
|
1040
|
+
options.maxBodyLength = maxBodyLength;
|
|
1041
|
+
} else {
|
|
1042
|
+
options.maxBodyLength = Infinity;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
// Always set an explicit own value so a polluted
|
|
1046
|
+
// Object.prototype.insecureHTTPParser cannot enable the lenient parser
|
|
1047
|
+
// through Node's internal options copy
|
|
1048
|
+
options.insecureHTTPParser = Boolean(own('insecureHTTPParser'));
|
|
1049
|
+
|
|
1050
|
+
// Create the request
|
|
1051
|
+
req = transport.request(options, function handleResponse(res) {
|
|
1052
|
+
clearConnectPhaseTimer();
|
|
1053
|
+
|
|
1054
|
+
if (req.destroyed) return;
|
|
1055
|
+
|
|
1056
|
+
const streams = [res];
|
|
1057
|
+
|
|
1058
|
+
const responseLength = utils.toFiniteNumber(res.headers['content-length']);
|
|
1059
|
+
|
|
1060
|
+
if (onDownloadProgress || maxDownloadRate) {
|
|
1061
|
+
const transformStream = new AxiosTransformStream({
|
|
1062
|
+
maxRate: utils.toFiniteNumber(maxDownloadRate),
|
|
1063
|
+
});
|
|
1064
|
+
|
|
1065
|
+
onDownloadProgress &&
|
|
1066
|
+
transformStream.on(
|
|
1067
|
+
'progress',
|
|
1068
|
+
flushOnFinish(
|
|
1069
|
+
transformStream,
|
|
1070
|
+
progressEventDecorator(
|
|
1071
|
+
responseLength,
|
|
1072
|
+
progressEventReducer(asyncDecorator(onDownloadProgress, scheduleProgress), true, 3)
|
|
1073
|
+
)
|
|
1074
|
+
)
|
|
1075
|
+
);
|
|
1076
|
+
|
|
1077
|
+
streams.push(transformStream);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
// decompress the response body transparently if required
|
|
1081
|
+
let responseStream = res;
|
|
1082
|
+
|
|
1083
|
+
// return the last request in case of redirects
|
|
1084
|
+
const lastRequest = res.req || req;
|
|
1085
|
+
|
|
1086
|
+
// if decompress disabled we should not decompress
|
|
1087
|
+
if (decompress !== false && res.headers['content-encoding']) {
|
|
1088
|
+
// if no content, but headers still say that it is encoded,
|
|
1089
|
+
// remove the header not confuse downstream operations
|
|
1090
|
+
if (method === 'HEAD' || res.statusCode === 204) {
|
|
1091
|
+
delete res.headers['content-encoding'];
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
switch ((res.headers['content-encoding'] || '').toLowerCase()) {
|
|
1095
|
+
/*eslint default-case:0*/
|
|
1096
|
+
case 'gzip':
|
|
1097
|
+
case 'x-gzip':
|
|
1098
|
+
case 'compress':
|
|
1099
|
+
case 'x-compress':
|
|
1100
|
+
// add the unzipper to the body stream processing pipeline
|
|
1101
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
1102
|
+
|
|
1103
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
1104
|
+
delete res.headers['content-encoding'];
|
|
1105
|
+
break;
|
|
1106
|
+
case 'deflate':
|
|
1107
|
+
streams.push(new ZlibHeaderTransformStream());
|
|
1108
|
+
|
|
1109
|
+
// add the unzipper to the body stream processing pipeline
|
|
1110
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
1111
|
+
|
|
1112
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
1113
|
+
delete res.headers['content-encoding'];
|
|
1114
|
+
break;
|
|
1115
|
+
case 'br':
|
|
1116
|
+
if (isBrotliSupported) {
|
|
1117
|
+
streams.push(zlib.createBrotliDecompress(brotliOptions));
|
|
1118
|
+
delete res.headers['content-encoding'];
|
|
1119
|
+
}
|
|
1120
|
+
break;
|
|
1121
|
+
case 'zstd':
|
|
1122
|
+
if (isZstdSupported) {
|
|
1123
|
+
streams.push(zlib.createZstdDecompress(zstdOptions));
|
|
1124
|
+
delete res.headers['content-encoding'];
|
|
1125
|
+
}
|
|
1126
|
+
break;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];
|
|
1131
|
+
|
|
1132
|
+
const response = {
|
|
1133
|
+
status: res.statusCode,
|
|
1134
|
+
statusText: res.statusMessage,
|
|
1135
|
+
headers: new AxiosHeaders(res.headers),
|
|
1136
|
+
config,
|
|
1137
|
+
request: lastRequest,
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
if (responseType === 'stream') {
|
|
1141
|
+
// Enforce maxContentLength on streamed responses; previously this
|
|
1142
|
+
// was applied only to buffered responses.
|
|
1143
|
+
if (maxContentLength > -1) {
|
|
1144
|
+
const limit = maxContentLength;
|
|
1145
|
+
const source = responseStream;
|
|
1146
|
+
async function* enforceMaxContentLength() {
|
|
1147
|
+
let totalResponseBytes = 0;
|
|
1148
|
+
for await (const chunk of source) {
|
|
1149
|
+
totalResponseBytes += chunk.length;
|
|
1150
|
+
if (totalResponseBytes > limit) {
|
|
1151
|
+
throw new AxiosError(
|
|
1152
|
+
'maxContentLength size of ' + limit + ' exceeded',
|
|
1153
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
1154
|
+
config,
|
|
1155
|
+
lastRequest
|
|
1156
|
+
);
|
|
1157
|
+
}
|
|
1158
|
+
yield chunk;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
responseStream = stream.Readable.from(enforceMaxContentLength(), {
|
|
1162
|
+
objectMode: false,
|
|
1163
|
+
});
|
|
1164
|
+
}
|
|
1165
|
+
response.data = responseStream;
|
|
1166
|
+
settle(resolve, reject, response);
|
|
1167
|
+
} else {
|
|
1168
|
+
const responseBuffer = [];
|
|
1169
|
+
let totalResponseBytes = 0;
|
|
1170
|
+
|
|
1171
|
+
responseStream.on('data', function handleStreamData(chunk) {
|
|
1172
|
+
responseBuffer.push(chunk);
|
|
1173
|
+
totalResponseBytes += chunk.length;
|
|
1174
|
+
|
|
1175
|
+
// make sure the content length is not over the maxContentLength if specified
|
|
1176
|
+
if (maxContentLength > -1 && totalResponseBytes > maxContentLength) {
|
|
1177
|
+
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
1178
|
+
rejected = true;
|
|
1179
|
+
responseStream.destroy();
|
|
1180
|
+
abort(
|
|
1181
|
+
new AxiosError(
|
|
1182
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
1183
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
1184
|
+
config,
|
|
1185
|
+
lastRequest
|
|
1186
|
+
)
|
|
1187
|
+
);
|
|
1188
|
+
}
|
|
1189
|
+
});
|
|
1190
|
+
|
|
1191
|
+
responseStream.on('aborted', function handlerStreamAborted() {
|
|
1192
|
+
if (rejected) {
|
|
1193
|
+
return;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
const err = new AxiosError(
|
|
1197
|
+
'stream has been aborted',
|
|
1198
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
1199
|
+
config,
|
|
1200
|
+
lastRequest,
|
|
1201
|
+
response
|
|
1202
|
+
);
|
|
1203
|
+
responseStream.destroy(err);
|
|
1204
|
+
reject(err);
|
|
1205
|
+
});
|
|
1206
|
+
|
|
1207
|
+
responseStream.on('error', function handleStreamError(err) {
|
|
1208
|
+
if (rejected) return;
|
|
1209
|
+
reject(AxiosError.from(err, null, config, lastRequest, response));
|
|
1210
|
+
});
|
|
1211
|
+
|
|
1212
|
+
responseStream.on('end', function handleStreamEnd() {
|
|
1213
|
+
try {
|
|
1214
|
+
let responseData =
|
|
1215
|
+
responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
1216
|
+
if (responseType !== 'arraybuffer') {
|
|
1217
|
+
responseData = responseData.toString(responseEncoding);
|
|
1218
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
1219
|
+
responseData = utils.stripBOM(responseData);
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
response.data = responseData;
|
|
1223
|
+
} catch (err) {
|
|
1224
|
+
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
1225
|
+
}
|
|
1226
|
+
settle(resolve, reject, response);
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
abortEmitter.once('abort', (err) => {
|
|
1231
|
+
if (!responseStream.destroyed) {
|
|
1232
|
+
responseStream.emit('error', err);
|
|
1233
|
+
responseStream.destroy();
|
|
1234
|
+
}
|
|
1235
|
+
});
|
|
1236
|
+
});
|
|
1237
|
+
|
|
1238
|
+
abortEmitter.once('abort', (err) => {
|
|
1239
|
+
if (req.close) {
|
|
1240
|
+
req.close();
|
|
1241
|
+
} else {
|
|
1242
|
+
req.destroy(err);
|
|
1243
|
+
}
|
|
1244
|
+
});
|
|
1245
|
+
|
|
1246
|
+
// Handle errors
|
|
1247
|
+
req.on('error', function handleRequestError(err) {
|
|
1248
|
+
reject(AxiosError.from(err, null, config, req));
|
|
1249
|
+
});
|
|
1250
|
+
|
|
1251
|
+
// set tcp keep alive to prevent drop connection by peer
|
|
1252
|
+
// Track every socket bound to this outer RedirectableRequest so a single
|
|
1253
|
+
// 'close' listener can release ownership on all of them. follow-redirects
|
|
1254
|
+
// re-emits the 'socket' event for each hop's native request onto the same
|
|
1255
|
+
// outer request, so attaching per-request listeners inside this handler
|
|
1256
|
+
// would accumulate across hops and trigger MaxListenersExceededWarning at
|
|
1257
|
+
// >= 11 redirects. Clearing only the last-bound socket would leave stale
|
|
1258
|
+
// kAxiosCurrentReq refs on earlier hop sockets returned to the keep-alive
|
|
1259
|
+
// pool, causing an idle-pool 'error' to be attributed to a closed req.
|
|
1260
|
+
const boundSockets = new Set();
|
|
1261
|
+
|
|
1262
|
+
req.on('socket', function handleRequestSocket(socket) {
|
|
1263
|
+
// default interval of sending ack packet is 1 minute
|
|
1264
|
+
// proxy agents (e.g. agent-base) may return a generic Duplex stream
|
|
1265
|
+
// that doesn't have setKeepAlive, so guard before calling
|
|
1266
|
+
if (typeof socket.setKeepAlive === 'function') {
|
|
1267
|
+
socket.setKeepAlive(true, 1000 * 60);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
// Install a single 'error' listener per socket (not per request) to avoid
|
|
1271
|
+
// accumulating listeners on pooled keep-alive sockets that get reassigned
|
|
1272
|
+
// to new requests before the previous request's 'close' fires (issue #10780).
|
|
1273
|
+
// The listener is bound to the socket's currently-active request via a
|
|
1274
|
+
// symbol, which is swapped as the socket is reassigned.
|
|
1275
|
+
if (!socket[kAxiosSocketListener]) {
|
|
1276
|
+
socket.on('error', function handleSocketError(err) {
|
|
1277
|
+
const current = socket[kAxiosCurrentReq];
|
|
1278
|
+
if (current && !current.destroyed) {
|
|
1279
|
+
current.destroy(err);
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
socket[kAxiosSocketListener] = true;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
socket[kAxiosCurrentReq] = req;
|
|
1286
|
+
boundSockets.add(socket);
|
|
1287
|
+
});
|
|
1288
|
+
|
|
1289
|
+
req.once('close', function clearCurrentReq() {
|
|
1290
|
+
clearConnectPhaseTimer();
|
|
1291
|
+
|
|
1292
|
+
for (const socket of boundSockets) {
|
|
1293
|
+
if (socket[kAxiosCurrentReq] === req) {
|
|
1294
|
+
socket[kAxiosCurrentReq] = null;
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
boundSockets.clear();
|
|
1298
|
+
});
|
|
1299
|
+
|
|
1300
|
+
// Handle request timeout
|
|
1301
|
+
if (own('timeout')) {
|
|
1302
|
+
// This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
|
|
1303
|
+
const timeout = parseInt(own('timeout'), 10);
|
|
1304
|
+
|
|
1305
|
+
if (Number.isNaN(timeout)) {
|
|
1306
|
+
abort(
|
|
1307
|
+
new AxiosError(
|
|
1308
|
+
'error trying to parse `config.timeout` to int',
|
|
1309
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
1310
|
+
config,
|
|
1311
|
+
req
|
|
1312
|
+
)
|
|
1313
|
+
);
|
|
1314
|
+
|
|
1315
|
+
return;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
const handleTimeout = function handleTimeout() {
|
|
1319
|
+
if (isDone) return;
|
|
1320
|
+
abort(createTimeoutError());
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1323
|
+
if (isNativeTransport && timeout > 0) {
|
|
1324
|
+
// Native ClientRequest#setTimeout starts from the socket lifecycle and
|
|
1325
|
+
// may not fire while TCP connect is still pending. Mirror the
|
|
1326
|
+
// follow-redirects wall-clock timer for the maxRedirects === 0 path.
|
|
1327
|
+
connectPhaseTimer = setTimeout(handleTimeout, timeout);
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
// Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
|
|
1331
|
+
// And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
|
|
1332
|
+
// At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
|
|
1333
|
+
// And then these socket which be hang up will devouring CPU little by little.
|
|
1334
|
+
// ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
|
|
1335
|
+
req.setTimeout(timeout, handleTimeout);
|
|
1336
|
+
} else {
|
|
1337
|
+
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
1338
|
+
req.setTimeout(0);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
// Send the request
|
|
1342
|
+
if (utils.isStream(data)) {
|
|
1343
|
+
let ended = false;
|
|
1344
|
+
let errored = false;
|
|
1345
|
+
|
|
1346
|
+
data.on('end', () => {
|
|
1347
|
+
ended = true;
|
|
1348
|
+
});
|
|
1349
|
+
|
|
1350
|
+
data.once('error', (err) => {
|
|
1351
|
+
errored = true;
|
|
1352
|
+
req.destroy(err);
|
|
1353
|
+
});
|
|
1354
|
+
|
|
1355
|
+
data.on('close', () => {
|
|
1356
|
+
if (!ended && !errored) {
|
|
1357
|
+
abort(new CanceledError('Request stream has been aborted', config, req));
|
|
1358
|
+
}
|
|
1359
|
+
});
|
|
1360
|
+
|
|
1361
|
+
// Enforce maxBodyLength for streamed uploads on every transport that
|
|
1362
|
+
// does not apply options.maxBodyLength itself (native http/https, http2,
|
|
1363
|
+
// and user-supplied custom transports). The follow-redirects transport
|
|
1364
|
+
// enforces it on the redirected HTTP/1 path.
|
|
1365
|
+
let uploadStream = data;
|
|
1366
|
+
if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) {
|
|
1367
|
+
const limit = maxBodyLength;
|
|
1368
|
+
let bytesSent = 0;
|
|
1369
|
+
uploadStream = stream.pipeline(
|
|
1370
|
+
[
|
|
1371
|
+
data,
|
|
1372
|
+
new stream.Transform({
|
|
1373
|
+
transform(chunk, _enc, cb) {
|
|
1374
|
+
bytesSent += chunk.length;
|
|
1375
|
+
if (bytesSent > limit) {
|
|
1376
|
+
return cb(
|
|
1377
|
+
new AxiosError(
|
|
1378
|
+
'Request body larger than maxBodyLength limit',
|
|
1379
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
1380
|
+
config,
|
|
1381
|
+
req
|
|
1382
|
+
)
|
|
1383
|
+
);
|
|
1384
|
+
}
|
|
1385
|
+
cb(null, chunk);
|
|
1386
|
+
},
|
|
1387
|
+
}),
|
|
1388
|
+
],
|
|
1389
|
+
utils.noop
|
|
1390
|
+
);
|
|
1391
|
+
uploadStream.on('error', (err) => {
|
|
1392
|
+
if (!req.destroyed) req.destroy(err);
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
uploadStream.pipe(req);
|
|
1397
|
+
} else {
|
|
1398
|
+
data && req.write(data);
|
|
1399
|
+
req.end();
|
|
1400
|
+
}
|
|
1401
|
+
});
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
export const __setProxy = setProxy;
|
|
1405
|
+
export const __isNodeEnvProxyEnabled = isNodeEnvProxyEnabled;
|
|
1406
|
+
export const __isSameOriginRedirect = isSameOriginRedirect;
|