@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,152 @@
|
|
|
1
|
+
# ansi-styles [](https://travis-ci.org/chalk/ansi-styles)
|
|
2
|
+
|
|
3
|
+
> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
|
|
4
|
+
|
|
5
|
+
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
|
|
6
|
+
|
|
7
|
+
<img src="screenshot.svg" width="900">
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
$ npm install ansi-styles
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
const style = require('ansi-styles');
|
|
19
|
+
|
|
20
|
+
console.log(`${style.green.open}Hello world!${style.green.close}`);
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Color conversion between 16/256/truecolor
|
|
24
|
+
// NOTE: If conversion goes to 16 colors or 256 colors, the original color
|
|
25
|
+
// may be degraded to fit that color palette. This means terminals
|
|
26
|
+
// that do not support 16 million colors will best-match the
|
|
27
|
+
// original color.
|
|
28
|
+
console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
|
|
29
|
+
console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
|
|
30
|
+
console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## API
|
|
34
|
+
|
|
35
|
+
Each style has an `open` and `close` property.
|
|
36
|
+
|
|
37
|
+
## Styles
|
|
38
|
+
|
|
39
|
+
### Modifiers
|
|
40
|
+
|
|
41
|
+
- `reset`
|
|
42
|
+
- `bold`
|
|
43
|
+
- `dim`
|
|
44
|
+
- `italic` *(Not widely supported)*
|
|
45
|
+
- `underline`
|
|
46
|
+
- `inverse`
|
|
47
|
+
- `hidden`
|
|
48
|
+
- `strikethrough` *(Not widely supported)*
|
|
49
|
+
|
|
50
|
+
### Colors
|
|
51
|
+
|
|
52
|
+
- `black`
|
|
53
|
+
- `red`
|
|
54
|
+
- `green`
|
|
55
|
+
- `yellow`
|
|
56
|
+
- `blue`
|
|
57
|
+
- `magenta`
|
|
58
|
+
- `cyan`
|
|
59
|
+
- `white`
|
|
60
|
+
- `blackBright` (alias: `gray`, `grey`)
|
|
61
|
+
- `redBright`
|
|
62
|
+
- `greenBright`
|
|
63
|
+
- `yellowBright`
|
|
64
|
+
- `blueBright`
|
|
65
|
+
- `magentaBright`
|
|
66
|
+
- `cyanBright`
|
|
67
|
+
- `whiteBright`
|
|
68
|
+
|
|
69
|
+
### Background colors
|
|
70
|
+
|
|
71
|
+
- `bgBlack`
|
|
72
|
+
- `bgRed`
|
|
73
|
+
- `bgGreen`
|
|
74
|
+
- `bgYellow`
|
|
75
|
+
- `bgBlue`
|
|
76
|
+
- `bgMagenta`
|
|
77
|
+
- `bgCyan`
|
|
78
|
+
- `bgWhite`
|
|
79
|
+
- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
|
|
80
|
+
- `bgRedBright`
|
|
81
|
+
- `bgGreenBright`
|
|
82
|
+
- `bgYellowBright`
|
|
83
|
+
- `bgBlueBright`
|
|
84
|
+
- `bgMagentaBright`
|
|
85
|
+
- `bgCyanBright`
|
|
86
|
+
- `bgWhiteBright`
|
|
87
|
+
|
|
88
|
+
## Advanced usage
|
|
89
|
+
|
|
90
|
+
By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
|
|
91
|
+
|
|
92
|
+
- `style.modifier`
|
|
93
|
+
- `style.color`
|
|
94
|
+
- `style.bgColor`
|
|
95
|
+
|
|
96
|
+
###### Example
|
|
97
|
+
|
|
98
|
+
```js
|
|
99
|
+
console.log(style.color.green.open);
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
|
|
103
|
+
|
|
104
|
+
###### Example
|
|
105
|
+
|
|
106
|
+
```js
|
|
107
|
+
console.log(style.codes.get(36));
|
|
108
|
+
//=> 39
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
|
|
112
|
+
|
|
113
|
+
`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
|
|
114
|
+
|
|
115
|
+
The following color spaces from `color-convert` are supported:
|
|
116
|
+
|
|
117
|
+
- `rgb`
|
|
118
|
+
- `hex`
|
|
119
|
+
- `keyword`
|
|
120
|
+
- `hsl`
|
|
121
|
+
- `hsv`
|
|
122
|
+
- `hwb`
|
|
123
|
+
- `ansi`
|
|
124
|
+
- `ansi256`
|
|
125
|
+
|
|
126
|
+
To use these, call the associated conversion function with the intended output, for example:
|
|
127
|
+
|
|
128
|
+
```js
|
|
129
|
+
style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
|
|
130
|
+
style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
|
|
131
|
+
|
|
132
|
+
style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
|
|
133
|
+
style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
|
|
134
|
+
|
|
135
|
+
style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
|
|
136
|
+
style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Related
|
|
140
|
+
|
|
141
|
+
- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
|
|
142
|
+
|
|
143
|
+
## Maintainers
|
|
144
|
+
|
|
145
|
+
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
146
|
+
- [Josh Junon](https://github.com/qix-)
|
|
147
|
+
|
|
148
|
+
## For enterprise
|
|
149
|
+
|
|
150
|
+
Available as part of the Tidelift Subscription.
|
|
151
|
+
|
|
152
|
+
The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const os = require('os');
|
|
3
|
+
const tty = require('tty');
|
|
4
|
+
const hasFlag = require('has-flag');
|
|
5
|
+
|
|
6
|
+
const {env} = process;
|
|
7
|
+
|
|
8
|
+
let forceColor;
|
|
9
|
+
if (hasFlag('no-color') ||
|
|
10
|
+
hasFlag('no-colors') ||
|
|
11
|
+
hasFlag('color=false') ||
|
|
12
|
+
hasFlag('color=never')) {
|
|
13
|
+
forceColor = 0;
|
|
14
|
+
} else if (hasFlag('color') ||
|
|
15
|
+
hasFlag('colors') ||
|
|
16
|
+
hasFlag('color=true') ||
|
|
17
|
+
hasFlag('color=always')) {
|
|
18
|
+
forceColor = 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if ('FORCE_COLOR' in env) {
|
|
22
|
+
if (env.FORCE_COLOR === 'true') {
|
|
23
|
+
forceColor = 1;
|
|
24
|
+
} else if (env.FORCE_COLOR === 'false') {
|
|
25
|
+
forceColor = 0;
|
|
26
|
+
} else {
|
|
27
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function translateLevel(level) {
|
|
32
|
+
if (level === 0) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return {
|
|
37
|
+
level,
|
|
38
|
+
hasBasic: true,
|
|
39
|
+
has256: level >= 2,
|
|
40
|
+
has16m: level >= 3
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
45
|
+
if (forceColor === 0) {
|
|
46
|
+
return 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (hasFlag('color=16m') ||
|
|
50
|
+
hasFlag('color=full') ||
|
|
51
|
+
hasFlag('color=truecolor')) {
|
|
52
|
+
return 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (hasFlag('color=256')) {
|
|
56
|
+
return 2;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
60
|
+
return 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const min = forceColor || 0;
|
|
64
|
+
|
|
65
|
+
if (env.TERM === 'dumb') {
|
|
66
|
+
return min;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (process.platform === 'win32') {
|
|
70
|
+
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
71
|
+
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
72
|
+
const osRelease = os.release().split('.');
|
|
73
|
+
if (
|
|
74
|
+
Number(osRelease[0]) >= 10 &&
|
|
75
|
+
Number(osRelease[2]) >= 10586
|
|
76
|
+
) {
|
|
77
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if ('CI' in env) {
|
|
84
|
+
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
85
|
+
return 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return min;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if ('TEAMCITY_VERSION' in env) {
|
|
92
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (env.COLORTERM === 'truecolor') {
|
|
96
|
+
return 3;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if ('TERM_PROGRAM' in env) {
|
|
100
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
101
|
+
|
|
102
|
+
switch (env.TERM_PROGRAM) {
|
|
103
|
+
case 'iTerm.app':
|
|
104
|
+
return version >= 3 ? 3 : 2;
|
|
105
|
+
case 'Apple_Terminal':
|
|
106
|
+
return 2;
|
|
107
|
+
// No default
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
112
|
+
return 2;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
116
|
+
return 1;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
if ('COLORTERM' in env) {
|
|
120
|
+
return 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return min;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function getSupportLevel(stream) {
|
|
127
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
128
|
+
return translateLevel(level);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
module.exports = {
|
|
132
|
+
supportsColor: getSupportLevel,
|
|
133
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
134
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
135
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "supports-color",
|
|
3
|
+
"version": "7.2.0",
|
|
4
|
+
"description": "Detect whether a terminal supports color",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "chalk/supports-color",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Sindre Sorhus",
|
|
9
|
+
"email": "sindresorhus@gmail.com",
|
|
10
|
+
"url": "sindresorhus.com"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=8"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "xo && ava"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"index.js",
|
|
20
|
+
"browser.js"
|
|
21
|
+
],
|
|
22
|
+
"keywords": [
|
|
23
|
+
"color",
|
|
24
|
+
"colour",
|
|
25
|
+
"colors",
|
|
26
|
+
"terminal",
|
|
27
|
+
"console",
|
|
28
|
+
"cli",
|
|
29
|
+
"ansi",
|
|
30
|
+
"styles",
|
|
31
|
+
"tty",
|
|
32
|
+
"rgb",
|
|
33
|
+
"256",
|
|
34
|
+
"shell",
|
|
35
|
+
"xterm",
|
|
36
|
+
"command-line",
|
|
37
|
+
"support",
|
|
38
|
+
"supports",
|
|
39
|
+
"capability",
|
|
40
|
+
"detect",
|
|
41
|
+
"truecolor",
|
|
42
|
+
"16m"
|
|
43
|
+
],
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"has-flag": "^4.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"ava": "^1.4.1",
|
|
49
|
+
"import-fresh": "^3.0.0",
|
|
50
|
+
"xo": "^0.24.0"
|
|
51
|
+
},
|
|
52
|
+
"browser": "browser.js"
|
|
53
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# supports-color [](https://travis-ci.org/chalk/supports-color)
|
|
2
|
+
|
|
3
|
+
> Detect whether a terminal supports color
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
$ npm install supports-color
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
const supportsColor = require('supports-color');
|
|
17
|
+
|
|
18
|
+
if (supportsColor.stdout) {
|
|
19
|
+
console.log('Terminal stdout supports color');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (supportsColor.stdout.has256) {
|
|
23
|
+
console.log('Terminal stdout supports 256 colors');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if (supportsColor.stderr.has16m) {
|
|
27
|
+
console.log('Terminal stderr supports 16 million colors (truecolor)');
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## API
|
|
33
|
+
|
|
34
|
+
Returns an `Object` with a `stdout` and `stderr` property for testing either streams. Each property is an `Object`, or `false` if color is not supported.
|
|
35
|
+
|
|
36
|
+
The `stdout`/`stderr` objects specifies a level of support for color through a `.level` property and a corresponding flag:
|
|
37
|
+
|
|
38
|
+
- `.level = 1` and `.hasBasic = true`: Basic color support (16 colors)
|
|
39
|
+
- `.level = 2` and `.has256 = true`: 256 color support
|
|
40
|
+
- `.level = 3` and `.has16m = true`: Truecolor support (16 million colors)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## Info
|
|
44
|
+
|
|
45
|
+
It obeys the `--color` and `--no-color` CLI flags.
|
|
46
|
+
|
|
47
|
+
For situations where using `--color` is not possible, use the environment variable `FORCE_COLOR=1` (level 1), `FORCE_COLOR=2` (level 2), or `FORCE_COLOR=3` (level 3) to forcefully enable color, or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
|
|
48
|
+
|
|
49
|
+
Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Related
|
|
53
|
+
|
|
54
|
+
- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module
|
|
55
|
+
- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## Maintainers
|
|
59
|
+
|
|
60
|
+
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
61
|
+
- [Josh Junon](https://github.com/qix-)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
<div align="center">
|
|
67
|
+
<b>
|
|
68
|
+
<a href="https://tidelift.com/subscription/pkg/npm-supports-color?utm_source=npm-supports-color&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
69
|
+
</b>
|
|
70
|
+
<br>
|
|
71
|
+
<sub>
|
|
72
|
+
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
73
|
+
</sub>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
---
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "chalk",
|
|
3
|
+
"version": "4.1.2",
|
|
4
|
+
"description": "Terminal string styling done right",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "chalk/chalk",
|
|
7
|
+
"funding": "https://github.com/chalk/chalk?sponsor=1",
|
|
8
|
+
"main": "source",
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=10"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"test": "xo && nyc ava && tsd",
|
|
14
|
+
"bench": "matcha benchmark.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"source",
|
|
18
|
+
"index.d.ts"
|
|
19
|
+
],
|
|
20
|
+
"keywords": [
|
|
21
|
+
"color",
|
|
22
|
+
"colour",
|
|
23
|
+
"colors",
|
|
24
|
+
"terminal",
|
|
25
|
+
"console",
|
|
26
|
+
"cli",
|
|
27
|
+
"string",
|
|
28
|
+
"str",
|
|
29
|
+
"ansi",
|
|
30
|
+
"style",
|
|
31
|
+
"styles",
|
|
32
|
+
"tty",
|
|
33
|
+
"formatting",
|
|
34
|
+
"rgb",
|
|
35
|
+
"256",
|
|
36
|
+
"shell",
|
|
37
|
+
"xterm",
|
|
38
|
+
"log",
|
|
39
|
+
"logging",
|
|
40
|
+
"command-line",
|
|
41
|
+
"text"
|
|
42
|
+
],
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"ansi-styles": "^4.1.0",
|
|
45
|
+
"supports-color": "^7.1.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"ava": "^2.4.0",
|
|
49
|
+
"coveralls": "^3.0.7",
|
|
50
|
+
"execa": "^4.0.0",
|
|
51
|
+
"import-fresh": "^3.1.0",
|
|
52
|
+
"matcha": "^0.7.0",
|
|
53
|
+
"nyc": "^15.0.0",
|
|
54
|
+
"resolve-from": "^5.0.0",
|
|
55
|
+
"tsd": "^0.7.4",
|
|
56
|
+
"xo": "^0.28.2"
|
|
57
|
+
},
|
|
58
|
+
"xo": {
|
|
59
|
+
"rules": {
|
|
60
|
+
"unicorn/prefer-string-slice": "off",
|
|
61
|
+
"unicorn/prefer-includes": "off",
|
|
62
|
+
"@typescript-eslint/member-ordering": "off",
|
|
63
|
+
"no-redeclare": "off",
|
|
64
|
+
"unicorn/string-content": "off",
|
|
65
|
+
"unicorn/better-regex": "off"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|