@zowe/db2-for-zowe-cli 6.1.15 → 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/api/ExportTableSQL.js +1 -1
- package/lib/api/ExportTableSQL.js.map +1 -1
- 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,994 @@
|
|
|
1
|
+
const Utils = require("./util");
|
|
2
|
+
const pth = require("path");
|
|
3
|
+
const ZipEntry = require("./zipEntry");
|
|
4
|
+
const ZipFile = require("./zipFile");
|
|
5
|
+
|
|
6
|
+
const get_Bool = (...val) => Utils.findLast(val, (c) => typeof c === "boolean");
|
|
7
|
+
const get_Str = (...val) => Utils.findLast(val, (c) => typeof c === "string");
|
|
8
|
+
const get_Fun = (...val) => Utils.findLast(val, (c) => typeof c === "function");
|
|
9
|
+
|
|
10
|
+
const defaultOptions = {
|
|
11
|
+
// option "noSort" : if true it disables files sorting
|
|
12
|
+
noSort: false,
|
|
13
|
+
// read entries during load (initial loading may be slower)
|
|
14
|
+
readEntries: false,
|
|
15
|
+
// default method is none
|
|
16
|
+
method: Utils.Constants.NONE,
|
|
17
|
+
// file system
|
|
18
|
+
fs: null
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
module.exports = function (/**String*/ input, /** object */ options) {
|
|
22
|
+
let inBuffer = null;
|
|
23
|
+
|
|
24
|
+
// create object based default options, allowing them to be overwritten
|
|
25
|
+
const opts = Object.assign(Object.create(null), defaultOptions);
|
|
26
|
+
|
|
27
|
+
// test input variable
|
|
28
|
+
if (input && "object" === typeof input) {
|
|
29
|
+
// if value is not buffer we accept it to be object with options
|
|
30
|
+
if (!(input instanceof Uint8Array)) {
|
|
31
|
+
Object.assign(opts, input);
|
|
32
|
+
input = opts.input ? opts.input : undefined;
|
|
33
|
+
if (opts.input) delete opts.input;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// if input is buffer
|
|
37
|
+
if (Buffer.isBuffer(input)) {
|
|
38
|
+
inBuffer = input;
|
|
39
|
+
opts.method = Utils.Constants.BUFFER;
|
|
40
|
+
input = undefined;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// assign options
|
|
45
|
+
Object.assign(opts, options);
|
|
46
|
+
|
|
47
|
+
// instanciate utils filesystem
|
|
48
|
+
const filetools = new Utils(opts);
|
|
49
|
+
|
|
50
|
+
// Restore the archived permissions on extracted directories. This has to run
|
|
51
|
+
// after a directory's contents are written: applying a restrictive mode
|
|
52
|
+
// (e.g. 0o500) up front would stop us writing the files it contains. Applying
|
|
53
|
+
// the deepest paths first keeps parent directories traversable while their
|
|
54
|
+
// children are updated (issue #530).
|
|
55
|
+
const applyDirAttributes = (dirEntries) => {
|
|
56
|
+
dirEntries
|
|
57
|
+
.filter((d) => d.attr)
|
|
58
|
+
.sort((a, b) => b.path.length - a.path.length)
|
|
59
|
+
.forEach((d) => filetools.fs.chmodSync(d.path, d.attr));
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
if (typeof opts.decoder !== "object" || typeof opts.decoder.encode !== "function" || typeof opts.decoder.decode !== "function") {
|
|
63
|
+
opts.decoder = Utils.decoder;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// if input is file name we retrieve its content
|
|
67
|
+
if (input && "string" === typeof input) {
|
|
68
|
+
// load zip file
|
|
69
|
+
if (filetools.fs.existsSync(input)) {
|
|
70
|
+
opts.method = Utils.Constants.FILE;
|
|
71
|
+
opts.filename = input;
|
|
72
|
+
inBuffer = filetools.fs.readFileSync(input);
|
|
73
|
+
} else {
|
|
74
|
+
throw Utils.Errors.INVALID_FILENAME();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// create variable
|
|
79
|
+
const _zip = new ZipFile(inBuffer, opts);
|
|
80
|
+
|
|
81
|
+
const { canonical, sanitize, zipnamefix } = Utils;
|
|
82
|
+
|
|
83
|
+
function getEntry(/**Object*/ entry) {
|
|
84
|
+
if (entry && _zip) {
|
|
85
|
+
var item;
|
|
86
|
+
// If entry was given as a file name
|
|
87
|
+
if (typeof entry === "string") item = _zip.getEntry(pth.posix.normalize(entry));
|
|
88
|
+
// if entry was given as a ZipEntry object
|
|
89
|
+
if (typeof entry === "object" && typeof entry.entryName !== "undefined" && typeof entry.header !== "undefined") item = _zip.getEntry(entry.entryName);
|
|
90
|
+
|
|
91
|
+
if (item) {
|
|
92
|
+
return item;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function fixPath(zipPath) {
|
|
99
|
+
const { join, normalize, sep } = pth.posix;
|
|
100
|
+
// convert windows file separators and normalize
|
|
101
|
+
return join(pth.isAbsolute(zipPath) ? "/": '.', normalize(sep + zipPath.split("\\").join(sep) + sep));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function filenameFilter(filterfn) {
|
|
105
|
+
if (filterfn instanceof RegExp) {
|
|
106
|
+
// if filter is RegExp wrap it
|
|
107
|
+
return (function (rx) {
|
|
108
|
+
return function (filename) {
|
|
109
|
+
return rx.test(filename);
|
|
110
|
+
};
|
|
111
|
+
})(filterfn);
|
|
112
|
+
} else if ("function" !== typeof filterfn) {
|
|
113
|
+
// if filter is not function we will replace it
|
|
114
|
+
return () => true;
|
|
115
|
+
}
|
|
116
|
+
return filterfn;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// keep last character on folders
|
|
120
|
+
const relativePath = (local, entry) => {
|
|
121
|
+
let lastChar = entry.slice(-1);
|
|
122
|
+
lastChar = lastChar === filetools.sep ? filetools.sep : "";
|
|
123
|
+
return pth.relative(local, entry) + lastChar;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
return {
|
|
127
|
+
/**
|
|
128
|
+
* Extracts the given entry from the archive and returns the content as a Buffer object
|
|
129
|
+
* @param {ZipEntry|string} entry ZipEntry object or String with the full path of the entry
|
|
130
|
+
* @param {Buffer|string} [pass] - password
|
|
131
|
+
* @return Buffer or Null in case of error
|
|
132
|
+
*/
|
|
133
|
+
readFile: function (entry, pass) {
|
|
134
|
+
var item = getEntry(entry);
|
|
135
|
+
return (item && item.getData(pass)) || null;
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Returns how many child elements has on entry (directories) on files it is always 0
|
|
140
|
+
* @param {ZipEntry|string} entry ZipEntry object or String with the full path of the entry
|
|
141
|
+
* @returns {integer}
|
|
142
|
+
*/
|
|
143
|
+
childCount: function (entry) {
|
|
144
|
+
const item = getEntry(entry);
|
|
145
|
+
if (item) {
|
|
146
|
+
return _zip.getChildCount(item);
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Asynchronous readFile
|
|
152
|
+
* @param {ZipEntry|string} entry ZipEntry object or String with the full path of the entry
|
|
153
|
+
* @param {callback} callback
|
|
154
|
+
*
|
|
155
|
+
* @return Buffer or Null in case of error
|
|
156
|
+
*/
|
|
157
|
+
readFileAsync: function (entry, callback) {
|
|
158
|
+
var item = getEntry(entry);
|
|
159
|
+
if (item) {
|
|
160
|
+
item.getDataAsync(callback);
|
|
161
|
+
} else {
|
|
162
|
+
callback(null, "getEntry failed for:" + entry);
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Extracts the given entry from the archive and returns the content as plain text in the given encoding
|
|
168
|
+
* @param {ZipEntry|string} entry - ZipEntry object or String with the full path of the entry
|
|
169
|
+
* @param {string} encoding - Optional. If no encoding is specified utf8 is used
|
|
170
|
+
*
|
|
171
|
+
* @return String
|
|
172
|
+
*/
|
|
173
|
+
readAsText: function (entry, encoding) {
|
|
174
|
+
var item = getEntry(entry);
|
|
175
|
+
if (item) {
|
|
176
|
+
var data = item.getData();
|
|
177
|
+
if (data && data.length) {
|
|
178
|
+
return data.toString(encoding || "utf8");
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return "";
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Asynchronous readAsText
|
|
186
|
+
* @param {ZipEntry|string} entry ZipEntry object or String with the full path of the entry
|
|
187
|
+
* @param {callback} callback
|
|
188
|
+
* @param {string} [encoding] - Optional. If no encoding is specified utf8 is used
|
|
189
|
+
*
|
|
190
|
+
* @return String
|
|
191
|
+
*/
|
|
192
|
+
readAsTextAsync: function (entry, callback, encoding) {
|
|
193
|
+
var item = getEntry(entry);
|
|
194
|
+
if (item) {
|
|
195
|
+
item.getDataAsync(function (data, err) {
|
|
196
|
+
if (err) {
|
|
197
|
+
callback(data, err);
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
if (data && data.length) {
|
|
202
|
+
callback(data.toString(encoding || "utf8"));
|
|
203
|
+
} else {
|
|
204
|
+
callback("");
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
} else {
|
|
208
|
+
callback("");
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Remove the entry from the file or the entry and all it's nested directories and files if the given entry is a directory
|
|
214
|
+
*
|
|
215
|
+
* @param {ZipEntry|string} entry
|
|
216
|
+
* @param {boolean} withsubfolders
|
|
217
|
+
* @returns {void}
|
|
218
|
+
*/
|
|
219
|
+
deleteFile: function (entry, withsubfolders = true) {
|
|
220
|
+
// @TODO: test deleteFile
|
|
221
|
+
var item = getEntry(entry);
|
|
222
|
+
if (item) {
|
|
223
|
+
_zip.deleteFile(item.entryName, withsubfolders);
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Remove the entry from the file or directory without affecting any nested entries
|
|
229
|
+
*
|
|
230
|
+
* @param {ZipEntry|string} entry
|
|
231
|
+
* @returns {void}
|
|
232
|
+
*/
|
|
233
|
+
deleteEntry: function (entry) {
|
|
234
|
+
// @TODO: test deleteEntry
|
|
235
|
+
var item = getEntry(entry);
|
|
236
|
+
if (item) {
|
|
237
|
+
_zip.deleteEntry(item.entryName);
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Adds a comment to the zip. The zip must be rewritten after adding the comment.
|
|
243
|
+
*
|
|
244
|
+
* @param {string} comment
|
|
245
|
+
*/
|
|
246
|
+
addZipComment: function (comment) {
|
|
247
|
+
// @TODO: test addZipComment
|
|
248
|
+
_zip.comment = comment;
|
|
249
|
+
},
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Returns the zip comment
|
|
253
|
+
*
|
|
254
|
+
* @return String
|
|
255
|
+
*/
|
|
256
|
+
getZipComment: function () {
|
|
257
|
+
return _zip.comment || "";
|
|
258
|
+
},
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Adds a comment to a specified zipEntry. The zip must be rewritten after adding the comment
|
|
262
|
+
* The comment cannot exceed 65535 characters in length
|
|
263
|
+
*
|
|
264
|
+
* @param {ZipEntry} entry
|
|
265
|
+
* @param {string} comment
|
|
266
|
+
*/
|
|
267
|
+
addZipEntryComment: function (entry, comment) {
|
|
268
|
+
var item = getEntry(entry);
|
|
269
|
+
if (item) {
|
|
270
|
+
item.comment = comment;
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Returns the comment of the specified entry
|
|
276
|
+
*
|
|
277
|
+
* @param {ZipEntry} entry
|
|
278
|
+
* @return String
|
|
279
|
+
*/
|
|
280
|
+
getZipEntryComment: function (entry) {
|
|
281
|
+
var item = getEntry(entry);
|
|
282
|
+
if (item) {
|
|
283
|
+
return item.comment || "";
|
|
284
|
+
}
|
|
285
|
+
return "";
|
|
286
|
+
},
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Updates the content of an existing entry inside the archive. The zip must be rewritten after updating the content
|
|
290
|
+
*
|
|
291
|
+
* @param {ZipEntry} entry
|
|
292
|
+
* @param {Buffer} content
|
|
293
|
+
*/
|
|
294
|
+
updateFile: function (entry, content) {
|
|
295
|
+
var item = getEntry(entry);
|
|
296
|
+
if (item) {
|
|
297
|
+
item.setData(content);
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Adds a file from the disk to the archive
|
|
303
|
+
*
|
|
304
|
+
* @param {string} localPath File to add to zip
|
|
305
|
+
* @param {string} [zipPath] Optional path inside the zip
|
|
306
|
+
* @param {string} [zipName] Optional name for the file
|
|
307
|
+
* @param {string} [comment] Optional file comment
|
|
308
|
+
*/
|
|
309
|
+
addLocalFile: function (localPath, zipPath, zipName, comment) {
|
|
310
|
+
if (filetools.fs.existsSync(localPath)) {
|
|
311
|
+
// fix ZipPath
|
|
312
|
+
zipPath = zipPath ? fixPath(zipPath) : "";
|
|
313
|
+
|
|
314
|
+
// p - local file name
|
|
315
|
+
const p = pth.win32.basename(pth.win32.normalize(localPath));
|
|
316
|
+
|
|
317
|
+
// add file name into zippath
|
|
318
|
+
zipPath += zipName ? zipName : p;
|
|
319
|
+
|
|
320
|
+
// read file attributes
|
|
321
|
+
const _attr = filetools.fs.statSync(localPath);
|
|
322
|
+
|
|
323
|
+
// get file content
|
|
324
|
+
const data = _attr.isFile() ? filetools.fs.readFileSync(localPath) : Buffer.alloc(0);
|
|
325
|
+
|
|
326
|
+
// if folder
|
|
327
|
+
if (_attr.isDirectory()) zipPath += filetools.sep;
|
|
328
|
+
|
|
329
|
+
// add file into zip file
|
|
330
|
+
this.addFile(zipPath, data, comment, _attr);
|
|
331
|
+
} else {
|
|
332
|
+
throw Utils.Errors.FILE_NOT_FOUND(localPath);
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Callback for showing if everything was done.
|
|
338
|
+
*
|
|
339
|
+
* @callback doneCallback
|
|
340
|
+
* @param {Error} err - Error object
|
|
341
|
+
* @param {boolean} done - was request fully completed
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Adds a file from the disk to the archive
|
|
346
|
+
*
|
|
347
|
+
* @param {(object|string)} options - options object, if it is string it us used as localPath.
|
|
348
|
+
* @param {string} options.localPath - Local path to the file.
|
|
349
|
+
* @param {string} [options.comment] - Optional file comment.
|
|
350
|
+
* @param {string} [options.zipPath] - Optional path inside the zip
|
|
351
|
+
* @param {string} [options.zipName] - Optional name for the file
|
|
352
|
+
* @param {doneCallback} callback - The callback that handles the response.
|
|
353
|
+
*/
|
|
354
|
+
addLocalFileAsync: function (options, callback) {
|
|
355
|
+
options = typeof options === "object" ? options : { localPath: options };
|
|
356
|
+
const localPath = pth.resolve(options.localPath);
|
|
357
|
+
const { comment } = options;
|
|
358
|
+
let { zipPath, zipName } = options;
|
|
359
|
+
const self = this;
|
|
360
|
+
|
|
361
|
+
filetools.fs.stat(localPath, function (err, stats) {
|
|
362
|
+
if (err) return callback(err, false);
|
|
363
|
+
// fix ZipPath
|
|
364
|
+
zipPath = zipPath ? fixPath(zipPath) : "";
|
|
365
|
+
// p - local file name
|
|
366
|
+
const p = pth.win32.basename(pth.win32.normalize(localPath));
|
|
367
|
+
// add file name into zippath
|
|
368
|
+
zipPath += zipName ? zipName : p;
|
|
369
|
+
|
|
370
|
+
if (stats.isFile()) {
|
|
371
|
+
filetools.fs.readFile(localPath, function (err, data) {
|
|
372
|
+
if (err) return callback(err, false);
|
|
373
|
+
self.addFile(zipPath, data, comment, stats);
|
|
374
|
+
return setImmediate(callback, undefined, true);
|
|
375
|
+
});
|
|
376
|
+
} else if (stats.isDirectory()) {
|
|
377
|
+
zipPath += filetools.sep;
|
|
378
|
+
self.addFile(zipPath, Buffer.alloc(0), comment, stats);
|
|
379
|
+
return setImmediate(callback, undefined, true);
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
},
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Adds a local directory and all its nested files and directories to the archive
|
|
386
|
+
*
|
|
387
|
+
* @param {string} localPath - local path to the folder
|
|
388
|
+
* @param {string} [zipPath] - optional path inside zip
|
|
389
|
+
* @param {(RegExp|function)} [filter] - optional RegExp or Function if files match will be included.
|
|
390
|
+
*/
|
|
391
|
+
addLocalFolder: function (localPath, zipPath, filter) {
|
|
392
|
+
// Prepare filter
|
|
393
|
+
filter = filenameFilter(filter);
|
|
394
|
+
|
|
395
|
+
// fix ZipPath
|
|
396
|
+
zipPath = zipPath ? fixPath(zipPath) : "";
|
|
397
|
+
|
|
398
|
+
// normalize the path first
|
|
399
|
+
localPath = pth.normalize(localPath);
|
|
400
|
+
|
|
401
|
+
if (filetools.fs.existsSync(localPath)) {
|
|
402
|
+
const items = filetools.findFiles(localPath);
|
|
403
|
+
const self = this;
|
|
404
|
+
|
|
405
|
+
if (items.length) {
|
|
406
|
+
for (const filepath of items) {
|
|
407
|
+
const p = pth.join(zipPath, relativePath(localPath, filepath));
|
|
408
|
+
if (filter(p)) {
|
|
409
|
+
self.addLocalFile(filepath, pth.dirname(p));
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
} else {
|
|
414
|
+
throw Utils.Errors.FILE_NOT_FOUND(localPath);
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Asynchronous addLocalFolder
|
|
420
|
+
* @param {string} localPath
|
|
421
|
+
* @param {callback} callback
|
|
422
|
+
* @param {string} [zipPath] optional path inside zip
|
|
423
|
+
* @param {RegExp|function} [filter] optional RegExp or Function if files match will
|
|
424
|
+
* be included.
|
|
425
|
+
*/
|
|
426
|
+
addLocalFolderAsync: function (localPath, callback, zipPath, filter) {
|
|
427
|
+
// Prepare filter
|
|
428
|
+
filter = filenameFilter(filter);
|
|
429
|
+
|
|
430
|
+
// fix ZipPath
|
|
431
|
+
zipPath = zipPath ? fixPath(zipPath) : "";
|
|
432
|
+
|
|
433
|
+
// normalize the path first
|
|
434
|
+
localPath = pth.normalize(localPath);
|
|
435
|
+
|
|
436
|
+
var self = this;
|
|
437
|
+
filetools.fs.open(localPath, "r", function (err) {
|
|
438
|
+
if (err && err.code === "ENOENT") {
|
|
439
|
+
callback(undefined, Utils.Errors.FILE_NOT_FOUND(localPath));
|
|
440
|
+
} else if (err) {
|
|
441
|
+
callback(undefined, err);
|
|
442
|
+
} else {
|
|
443
|
+
var items = filetools.findFiles(localPath);
|
|
444
|
+
var i = -1;
|
|
445
|
+
|
|
446
|
+
var next = function () {
|
|
447
|
+
i += 1;
|
|
448
|
+
if (i < items.length) {
|
|
449
|
+
var filepath = items[i];
|
|
450
|
+
var p = relativePath(localPath, filepath).split("\\").join("/"); //windows fix
|
|
451
|
+
p = p
|
|
452
|
+
.normalize("NFD")
|
|
453
|
+
.replace(/[\u0300-\u036f]/g, "")
|
|
454
|
+
.replace(/[^\x20-\x7E]/g, ""); // accent fix
|
|
455
|
+
if (filter(p)) {
|
|
456
|
+
filetools.fs.stat(filepath, function (er0, stats) {
|
|
457
|
+
if (er0) callback(undefined, er0);
|
|
458
|
+
if (stats.isFile()) {
|
|
459
|
+
filetools.fs.readFile(filepath, function (er1, data) {
|
|
460
|
+
if (er1) {
|
|
461
|
+
callback(undefined, er1);
|
|
462
|
+
} else {
|
|
463
|
+
self.addFile(zipPath + p, data, "", stats);
|
|
464
|
+
next();
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
} else {
|
|
468
|
+
self.addFile(zipPath + p + "/", Buffer.alloc(0), "", stats);
|
|
469
|
+
next();
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
} else {
|
|
473
|
+
process.nextTick(() => {
|
|
474
|
+
next();
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
} else {
|
|
478
|
+
callback(true, undefined);
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
next();
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
},
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Adds a local directory and all its nested files and directories to the archive
|
|
489
|
+
*
|
|
490
|
+
* @param {object | string} options - options object, if it is string it us used as localPath.
|
|
491
|
+
* @param {string} options.localPath - Local path to the folder.
|
|
492
|
+
* @param {string} [options.zipPath] - optional path inside zip.
|
|
493
|
+
* @param {RegExp|function} [options.filter] - optional RegExp or Function if files match will be included.
|
|
494
|
+
* @param {function|string} [options.namefix] - optional function to help fix filename
|
|
495
|
+
* @param {doneCallback} callback - The callback that handles the response.
|
|
496
|
+
*
|
|
497
|
+
*/
|
|
498
|
+
addLocalFolderAsync2: function (options, callback) {
|
|
499
|
+
const self = this;
|
|
500
|
+
options = typeof options === "object" ? options : { localPath: options };
|
|
501
|
+
const localPath = pth.resolve(fixPath(options.localPath));
|
|
502
|
+
let { zipPath, filter, namefix } = options;
|
|
503
|
+
|
|
504
|
+
if (filter instanceof RegExp) {
|
|
505
|
+
filter = (function (rx) {
|
|
506
|
+
return function (filename) {
|
|
507
|
+
return rx.test(filename);
|
|
508
|
+
};
|
|
509
|
+
})(filter);
|
|
510
|
+
} else if ("function" !== typeof filter) {
|
|
511
|
+
filter = function () {
|
|
512
|
+
return true;
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
// fix ZipPath
|
|
517
|
+
zipPath = zipPath ? fixPath(zipPath) : "";
|
|
518
|
+
|
|
519
|
+
// Check Namefix function
|
|
520
|
+
if (namefix === "latin1") {
|
|
521
|
+
namefix = (str) =>
|
|
522
|
+
str
|
|
523
|
+
.normalize("NFD")
|
|
524
|
+
.replace(/[\u0300-\u036f]/g, "")
|
|
525
|
+
.replace(/[^\x20-\x7E]/g, ""); // accent fix (latin1 characers only)
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
if (typeof namefix !== "function") namefix = (str) => str;
|
|
529
|
+
|
|
530
|
+
// internal, create relative path + fix the name
|
|
531
|
+
const relPathFix = (entry) => pth.join(zipPath, namefix(relativePath(localPath, entry)));
|
|
532
|
+
const fileNameFix = (entry) => pth.win32.basename(pth.win32.normalize(namefix(entry)));
|
|
533
|
+
|
|
534
|
+
filetools.fs.open(localPath, "r", function (err) {
|
|
535
|
+
if (err && err.code === "ENOENT") {
|
|
536
|
+
callback(undefined, Utils.Errors.FILE_NOT_FOUND(localPath));
|
|
537
|
+
} else if (err) {
|
|
538
|
+
callback(undefined, err);
|
|
539
|
+
} else {
|
|
540
|
+
filetools.findFilesAsync(localPath, function (err, fileEntries) {
|
|
541
|
+
if (err) return callback(err);
|
|
542
|
+
fileEntries = fileEntries.filter((dir) => filter(relPathFix(dir)));
|
|
543
|
+
if (!fileEntries.length) callback(undefined, false);
|
|
544
|
+
|
|
545
|
+
setImmediate(
|
|
546
|
+
fileEntries.reverse().reduce(function (next, entry) {
|
|
547
|
+
return function (err, done) {
|
|
548
|
+
if (err || done === false) return setImmediate(next, err, false);
|
|
549
|
+
|
|
550
|
+
self.addLocalFileAsync(
|
|
551
|
+
{
|
|
552
|
+
localPath: entry,
|
|
553
|
+
zipPath: pth.dirname(relPathFix(entry)),
|
|
554
|
+
zipName: fileNameFix(entry)
|
|
555
|
+
},
|
|
556
|
+
next
|
|
557
|
+
);
|
|
558
|
+
};
|
|
559
|
+
}, callback)
|
|
560
|
+
);
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
},
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Adds a local directory and all its nested files and directories to the archive
|
|
568
|
+
*
|
|
569
|
+
* @param {string} localPath - path where files will be extracted
|
|
570
|
+
* @param {object} props - optional properties
|
|
571
|
+
* @param {string} [props.zipPath] - optional path inside zip
|
|
572
|
+
* @param {RegExp|function} [props.filter] - optional RegExp or Function if files match will be included.
|
|
573
|
+
* @param {function|string} [props.namefix] - optional function to help fix filename
|
|
574
|
+
*/
|
|
575
|
+
addLocalFolderPromise: function (localPath, props) {
|
|
576
|
+
return new Promise((resolve, reject) => {
|
|
577
|
+
this.addLocalFolderAsync2(Object.assign({ localPath }, props), (err, done) => {
|
|
578
|
+
if (err) reject(err);
|
|
579
|
+
if (done) resolve(this);
|
|
580
|
+
});
|
|
581
|
+
});
|
|
582
|
+
},
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Allows you to create a entry (file or directory) in the zip file.
|
|
586
|
+
* If you want to create a directory the entryName must end in / and a null buffer should be provided.
|
|
587
|
+
* Comment and attributes are optional
|
|
588
|
+
*
|
|
589
|
+
* @param {string} entryName
|
|
590
|
+
* @param {Buffer | string} content - file content as buffer or utf8 coded string
|
|
591
|
+
* @param {string} [comment] - file comment
|
|
592
|
+
* @param {number | object} [attr] - number as unix file permissions, object as filesystem Stats object
|
|
593
|
+
*/
|
|
594
|
+
addFile: function (entryName, content, comment, attr) {
|
|
595
|
+
entryName = zipnamefix(entryName);
|
|
596
|
+
let entry = getEntry(entryName);
|
|
597
|
+
const update = entry != null;
|
|
598
|
+
|
|
599
|
+
// prepare new entry
|
|
600
|
+
if (!update) {
|
|
601
|
+
entry = new ZipEntry(opts);
|
|
602
|
+
entry.entryName = entryName;
|
|
603
|
+
}
|
|
604
|
+
entry.comment = comment || "";
|
|
605
|
+
|
|
606
|
+
const isStat = "object" === typeof attr && attr instanceof filetools.fs.Stats;
|
|
607
|
+
|
|
608
|
+
// last modification time from file stats
|
|
609
|
+
if (isStat) {
|
|
610
|
+
entry.header.time = attr.mtime;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
// Set file attribute
|
|
614
|
+
var fileattr = entry.isDirectory ? 0x10 : 0; // (MS-DOS directory flag)
|
|
615
|
+
|
|
616
|
+
// extended attributes field for Unix
|
|
617
|
+
// set file type either S_IFDIR / S_IFREG
|
|
618
|
+
let unix = entry.isDirectory ? 0x4000 : 0x8000;
|
|
619
|
+
|
|
620
|
+
if (isStat) {
|
|
621
|
+
// File attributes from file stats
|
|
622
|
+
unix |= 0xfff & attr.mode;
|
|
623
|
+
} else if ("number" === typeof attr) {
|
|
624
|
+
// attr from given attr values
|
|
625
|
+
unix |= 0xfff & attr;
|
|
626
|
+
} else {
|
|
627
|
+
// Default values:
|
|
628
|
+
unix |= entry.isDirectory ? 0o755 : 0o644; // permissions (drwxr-xr-x) or (-r-wr--r--)
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
fileattr = (fileattr | (unix << 16)) >>> 0; // add attributes
|
|
632
|
+
|
|
633
|
+
entry.attr = fileattr;
|
|
634
|
+
|
|
635
|
+
entry.setData(content);
|
|
636
|
+
if (!update) _zip.setEntry(entry);
|
|
637
|
+
|
|
638
|
+
return entry;
|
|
639
|
+
},
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Returns an array of ZipEntry objects representing the files and folders inside the archive
|
|
643
|
+
*
|
|
644
|
+
* @param {string} [password]
|
|
645
|
+
* @returns Array
|
|
646
|
+
*/
|
|
647
|
+
getEntries: function (password) {
|
|
648
|
+
_zip.password = password;
|
|
649
|
+
return _zip ? _zip.entries : [];
|
|
650
|
+
},
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Returns a ZipEntry object representing the file or folder specified by ``name``.
|
|
654
|
+
*
|
|
655
|
+
* @param {string} name
|
|
656
|
+
* @return ZipEntry
|
|
657
|
+
*/
|
|
658
|
+
getEntry: function (/**String*/ name) {
|
|
659
|
+
return getEntry(name);
|
|
660
|
+
},
|
|
661
|
+
|
|
662
|
+
getEntryCount: function () {
|
|
663
|
+
return _zip.getEntryCount();
|
|
664
|
+
},
|
|
665
|
+
|
|
666
|
+
forEach: function (callback) {
|
|
667
|
+
return _zip.forEach(callback);
|
|
668
|
+
},
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Extracts the given entry to the given targetPath
|
|
672
|
+
* If the entry is a directory inside the archive, the entire directory and it's subdirectories will be extracted
|
|
673
|
+
*
|
|
674
|
+
* @param {string|ZipEntry} entry - ZipEntry object or String with the full path of the entry
|
|
675
|
+
* @param {string} targetPath - Target folder where to write the file
|
|
676
|
+
* @param {boolean} [maintainEntryPath=true] - If maintainEntryPath is true and the entry is inside a folder, the entry folder will be created in targetPath as well. Default is TRUE
|
|
677
|
+
* @param {boolean} [overwrite=false] - If the file already exists at the target path, the file will be overwriten if this is true.
|
|
678
|
+
* @param {boolean} [keepOriginalPermission=false] - The file will be set as the permission from the entry if this is true.
|
|
679
|
+
* @param {string} [outFileName] - String If set will override the filename of the extracted file (Only works if the entry is a file)
|
|
680
|
+
*
|
|
681
|
+
* @return Boolean
|
|
682
|
+
*/
|
|
683
|
+
extractEntryTo: function (entry, targetPath, maintainEntryPath, overwrite, keepOriginalPermission, outFileName) {
|
|
684
|
+
overwrite = get_Bool(false, overwrite);
|
|
685
|
+
keepOriginalPermission = get_Bool(false, keepOriginalPermission);
|
|
686
|
+
maintainEntryPath = get_Bool(true, maintainEntryPath);
|
|
687
|
+
outFileName = get_Str(keepOriginalPermission, outFileName);
|
|
688
|
+
|
|
689
|
+
var item = getEntry(entry);
|
|
690
|
+
if (!item) {
|
|
691
|
+
throw Utils.Errors.NO_ENTRY();
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
var entryName = canonical(item.entryName);
|
|
695
|
+
|
|
696
|
+
var target = sanitize(targetPath, outFileName && !item.isDirectory ? canonical(outFileName) : maintainEntryPath ? entryName : pth.basename(entryName));
|
|
697
|
+
|
|
698
|
+
if (item.isDirectory) {
|
|
699
|
+
var children = _zip.getEntryChildren(item);
|
|
700
|
+
children.forEach(function (child) {
|
|
701
|
+
if (child.isDirectory) return;
|
|
702
|
+
var content = child.getData();
|
|
703
|
+
if (!content) {
|
|
704
|
+
throw Utils.Errors.CANT_EXTRACT_FILE();
|
|
705
|
+
}
|
|
706
|
+
// When not maintaining the full entry path, keep each child's path
|
|
707
|
+
// relative to the extracted directory (drop the directory's own
|
|
708
|
+
// prefix) instead of flattening every file to its basename, which
|
|
709
|
+
// collapsed subdirectories together (issue #306).
|
|
710
|
+
var name = canonical(maintainEntryPath ? child.entryName : child.entryName.substring(item.entryName.length));
|
|
711
|
+
var childName = sanitize(targetPath, name);
|
|
712
|
+
// The reverse operation for attr depend on method addFile()
|
|
713
|
+
const fileAttr = keepOriginalPermission ? child.header.fileAttr : undefined;
|
|
714
|
+
filetools.writeFileTo(childName, content, overwrite, fileAttr);
|
|
715
|
+
});
|
|
716
|
+
return true;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
var content = item.getData(_zip.password);
|
|
720
|
+
if (!content) throw Utils.Errors.CANT_EXTRACT_FILE();
|
|
721
|
+
|
|
722
|
+
if (filetools.fs.existsSync(target) && !overwrite) {
|
|
723
|
+
throw Utils.Errors.CANT_OVERRIDE();
|
|
724
|
+
}
|
|
725
|
+
// The reverse operation for attr depend on method addFile()
|
|
726
|
+
const fileAttr = keepOriginalPermission ? entry.header.fileAttr : undefined;
|
|
727
|
+
filetools.writeFileTo(target, content, overwrite, fileAttr);
|
|
728
|
+
|
|
729
|
+
return true;
|
|
730
|
+
},
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Test the archive
|
|
734
|
+
* @param {string} [pass]
|
|
735
|
+
*/
|
|
736
|
+
test: function (pass) {
|
|
737
|
+
if (!_zip) {
|
|
738
|
+
return false;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
for (var entry of _zip.entries) {
|
|
742
|
+
try {
|
|
743
|
+
if (entry.isDirectory) {
|
|
744
|
+
continue;
|
|
745
|
+
}
|
|
746
|
+
// was `_zip.entries[entry]` (indexing the array with an entry
|
|
747
|
+
// object -> undefined -> threw -> test() always returned false)
|
|
748
|
+
var content = entry.getData(pass);
|
|
749
|
+
if (!content) {
|
|
750
|
+
return false;
|
|
751
|
+
}
|
|
752
|
+
} catch (err) {
|
|
753
|
+
return false;
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
return true;
|
|
757
|
+
},
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Extracts the entire archive to the given location
|
|
761
|
+
*
|
|
762
|
+
* @param {string} targetPath Target location
|
|
763
|
+
* @param {boolean} [overwrite=false] If the file already exists at the target path, the file will be overwriten if this is true.
|
|
764
|
+
* Default is FALSE
|
|
765
|
+
* @param {boolean} [keepOriginalPermission=false] The file will be set as the permission from the entry if this is true.
|
|
766
|
+
* Default is FALSE
|
|
767
|
+
* @param {string|Buffer} [pass] password
|
|
768
|
+
*/
|
|
769
|
+
extractAllTo: function (targetPath, overwrite, keepOriginalPermission, pass) {
|
|
770
|
+
keepOriginalPermission = get_Bool(false, keepOriginalPermission);
|
|
771
|
+
pass = get_Str(keepOriginalPermission, pass);
|
|
772
|
+
overwrite = get_Bool(false, overwrite);
|
|
773
|
+
if (!_zip) throw Utils.Errors.NO_ZIP();
|
|
774
|
+
|
|
775
|
+
const dirEntries = [];
|
|
776
|
+
_zip.entries.forEach(function (entry) {
|
|
777
|
+
var entryName = sanitize(targetPath, canonical(entry.entryName));
|
|
778
|
+
if (entry.isDirectory) {
|
|
779
|
+
filetools.makeDir(entryName);
|
|
780
|
+
// defer restoring the directory permission until its files are written
|
|
781
|
+
if (keepOriginalPermission) dirEntries.push({ path: entryName, attr: entry.header.fileAttr });
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
784
|
+
var content = entry.getData(pass);
|
|
785
|
+
if (!content) {
|
|
786
|
+
throw Utils.Errors.CANT_EXTRACT_FILE();
|
|
787
|
+
}
|
|
788
|
+
// The reverse operation for attr depend on method addFile()
|
|
789
|
+
const fileAttr = keepOriginalPermission ? entry.header.fileAttr : undefined;
|
|
790
|
+
filetools.writeFileTo(entryName, content, overwrite, fileAttr);
|
|
791
|
+
try {
|
|
792
|
+
// best-effort: an invalid date in the archive or a filesystem that
|
|
793
|
+
// rejects utimes must not fail extraction of already-written content (issue #379)
|
|
794
|
+
filetools.fs.utimesSync(entryName, entry.header.time, entry.header.time);
|
|
795
|
+
} catch (err) {
|
|
796
|
+
/* ignore timestamp failures */
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
|
|
800
|
+
applyDirAttributes(dirEntries);
|
|
801
|
+
},
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Asynchronous extractAllTo
|
|
805
|
+
*
|
|
806
|
+
* @param {string} targetPath Target location
|
|
807
|
+
* @param {boolean} [overwrite=false] If the file already exists at the target path, the file will be overwriten if this is true.
|
|
808
|
+
* Default is FALSE
|
|
809
|
+
* @param {boolean} [keepOriginalPermission=false] The file will be set as the permission from the entry if this is true.
|
|
810
|
+
* Default is FALSE
|
|
811
|
+
* @param {function} callback The callback will be executed when all entries are extracted successfully or any error is thrown.
|
|
812
|
+
*/
|
|
813
|
+
extractAllToAsync: function (targetPath, overwrite, keepOriginalPermission, callback) {
|
|
814
|
+
callback = get_Fun(overwrite, keepOriginalPermission, callback);
|
|
815
|
+
keepOriginalPermission = get_Bool(false, keepOriginalPermission);
|
|
816
|
+
overwrite = get_Bool(false, overwrite);
|
|
817
|
+
if (!callback) {
|
|
818
|
+
return new Promise((resolve, reject) => {
|
|
819
|
+
this.extractAllToAsync(targetPath, overwrite, keepOriginalPermission, function (err) {
|
|
820
|
+
if (err) {
|
|
821
|
+
reject(err);
|
|
822
|
+
} else {
|
|
823
|
+
resolve(this);
|
|
824
|
+
}
|
|
825
|
+
});
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
if (!_zip) {
|
|
829
|
+
callback(Utils.Errors.NO_ZIP());
|
|
830
|
+
return;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
targetPath = pth.resolve(targetPath);
|
|
834
|
+
// convert entryName to
|
|
835
|
+
const getPath = (entry) => sanitize(targetPath, pth.normalize(canonical(entry.entryName)));
|
|
836
|
+
const getError = (msg, file) => new Error(msg + ': "' + file + '"');
|
|
837
|
+
|
|
838
|
+
// separate directories from files
|
|
839
|
+
const dirEntries = [];
|
|
840
|
+
const fileEntries = [];
|
|
841
|
+
_zip.entries.forEach((e) => {
|
|
842
|
+
if (e.isDirectory) {
|
|
843
|
+
dirEntries.push(e);
|
|
844
|
+
} else {
|
|
845
|
+
fileEntries.push(e);
|
|
846
|
+
}
|
|
847
|
+
});
|
|
848
|
+
|
|
849
|
+
// Create directory entries first synchronously
|
|
850
|
+
// this prevents race condition and assures folders are there before writing files
|
|
851
|
+
const deferredDirAttr = [];
|
|
852
|
+
for (const entry of dirEntries) {
|
|
853
|
+
const dirPath = getPath(entry);
|
|
854
|
+
// The reverse operation for attr depend on method addFile()
|
|
855
|
+
const dirAttr = keepOriginalPermission ? entry.header.fileAttr : undefined;
|
|
856
|
+
try {
|
|
857
|
+
filetools.makeDir(dirPath);
|
|
858
|
+
} catch (er) {
|
|
859
|
+
callback(getError("Unable to create folder", dirPath));
|
|
860
|
+
continue;
|
|
861
|
+
}
|
|
862
|
+
// defer restoring the directory permission until its files are written:
|
|
863
|
+
// a restrictive mode applied now would block writing them
|
|
864
|
+
if (dirAttr) deferredDirAttr.push({ path: dirPath, attr: dirAttr });
|
|
865
|
+
try {
|
|
866
|
+
// in unix timestamp will change if files are later added to folder, but still.
|
|
867
|
+
// best-effort: a utimes failure must not abort extraction (issue #379)
|
|
868
|
+
filetools.fs.utimesSync(dirPath, entry.header.time, entry.header.time);
|
|
869
|
+
} catch (er) {
|
|
870
|
+
/* ignore timestamp failures */
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
// restore directory permissions once every file has been extracted
|
|
875
|
+
const done = (err) => {
|
|
876
|
+
if (!err) {
|
|
877
|
+
try {
|
|
878
|
+
applyDirAttributes(deferredDirAttr);
|
|
879
|
+
} catch (er) {
|
|
880
|
+
return callback(getError("Unable to set folder permissions", er.path || ""));
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
callback(err);
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
fileEntries.reverse().reduce(function (next, entry) {
|
|
887
|
+
return function (err) {
|
|
888
|
+
if (err) {
|
|
889
|
+
next(err);
|
|
890
|
+
} else {
|
|
891
|
+
const entryName = pth.normalize(canonical(entry.entryName));
|
|
892
|
+
const filePath = sanitize(targetPath, entryName);
|
|
893
|
+
entry.getDataAsync(function (content, err_1) {
|
|
894
|
+
if (err_1) {
|
|
895
|
+
next(err_1);
|
|
896
|
+
} else if (!content) {
|
|
897
|
+
next(Utils.Errors.CANT_EXTRACT_FILE());
|
|
898
|
+
} else {
|
|
899
|
+
// The reverse operation for attr depend on method addFile()
|
|
900
|
+
const fileAttr = keepOriginalPermission ? entry.header.fileAttr : undefined;
|
|
901
|
+
filetools.writeFileToAsync(filePath, content, overwrite, fileAttr, function (succ) {
|
|
902
|
+
if (!succ) {
|
|
903
|
+
return next(getError("Unable to write file", filePath));
|
|
904
|
+
}
|
|
905
|
+
filetools.fs.utimes(filePath, entry.header.time, entry.header.time, function () {
|
|
906
|
+
// best-effort: a utimes failure must not abort extraction
|
|
907
|
+
// of already-written content (issue #379)
|
|
908
|
+
next();
|
|
909
|
+
});
|
|
910
|
+
});
|
|
911
|
+
}
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
};
|
|
915
|
+
}, done)();
|
|
916
|
+
},
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Writes the newly created zip file to disk at the specified location or if a zip was opened and no ``targetFileName`` is provided, it will overwrite the opened zip
|
|
920
|
+
*
|
|
921
|
+
* @param {string} targetFileName
|
|
922
|
+
* @param {function} callback
|
|
923
|
+
*/
|
|
924
|
+
writeZip: function (targetFileName, callback) {
|
|
925
|
+
if (arguments.length === 1) {
|
|
926
|
+
if (typeof targetFileName === "function") {
|
|
927
|
+
callback = targetFileName;
|
|
928
|
+
targetFileName = "";
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
if (!targetFileName && opts.filename) {
|
|
933
|
+
targetFileName = opts.filename;
|
|
934
|
+
}
|
|
935
|
+
if (!targetFileName) return;
|
|
936
|
+
|
|
937
|
+
var zipData = _zip.compressToBuffer();
|
|
938
|
+
if (zipData) {
|
|
939
|
+
var ok = filetools.writeFileTo(targetFileName, zipData, true);
|
|
940
|
+
if (typeof callback === "function") callback(!ok ? new Error("failed") : null, "");
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
*
|
|
946
|
+
* @param {string} targetFileName
|
|
947
|
+
* @param {object} [props]
|
|
948
|
+
* @param {boolean} [props.overwrite=true] If the file already exists at the target path, the file will be overwriten if this is true.
|
|
949
|
+
* @param {boolean} [props.perm] The file will be set as the permission from the entry if this is true.
|
|
950
|
+
|
|
951
|
+
* @returns {Promise<void>}
|
|
952
|
+
*/
|
|
953
|
+
writeZipPromise: function (/**String*/ targetFileName, /* object */ props) {
|
|
954
|
+
const { overwrite, perm } = Object.assign({ overwrite: true }, props);
|
|
955
|
+
|
|
956
|
+
return new Promise((resolve, reject) => {
|
|
957
|
+
// find file name
|
|
958
|
+
if (!targetFileName && opts.filename) targetFileName = opts.filename;
|
|
959
|
+
if (!targetFileName) reject("ADM-ZIP: ZIP File Name Missing");
|
|
960
|
+
|
|
961
|
+
this.toBufferPromise().then((zipData) => {
|
|
962
|
+
const ret = (done) => (done ? resolve(done) : reject("ADM-ZIP: Wasn't able to write zip file"));
|
|
963
|
+
filetools.writeFileToAsync(targetFileName, zipData, overwrite, perm, ret);
|
|
964
|
+
}, reject);
|
|
965
|
+
});
|
|
966
|
+
},
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* @returns {Promise<Buffer>} A promise to the Buffer.
|
|
970
|
+
*/
|
|
971
|
+
toBufferPromise: function () {
|
|
972
|
+
return new Promise((resolve, reject) => {
|
|
973
|
+
_zip.toAsyncBuffer(resolve, reject);
|
|
974
|
+
});
|
|
975
|
+
},
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Returns the content of the entire zip file as a Buffer object
|
|
979
|
+
*
|
|
980
|
+
* @prop {function} [onSuccess]
|
|
981
|
+
* @prop {function} [onFail]
|
|
982
|
+
* @prop {function} [onItemStart]
|
|
983
|
+
* @prop {function} [onItemEnd]
|
|
984
|
+
* @returns {Buffer}
|
|
985
|
+
*/
|
|
986
|
+
toBuffer: function (onSuccess, onFail, onItemStart, onItemEnd) {
|
|
987
|
+
if (typeof onSuccess === "function") {
|
|
988
|
+
_zip.toAsyncBuffer(onSuccess, onFail, onItemStart, onItemEnd);
|
|
989
|
+
return null;
|
|
990
|
+
}
|
|
991
|
+
return _zip.compressToBuffer();
|
|
992
|
+
}
|
|
993
|
+
};
|
|
994
|
+
};
|