korext 0.1.0
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/bin/korext.js +278 -0
- package/korext-cli-0.1.0.tgz +0 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/balanced-match/LICENSE.md +23 -0
- package/node_modules/balanced-match/README.md +57 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/balanced-match/package.json +68 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bl/.travis.yml +17 -0
- package/node_modules/bl/BufferList.js +396 -0
- package/node_modules/bl/LICENSE.md +13 -0
- package/node_modules/bl/README.md +247 -0
- package/node_modules/bl/bl.js +84 -0
- package/node_modules/bl/package.json +37 -0
- package/node_modules/bl/test/convert.js +21 -0
- package/node_modules/bl/test/indexOf.js +492 -0
- package/node_modules/bl/test/isBufferList.js +32 -0
- package/node_modules/bl/test/test.js +869 -0
- package/node_modules/brace-expansion/LICENSE +23 -0
- package/node_modules/brace-expansion/README.md +94 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js +199 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/esm/index.js +195 -0
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/brace-expansion/package.json +64 -0
- package/node_modules/buffer/AUTHORS.md +70 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +410 -0
- package/node_modules/buffer/index.d.ts +186 -0
- package/node_modules/buffer/index.js +1817 -0
- package/node_modules/buffer/package.json +96 -0
- package/node_modules/chalk/index.d.ts +415 -0
- package/node_modules/chalk/license +9 -0
- package/node_modules/chalk/package.json +68 -0
- package/node_modules/chalk/readme.md +341 -0
- package/node_modules/chalk/source/index.js +229 -0
- package/node_modules/chalk/source/templates.js +134 -0
- package/node_modules/chalk/source/util.js +39 -0
- package/node_modules/cli-cursor/index.d.ts +45 -0
- package/node_modules/cli-cursor/index.js +35 -0
- package/node_modules/cli-cursor/license +9 -0
- package/node_modules/cli-cursor/package.json +46 -0
- package/node_modules/cli-cursor/readme.md +55 -0
- package/node_modules/cli-spinners/index.d.ts +128 -0
- package/node_modules/cli-spinners/index.js +15 -0
- package/node_modules/cli-spinners/license +9 -0
- package/node_modules/cli-spinners/package.json +50 -0
- package/node_modules/cli-spinners/readme.md +54 -0
- package/node_modules/cli-spinners/spinners.json +1622 -0
- package/node_modules/clone/.npmignore +4 -0
- package/node_modules/clone/LICENSE +18 -0
- package/node_modules/clone/README.md +126 -0
- package/node_modules/clone/clone.iml +10 -0
- package/node_modules/clone/clone.js +166 -0
- package/node_modules/clone/package.json +51 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1176 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +150 -0
- package/node_modules/commander/lib/command.js +2777 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +747 -0
- package/node_modules/commander/lib/option.js +380 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +82 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/data-uri-to-buffer/README.md +88 -0
- package/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
- package/node_modules/data-uri-to-buffer/dist/index.js +53 -0
- package/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/node_modules/data-uri-to-buffer/package.json +62 -0
- package/node_modules/data-uri-to-buffer/src/index.ts +68 -0
- package/node_modules/defaults/LICENSE +22 -0
- package/node_modules/defaults/README.md +39 -0
- package/node_modules/defaults/index.js +13 -0
- package/node_modules/defaults/package.json +33 -0
- package/node_modules/defaults/test.js +34 -0
- package/node_modules/fetch-blob/LICENSE +21 -0
- package/node_modules/fetch-blob/README.md +106 -0
- package/node_modules/fetch-blob/file.d.ts +2 -0
- package/node_modules/fetch-blob/file.js +49 -0
- package/node_modules/fetch-blob/from.d.ts +26 -0
- package/node_modules/fetch-blob/from.js +100 -0
- package/node_modules/fetch-blob/index.d.ts +3 -0
- package/node_modules/fetch-blob/index.js +250 -0
- package/node_modules/fetch-blob/package.json +56 -0
- package/node_modules/fetch-blob/streams.cjs +51 -0
- package/node_modules/formdata-polyfill/FormData.js +441 -0
- package/node_modules/formdata-polyfill/LICENSE +21 -0
- package/node_modules/formdata-polyfill/README.md +145 -0
- package/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
- package/node_modules/formdata-polyfill/esm.min.js +40 -0
- package/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
- package/node_modules/formdata-polyfill/formdata.min.js +21 -0
- package/node_modules/formdata-polyfill/package.json +50 -0
- package/node_modules/glob/LICENSE.md +63 -0
- package/node_modules/glob/README.md +1203 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts +396 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/glob.js +248 -0
- package/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.min.js +4 -0
- package/node_modules/glob/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts +79 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/pattern.js +223 -0
- package/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/glob/dist/esm/glob.d.ts +396 -0
- package/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/glob.js +244 -0
- package/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/glob/dist/esm/index.min.js +4 -0
- package/node_modules/glob/dist/esm/index.min.js.map +7 -0
- package/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/glob/dist/esm/pattern.d.ts +79 -0
- package/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/pattern.js +219 -0
- package/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/glob/package.json +98 -0
- package/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +46 -0
- package/node_modules/has-flag/readme.md +89 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/is-interactive/index.d.ts +31 -0
- package/node_modules/is-interactive/index.js +9 -0
- package/node_modules/is-interactive/license +9 -0
- package/node_modules/is-interactive/package.json +38 -0
- package/node_modules/is-interactive/readme.md +51 -0
- package/node_modules/is-unicode-supported/index.d.ts +14 -0
- package/node_modules/is-unicode-supported/index.js +13 -0
- package/node_modules/is-unicode-supported/license +9 -0
- package/node_modules/is-unicode-supported/package.json +41 -0
- package/node_modules/is-unicode-supported/readme.md +35 -0
- package/node_modules/log-symbols/browser.js +8 -0
- package/node_modules/log-symbols/index.d.ts +25 -0
- package/node_modules/log-symbols/index.js +19 -0
- package/node_modules/log-symbols/license +9 -0
- package/node_modules/log-symbols/package.json +52 -0
- package/node_modules/log-symbols/readme.md +51 -0
- package/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/lru-cache/README.md +383 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1323 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1595 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1323 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1591 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/package.json +93 -0
- package/node_modules/mimic-fn/index.d.ts +54 -0
- package/node_modules/mimic-fn/index.js +13 -0
- package/node_modules/mimic-fn/license +9 -0
- package/node_modules/mimic-fn/package.json +42 -0
- package/node_modules/mimic-fn/readme.md +69 -0
- package/node_modules/minimatch/LICENSE.md +55 -0
- package/node_modules/minimatch/README.md +528 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.js +846 -0
- package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1121 -0
- package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.js +842 -0
- package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1108 -0
- package/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/minimatch/package.json +67 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/node-domexception/.history/README_20210527203617.md +2 -0
- package/node_modules/node-domexception/.history/README_20210527212714.md +41 -0
- package/node_modules/node-domexception/.history/README_20210527213345.md +36 -0
- package/node_modules/node-domexception/.history/README_20210527213411.md +36 -0
- package/node_modules/node-domexception/.history/README_20210527213803.md +36 -0
- package/node_modules/node-domexception/.history/README_20210527214323.md +38 -0
- package/node_modules/node-domexception/.history/README_20210527214408.md +38 -0
- package/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
- package/node_modules/node-domexception/.history/index_20210527203947.js +8 -0
- package/node_modules/node-domexception/.history/index_20210527204259.js +9 -0
- package/node_modules/node-domexception/.history/index_20210527204418.js +9 -0
- package/node_modules/node-domexception/.history/index_20210527204756.js +11 -0
- package/node_modules/node-domexception/.history/index_20210527204833.js +11 -0
- package/node_modules/node-domexception/.history/index_20210527211208.js +15 -0
- package/node_modules/node-domexception/.history/index_20210527211248.js +15 -0
- package/node_modules/node-domexception/.history/index_20210527212722.js +23 -0
- package/node_modules/node-domexception/.history/index_20210527212731.js +23 -0
- package/node_modules/node-domexception/.history/index_20210527212746.js +15 -0
- package/node_modules/node-domexception/.history/index_20210527212900.js +16 -0
- package/node_modules/node-domexception/.history/index_20210527213022.js +16 -0
- package/node_modules/node-domexception/.history/index_20210527213822.js +16 -0
- package/node_modules/node-domexception/.history/index_20210527213843.js +17 -0
- package/node_modules/node-domexception/.history/index_20210527213852.js +17 -0
- package/node_modules/node-domexception/.history/index_20210527213910.js +16 -0
- package/node_modules/node-domexception/.history/index_20210527214034.js +16 -0
- package/node_modules/node-domexception/.history/index_20210527214643.js +41 -0
- package/node_modules/node-domexception/.history/index_20210527214654.js +41 -0
- package/node_modules/node-domexception/.history/index_20210527214700.js +16 -0
- package/node_modules/node-domexception/.history/package_20210527203733.json +19 -0
- package/node_modules/node-domexception/.history/package_20210527203825.json +16 -0
- package/node_modules/node-domexception/.history/package_20210527204621.json +19 -0
- package/node_modules/node-domexception/.history/package_20210527204913.json +25 -0
- package/node_modules/node-domexception/.history/package_20210527204925.json +25 -0
- package/node_modules/node-domexception/.history/package_20210527205145.json +29 -0
- package/node_modules/node-domexception/.history/package_20210527205156.json +29 -0
- package/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
- package/node_modules/node-domexception/.history/test_20210527205957.js +3 -0
- package/node_modules/node-domexception/.history/test_20210527210021.js +3 -0
- package/node_modules/node-domexception/LICENSE +21 -0
- package/node_modules/node-domexception/README.md +46 -0
- package/node_modules/node-domexception/index.js +16 -0
- package/node_modules/node-domexception/package.json +29 -0
- package/node_modules/node-fetch/@types/index.d.ts +219 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +872 -0
- package/node_modules/node-fetch/package.json +131 -0
- package/node_modules/node-fetch/src/body.js +397 -0
- package/node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/node_modules/node-fetch/src/errors/base.js +17 -0
- package/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
- package/node_modules/node-fetch/src/headers.js +267 -0
- package/node_modules/node-fetch/src/index.js +417 -0
- package/node_modules/node-fetch/src/request.js +313 -0
- package/node_modules/node-fetch/src/response.js +160 -0
- package/node_modules/node-fetch/src/utils/get-search.js +9 -0
- package/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
- package/node_modules/node-fetch/src/utils/is.js +87 -0
- package/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
- package/node_modules/node-fetch/src/utils/referrer.js +340 -0
- package/node_modules/onetime/index.d.ts +64 -0
- package/node_modules/onetime/index.js +44 -0
- package/node_modules/onetime/license +9 -0
- package/node_modules/onetime/package.json +43 -0
- package/node_modules/onetime/readme.md +94 -0
- package/node_modules/ora/index.d.ts +277 -0
- package/node_modules/ora/index.js +407 -0
- package/node_modules/ora/license +9 -0
- package/node_modules/ora/package.json +57 -0
- package/node_modules/ora/readme.md +264 -0
- package/node_modules/path-scurry/LICENSE.md +55 -0
- package/node_modules/path-scurry/README.md +636 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
- package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/esm/index.js +1983 -0
- package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/package.json +72 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +106 -0
- package/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +68 -0
- package/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/restore-cursor/index.d.ts +13 -0
- package/node_modules/restore-cursor/index.js +9 -0
- package/node_modules/restore-cursor/license +9 -0
- package/node_modules/restore-cursor/package.json +52 -0
- package/node_modules/restore-cursor/readme.md +26 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +39 -0
- package/node_modules/signal-exit/index.js +202 -0
- package/node_modules/signal-exit/package.json +38 -0
- package/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +34 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/supports-color/browser.js +5 -0
- package/node_modules/supports-color/index.js +135 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +53 -0
- package/node_modules/supports-color/readme.md +76 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/wcwidth/.npmignore +1 -0
- package/node_modules/wcwidth/LICENSE +30 -0
- package/node_modules/wcwidth/Readme.md +33 -0
- package/node_modules/wcwidth/combining.js +50 -0
- package/node_modules/wcwidth/docs/index.md +65 -0
- package/node_modules/wcwidth/index.js +99 -0
- package/node_modules/wcwidth/package.json +42 -0
- package/node_modules/wcwidth/test/index.js +64 -0
- package/node_modules/web-streams-polyfill/LICENSE +22 -0
- package/node_modules/web-streams-polyfill/README.md +110 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
- package/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
- package/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
- package/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
- package/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
- package/node_modules/web-streams-polyfill/es2018/package.json +14 -0
- package/node_modules/web-streams-polyfill/es6/package.json +14 -0
- package/node_modules/web-streams-polyfill/package.json +83 -0
- package/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
- package/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
- package/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
- package/package.json +26 -0
- package/version.json +18 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# has-flag [](https://travis-ci.org/sindresorhus/has-flag)
|
|
2
|
+
|
|
3
|
+
> Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag
|
|
4
|
+
|
|
5
|
+
Correctly stops looking after an `--` argument terminator.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<div align="center">
|
|
10
|
+
<b>
|
|
11
|
+
<a href="https://tidelift.com/subscription/pkg/npm-has-flag?utm_source=npm-has-flag&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
12
|
+
</b>
|
|
13
|
+
<br>
|
|
14
|
+
<sub>
|
|
15
|
+
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
16
|
+
</sub>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
$ npm install has-flag
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```js
|
|
32
|
+
// foo.js
|
|
33
|
+
const hasFlag = require('has-flag');
|
|
34
|
+
|
|
35
|
+
hasFlag('unicorn');
|
|
36
|
+
//=> true
|
|
37
|
+
|
|
38
|
+
hasFlag('--unicorn');
|
|
39
|
+
//=> true
|
|
40
|
+
|
|
41
|
+
hasFlag('f');
|
|
42
|
+
//=> true
|
|
43
|
+
|
|
44
|
+
hasFlag('-f');
|
|
45
|
+
//=> true
|
|
46
|
+
|
|
47
|
+
hasFlag('foo=bar');
|
|
48
|
+
//=> true
|
|
49
|
+
|
|
50
|
+
hasFlag('foo');
|
|
51
|
+
//=> false
|
|
52
|
+
|
|
53
|
+
hasFlag('rainbow');
|
|
54
|
+
//=> false
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
$ node foo.js -f --unicorn --foo=bar -- --rainbow
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## API
|
|
63
|
+
|
|
64
|
+
### hasFlag(flag, [argv])
|
|
65
|
+
|
|
66
|
+
Returns a boolean for whether the flag exists.
|
|
67
|
+
|
|
68
|
+
#### flag
|
|
69
|
+
|
|
70
|
+
Type: `string`
|
|
71
|
+
|
|
72
|
+
CLI flag to look for. The `--` prefix is optional.
|
|
73
|
+
|
|
74
|
+
#### argv
|
|
75
|
+
|
|
76
|
+
Type: `string[]`<br>
|
|
77
|
+
Default: `process.argv`
|
|
78
|
+
|
|
79
|
+
CLI arguments.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## Security
|
|
83
|
+
|
|
84
|
+
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## License
|
|
88
|
+
|
|
89
|
+
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Copyright 2008 Fair Oaks Labs, Inc.
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
4
|
+
|
|
5
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
6
|
+
|
|
7
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
8
|
+
|
|
9
|
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
10
|
+
|
|
11
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
|
|
2
|
+
|
|
3
|
+
[travis-image]: https://img.shields.io/travis/feross/ieee754/master.svg
|
|
4
|
+
[travis-url]: https://travis-ci.org/feross/ieee754
|
|
5
|
+
[npm-image]: https://img.shields.io/npm/v/ieee754.svg
|
|
6
|
+
[npm-url]: https://npmjs.org/package/ieee754
|
|
7
|
+
[downloads-image]: https://img.shields.io/npm/dm/ieee754.svg
|
|
8
|
+
[downloads-url]: https://npmjs.org/package/ieee754
|
|
9
|
+
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
|
|
10
|
+
[standard-url]: https://standardjs.com
|
|
11
|
+
|
|
12
|
+
[![saucelabs][saucelabs-image]][saucelabs-url]
|
|
13
|
+
|
|
14
|
+
[saucelabs-image]: https://saucelabs.com/browser-matrix/ieee754.svg
|
|
15
|
+
[saucelabs-url]: https://saucelabs.com/u/ieee754
|
|
16
|
+
|
|
17
|
+
### Read/write IEEE754 floating point numbers from/to a Buffer or array-like object.
|
|
18
|
+
|
|
19
|
+
## install
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
npm install ieee754
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## methods
|
|
26
|
+
|
|
27
|
+
`var ieee754 = require('ieee754')`
|
|
28
|
+
|
|
29
|
+
The `ieee754` object has the following functions:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
ieee754.read = function (buffer, offset, isLE, mLen, nBytes)
|
|
33
|
+
ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The arguments mean the following:
|
|
37
|
+
|
|
38
|
+
- buffer = the buffer
|
|
39
|
+
- offset = offset into the buffer
|
|
40
|
+
- value = value to set (only for `write`)
|
|
41
|
+
- isLe = is little endian?
|
|
42
|
+
- mLen = mantissa length
|
|
43
|
+
- nBytes = number of bytes
|
|
44
|
+
|
|
45
|
+
## what is ieee754?
|
|
46
|
+
|
|
47
|
+
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation. [Read more](http://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
48
|
+
|
|
49
|
+
## license
|
|
50
|
+
|
|
51
|
+
BSD 3 Clause. Copyright (c) 2008, Fair Oaks Labs, Inc.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare namespace ieee754 {
|
|
2
|
+
export function read(
|
|
3
|
+
buffer: Uint8Array, offset: number, isLE: boolean, mLen: number,
|
|
4
|
+
nBytes: number): number;
|
|
5
|
+
export function write(
|
|
6
|
+
buffer: Uint8Array, value: number, offset: number, isLE: boolean,
|
|
7
|
+
mLen: number, nBytes: number): void;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export = ieee754;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2
|
+
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
3
|
+
var e, m
|
|
4
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
5
|
+
var eMax = (1 << eLen) - 1
|
|
6
|
+
var eBias = eMax >> 1
|
|
7
|
+
var nBits = -7
|
|
8
|
+
var i = isLE ? (nBytes - 1) : 0
|
|
9
|
+
var d = isLE ? -1 : 1
|
|
10
|
+
var s = buffer[offset + i]
|
|
11
|
+
|
|
12
|
+
i += d
|
|
13
|
+
|
|
14
|
+
e = s & ((1 << (-nBits)) - 1)
|
|
15
|
+
s >>= (-nBits)
|
|
16
|
+
nBits += eLen
|
|
17
|
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
18
|
+
|
|
19
|
+
m = e & ((1 << (-nBits)) - 1)
|
|
20
|
+
e >>= (-nBits)
|
|
21
|
+
nBits += mLen
|
|
22
|
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
23
|
+
|
|
24
|
+
if (e === 0) {
|
|
25
|
+
e = 1 - eBias
|
|
26
|
+
} else if (e === eMax) {
|
|
27
|
+
return m ? NaN : ((s ? -1 : 1) * Infinity)
|
|
28
|
+
} else {
|
|
29
|
+
m = m + Math.pow(2, mLen)
|
|
30
|
+
e = e - eBias
|
|
31
|
+
}
|
|
32
|
+
return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
36
|
+
var e, m, c
|
|
37
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
38
|
+
var eMax = (1 << eLen) - 1
|
|
39
|
+
var eBias = eMax >> 1
|
|
40
|
+
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
|
41
|
+
var i = isLE ? 0 : (nBytes - 1)
|
|
42
|
+
var d = isLE ? 1 : -1
|
|
43
|
+
var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
|
|
44
|
+
|
|
45
|
+
value = Math.abs(value)
|
|
46
|
+
|
|
47
|
+
if (isNaN(value) || value === Infinity) {
|
|
48
|
+
m = isNaN(value) ? 1 : 0
|
|
49
|
+
e = eMax
|
|
50
|
+
} else {
|
|
51
|
+
e = Math.floor(Math.log(value) / Math.LN2)
|
|
52
|
+
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
53
|
+
e--
|
|
54
|
+
c *= 2
|
|
55
|
+
}
|
|
56
|
+
if (e + eBias >= 1) {
|
|
57
|
+
value += rt / c
|
|
58
|
+
} else {
|
|
59
|
+
value += rt * Math.pow(2, 1 - eBias)
|
|
60
|
+
}
|
|
61
|
+
if (value * c >= 2) {
|
|
62
|
+
e++
|
|
63
|
+
c /= 2
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (e + eBias >= eMax) {
|
|
67
|
+
m = 0
|
|
68
|
+
e = eMax
|
|
69
|
+
} else if (e + eBias >= 1) {
|
|
70
|
+
m = ((value * c) - 1) * Math.pow(2, mLen)
|
|
71
|
+
e = e + eBias
|
|
72
|
+
} else {
|
|
73
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
|
74
|
+
e = 0
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
|
|
79
|
+
|
|
80
|
+
e = (e << mLen) | m
|
|
81
|
+
eLen += mLen
|
|
82
|
+
for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
|
|
83
|
+
|
|
84
|
+
buffer[offset + i - d] |= s * 128
|
|
85
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ieee754",
|
|
3
|
+
"description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object",
|
|
4
|
+
"version": "1.2.1",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Feross Aboukhadijeh",
|
|
7
|
+
"email": "feross@feross.org",
|
|
8
|
+
"url": "https://feross.org"
|
|
9
|
+
},
|
|
10
|
+
"contributors": [
|
|
11
|
+
"Romain Beauxis <toots@rastageeks.org>"
|
|
12
|
+
],
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"airtap": "^3.0.0",
|
|
15
|
+
"standard": "*",
|
|
16
|
+
"tape": "^5.0.1"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"IEEE 754",
|
|
20
|
+
"buffer",
|
|
21
|
+
"convert",
|
|
22
|
+
"floating point",
|
|
23
|
+
"ieee754"
|
|
24
|
+
],
|
|
25
|
+
"license": "BSD-3-Clause",
|
|
26
|
+
"main": "index.js",
|
|
27
|
+
"types": "index.d.ts",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git://github.com/feross/ieee754.git"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"test": "standard && npm run test-node && npm run test-browser",
|
|
34
|
+
"test-browser": "airtap -- test/*.js",
|
|
35
|
+
"test-browser-local": "airtap --local -- test/*.js",
|
|
36
|
+
"test-node": "tape test/*.js"
|
|
37
|
+
},
|
|
38
|
+
"funding": [
|
|
39
|
+
{
|
|
40
|
+
"type": "github",
|
|
41
|
+
"url": "https://github.com/sponsors/feross"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "patreon",
|
|
45
|
+
"url": "https://www.patreon.com/feross"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "consulting",
|
|
49
|
+
"url": "https://feross.org/support"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
The ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
11
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Browser-friendly inheritance fully compatible with standard node.js
|
|
2
|
+
[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
|
|
3
|
+
|
|
4
|
+
This package exports standard `inherits` from node.js `util` module in
|
|
5
|
+
node environment, but also provides alternative browser-friendly
|
|
6
|
+
implementation through [browser
|
|
7
|
+
field](https://gist.github.com/shtylman/4339901). Alternative
|
|
8
|
+
implementation is a literal copy of standard one located in standalone
|
|
9
|
+
module to avoid requiring of `util`. It also has a shim for old
|
|
10
|
+
browsers with no `Object.create` support.
|
|
11
|
+
|
|
12
|
+
While keeping you sure you are using standard `inherits`
|
|
13
|
+
implementation in node.js environment, it allows bundlers such as
|
|
14
|
+
[browserify](https://github.com/substack/node-browserify) to not
|
|
15
|
+
include full `util` package to your client code if all you need is
|
|
16
|
+
just `inherits` function. It worth, because browser shim for `util`
|
|
17
|
+
package is large and `inherits` is often the single function you need
|
|
18
|
+
from it.
|
|
19
|
+
|
|
20
|
+
It's recommended to use this package instead of
|
|
21
|
+
`require('util').inherits` for any code that has chances to be used
|
|
22
|
+
not only in node.js but in browser too.
|
|
23
|
+
|
|
24
|
+
## usage
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
var inherits = require('inherits');
|
|
28
|
+
// then use exactly as the standard one
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## note on version ~1.0
|
|
32
|
+
|
|
33
|
+
Version ~1.0 had completely different motivation and is not compatible
|
|
34
|
+
neither with 2.0 nor with standard node.js `inherits`.
|
|
35
|
+
|
|
36
|
+
If you are using version ~1.0 and planning to switch to ~2.0, be
|
|
37
|
+
careful:
|
|
38
|
+
|
|
39
|
+
* new version uses `super_` instead of `super` for referencing
|
|
40
|
+
superclass
|
|
41
|
+
* new version overwrites current prototype while old one preserves any
|
|
42
|
+
existing fields on it
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
if (typeof Object.create === 'function') {
|
|
2
|
+
// implementation from standard node.js 'util' module
|
|
3
|
+
module.exports = function inherits(ctor, superCtor) {
|
|
4
|
+
if (superCtor) {
|
|
5
|
+
ctor.super_ = superCtor
|
|
6
|
+
ctor.prototype = Object.create(superCtor.prototype, {
|
|
7
|
+
constructor: {
|
|
8
|
+
value: ctor,
|
|
9
|
+
enumerable: false,
|
|
10
|
+
writable: true,
|
|
11
|
+
configurable: true
|
|
12
|
+
}
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
} else {
|
|
17
|
+
// old school shim for old browsers
|
|
18
|
+
module.exports = function inherits(ctor, superCtor) {
|
|
19
|
+
if (superCtor) {
|
|
20
|
+
ctor.super_ = superCtor
|
|
21
|
+
var TempCtor = function () {}
|
|
22
|
+
TempCtor.prototype = superCtor.prototype
|
|
23
|
+
ctor.prototype = new TempCtor()
|
|
24
|
+
ctor.prototype.constructor = ctor
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "inherits",
|
|
3
|
+
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
|
|
4
|
+
"version": "2.0.4",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"inheritance",
|
|
7
|
+
"class",
|
|
8
|
+
"klass",
|
|
9
|
+
"oop",
|
|
10
|
+
"object-oriented",
|
|
11
|
+
"inherits",
|
|
12
|
+
"browser",
|
|
13
|
+
"browserify"
|
|
14
|
+
],
|
|
15
|
+
"main": "./inherits.js",
|
|
16
|
+
"browser": "./inherits_browser.js",
|
|
17
|
+
"repository": "git://github.com/isaacs/inherits",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"test": "tap"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"tap": "^14.2.4"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"inherits.js",
|
|
27
|
+
"inherits_browser.js"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="node"/>
|
|
2
|
+
|
|
3
|
+
declare namespace isInteractive {
|
|
4
|
+
interface Options {
|
|
5
|
+
/**
|
|
6
|
+
The stream to check.
|
|
7
|
+
|
|
8
|
+
@default process.stdout
|
|
9
|
+
*/
|
|
10
|
+
readonly stream?: NodeJS.WritableStream;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
Check if stdout or stderr is [interactive](https://unix.stackexchange.com/a/43389/7678).
|
|
16
|
+
|
|
17
|
+
It checks that the stream is [TTY](https://jameshfisher.com/2017/12/09/what-is-a-tty/), not a dumb terminal, and not running in a CI.
|
|
18
|
+
|
|
19
|
+
This can be useful to decide whether to present interactive UI or animations in the terminal.
|
|
20
|
+
|
|
21
|
+
@example
|
|
22
|
+
```
|
|
23
|
+
import isInteractive = require('is-interactive');
|
|
24
|
+
|
|
25
|
+
isInteractive();
|
|
26
|
+
//=> true
|
|
27
|
+
```
|
|
28
|
+
*/
|
|
29
|
+
declare function isInteractive(options?: isInteractive.Options): boolean;
|
|
30
|
+
|
|
31
|
+
export = isInteractive;
|
|
@@ -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,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "is-interactive",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Check if stdout or stderr is interactive",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "sindresorhus/is-interactive",
|
|
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 && tsd"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"index.js",
|
|
20
|
+
"index.d.ts"
|
|
21
|
+
],
|
|
22
|
+
"keywords": [
|
|
23
|
+
"interactive",
|
|
24
|
+
"stdout",
|
|
25
|
+
"stderr",
|
|
26
|
+
"detect",
|
|
27
|
+
"is",
|
|
28
|
+
"terminal",
|
|
29
|
+
"shell",
|
|
30
|
+
"tty"
|
|
31
|
+
],
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@types/node": "^12.0.12",
|
|
34
|
+
"ava": "^2.1.0",
|
|
35
|
+
"tsd": "^0.7.3",
|
|
36
|
+
"xo": "^0.24.0"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# is-interactive [](https://travis-ci.com/sindresorhus/is-interactive)
|
|
2
|
+
|
|
3
|
+
> Check if stdout or stderr is [interactive](https://unix.stackexchange.com/a/43389/7678)
|
|
4
|
+
|
|
5
|
+
It checks that the stream is [TTY](https://jameshfisher.com/2017/12/09/what-is-a-tty/), not a dumb terminal, and not running in a CI.
|
|
6
|
+
|
|
7
|
+
This can be useful to decide whether to present interactive UI or animations in the terminal.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
$ npm install is-interactive
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
const isInteractive = require('is-interactive');
|
|
21
|
+
|
|
22
|
+
isInteractive();
|
|
23
|
+
//=> true
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## API
|
|
28
|
+
|
|
29
|
+
### isInteractive(options?)
|
|
30
|
+
|
|
31
|
+
#### options
|
|
32
|
+
|
|
33
|
+
Type: `object`
|
|
34
|
+
|
|
35
|
+
##### stream
|
|
36
|
+
|
|
37
|
+
Type: [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable)<br>
|
|
38
|
+
Default: [`process.stdout`](https://nodejs.org/api/process.html#process_process_stdout)
|
|
39
|
+
|
|
40
|
+
The stream to check.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## FAQ
|
|
44
|
+
|
|
45
|
+
#### Why are you not using [`ci-info`](https://github.com/watson/ci-info) for the CI check?
|
|
46
|
+
|
|
47
|
+
It's silly to have to detect individual CIs. They should identify themselves with the `CI` environment variable, and most do just that. A manually maintained list of detections will easily get out of date. And if a package using `ci-info` doesn't update to the latest version all the time, they will not support certain CIs. It also creates unpredictability as you might assume a CI is not supported and then suddenly it gets supported and you didn't account for that. In addition, some of the manual detections are loose and might cause false-positives which could create hard-to-debug bugs.
|
|
48
|
+
|
|
49
|
+
#### Why does this even exist? It's just a few lines.
|
|
50
|
+
|
|
51
|
+
It's not about the number of lines, but rather discoverability and documentation. A lot of people wouldn't even know they need this. Feel free to copy-paste the code if you don't want the dependency. You might also want to read [this blog post](https://blog.sindresorhus.com/small-focused-modules-9238d977a92a).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Detect whether the terminal supports Unicode.
|
|
3
|
+
|
|
4
|
+
@example
|
|
5
|
+
```
|
|
6
|
+
import isUnicodeSupported = require('is-unicode-supported');
|
|
7
|
+
|
|
8
|
+
isUnicodeSupported();
|
|
9
|
+
//=> true
|
|
10
|
+
```
|
|
11
|
+
*/
|
|
12
|
+
declare function isUnicodeSupported(): boolean;
|
|
13
|
+
|
|
14
|
+
export = isUnicodeSupported;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = () => {
|
|
4
|
+
if (process.platform !== 'win32') {
|
|
5
|
+
return true;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
return Boolean(process.env.CI) ||
|
|
9
|
+
Boolean(process.env.WT_SESSION) || // Windows Terminal
|
|
10
|
+
process.env.TERM_PROGRAM === 'vscode' ||
|
|
11
|
+
process.env.TERM === 'xterm-256color' ||
|
|
12
|
+
process.env.TERM === 'alacritty';
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://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,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "is-unicode-supported",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Detect whether the terminal supports Unicode",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "sindresorhus/is-unicode-supported",
|
|
7
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Sindre Sorhus",
|
|
10
|
+
"email": "sindresorhus@gmail.com",
|
|
11
|
+
"url": "https://sindresorhus.com"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=10"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "xo && ava && tsd"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"index.js",
|
|
21
|
+
"index.d.ts"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"terminal",
|
|
25
|
+
"unicode",
|
|
26
|
+
"detect",
|
|
27
|
+
"utf8",
|
|
28
|
+
"console",
|
|
29
|
+
"shell",
|
|
30
|
+
"support",
|
|
31
|
+
"supports",
|
|
32
|
+
"supported",
|
|
33
|
+
"check",
|
|
34
|
+
"detection"
|
|
35
|
+
],
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"ava": "^2.4.0",
|
|
38
|
+
"tsd": "^0.14.0",
|
|
39
|
+
"xo": "^0.38.2"
|
|
40
|
+
}
|
|
41
|
+
}
|