@banumeow/n8n-nodes-oracle-cloud 1.3.7 → 1.3.8
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/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@langchain/core/node_modules/@types/retry/LICENSE +21 -0
- package/node_modules/@langchain/core/node_modules/@types/retry/README.md +16 -0
- package/node_modules/@langchain/core/node_modules/@types/retry/index.d.ts +151 -0
- package/node_modules/@langchain/core/node_modules/@types/retry/package.json +28 -0
- package/node_modules/@langchain/core/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@langchain/core/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@langchain/core/node_modules/@types/uuid/index.d.mts +19 -0
- package/node_modules/@langchain/core/node_modules/@types/uuid/index.d.ts +113 -0
- package/node_modules/@langchain/core/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/@langchain/core/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/@langchain/core/node_modules/base64-js/README.md +34 -0
- package/node_modules/@langchain/core/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/@langchain/core/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/@langchain/core/node_modules/base64-js/index.js +150 -0
- package/node_modules/@langchain/core/node_modules/base64-js/package.json +47 -0
- package/node_modules/@langchain/core/node_modules/chalk/index.d.ts +415 -0
- package/node_modules/@langchain/core/node_modules/chalk/license +9 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/license +9 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/index.js +135 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/license +9 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/package.json +53 -0
- package/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/readme.md +76 -0
- package/node_modules/@langchain/core/node_modules/chalk/package.json +68 -0
- package/node_modules/@langchain/core/node_modules/chalk/readme.md +341 -0
- package/node_modules/@langchain/core/node_modules/chalk/source/index.js +229 -0
- package/node_modules/@langchain/core/node_modules/chalk/source/templates.js +134 -0
- package/node_modules/@langchain/core/node_modules/chalk/source/util.js +39 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/LICENSE +21 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/README.md +192 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/index.d.ts +4 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/index.js +11 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/console-table-printer.d.ts +14 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/console-table-printer.js +36 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/input-converter.d.ts +6 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/input-converter.js +20 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.d.ts +6 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.js +142 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table.d.ts +31 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table.js +100 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.d.ts +3 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.js +50 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/common.d.ts +14 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/common.js +2 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/external-table.d.ts +99 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/external-table.js +2 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/internal-table.d.ts +24 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/internal-table.js +2 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/colored-console-line.d.ts +12 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/colored-console-line.js +31 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/console-utils.d.ts +3 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/console-utils.js +23 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/string-utils.d.ts +4 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/string-utils.js +68 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-constants.d.ts +11 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-constants.js +55 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-helpers.d.ts +29 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-helpers.js +101 -0
- package/node_modules/@langchain/core/node_modules/console-table-printer/package.json +50 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/LICENSE +21 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/README.md +94 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/index.d.ts +134 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/index.js +336 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/package.json +56 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/umd/eventemitter3.js +340 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
- package/node_modules/@langchain/core/node_modules/eventemitter3/umd/eventemitter3.min.js.map +1 -0
- package/node_modules/@langchain/core/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/@langchain/core/node_modules/has-flag/index.js +8 -0
- package/node_modules/@langchain/core/node_modules/has-flag/license +9 -0
- package/node_modules/@langchain/core/node_modules/has-flag/package.json +46 -0
- package/node_modules/@langchain/core/node_modules/has-flag/readme.md +89 -0
- package/node_modules/@langchain/core/node_modules/p-finally/index.js +15 -0
- package/node_modules/@langchain/core/node_modules/p-finally/license +21 -0
- package/node_modules/@langchain/core/node_modules/p-finally/package.json +42 -0
- package/node_modules/@langchain/core/node_modules/p-finally/readme.md +47 -0
- package/node_modules/@langchain/core/node_modules/p-timeout/index.d.ts +72 -0
- package/node_modules/@langchain/core/node_modules/p-timeout/index.js +57 -0
- package/node_modules/@langchain/core/node_modules/p-timeout/license +9 -0
- package/node_modules/@langchain/core/node_modules/p-timeout/package.json +45 -0
- package/node_modules/@langchain/core/node_modules/p-timeout/readme.md +87 -0
- package/node_modules/@langchain/core/node_modules/retry/License +21 -0
- package/node_modules/@langchain/core/node_modules/retry/README.md +227 -0
- package/node_modules/@langchain/core/node_modules/retry/example/dns.js +31 -0
- package/node_modules/@langchain/core/node_modules/retry/example/stop.js +40 -0
- package/node_modules/@langchain/core/node_modules/retry/index.js +1 -0
- package/node_modules/@langchain/core/node_modules/retry/lib/retry.js +100 -0
- package/node_modules/@langchain/core/node_modules/retry/lib/retry_operation.js +162 -0
- package/node_modules/@langchain/core/node_modules/retry/package.json +36 -0
- package/node_modules/@langchain/core/node_modules/semver/LICENSE +15 -0
- package/node_modules/@langchain/core/node_modules/semver/README.md +664 -0
- package/node_modules/@langchain/core/node_modules/semver/bin/semver.js +191 -0
- package/node_modules/@langchain/core/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/@langchain/core/node_modules/semver/classes/index.js +7 -0
- package/node_modules/@langchain/core/node_modules/semver/classes/range.js +557 -0
- package/node_modules/@langchain/core/node_modules/semver/classes/semver.js +333 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/major.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/@langchain/core/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/@langchain/core/node_modules/semver/index.js +91 -0
- package/node_modules/@langchain/core/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/@langchain/core/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/@langchain/core/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/@langchain/core/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/@langchain/core/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/@langchain/core/node_modules/semver/internal/re.js +223 -0
- package/node_modules/@langchain/core/node_modules/semver/package.json +78 -0
- package/node_modules/@langchain/core/node_modules/semver/preload.js +4 -0
- package/node_modules/@langchain/core/node_modules/semver/range.bnf +16 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/@langchain/core/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/LICENSE +21 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/README.md +89 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/index.js +10 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/binary-search.js +24 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/models.js +2 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/non-spacing-chars.js +149 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/wcswidth.js +20 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/wcwidth.js +67 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/index.d.ts +20 -0
- package/node_modules/@langchain/core/node_modules/simple-wcswidth/package.json +43 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/retry/LICENSE +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/retry/README.md +16 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/retry/index.d.ts +151 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/retry/package.json +28 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/uuid/index.d.mts +19 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/uuid/index.d.ts +113 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/base64-js/README.md +34 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/base64-js/index.js +150 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/base64-js/package.json +47 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/index.d.ts +415 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/license +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/license +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/index.js +135 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/license +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/package.json +53 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/node_modules/supports-color/readme.md +76 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/package.json +68 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/readme.md +341 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/source/index.js +229 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/source/templates.js +134 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/chalk/source/util.js +39 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/LICENSE +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/README.md +192 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/index.d.ts +4 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/index.js +11 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/console-table-printer.d.ts +14 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/console-table-printer.js +36 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/input-converter.d.ts +6 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/input-converter.js +20 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.d.ts +6 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.js +142 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table.d.ts +31 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/internal-table.js +100 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.d.ts +3 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.js +50 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/common.d.ts +14 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/common.js +2 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/external-table.d.ts +99 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/external-table.js +2 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/internal-table.d.ts +24 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/models/internal-table.js +2 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/colored-console-line.d.ts +12 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/colored-console-line.js +31 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/console-utils.d.ts +3 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/console-utils.js +23 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/string-utils.d.ts +4 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/string-utils.js +68 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-constants.d.ts +11 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-constants.js +55 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-helpers.d.ts +29 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/dist/src/utils/table-helpers.js +101 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/console-table-printer/package.json +50 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/LICENSE +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/README.md +94 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/index.d.ts +134 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/index.js +336 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/package.json +56 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/umd/eventemitter3.js +340 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/eventemitter3/umd/eventemitter3.min.js.map +1 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/has-flag/index.js +8 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/has-flag/license +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/has-flag/package.json +46 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/has-flag/readme.md +89 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-finally/index.js +15 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-finally/license +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-finally/package.json +42 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-finally/readme.md +47 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-timeout/index.d.ts +72 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-timeout/index.js +57 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-timeout/license +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-timeout/package.json +45 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/p-timeout/readme.md +87 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/License +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/README.md +227 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/example/dns.js +31 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/example/stop.js +40 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/index.js +1 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/lib/retry.js +100 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/lib/retry_operation.js +162 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/retry/package.json +36 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/LICENSE +15 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/README.md +664 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/bin/semver.js +191 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/classes/index.js +7 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/classes/range.js +557 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/classes/semver.js +333 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/major.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/index.js +91 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/internal/re.js +223 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/package.json +78 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/preload.js +4 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/range.bnf +16 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/LICENSE +21 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/README.md +89 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/index.js +10 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/binary-search.js +24 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/models.js +2 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/non-spacing-chars.js +149 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/wcswidth.js +20 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/dist/src/wcwidth.js +67 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/index.d.ts +20 -0
- package/node_modules/@langchain/textsplitters/node_modules/@langchain/core/node_modules/simple-wcswidth/package.json +43 -0
- package/package.json +1 -1
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/README.md +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/deep-compare-strict.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/deep-compare-strict.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/dereference.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/dereference.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/format.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/format.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/index.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/index.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/package.json +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/pointer.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/pointer.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/types.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/types.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/ucs2-length.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/ucs2-length.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/validate.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/validate.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/validator.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/commonjs/validator.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/deep-compare-strict.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/deep-compare-strict.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/dereference.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/dereference.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/format.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/format.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/index.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/index.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/package.json +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/pointer.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/pointer.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/types.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/types.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/ucs2-length.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/ucs2-length.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/validate.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/validate.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/validator.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/dist/esm/validator.js +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/package.json +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/deep-compare-strict.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/deep-compare-strict.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/dereference.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/dereference.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/format.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/format.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/index.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/index.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/pointer.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/pointer.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/types.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/types.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/ucs2-length.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/ucs2-length.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/validate.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/validate.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/validator.d.ts +0 -0
- /package/node_modules/{@cfworker → @langchain/core/node_modules/@cfworker}/json-schema/src/validator.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
> `npm install --save @types/retry`
|
|
3
|
+
|
|
4
|
+
# Summary
|
|
5
|
+
This package contains type definitions for retry (https://github.com/tim-kos/node-retry).
|
|
6
|
+
|
|
7
|
+
# Details
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/retry
|
|
9
|
+
|
|
10
|
+
Additional Details
|
|
11
|
+
* Last updated: Thu, 03 Jan 2019 17:45:51 GMT
|
|
12
|
+
* Dependencies: none
|
|
13
|
+
* Global values: none
|
|
14
|
+
|
|
15
|
+
# Credits
|
|
16
|
+
These definitions were written by Stan Goldmann <https://github.com/krenor>, BendingBender <https://github.com/BendingBender>.
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// Type definitions for retry 0.12
|
|
2
|
+
// Project: https://github.com/tim-kos/node-retry
|
|
3
|
+
// Definitions by: Stan Goldmann <https://github.com/krenor>
|
|
4
|
+
// BendingBender <https://github.com/BendingBender>
|
|
5
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
6
|
+
// TypeScript Version: 2.3
|
|
7
|
+
|
|
8
|
+
export interface RetryOperation {
|
|
9
|
+
/**
|
|
10
|
+
* Returns an array of all errors that have been passed to `retryOperation.retry()` so far.
|
|
11
|
+
* The returning array has the errors ordered chronologically based on when they were passed to
|
|
12
|
+
* `retryOperation.retry()`, which means the first passed error is at index zero and the last is at the last index.
|
|
13
|
+
*/
|
|
14
|
+
errors(): Error[];
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A reference to the error object that occured most frequently.
|
|
18
|
+
* Errors are compared using the `error.message` property.
|
|
19
|
+
* If multiple error messages occured the same amount of time, the last error object with that message is returned.
|
|
20
|
+
*
|
|
21
|
+
* @return If no errors occured so far the value will be `null`.
|
|
22
|
+
*/
|
|
23
|
+
mainError(): Error | null;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Defines the function that is to be retried and executes it for the first time right away.
|
|
27
|
+
*
|
|
28
|
+
* @param fn The function that is to be retried. `currentAttempt` represents the number of attempts
|
|
29
|
+
* callback has been executed so far.
|
|
30
|
+
* @param [timeoutOps.timeout] A timeout in milliseconds.
|
|
31
|
+
* @param [timeoutOps.callback] Callback to execute when the operation takes longer than the timeout.
|
|
32
|
+
*/
|
|
33
|
+
attempt(fn: (currentAttempt: number) => void, timeoutOps?: AttemptTimeoutOptions): void;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Returns `false` when no `error` value is given, or the maximum amount of retries has been reached.
|
|
37
|
+
* Otherwise it returns `true`, and retries the operation after the timeout for the current attempt number.
|
|
38
|
+
*/
|
|
39
|
+
retry(err?: Error): boolean;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Stops the operation being retried. Useful for aborting the operation on a fatal error etc.
|
|
43
|
+
*/
|
|
44
|
+
stop(): void;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Resets the internal state of the operation object, so that you can call `attempt()` again as if
|
|
48
|
+
* this was a new operation object.
|
|
49
|
+
*/
|
|
50
|
+
reset(): void;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Returns an int representing the number of attempts it took to call `fn` before it was successful.
|
|
54
|
+
*/
|
|
55
|
+
attempts(): number;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface AttemptTimeoutOptions {
|
|
59
|
+
/**
|
|
60
|
+
* A timeout in milliseconds.
|
|
61
|
+
*/
|
|
62
|
+
timeout?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Callback to execute when the operation takes longer than the timeout.
|
|
65
|
+
*/
|
|
66
|
+
callback?(): void;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Create a new RetryOperation object.
|
|
71
|
+
*
|
|
72
|
+
* @param [options.retries=10] The maximum amount of times to retry the operation.
|
|
73
|
+
* @param [options.factor=2] The exponential factor to use.
|
|
74
|
+
* @param [options.minTimeout=1000] The number of milliseconds before starting the first retry.
|
|
75
|
+
* @param [options.maxTimeout=Infinity] The maximum number of milliseconds between two retries.
|
|
76
|
+
* @param [options.randomize=false] Randomizes the timeouts by multiplying a factor between 1-2.
|
|
77
|
+
* @param [options.forever=false] Wether to retry forever.
|
|
78
|
+
* @param [options.unref=false] Wether to unref the setTimeout's.
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export function operation(options?: OperationOptions): RetryOperation;
|
|
82
|
+
|
|
83
|
+
export interface OperationOptions extends TimeoutsOptions {
|
|
84
|
+
/**
|
|
85
|
+
* Whether to retry forever.
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
forever?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Whether to [unref](https://nodejs.org/api/timers.html#timers_unref) the setTimeout's.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
unref?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* The maximum time (in milliseconds) that the retried operation is allowed to run.
|
|
96
|
+
* @default Infinity
|
|
97
|
+
*/
|
|
98
|
+
maxRetryTime?: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Get an array with timeouts and their return values in milliseconds. */
|
|
102
|
+
export function timeouts(options?: TimeoutsOptions): number[];
|
|
103
|
+
|
|
104
|
+
export interface TimeoutsOptions extends CreateTimeoutOptions {
|
|
105
|
+
/**
|
|
106
|
+
* The maximum amount of times to retry the operation.
|
|
107
|
+
* @default 10
|
|
108
|
+
*/
|
|
109
|
+
retries?: number;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Create a new timeout (in milliseconds) based on the given parameters.
|
|
114
|
+
*
|
|
115
|
+
* @param attempt Representing for which retry the timeout should be calculated.
|
|
116
|
+
* @return timeout
|
|
117
|
+
*/
|
|
118
|
+
export function createTimeout(attempt: number, options?: CreateTimeoutOptions): number;
|
|
119
|
+
|
|
120
|
+
export interface CreateTimeoutOptions {
|
|
121
|
+
/**
|
|
122
|
+
* The exponential factor to use.
|
|
123
|
+
* @default 2
|
|
124
|
+
*/
|
|
125
|
+
factor?: number;
|
|
126
|
+
/**
|
|
127
|
+
* The number of milliseconds before starting the first retry.
|
|
128
|
+
* @default 1000
|
|
129
|
+
*/
|
|
130
|
+
minTimeout?: number;
|
|
131
|
+
/**
|
|
132
|
+
* The maximum number of milliseconds between two retries.
|
|
133
|
+
* @default Infinity
|
|
134
|
+
*/
|
|
135
|
+
maxTimeout?: number;
|
|
136
|
+
/**
|
|
137
|
+
* Randomizes the timeouts by multiplying a factor between 1-2.
|
|
138
|
+
* @default false
|
|
139
|
+
*/
|
|
140
|
+
randomize?: boolean;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Wrap all functions of the object with retry.
|
|
145
|
+
*
|
|
146
|
+
* @param object The object to be wrapped
|
|
147
|
+
* @param methods Methods which need to be wrapped
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
export function wrap(object: object, methods?: string[]): void;
|
|
151
|
+
export function wrap(object: object, options?: OperationOptions, methods?: string[]): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/retry",
|
|
3
|
+
"version": "0.12.0",
|
|
4
|
+
"description": "TypeScript definitions for retry",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"contributors": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Stan Goldmann",
|
|
9
|
+
"url": "https://github.com/krenor",
|
|
10
|
+
"githubUsername": "krenor"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "BendingBender",
|
|
14
|
+
"url": "https://github.com/BendingBender",
|
|
15
|
+
"githubUsername": "BendingBender"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"main": "",
|
|
19
|
+
"types": "index",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {},
|
|
25
|
+
"dependencies": {},
|
|
26
|
+
"typesPublisherContentHash": "dc8156aa3c27632d2585c45d8951c4a0f7ae9122bd17190d8973018556d174f3",
|
|
27
|
+
"typeScriptVersion": "2.3"
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
> `npm install --save @types/uuid`
|
|
3
|
+
|
|
4
|
+
# Summary
|
|
5
|
+
This package contains type definitions for uuid (https://github.com/uuidjs/uuid).
|
|
6
|
+
|
|
7
|
+
# Details
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid.
|
|
9
|
+
|
|
10
|
+
### Additional Details
|
|
11
|
+
* Last updated: Thu, 20 Jun 2024 21:07:25 GMT
|
|
12
|
+
* Dependencies: none
|
|
13
|
+
|
|
14
|
+
# Credits
|
|
15
|
+
These definitions were written by [Oliver Hoffmann](https://github.com/iamolivinius), [Felipe Ochoa](https://github.com/felipeochoa), [Chris Barth](https://github.com/cjbarth), [Linus Unnebäck](https://github.com/LinusU), and [Christoph Tavan](https://github.com/ctavan).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import uuid from "./index.js";
|
|
2
|
+
export import v1 = uuid.v1;
|
|
3
|
+
export import v1ToV6 = uuid.v1ToV6;
|
|
4
|
+
export import v3 = uuid.v3;
|
|
5
|
+
export import v4 = uuid.v4;
|
|
6
|
+
export import v5 = uuid.v5;
|
|
7
|
+
export import v6 = uuid.v6;
|
|
8
|
+
export import v6ToV1 = uuid.v6ToV1;
|
|
9
|
+
export import v7 = uuid.v7;
|
|
10
|
+
export import NIL = uuid.NIL;
|
|
11
|
+
export import MAX = uuid.MAX;
|
|
12
|
+
export import version = uuid.version;
|
|
13
|
+
export import validate = uuid.validate;
|
|
14
|
+
export import stringify = uuid.stringify;
|
|
15
|
+
export import parse = uuid.parse;
|
|
16
|
+
export import V1Options = uuid.V1Options;
|
|
17
|
+
export import V4Options = uuid.V4Options;
|
|
18
|
+
export import V6Options = uuid.V6Options;
|
|
19
|
+
export import V7Options = uuid.V7Options;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// disable automatic export
|
|
2
|
+
export {};
|
|
3
|
+
|
|
4
|
+
// Uses ArrayLike to admit Uint8 and co.
|
|
5
|
+
type OutputBuffer = ArrayLike<number>;
|
|
6
|
+
type InputBuffer = ArrayLike<number>;
|
|
7
|
+
|
|
8
|
+
interface RandomOptions {
|
|
9
|
+
/** `Array` of 16 random bytes (0-255) */
|
|
10
|
+
random?: InputBuffer | undefined;
|
|
11
|
+
}
|
|
12
|
+
interface RngOptions {
|
|
13
|
+
/** Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) */
|
|
14
|
+
rng?: (() => InputBuffer) | undefined;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface V1BaseOptions {
|
|
18
|
+
/** RFC "node" field as an `Array[6]` of byte values (per 4.1.6) */
|
|
19
|
+
node?: InputBuffer | undefined;
|
|
20
|
+
/** RFC "clock sequence" as a `Number` between 0 - 0x3fff */
|
|
21
|
+
clockseq?: number | undefined;
|
|
22
|
+
/** RFC "timestamp" field (`Number` of milliseconds, unix epoch) */
|
|
23
|
+
msecs?: number | Date | undefined;
|
|
24
|
+
/** RFC "timestamp" field (`Number` of nanoseconds to add to msecs, should be 0-10,000) */
|
|
25
|
+
nsecs?: number | undefined;
|
|
26
|
+
}
|
|
27
|
+
interface V1RandomOptions extends V1BaseOptions, RandomOptions {}
|
|
28
|
+
interface V1RngOptions extends V1BaseOptions, RngOptions {}
|
|
29
|
+
|
|
30
|
+
export type V1Options = V1RandomOptions | V1RngOptions;
|
|
31
|
+
export type V4Options = RandomOptions | RngOptions;
|
|
32
|
+
export type V6Options = V1Options;
|
|
33
|
+
|
|
34
|
+
interface V7BaseOptions {
|
|
35
|
+
msecs?: number | Date | undefined;
|
|
36
|
+
seq?: number;
|
|
37
|
+
}
|
|
38
|
+
export type V7Options = (RandomOptions | RngOptions) & V7BaseOptions;
|
|
39
|
+
|
|
40
|
+
type VToV = ((uuid: string) => string) & ((uuid: OutputBuffer) => Uint8Array);
|
|
41
|
+
|
|
42
|
+
type v1String = (options?: V1Options) => string;
|
|
43
|
+
type v1Buffer = <T extends OutputBuffer>(options: V1Options | null | undefined, buffer: T, offset?: number) => T;
|
|
44
|
+
type v1 = v1Buffer & v1String;
|
|
45
|
+
|
|
46
|
+
type v1ToV6 = VToV;
|
|
47
|
+
|
|
48
|
+
type v4String = (options?: V4Options) => string;
|
|
49
|
+
type v4Buffer = <T extends OutputBuffer>(options: V4Options | null | undefined, buffer: T, offset?: number) => T;
|
|
50
|
+
type v4 = v4Buffer & v4String;
|
|
51
|
+
|
|
52
|
+
type v3String = (name: string | InputBuffer, namespace: string | InputBuffer) => string;
|
|
53
|
+
type v3Buffer = <T extends OutputBuffer>(
|
|
54
|
+
name: string | InputBuffer,
|
|
55
|
+
namespace: string | InputBuffer,
|
|
56
|
+
buffer: T,
|
|
57
|
+
offset?: number,
|
|
58
|
+
) => T;
|
|
59
|
+
interface v3Static {
|
|
60
|
+
// https://github.com/uuidjs/uuid/blob/master/src/v35.js#L16
|
|
61
|
+
DNS: string;
|
|
62
|
+
// https://github.com/uuidjs/uuid/blob/master/src/v35.js#L17
|
|
63
|
+
URL: string;
|
|
64
|
+
}
|
|
65
|
+
type v3 = v3Buffer & v3String & v3Static;
|
|
66
|
+
|
|
67
|
+
type v5String = (name: string | InputBuffer, namespace: string | InputBuffer) => string;
|
|
68
|
+
type v5Buffer = <T extends OutputBuffer>(
|
|
69
|
+
name: string | InputBuffer,
|
|
70
|
+
namespace: string | InputBuffer,
|
|
71
|
+
buffer: T,
|
|
72
|
+
offset?: number,
|
|
73
|
+
) => T;
|
|
74
|
+
interface v5Static {
|
|
75
|
+
// https://github.com/uuidjs/uuid/blob/master/src/v35.js#L16
|
|
76
|
+
DNS: string;
|
|
77
|
+
// https://github.com/uuidjs/uuid/blob/master/src/v35.js#L17
|
|
78
|
+
URL: string;
|
|
79
|
+
}
|
|
80
|
+
type v5 = v5Buffer & v5String & v5Static;
|
|
81
|
+
|
|
82
|
+
type v6String = (options?: V6Options) => string;
|
|
83
|
+
type v6Buffer = <T extends OutputBuffer>(options: V6Options | null | undefined, buffer: T, offset?: number) => T;
|
|
84
|
+
type v6 = v6Buffer & v6String;
|
|
85
|
+
|
|
86
|
+
type v6ToV1 = VToV;
|
|
87
|
+
|
|
88
|
+
type v7String = (options?: V7Options) => string;
|
|
89
|
+
type v7Buffer = <T extends OutputBuffer>(options: V7Options | null | undefined, buffer: T, offset?: number) => T;
|
|
90
|
+
type v7 = v7Buffer & v7String;
|
|
91
|
+
|
|
92
|
+
type NIL = string;
|
|
93
|
+
type MAX = string;
|
|
94
|
+
|
|
95
|
+
type parse = (uuid: string) => Uint8Array;
|
|
96
|
+
type stringify = (buffer: InputBuffer, offset?: number) => string;
|
|
97
|
+
type validate = (uuid: string) => boolean;
|
|
98
|
+
type version = (uuid: string) => number;
|
|
99
|
+
|
|
100
|
+
export const NIL: NIL;
|
|
101
|
+
export const MAX: MAX;
|
|
102
|
+
export const parse: parse;
|
|
103
|
+
export const stringify: stringify;
|
|
104
|
+
export const v1: v1;
|
|
105
|
+
export const v1ToV6: v1ToV6;
|
|
106
|
+
export const v3: v3;
|
|
107
|
+
export const v4: v4;
|
|
108
|
+
export const v5: v5;
|
|
109
|
+
export const v6: v6;
|
|
110
|
+
export const v6ToV1: v6ToV1;
|
|
111
|
+
export const v7: v7;
|
|
112
|
+
export const validate: validate;
|
|
113
|
+
export const version: version;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/uuid",
|
|
3
|
+
"version": "10.0.0",
|
|
4
|
+
"description": "TypeScript definitions for uuid",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Oliver Hoffmann",
|
|
10
|
+
"githubUsername": "iamolivinius",
|
|
11
|
+
"url": "https://github.com/iamolivinius"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Felipe Ochoa",
|
|
15
|
+
"githubUsername": "felipeochoa",
|
|
16
|
+
"url": "https://github.com/felipeochoa"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Chris Barth",
|
|
20
|
+
"githubUsername": "cjbarth",
|
|
21
|
+
"url": "https://github.com/cjbarth"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Linus Unnebäck",
|
|
25
|
+
"githubUsername": "LinusU",
|
|
26
|
+
"url": "https://github.com/LinusU"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Christoph Tavan",
|
|
30
|
+
"githubUsername": "ctavan",
|
|
31
|
+
"url": "https://github.com/ctavan"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"main": "",
|
|
35
|
+
"types": "index.d.ts",
|
|
36
|
+
"exports": {
|
|
37
|
+
"./package.json": "./package.json",
|
|
38
|
+
".": {
|
|
39
|
+
"types": {
|
|
40
|
+
"import": "./index.d.mts",
|
|
41
|
+
"default": "./index.d.ts"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
48
|
+
"directory": "types/uuid"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {},
|
|
51
|
+
"dependencies": {},
|
|
52
|
+
"typesPublisherContentHash": "08fbc5ff7d23aaac1e81b5acf98181d2544ce6ffd5578e9879e2a75f0c087d54",
|
|
53
|
+
"typeScriptVersion": "4.7"
|
|
54
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 Jameson Little
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
base64-js
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
`base64-js` does basic base64 encoding/decoding in pure JS.
|
|
5
|
+
|
|
6
|
+
[](http://travis-ci.org/beatgammit/base64-js)
|
|
7
|
+
|
|
8
|
+
Many browsers already have base64 encoding/decoding functionality, but it is for text data, not all-purpose binary data.
|
|
9
|
+
|
|
10
|
+
Sometimes encoding/decoding binary data in the browser is useful, and that is what this module does.
|
|
11
|
+
|
|
12
|
+
## install
|
|
13
|
+
|
|
14
|
+
With [npm](https://npmjs.org) do:
|
|
15
|
+
|
|
16
|
+
`npm install base64-js` and `var base64js = require('base64-js')`
|
|
17
|
+
|
|
18
|
+
For use in web browsers do:
|
|
19
|
+
|
|
20
|
+
`<script src="base64js.min.js"></script>`
|
|
21
|
+
|
|
22
|
+
[Get supported base64-js with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-base64-js?utm_source=npm-base64-js&utm_medium=referral&utm_campaign=readme)
|
|
23
|
+
|
|
24
|
+
## methods
|
|
25
|
+
|
|
26
|
+
`base64js` has three exposed functions, `byteLength`, `toByteArray` and `fromByteArray`, which both take a single argument.
|
|
27
|
+
|
|
28
|
+
* `byteLength` - Takes a base64 string and returns length of byte array
|
|
29
|
+
* `toByteArray` - Takes a base64 string and returns a byte array
|
|
30
|
+
* `fromByteArray` - Takes a byte array and returns a base64 string
|
|
31
|
+
|
|
32
|
+
## license
|
|
33
|
+
|
|
34
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c<g.length;c++)a(g[c]);return a}return b}()({"/":[function(a,b,c){'use strict';function d(a){var b=a.length;if(0<b%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}function e(a,b,c){return 3*(b+c)/4-c}function f(a){var b,c,f=d(a),g=f[0],h=f[1],j=new m(e(a,g,h)),k=0,n=0<h?g-4:g;for(c=0;c<n;c+=4)b=l[a.charCodeAt(c)]<<18|l[a.charCodeAt(c+1)]<<12|l[a.charCodeAt(c+2)]<<6|l[a.charCodeAt(c+3)],j[k++]=255&b>>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;f<c;f+=3)d=(16711680&a[f]<<16)+(65280&a[f+1]<<8)+(255&a[f+2]),e.push(g(d));return e.join("")}function j(a){for(var b,c=a.length,d=c%3,e=[],f=16383,g=0,j=c-d;g<j;g+=f)e.push(h(a,g,g+f>j?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o<p;++o)k[o]=n[o],l[n.charCodeAt(o)]=o;l[45]=62,l[95]=63},{}]},{},[])("/")});
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
exports.byteLength = byteLength
|
|
4
|
+
exports.toByteArray = toByteArray
|
|
5
|
+
exports.fromByteArray = fromByteArray
|
|
6
|
+
|
|
7
|
+
var lookup = []
|
|
8
|
+
var revLookup = []
|
|
9
|
+
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
|
|
10
|
+
|
|
11
|
+
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
|
|
12
|
+
for (var i = 0, len = code.length; i < len; ++i) {
|
|
13
|
+
lookup[i] = code[i]
|
|
14
|
+
revLookup[code.charCodeAt(i)] = i
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Support decoding URL-safe base64 strings, as Node.js does.
|
|
18
|
+
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
|
|
19
|
+
revLookup['-'.charCodeAt(0)] = 62
|
|
20
|
+
revLookup['_'.charCodeAt(0)] = 63
|
|
21
|
+
|
|
22
|
+
function getLens (b64) {
|
|
23
|
+
var len = b64.length
|
|
24
|
+
|
|
25
|
+
if (len % 4 > 0) {
|
|
26
|
+
throw new Error('Invalid string. Length must be a multiple of 4')
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Trim off extra bytes after placeholder bytes are found
|
|
30
|
+
// See: https://github.com/beatgammit/base64-js/issues/42
|
|
31
|
+
var validLen = b64.indexOf('=')
|
|
32
|
+
if (validLen === -1) validLen = len
|
|
33
|
+
|
|
34
|
+
var placeHoldersLen = validLen === len
|
|
35
|
+
? 0
|
|
36
|
+
: 4 - (validLen % 4)
|
|
37
|
+
|
|
38
|
+
return [validLen, placeHoldersLen]
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// base64 is 4/3 + up to two characters of the original data
|
|
42
|
+
function byteLength (b64) {
|
|
43
|
+
var lens = getLens(b64)
|
|
44
|
+
var validLen = lens[0]
|
|
45
|
+
var placeHoldersLen = lens[1]
|
|
46
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function _byteLength (b64, validLen, placeHoldersLen) {
|
|
50
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function toByteArray (b64) {
|
|
54
|
+
var tmp
|
|
55
|
+
var lens = getLens(b64)
|
|
56
|
+
var validLen = lens[0]
|
|
57
|
+
var placeHoldersLen = lens[1]
|
|
58
|
+
|
|
59
|
+
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
|
|
60
|
+
|
|
61
|
+
var curByte = 0
|
|
62
|
+
|
|
63
|
+
// if there are placeholders, only get up to the last complete 4 chars
|
|
64
|
+
var len = placeHoldersLen > 0
|
|
65
|
+
? validLen - 4
|
|
66
|
+
: validLen
|
|
67
|
+
|
|
68
|
+
var i
|
|
69
|
+
for (i = 0; i < len; i += 4) {
|
|
70
|
+
tmp =
|
|
71
|
+
(revLookup[b64.charCodeAt(i)] << 18) |
|
|
72
|
+
(revLookup[b64.charCodeAt(i + 1)] << 12) |
|
|
73
|
+
(revLookup[b64.charCodeAt(i + 2)] << 6) |
|
|
74
|
+
revLookup[b64.charCodeAt(i + 3)]
|
|
75
|
+
arr[curByte++] = (tmp >> 16) & 0xFF
|
|
76
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
77
|
+
arr[curByte++] = tmp & 0xFF
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (placeHoldersLen === 2) {
|
|
81
|
+
tmp =
|
|
82
|
+
(revLookup[b64.charCodeAt(i)] << 2) |
|
|
83
|
+
(revLookup[b64.charCodeAt(i + 1)] >> 4)
|
|
84
|
+
arr[curByte++] = tmp & 0xFF
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (placeHoldersLen === 1) {
|
|
88
|
+
tmp =
|
|
89
|
+
(revLookup[b64.charCodeAt(i)] << 10) |
|
|
90
|
+
(revLookup[b64.charCodeAt(i + 1)] << 4) |
|
|
91
|
+
(revLookup[b64.charCodeAt(i + 2)] >> 2)
|
|
92
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
93
|
+
arr[curByte++] = tmp & 0xFF
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return arr
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function tripletToBase64 (num) {
|
|
100
|
+
return lookup[num >> 18 & 0x3F] +
|
|
101
|
+
lookup[num >> 12 & 0x3F] +
|
|
102
|
+
lookup[num >> 6 & 0x3F] +
|
|
103
|
+
lookup[num & 0x3F]
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function encodeChunk (uint8, start, end) {
|
|
107
|
+
var tmp
|
|
108
|
+
var output = []
|
|
109
|
+
for (var i = start; i < end; i += 3) {
|
|
110
|
+
tmp =
|
|
111
|
+
((uint8[i] << 16) & 0xFF0000) +
|
|
112
|
+
((uint8[i + 1] << 8) & 0xFF00) +
|
|
113
|
+
(uint8[i + 2] & 0xFF)
|
|
114
|
+
output.push(tripletToBase64(tmp))
|
|
115
|
+
}
|
|
116
|
+
return output.join('')
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function fromByteArray (uint8) {
|
|
120
|
+
var tmp
|
|
121
|
+
var len = uint8.length
|
|
122
|
+
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
|
123
|
+
var parts = []
|
|
124
|
+
var maxChunkLength = 16383 // must be multiple of 3
|
|
125
|
+
|
|
126
|
+
// go through the array every three bytes, we'll deal with trailing stuff later
|
|
127
|
+
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
|
128
|
+
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// pad the end with zeros, but make sure to not forget the extra bytes
|
|
132
|
+
if (extraBytes === 1) {
|
|
133
|
+
tmp = uint8[len - 1]
|
|
134
|
+
parts.push(
|
|
135
|
+
lookup[tmp >> 2] +
|
|
136
|
+
lookup[(tmp << 4) & 0x3F] +
|
|
137
|
+
'=='
|
|
138
|
+
)
|
|
139
|
+
} else if (extraBytes === 2) {
|
|
140
|
+
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
|
|
141
|
+
parts.push(
|
|
142
|
+
lookup[tmp >> 10] +
|
|
143
|
+
lookup[(tmp >> 4) & 0x3F] +
|
|
144
|
+
lookup[(tmp << 2) & 0x3F] +
|
|
145
|
+
'='
|
|
146
|
+
)
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return parts.join('')
|
|
150
|
+
}
|