pxnpm 5.0.0 → 6.0.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/README.md +276 -2
- package/bin/{pxnpm.cjs → pnpm.cjs} +2 -2
- package/bin/{pxnpx.cjs → pnpx.cjs} +1 -1
- package/dist/node_modules/.modules.yaml +92 -98
- package/dist/node_modules/.pnpm/lock.yaml +303 -412
- package/dist/node_modules/{set-blocking → @isaacs/cliui}/LICENSE.txt +1 -1
- package/dist/node_modules/@isaacs/cliui/build/index.cjs +317 -0
- package/dist/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
- package/dist/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
- package/dist/node_modules/@isaacs/cliui/index.mjs +14 -0
- package/dist/node_modules/@isaacs/cliui/package.json +86 -0
- package/dist/node_modules/@npmcli/agent/lib/agents.js +206 -0
- package/dist/node_modules/@npmcli/agent/lib/dns.js +53 -0
- package/dist/node_modules/@npmcli/agent/lib/errors.js +61 -0
- package/dist/node_modules/@npmcli/agent/lib/index.js +56 -0
- package/dist/node_modules/@npmcli/agent/lib/options.js +86 -0
- package/dist/node_modules/@npmcli/agent/lib/proxy.js +88 -0
- package/dist/node_modules/@npmcli/agent/package.json +60 -0
- package/dist/node_modules/@npmcli/fs/lib/cp/index.js +1 -1
- package/dist/node_modules/@npmcli/fs/lib/cp/polyfill.js +2 -2
- package/dist/node_modules/@npmcli/fs/lib/index.js +11 -10
- package/dist/node_modules/@npmcli/fs/lib/move-file.js +78 -0
- package/dist/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
- package/dist/node_modules/@npmcli/fs/lib/with-temp-dir.js +4 -6
- package/dist/node_modules/@npmcli/fs/package.json +13 -11
- package/dist/node_modules/@pkgjs/parseargs/LICENSE +201 -0
- package/dist/node_modules/@pkgjs/parseargs/index.js +396 -0
- package/dist/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
- package/dist/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
- package/dist/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
- package/dist/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
- package/dist/node_modules/@pkgjs/parseargs/package.json +36 -0
- package/dist/node_modules/@pkgjs/parseargs/utils.js +198 -0
- package/dist/node_modules/abbrev/lib/index.js +50 -0
- package/dist/node_modules/abbrev/package.json +33 -11
- package/dist/node_modules/agent-base/LICENSE +22 -0
- package/dist/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/dist/node_modules/agent-base/dist/helpers.js +66 -0
- package/dist/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/dist/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/dist/node_modules/agent-base/dist/index.js +175 -0
- package/dist/node_modules/agent-base/dist/index.js.map +1 -0
- package/dist/node_modules/agent-base/package.json +26 -41
- package/dist/node_modules/ansi-regex/index.js +3 -5
- package/dist/node_modules/ansi-regex/license +1 -1
- package/dist/node_modules/ansi-regex/package.json +9 -6
- package/dist/node_modules/ansi-styles/index.js +223 -0
- package/dist/node_modules/ansi-styles/license +9 -0
- package/dist/node_modules/ansi-styles/package.json +54 -0
- package/dist/node_modules/brace-expansion/index.js +86 -84
- package/dist/node_modules/brace-expansion/package.json +3 -4
- package/dist/node_modules/cacache/lib/content/read.js +10 -86
- package/dist/node_modules/cacache/lib/content/rm.js +2 -4
- package/dist/node_modules/cacache/lib/content/write.js +42 -25
- package/dist/node_modules/cacache/lib/entry-index.js +26 -100
- package/dist/node_modules/cacache/lib/get.js +1 -56
- package/dist/node_modules/cacache/lib/index.js +0 -3
- package/dist/node_modules/cacache/lib/memoization.js +2 -2
- package/dist/node_modules/cacache/lib/rm.js +5 -5
- package/dist/node_modules/cacache/lib/util/glob.js +7 -0
- package/dist/node_modules/cacache/lib/util/tmp.js +3 -10
- package/dist/node_modules/cacache/lib/verify.js +31 -31
- package/dist/node_modules/cacache/node_modules/fs-minipass/lib/index.js +443 -0
- package/dist/node_modules/cacache/node_modules/fs-minipass/package.json +54 -0
- package/dist/node_modules/cacache/package.json +23 -25
- package/dist/node_modules/color-convert/LICENSE +21 -0
- package/dist/node_modules/color-convert/conversions.js +839 -0
- package/dist/node_modules/color-convert/index.js +81 -0
- package/dist/node_modules/color-convert/package.json +48 -0
- package/dist/node_modules/color-convert/route.js +97 -0
- package/dist/node_modules/color-name/LICENSE +8 -0
- package/dist/node_modules/color-name/index.js +152 -0
- package/dist/node_modules/color-name/package.json +28 -0
- package/dist/node_modules/{safe-buffer → cross-spawn}/LICENSE +1 -1
- package/dist/node_modules/cross-spawn/index.js +39 -0
- package/dist/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/dist/node_modules/cross-spawn/lib/parse.js +91 -0
- package/dist/node_modules/cross-spawn/lib/util/escape.js +45 -0
- package/dist/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/dist/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/dist/node_modules/cross-spawn/package.json +73 -0
- package/dist/node_modules/debug/package.json +4 -3
- package/dist/node_modules/debug/src/node.js +2 -2
- package/dist/node_modules/eastasianwidth/eastasianwidth.js +311 -0
- package/dist/node_modules/eastasianwidth/package.json +18 -0
- package/dist/node_modules/emoji-regex/RGI_Emoji.js +6 -0
- package/dist/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
- package/dist/node_modules/emoji-regex/es2015/index.js +1 -1
- package/dist/node_modules/emoji-regex/es2015/text.js +1 -1
- package/dist/node_modules/emoji-regex/index.js +1 -1
- package/dist/node_modules/emoji-regex/package.json +13 -11
- package/dist/node_modules/emoji-regex/text.js +1 -1
- package/dist/node_modules/{infer-owner → foreground-child}/LICENSE +1 -1
- package/dist/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/dist/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/index.js +121 -0
- package/dist/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/dist/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/dist/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/index.js +113 -0
- package/dist/node_modules/foreground-child/dist/esm/index.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/dist/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/dist/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
- package/dist/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/dist/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
- package/dist/node_modules/foreground-child/package.json +111 -0
- package/dist/node_modules/{cacache/node_modules/minimatch → fs-minipass/node_modules/minipass}/LICENSE +1 -1
- package/dist/node_modules/fs-minipass/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/glob/LICENSE +1 -7
- package/dist/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/dist/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/dist/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/dist/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/index.js +68 -0
- package/dist/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/package.json +3 -0
- package/dist/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/dist/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/dist/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/dist/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/dist/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/dist/node_modules/glob/dist/esm/bin.mjs +270 -0
- package/dist/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/dist/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/glob.js +243 -0
- package/dist/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/dist/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/ignore.js +115 -0
- package/dist/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/index.js +55 -0
- package/dist/node_modules/glob/dist/esm/index.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/package.json +3 -0
- package/dist/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/pattern.js +215 -0
- package/dist/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/processor.js +294 -0
- package/dist/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/dist/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/dist/node_modules/glob/dist/esm/walker.js +381 -0
- package/dist/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/dist/node_modules/glob/package.json +79 -35
- package/dist/node_modules/{agentkeepalive → http-proxy-agent}/LICENSE +2 -3
- package/dist/node_modules/http-proxy-agent/dist/index.d.ts.map +1 -0
- package/dist/node_modules/http-proxy-agent/dist/index.js +142 -8
- package/dist/node_modules/http-proxy-agent/dist/index.js.map +1 -1
- package/dist/node_modules/http-proxy-agent/package.json +22 -32
- package/dist/node_modules/https-proxy-agent/LICENSE +22 -0
- package/dist/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/dist/node_modules/https-proxy-agent/dist/index.js +169 -8
- package/dist/node_modules/https-proxy-agent/dist/index.js.map +1 -1
- package/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js +47 -12
- package/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -1
- package/dist/node_modules/https-proxy-agent/package.json +25 -31
- package/dist/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
- package/dist/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/dist/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
- package/dist/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
- package/dist/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
- package/dist/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/jackspeak/dist/esm/index.js +1000 -0
- package/dist/node_modules/jackspeak/dist/esm/index.js.map +1 -0
- package/dist/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/dist/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
- package/dist/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
- package/dist/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
- package/dist/node_modules/jackspeak/package.json +95 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/dist/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/dist/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/dist/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/dist/node_modules/lru-cache/package.json +66 -46
- package/dist/node_modules/make-fetch-happen/lib/cache/entry.js +28 -1
- package/dist/node_modules/make-fetch-happen/lib/options.js +2 -0
- package/dist/node_modules/make-fetch-happen/lib/remote.js +13 -3
- package/dist/node_modules/make-fetch-happen/package.json +19 -23
- package/dist/node_modules/minimatch/LICENSE +1 -1
- package/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/dist/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/dist/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/index.js +1017 -0
- package/dist/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/dist/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/dist/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/dist/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/dist/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/dist/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/index.js +1001 -0
- package/dist/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/package.json +3 -0
- package/dist/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/dist/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/dist/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/dist/node_modules/minimatch/package.json +62 -13
- package/dist/node_modules/minipass/LICENSE +1 -1
- package/dist/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/dist/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/dist/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/minipass/dist/esm/index.js +1018 -0
- package/dist/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/dist/node_modules/minipass/dist/esm/package.json +3 -0
- package/dist/node_modules/minipass/package.json +62 -36
- package/dist/node_modules/minipass-collect/LICENSE +1 -1
- package/dist/node_modules/minipass-collect/index.js +1 -1
- package/dist/node_modules/minipass-collect/package.json +7 -6
- package/dist/node_modules/minipass-fetch/lib/blob.js +1 -1
- package/dist/node_modules/minipass-fetch/lib/body.js +2 -2
- package/dist/node_modules/minipass-fetch/lib/index.js +16 -4
- package/dist/node_modules/minipass-fetch/lib/request.js +2 -1
- package/dist/node_modules/minipass-fetch/package.json +15 -13
- package/dist/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass-flush/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minipass-flush/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass-sized/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minipass-sized/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minizlib/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minizlib/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/ms/index.js +1 -1
- package/dist/node_modules/ms/package.json +4 -5
- package/dist/node_modules/node-gyp/.release-please-manifest.json +3 -0
- package/dist/node_modules/node-gyp/bin/node-gyp.js +27 -29
- package/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
- package/dist/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +12 -14
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +1 -1
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +3 -1
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +4 -2
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +67 -17
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +98 -5
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +5 -1
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +4 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +11 -15
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +4 -4
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +3 -6
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +10 -3
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +1 -4
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +3 -4
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +62 -31
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +47 -52
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +33 -5
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +12 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +2 -5
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +27 -42
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +12 -23
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +4 -5
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +20 -21
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +53 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +21 -20
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
- package/dist/node_modules/node-gyp/gyp/pyproject.toml +84 -5
- package/dist/node_modules/node-gyp/gyp/release-please-config.json +11 -0
- package/dist/node_modules/node-gyp/lib/build.js +110 -96
- package/dist/node_modules/node-gyp/lib/clean.js +5 -5
- package/dist/node_modules/node-gyp/lib/configure.js +172 -204
- package/dist/node_modules/node-gyp/lib/create-config-gypi.js +14 -11
- package/dist/node_modules/node-gyp/lib/download.js +39 -0
- package/dist/node_modules/node-gyp/lib/find-node-directory.js +5 -5
- package/dist/node_modules/node-gyp/lib/find-python.js +128 -162
- package/dist/node_modules/node-gyp/lib/find-visualstudio.js +260 -133
- package/dist/node_modules/node-gyp/lib/install.js +27 -70
- package/dist/node_modules/node-gyp/lib/list.js +14 -15
- package/dist/node_modules/node-gyp/lib/log.js +168 -0
- package/dist/node_modules/node-gyp/lib/node-gyp.js +147 -174
- package/dist/node_modules/node-gyp/lib/process-release.js +22 -23
- package/dist/node_modules/node-gyp/lib/rebuild.js +1 -2
- package/dist/node_modules/node-gyp/lib/remove.js +18 -21
- package/dist/node_modules/node-gyp/lib/util.js +62 -45
- package/dist/node_modules/{cacache/node_modules/glob → node-gyp/node_modules/isexe}/LICENSE +1 -1
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/index.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/index.js +46 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/index.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/options.d.ts.map +1 -0
- package/dist/node_modules/{@tootallnate/once/dist/types.js → node-gyp/node_modules/isexe/dist/cjs/options.js} +1 -1
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/options.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/package.json +3 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/posix.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/posix.js +67 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/posix.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/win32.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/win32.js +62 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/cjs/win32.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/index.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/index.js +16 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/index.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/options.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/options.js +2 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/options.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/package.json +3 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/posix.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/posix.js +62 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/posix.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/win32.d.ts.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/win32.js +57 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/mjs/win32.js.map +1 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/package.json +96 -0
- package/dist/node_modules/node-gyp/node_modules/which/bin/which.js +52 -0
- package/dist/node_modules/node-gyp/node_modules/which/lib/index.js +111 -0
- package/dist/node_modules/node-gyp/node_modules/which/package.json +57 -0
- package/dist/node_modules/node-gyp/package.json +12 -12
- package/dist/node_modules/node-gyp/release-please-config.json +40 -0
- package/dist/node_modules/nopt/bin/nopt.js +7 -34
- package/dist/node_modules/nopt/lib/debug.js +5 -0
- package/dist/node_modules/nopt/lib/nopt-lib.js +479 -0
- package/dist/node_modules/nopt/lib/nopt.js +21 -506
- package/dist/node_modules/nopt/lib/type-defs.js +91 -0
- package/dist/node_modules/nopt/package.json +13 -15
- package/dist/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/package-json-from-dist/dist/commonjs/index.js +124 -0
- package/dist/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/dist/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/package-json-from-dist/dist/esm/index.js +119 -0
- package/dist/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
- package/dist/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/dist/node_modules/package-json-from-dist/package.json +68 -0
- package/dist/node_modules/path-key/index.js +16 -0
- package/dist/node_modules/path-key/license +9 -0
- package/dist/node_modules/path-key/package.json +39 -0
- package/dist/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/dist/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/dist/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/path-scurry/dist/esm/index.js +1979 -0
- package/dist/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/dist/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/dist/node_modules/path-scurry/package.json +89 -0
- package/dist/node_modules/{inflight → proc-log}/LICENSE +1 -1
- package/dist/node_modules/proc-log/lib/index.js +153 -0
- package/dist/node_modules/proc-log/package.json +45 -0
- package/dist/node_modules/semver/bin/semver.js +5 -14
- package/dist/node_modules/semver/classes/range.js +4 -3
- package/dist/node_modules/semver/classes/semver.js +1 -1
- package/dist/node_modules/semver/functions/coerce.js +13 -5
- package/dist/node_modules/semver/internal/lrucache.js +40 -0
- package/dist/node_modules/semver/internal/re.js +7 -2
- package/dist/node_modules/semver/package.json +8 -18
- package/dist/node_modules/shebang-command/index.js +19 -0
- package/dist/node_modules/shebang-command/license +9 -0
- package/dist/node_modules/shebang-command/package.json +34 -0
- package/dist/node_modules/shebang-regex/index.js +2 -0
- package/dist/node_modules/shebang-regex/license +9 -0
- package/dist/node_modules/shebang-regex/package.json +35 -0
- package/dist/node_modules/signal-exit/LICENSE.txt +1 -1
- package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/dist/node_modules/signal-exit/package.json +87 -19
- package/dist/node_modules/socks/build/common/helpers.js +5 -1
- package/dist/node_modules/socks/build/common/helpers.js.map +1 -1
- package/dist/node_modules/socks/package.json +1 -1
- package/dist/node_modules/socks-proxy-agent/LICENSE +22 -0
- package/dist/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
- package/dist/node_modules/socks-proxy-agent/dist/index.js +134 -146
- package/dist/node_modules/socks-proxy-agent/dist/index.js.map +1 -1
- package/dist/node_modules/socks-proxy-agent/package.json +33 -72
- package/dist/node_modules/ssri/lib/index.js +158 -102
- package/dist/node_modules/ssri/package.json +14 -12
- package/dist/node_modules/string-width/index.js +26 -19
- package/dist/node_modules/string-width/license +1 -1
- package/dist/node_modules/string-width/package.json +12 -9
- package/dist/node_modules/string-width-cjs/index.js +47 -0
- package/dist/node_modules/string-width-cjs/license +9 -0
- package/dist/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +10 -0
- package/dist/node_modules/string-width-cjs/node_modules/ansi-regex/license +9 -0
- package/dist/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +55 -0
- package/dist/node_modules/{delegates/License → string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt} +1 -1
- package/dist/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/dist/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/dist/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +6 -0
- package/dist/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +50 -0
- package/dist/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +6 -0
- package/dist/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
- package/dist/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
- package/dist/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
- package/dist/node_modules/string-width-cjs/package.json +56 -0
- package/dist/node_modules/strip-ansi/index.js +13 -3
- package/dist/node_modules/strip-ansi/license +1 -1
- package/dist/node_modules/strip-ansi/package.json +10 -7
- package/dist/node_modules/strip-ansi-cjs/index.js +4 -0
- package/dist/node_modules/strip-ansi-cjs/license +9 -0
- package/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- package/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
- package/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- package/dist/node_modules/strip-ansi-cjs/package.json +54 -0
- package/dist/node_modules/unique-filename/package.json +12 -9
- package/dist/node_modules/unique-slug/package.json +10 -7
- package/dist/node_modules/wrap-ansi/index.js +214 -0
- package/dist/node_modules/wrap-ansi/license +9 -0
- package/dist/node_modules/wrap-ansi/package.json +69 -0
- package/dist/node_modules/wrap-ansi-cjs/index.js +216 -0
- package/dist/node_modules/wrap-ansi-cjs/license +9 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +9 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +163 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +9 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +56 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +6 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +50 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +6 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +47 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/license +9 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +56 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
- package/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
- package/dist/node_modules/wrap-ansi-cjs/package.json +62 -0
- package/dist/pnpm.cjs +161888 -155937
- package/dist/pnpmrc +0 -7
- package/dist/{scripts/bash.sh → templates/completion.bash} +2 -1
- package/dist/{scripts/fish.sh → templates/completion.fish} +1 -1
- package/dist/templates/completion.ps1 +193 -0
- package/dist/templates/completion.zsh +27 -0
- package/dist/worker.js +5462 -9749
- package/package.json +140 -6
- package/dist/node_modules/@gar/promisify/index.js +0 -36
- package/dist/node_modules/@gar/promisify/package.json +0 -32
- package/dist/node_modules/@npmcli/fs/lib/common/owner-sync.js +0 -96
- package/dist/node_modules/@npmcli/fs/lib/common/owner.js +0 -96
- package/dist/node_modules/@npmcli/fs/lib/copy-file.js +0 -16
- package/dist/node_modules/@npmcli/fs/lib/fs.js +0 -14
- package/dist/node_modules/@npmcli/fs/lib/mkdir.js +0 -19
- package/dist/node_modules/@npmcli/fs/lib/mkdtemp.js +0 -23
- package/dist/node_modules/@npmcli/fs/lib/rm/index.js +0 -22
- package/dist/node_modules/@npmcli/fs/lib/rm/polyfill.js +0 -239
- package/dist/node_modules/@npmcli/fs/lib/with-owner-sync.js +0 -21
- package/dist/node_modules/@npmcli/fs/lib/with-owner.js +0 -21
- package/dist/node_modules/@npmcli/fs/lib/write-file.js +0 -14
- package/dist/node_modules/@npmcli/move-file/lib/index.js +0 -185
- package/dist/node_modules/@npmcli/move-file/package.json +0 -47
- package/dist/node_modules/@tootallnate/once/LICENSE +0 -21
- package/dist/node_modules/@tootallnate/once/dist/index.js +0 -24
- package/dist/node_modules/@tootallnate/once/dist/index.js.map +0 -1
- package/dist/node_modules/@tootallnate/once/dist/overloaded-parameters.js +0 -3
- package/dist/node_modules/@tootallnate/once/dist/overloaded-parameters.js.map +0 -1
- package/dist/node_modules/@tootallnate/once/dist/types.js.map +0 -1
- package/dist/node_modules/@tootallnate/once/package.json +0 -52
- package/dist/node_modules/abbrev/abbrev.js +0 -61
- package/dist/node_modules/agent-base/dist/src/index.js +0 -203
- package/dist/node_modules/agent-base/dist/src/index.js.map +0 -1
- package/dist/node_modules/agent-base/dist/src/promisify.js +0 -18
- package/dist/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- package/dist/node_modules/agentkeepalive/browser.js +0 -5
- package/dist/node_modules/agentkeepalive/index.js +0 -5
- package/dist/node_modules/agentkeepalive/lib/agent.js +0 -402
- package/dist/node_modules/agentkeepalive/lib/constants.js +0 -14
- package/dist/node_modules/agentkeepalive/lib/https_agent.js +0 -51
- package/dist/node_modules/agentkeepalive/package.json +0 -56
- package/dist/node_modules/aproba/LICENSE +0 -14
- package/dist/node_modules/aproba/index.js +0 -105
- package/dist/node_modules/aproba/package.json +0 -35
- package/dist/node_modules/are-we-there-yet/lib/index.js +0 -4
- package/dist/node_modules/are-we-there-yet/lib/tracker-base.js +0 -11
- package/dist/node_modules/are-we-there-yet/lib/tracker-group.js +0 -116
- package/dist/node_modules/are-we-there-yet/lib/tracker-stream.js +0 -36
- package/dist/node_modules/are-we-there-yet/lib/tracker.js +0 -32
- package/dist/node_modules/are-we-there-yet/package.json +0 -56
- package/dist/node_modules/cacache/lib/util/fix-owner.js +0 -145
- package/dist/node_modules/cacache/lib/util/move-file.js +0 -56
- package/dist/node_modules/cacache/node_modules/brace-expansion/LICENSE +0 -21
- package/dist/node_modules/cacache/node_modules/brace-expansion/index.js +0 -203
- package/dist/node_modules/cacache/node_modules/brace-expansion/package.json +0 -46
- package/dist/node_modules/cacache/node_modules/glob/common.js +0 -244
- package/dist/node_modules/cacache/node_modules/glob/glob.js +0 -790
- package/dist/node_modules/cacache/node_modules/glob/package.json +0 -55
- package/dist/node_modules/cacache/node_modules/glob/sync.js +0 -486
- package/dist/node_modules/cacache/node_modules/minimatch/lib/path.js +0 -4
- package/dist/node_modules/cacache/node_modules/minimatch/minimatch.js +0 -944
- package/dist/node_modules/cacache/node_modules/minimatch/package.json +0 -35
- package/dist/node_modules/color-support/bin.js +0 -3
- package/dist/node_modules/color-support/browser.js +0 -14
- package/dist/node_modules/color-support/index.js +0 -134
- package/dist/node_modules/color-support/package.json +0 -36
- package/dist/node_modules/concat-map/LICENSE +0 -18
- package/dist/node_modules/concat-map/README.markdown +0 -62
- package/dist/node_modules/concat-map/index.js +0 -13
- package/dist/node_modules/concat-map/package.json +0 -43
- package/dist/node_modules/console-control-strings/LICENSE +0 -13
- package/dist/node_modules/console-control-strings/README.md~ +0 -140
- package/dist/node_modules/console-control-strings/index.js +0 -125
- package/dist/node_modules/console-control-strings/package.json +0 -27
- package/dist/node_modules/debug/node_modules/ms/index.js +0 -162
- package/dist/node_modules/debug/node_modules/ms/package.json +0 -37
- package/dist/node_modules/delegates/index.js +0 -121
- package/dist/node_modules/delegates/package.json +0 -13
- package/dist/node_modules/fs.realpath/LICENSE +0 -43
- package/dist/node_modules/fs.realpath/index.js +0 -66
- package/dist/node_modules/fs.realpath/old.js +0 -303
- package/dist/node_modules/fs.realpath/package.json +0 -26
- package/dist/node_modules/gauge/lib/base-theme.js +0 -18
- package/dist/node_modules/gauge/lib/error.js +0 -24
- package/dist/node_modules/gauge/lib/has-color.js +0 -4
- package/dist/node_modules/gauge/lib/index.js +0 -289
- package/dist/node_modules/gauge/lib/plumbing.js +0 -50
- package/dist/node_modules/gauge/lib/process.js +0 -3
- package/dist/node_modules/gauge/lib/progress-bar.js +0 -41
- package/dist/node_modules/gauge/lib/render-template.js +0 -222
- package/dist/node_modules/gauge/lib/set-immediate.js +0 -7
- package/dist/node_modules/gauge/lib/set-interval.js +0 -3
- package/dist/node_modules/gauge/lib/spin.js +0 -5
- package/dist/node_modules/gauge/lib/template-item.js +0 -87
- package/dist/node_modules/gauge/lib/theme-set.js +0 -122
- package/dist/node_modules/gauge/lib/themes.js +0 -56
- package/dist/node_modules/gauge/lib/wide-truncate.js +0 -31
- package/dist/node_modules/gauge/package.json +0 -66
- package/dist/node_modules/glob/common.js +0 -238
- package/dist/node_modules/glob/glob.js +0 -790
- package/dist/node_modules/glob/sync.js +0 -486
- package/dist/node_modules/has-unicode/LICENSE +0 -14
- package/dist/node_modules/has-unicode/index.js +0 -16
- package/dist/node_modules/has-unicode/package.json +0 -30
- package/dist/node_modules/http-proxy-agent/dist/agent.js +0 -145
- package/dist/node_modules/http-proxy-agent/dist/agent.js.map +0 -1
- package/dist/node_modules/https-proxy-agent/dist/agent.js +0 -177
- package/dist/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- package/dist/node_modules/humanize-ms/LICENSE +0 -17
- package/dist/node_modules/humanize-ms/index.js +0 -24
- package/dist/node_modules/humanize-ms/package.json +0 -37
- package/dist/node_modules/infer-owner/index.js +0 -71
- package/dist/node_modules/infer-owner/package.json +0 -26
- package/dist/node_modules/inflight/inflight.js +0 -54
- package/dist/node_modules/inflight/package.json +0 -29
- package/dist/node_modules/inherits/LICENSE +0 -16
- package/dist/node_modules/inherits/inherits.js +0 -9
- package/dist/node_modules/inherits/inherits_browser.js +0 -27
- package/dist/node_modules/inherits/package.json +0 -29
- package/dist/node_modules/lru-cache/index.js +0 -1227
- package/dist/node_modules/lru-cache/index.mjs +0 -1227
- package/dist/node_modules/make-fetch-happen/lib/agent.js +0 -214
- package/dist/node_modules/make-fetch-happen/lib/dns.js +0 -49
- package/dist/node_modules/minimatch/minimatch.js +0 -947
- package/dist/node_modules/node-gyp/.github/workflows/release-please-v9.yml +0 -57
- package/dist/node_modules/node-gyp/.github/workflows/release-please.yml +0 -56
- package/dist/node_modules/node-gyp/.github/workflows/tests.yml +0 -59
- package/dist/node_modules/node-gyp/.github/workflows/visual-studio.yml +0 -37
- package/dist/node_modules/node-gyp/gyp/.flake8 +0 -4
- package/dist/node_modules/node-gyp/gyp/.github/workflows/Python_tests.yml +0 -36
- package/dist/node_modules/node-gyp/gyp/.github/workflows/node-gyp.yml +0 -45
- package/dist/node_modules/node-gyp/gyp/.github/workflows/nodejs-windows.yml +0 -32
- package/dist/node_modules/node-gyp/gyp/.github/workflows/release-please.yml +0 -16
- package/dist/node_modules/node-gyp/gyp/tools/README +0 -15
- package/dist/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
- package/dist/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
- package/dist/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
- package/dist/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
- package/dist/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
- package/dist/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -275
- package/dist/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
- package/dist/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
- package/dist/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
- package/dist/node_modules/node-gyp/gyp/tools/graphviz.py +0 -102
- package/dist/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -156
- package/dist/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -181
- package/dist/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -339
- package/dist/node_modules/node-gyp/update-gyp.py +0 -64
- package/dist/node_modules/npmlog/lib/log.js +0 -404
- package/dist/node_modules/npmlog/package.json +0 -51
- package/dist/node_modules/once/once.js +0 -42
- package/dist/node_modules/once/package.json +0 -33
- package/dist/node_modules/path-is-absolute/index.js +0 -20
- package/dist/node_modules/path-is-absolute/license +0 -21
- package/dist/node_modules/path-is-absolute/package.json +0 -43
- package/dist/node_modules/promise-inflight/LICENSE +0 -14
- package/dist/node_modules/promise-inflight/inflight.js +0 -36
- package/dist/node_modules/promise-inflight/package.json +0 -24
- package/dist/node_modules/readable-stream/LICENSE +0 -47
- package/dist/node_modules/readable-stream/errors-browser.js +0 -127
- package/dist/node_modules/readable-stream/errors.js +0 -116
- package/dist/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/dist/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/dist/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/dist/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/dist/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/dist/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/dist/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/dist/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/dist/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/dist/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/dist/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/dist/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/dist/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/dist/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/dist/node_modules/readable-stream/package.json +0 -68
- package/dist/node_modules/readable-stream/readable-browser.js +0 -9
- package/dist/node_modules/readable-stream/readable.js +0 -16
- package/dist/node_modules/rimraf/LICENSE +0 -15
- package/dist/node_modules/rimraf/bin.js +0 -68
- package/dist/node_modules/rimraf/package.json +0 -32
- package/dist/node_modules/rimraf/rimraf.js +0 -360
- package/dist/node_modules/safe-buffer/index.js +0 -65
- package/dist/node_modules/safe-buffer/package.json +0 -51
- package/dist/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
- package/dist/node_modules/semver/node_modules/lru-cache/index.js +0 -334
- package/dist/node_modules/semver/node_modules/lru-cache/package.json +0 -34
- package/dist/node_modules/set-blocking/index.js +0 -7
- package/dist/node_modules/set-blocking/package.json +0 -42
- package/dist/node_modules/signal-exit/index.js +0 -202
- package/dist/node_modules/signal-exit/signals.js +0 -53
- package/dist/node_modules/string_decoder/LICENSE +0 -48
- package/dist/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/dist/node_modules/string_decoder/package.json +0 -34
- package/dist/node_modules/util-deprecate/LICENSE +0 -24
- package/dist/node_modules/util-deprecate/browser.js +0 -67
- package/dist/node_modules/util-deprecate/node.js +0 -6
- package/dist/node_modules/util-deprecate/package.json +0 -27
- package/dist/node_modules/wide-align/LICENSE +0 -14
- package/dist/node_modules/wide-align/align.js +0 -65
- package/dist/node_modules/wide-align/package.json +0 -33
- package/dist/node_modules/wrappy/LICENSE +0 -15
- package/dist/node_modules/wrappy/package.json +0 -29
- package/dist/node_modules/wrappy/wrappy.js +0 -33
- package/dist/scripts/zsh.sh +0 -18
- /package/dist/node_modules/@npmcli/fs/lib/{errors.js → cp/errors.js} +0 -0
- /package/dist/node_modules/{cacache/node_modules/brace-expansion → brace-expansion}/.github/FUNDING.yml +0 -0
- /package/dist/node_modules/{color-support → cacache/node_modules/fs-minipass}/LICENSE +0 -0
- /package/dist/node_modules/{minipass → fs-minipass/node_modules/minipass}/index.js +0 -0
- /package/dist/node_modules/{once → node-gyp/node_modules/which}/LICENSE +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
const conversions = require('./conversions');
|
|
2
|
+
const route = require('./route');
|
|
3
|
+
|
|
4
|
+
const convert = {};
|
|
5
|
+
|
|
6
|
+
const models = Object.keys(conversions);
|
|
7
|
+
|
|
8
|
+
function wrapRaw(fn) {
|
|
9
|
+
const wrappedFn = function (...args) {
|
|
10
|
+
const arg0 = args[0];
|
|
11
|
+
if (arg0 === undefined || arg0 === null) {
|
|
12
|
+
return arg0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (arg0.length > 1) {
|
|
16
|
+
args = arg0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return fn(args);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
// Preserve .conversion property if there is one
|
|
23
|
+
if ('conversion' in fn) {
|
|
24
|
+
wrappedFn.conversion = fn.conversion;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return wrappedFn;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function wrapRounded(fn) {
|
|
31
|
+
const wrappedFn = function (...args) {
|
|
32
|
+
const arg0 = args[0];
|
|
33
|
+
|
|
34
|
+
if (arg0 === undefined || arg0 === null) {
|
|
35
|
+
return arg0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (arg0.length > 1) {
|
|
39
|
+
args = arg0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const result = fn(args);
|
|
43
|
+
|
|
44
|
+
// We're assuming the result is an array here.
|
|
45
|
+
// see notice in conversions.js; don't use box types
|
|
46
|
+
// in conversion functions.
|
|
47
|
+
if (typeof result === 'object') {
|
|
48
|
+
for (let len = result.length, i = 0; i < len; i++) {
|
|
49
|
+
result[i] = Math.round(result[i]);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
return result;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
// Preserve .conversion property if there is one
|
|
57
|
+
if ('conversion' in fn) {
|
|
58
|
+
wrappedFn.conversion = fn.conversion;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return wrappedFn;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
models.forEach(fromModel => {
|
|
65
|
+
convert[fromModel] = {};
|
|
66
|
+
|
|
67
|
+
Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});
|
|
68
|
+
Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});
|
|
69
|
+
|
|
70
|
+
const routes = route(fromModel);
|
|
71
|
+
const routeModels = Object.keys(routes);
|
|
72
|
+
|
|
73
|
+
routeModels.forEach(toModel => {
|
|
74
|
+
const fn = routes[toModel];
|
|
75
|
+
|
|
76
|
+
convert[fromModel][toModel] = wrapRounded(fn);
|
|
77
|
+
convert[fromModel][toModel].raw = wrapRaw(fn);
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
module.exports = convert;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "color-convert",
|
|
3
|
+
"description": "Plain color conversion functions",
|
|
4
|
+
"version": "2.0.1",
|
|
5
|
+
"author": "Heather Arthur <fayearthur@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": "Qix-/color-convert",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"pretest": "xo",
|
|
10
|
+
"test": "node test/basic.js"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=7.0.0"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"color",
|
|
17
|
+
"colour",
|
|
18
|
+
"convert",
|
|
19
|
+
"converter",
|
|
20
|
+
"conversion",
|
|
21
|
+
"rgb",
|
|
22
|
+
"hsl",
|
|
23
|
+
"hsv",
|
|
24
|
+
"hwb",
|
|
25
|
+
"cmyk",
|
|
26
|
+
"ansi",
|
|
27
|
+
"ansi16"
|
|
28
|
+
],
|
|
29
|
+
"files": [
|
|
30
|
+
"index.js",
|
|
31
|
+
"conversions.js",
|
|
32
|
+
"route.js"
|
|
33
|
+
],
|
|
34
|
+
"xo": {
|
|
35
|
+
"rules": {
|
|
36
|
+
"default-case": 0,
|
|
37
|
+
"no-inline-comments": 0,
|
|
38
|
+
"operator-linebreak": 0
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"chalk": "^2.4.2",
|
|
43
|
+
"xo": "^0.24.0"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"color-name": "~1.1.4"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
const conversions = require('./conversions');
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
This function routes a model to all other models.
|
|
5
|
+
|
|
6
|
+
all functions that are routed have a property `.conversion` attached
|
|
7
|
+
to the returned synthetic function. This property is an array
|
|
8
|
+
of strings, each with the steps in between the 'from' and 'to'
|
|
9
|
+
color models (inclusive).
|
|
10
|
+
|
|
11
|
+
conversions that are not possible simply are not included.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
function buildGraph() {
|
|
15
|
+
const graph = {};
|
|
16
|
+
// https://jsperf.com/object-keys-vs-for-in-with-closure/3
|
|
17
|
+
const models = Object.keys(conversions);
|
|
18
|
+
|
|
19
|
+
for (let len = models.length, i = 0; i < len; i++) {
|
|
20
|
+
graph[models[i]] = {
|
|
21
|
+
// http://jsperf.com/1-vs-infinity
|
|
22
|
+
// micro-opt, but this is simple.
|
|
23
|
+
distance: -1,
|
|
24
|
+
parent: null
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return graph;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// https://en.wikipedia.org/wiki/Breadth-first_search
|
|
32
|
+
function deriveBFS(fromModel) {
|
|
33
|
+
const graph = buildGraph();
|
|
34
|
+
const queue = [fromModel]; // Unshift -> queue -> pop
|
|
35
|
+
|
|
36
|
+
graph[fromModel].distance = 0;
|
|
37
|
+
|
|
38
|
+
while (queue.length) {
|
|
39
|
+
const current = queue.pop();
|
|
40
|
+
const adjacents = Object.keys(conversions[current]);
|
|
41
|
+
|
|
42
|
+
for (let len = adjacents.length, i = 0; i < len; i++) {
|
|
43
|
+
const adjacent = adjacents[i];
|
|
44
|
+
const node = graph[adjacent];
|
|
45
|
+
|
|
46
|
+
if (node.distance === -1) {
|
|
47
|
+
node.distance = graph[current].distance + 1;
|
|
48
|
+
node.parent = current;
|
|
49
|
+
queue.unshift(adjacent);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return graph;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function link(from, to) {
|
|
58
|
+
return function (args) {
|
|
59
|
+
return to(from(args));
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function wrapConversion(toModel, graph) {
|
|
64
|
+
const path = [graph[toModel].parent, toModel];
|
|
65
|
+
let fn = conversions[graph[toModel].parent][toModel];
|
|
66
|
+
|
|
67
|
+
let cur = graph[toModel].parent;
|
|
68
|
+
while (graph[cur].parent) {
|
|
69
|
+
path.unshift(graph[cur].parent);
|
|
70
|
+
fn = link(conversions[graph[cur].parent][cur], fn);
|
|
71
|
+
cur = graph[cur].parent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
fn.conversion = path;
|
|
75
|
+
return fn;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
module.exports = function (fromModel) {
|
|
79
|
+
const graph = deriveBFS(fromModel);
|
|
80
|
+
const conversion = {};
|
|
81
|
+
|
|
82
|
+
const models = Object.keys(graph);
|
|
83
|
+
for (let len = models.length, i = 0; i < len; i++) {
|
|
84
|
+
const toModel = models[i];
|
|
85
|
+
const node = graph[toModel];
|
|
86
|
+
|
|
87
|
+
if (node.parent === null) {
|
|
88
|
+
// No possible conversion, or this node is the source model.
|
|
89
|
+
continue;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
conversion[toModel] = wrapConversion(toModel, graph);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return conversion;
|
|
96
|
+
};
|
|
97
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
Copyright (c) 2015 Dmitry Ivanov
|
|
3
|
+
|
|
4
|
+
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:
|
|
5
|
+
|
|
6
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
7
|
+
|
|
8
|
+
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,152 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
"aliceblue": [240, 248, 255],
|
|
5
|
+
"antiquewhite": [250, 235, 215],
|
|
6
|
+
"aqua": [0, 255, 255],
|
|
7
|
+
"aquamarine": [127, 255, 212],
|
|
8
|
+
"azure": [240, 255, 255],
|
|
9
|
+
"beige": [245, 245, 220],
|
|
10
|
+
"bisque": [255, 228, 196],
|
|
11
|
+
"black": [0, 0, 0],
|
|
12
|
+
"blanchedalmond": [255, 235, 205],
|
|
13
|
+
"blue": [0, 0, 255],
|
|
14
|
+
"blueviolet": [138, 43, 226],
|
|
15
|
+
"brown": [165, 42, 42],
|
|
16
|
+
"burlywood": [222, 184, 135],
|
|
17
|
+
"cadetblue": [95, 158, 160],
|
|
18
|
+
"chartreuse": [127, 255, 0],
|
|
19
|
+
"chocolate": [210, 105, 30],
|
|
20
|
+
"coral": [255, 127, 80],
|
|
21
|
+
"cornflowerblue": [100, 149, 237],
|
|
22
|
+
"cornsilk": [255, 248, 220],
|
|
23
|
+
"crimson": [220, 20, 60],
|
|
24
|
+
"cyan": [0, 255, 255],
|
|
25
|
+
"darkblue": [0, 0, 139],
|
|
26
|
+
"darkcyan": [0, 139, 139],
|
|
27
|
+
"darkgoldenrod": [184, 134, 11],
|
|
28
|
+
"darkgray": [169, 169, 169],
|
|
29
|
+
"darkgreen": [0, 100, 0],
|
|
30
|
+
"darkgrey": [169, 169, 169],
|
|
31
|
+
"darkkhaki": [189, 183, 107],
|
|
32
|
+
"darkmagenta": [139, 0, 139],
|
|
33
|
+
"darkolivegreen": [85, 107, 47],
|
|
34
|
+
"darkorange": [255, 140, 0],
|
|
35
|
+
"darkorchid": [153, 50, 204],
|
|
36
|
+
"darkred": [139, 0, 0],
|
|
37
|
+
"darksalmon": [233, 150, 122],
|
|
38
|
+
"darkseagreen": [143, 188, 143],
|
|
39
|
+
"darkslateblue": [72, 61, 139],
|
|
40
|
+
"darkslategray": [47, 79, 79],
|
|
41
|
+
"darkslategrey": [47, 79, 79],
|
|
42
|
+
"darkturquoise": [0, 206, 209],
|
|
43
|
+
"darkviolet": [148, 0, 211],
|
|
44
|
+
"deeppink": [255, 20, 147],
|
|
45
|
+
"deepskyblue": [0, 191, 255],
|
|
46
|
+
"dimgray": [105, 105, 105],
|
|
47
|
+
"dimgrey": [105, 105, 105],
|
|
48
|
+
"dodgerblue": [30, 144, 255],
|
|
49
|
+
"firebrick": [178, 34, 34],
|
|
50
|
+
"floralwhite": [255, 250, 240],
|
|
51
|
+
"forestgreen": [34, 139, 34],
|
|
52
|
+
"fuchsia": [255, 0, 255],
|
|
53
|
+
"gainsboro": [220, 220, 220],
|
|
54
|
+
"ghostwhite": [248, 248, 255],
|
|
55
|
+
"gold": [255, 215, 0],
|
|
56
|
+
"goldenrod": [218, 165, 32],
|
|
57
|
+
"gray": [128, 128, 128],
|
|
58
|
+
"green": [0, 128, 0],
|
|
59
|
+
"greenyellow": [173, 255, 47],
|
|
60
|
+
"grey": [128, 128, 128],
|
|
61
|
+
"honeydew": [240, 255, 240],
|
|
62
|
+
"hotpink": [255, 105, 180],
|
|
63
|
+
"indianred": [205, 92, 92],
|
|
64
|
+
"indigo": [75, 0, 130],
|
|
65
|
+
"ivory": [255, 255, 240],
|
|
66
|
+
"khaki": [240, 230, 140],
|
|
67
|
+
"lavender": [230, 230, 250],
|
|
68
|
+
"lavenderblush": [255, 240, 245],
|
|
69
|
+
"lawngreen": [124, 252, 0],
|
|
70
|
+
"lemonchiffon": [255, 250, 205],
|
|
71
|
+
"lightblue": [173, 216, 230],
|
|
72
|
+
"lightcoral": [240, 128, 128],
|
|
73
|
+
"lightcyan": [224, 255, 255],
|
|
74
|
+
"lightgoldenrodyellow": [250, 250, 210],
|
|
75
|
+
"lightgray": [211, 211, 211],
|
|
76
|
+
"lightgreen": [144, 238, 144],
|
|
77
|
+
"lightgrey": [211, 211, 211],
|
|
78
|
+
"lightpink": [255, 182, 193],
|
|
79
|
+
"lightsalmon": [255, 160, 122],
|
|
80
|
+
"lightseagreen": [32, 178, 170],
|
|
81
|
+
"lightskyblue": [135, 206, 250],
|
|
82
|
+
"lightslategray": [119, 136, 153],
|
|
83
|
+
"lightslategrey": [119, 136, 153],
|
|
84
|
+
"lightsteelblue": [176, 196, 222],
|
|
85
|
+
"lightyellow": [255, 255, 224],
|
|
86
|
+
"lime": [0, 255, 0],
|
|
87
|
+
"limegreen": [50, 205, 50],
|
|
88
|
+
"linen": [250, 240, 230],
|
|
89
|
+
"magenta": [255, 0, 255],
|
|
90
|
+
"maroon": [128, 0, 0],
|
|
91
|
+
"mediumaquamarine": [102, 205, 170],
|
|
92
|
+
"mediumblue": [0, 0, 205],
|
|
93
|
+
"mediumorchid": [186, 85, 211],
|
|
94
|
+
"mediumpurple": [147, 112, 219],
|
|
95
|
+
"mediumseagreen": [60, 179, 113],
|
|
96
|
+
"mediumslateblue": [123, 104, 238],
|
|
97
|
+
"mediumspringgreen": [0, 250, 154],
|
|
98
|
+
"mediumturquoise": [72, 209, 204],
|
|
99
|
+
"mediumvioletred": [199, 21, 133],
|
|
100
|
+
"midnightblue": [25, 25, 112],
|
|
101
|
+
"mintcream": [245, 255, 250],
|
|
102
|
+
"mistyrose": [255, 228, 225],
|
|
103
|
+
"moccasin": [255, 228, 181],
|
|
104
|
+
"navajowhite": [255, 222, 173],
|
|
105
|
+
"navy": [0, 0, 128],
|
|
106
|
+
"oldlace": [253, 245, 230],
|
|
107
|
+
"olive": [128, 128, 0],
|
|
108
|
+
"olivedrab": [107, 142, 35],
|
|
109
|
+
"orange": [255, 165, 0],
|
|
110
|
+
"orangered": [255, 69, 0],
|
|
111
|
+
"orchid": [218, 112, 214],
|
|
112
|
+
"palegoldenrod": [238, 232, 170],
|
|
113
|
+
"palegreen": [152, 251, 152],
|
|
114
|
+
"paleturquoise": [175, 238, 238],
|
|
115
|
+
"palevioletred": [219, 112, 147],
|
|
116
|
+
"papayawhip": [255, 239, 213],
|
|
117
|
+
"peachpuff": [255, 218, 185],
|
|
118
|
+
"peru": [205, 133, 63],
|
|
119
|
+
"pink": [255, 192, 203],
|
|
120
|
+
"plum": [221, 160, 221],
|
|
121
|
+
"powderblue": [176, 224, 230],
|
|
122
|
+
"purple": [128, 0, 128],
|
|
123
|
+
"rebeccapurple": [102, 51, 153],
|
|
124
|
+
"red": [255, 0, 0],
|
|
125
|
+
"rosybrown": [188, 143, 143],
|
|
126
|
+
"royalblue": [65, 105, 225],
|
|
127
|
+
"saddlebrown": [139, 69, 19],
|
|
128
|
+
"salmon": [250, 128, 114],
|
|
129
|
+
"sandybrown": [244, 164, 96],
|
|
130
|
+
"seagreen": [46, 139, 87],
|
|
131
|
+
"seashell": [255, 245, 238],
|
|
132
|
+
"sienna": [160, 82, 45],
|
|
133
|
+
"silver": [192, 192, 192],
|
|
134
|
+
"skyblue": [135, 206, 235],
|
|
135
|
+
"slateblue": [106, 90, 205],
|
|
136
|
+
"slategray": [112, 128, 144],
|
|
137
|
+
"slategrey": [112, 128, 144],
|
|
138
|
+
"snow": [255, 250, 250],
|
|
139
|
+
"springgreen": [0, 255, 127],
|
|
140
|
+
"steelblue": [70, 130, 180],
|
|
141
|
+
"tan": [210, 180, 140],
|
|
142
|
+
"teal": [0, 128, 128],
|
|
143
|
+
"thistle": [216, 191, 216],
|
|
144
|
+
"tomato": [255, 99, 71],
|
|
145
|
+
"turquoise": [64, 224, 208],
|
|
146
|
+
"violet": [238, 130, 238],
|
|
147
|
+
"wheat": [245, 222, 179],
|
|
148
|
+
"white": [255, 255, 255],
|
|
149
|
+
"whitesmoke": [245, 245, 245],
|
|
150
|
+
"yellow": [255, 255, 0],
|
|
151
|
+
"yellowgreen": [154, 205, 50]
|
|
152
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "color-name",
|
|
3
|
+
"version": "1.1.4",
|
|
4
|
+
"description": "A list of color names and its values",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.js"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "node test.js"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git@github.com:colorjs/color-name.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"color-name",
|
|
18
|
+
"color",
|
|
19
|
+
"color-keyword",
|
|
20
|
+
"keyword"
|
|
21
|
+
],
|
|
22
|
+
"author": "DY <dfcreative@gmail.com>",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/colorjs/color-name/issues"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/colorjs/color-name"
|
|
28
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2018 Made With MOXY Lda <hello@moxy.studio>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const cp = require('child_process');
|
|
4
|
+
const parse = require('./lib/parse');
|
|
5
|
+
const enoent = require('./lib/enoent');
|
|
6
|
+
|
|
7
|
+
function spawn(command, args, options) {
|
|
8
|
+
// Parse the arguments
|
|
9
|
+
const parsed = parse(command, args, options);
|
|
10
|
+
|
|
11
|
+
// Spawn the child process
|
|
12
|
+
const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
|
|
13
|
+
|
|
14
|
+
// Hook into child process "exit" event to emit an error if the command
|
|
15
|
+
// does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16
|
|
16
|
+
enoent.hookChildProcess(spawned, parsed);
|
|
17
|
+
|
|
18
|
+
return spawned;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function spawnSync(command, args, options) {
|
|
22
|
+
// Parse the arguments
|
|
23
|
+
const parsed = parse(command, args, options);
|
|
24
|
+
|
|
25
|
+
// Spawn the child process
|
|
26
|
+
const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
27
|
+
|
|
28
|
+
// Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16
|
|
29
|
+
result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
|
|
30
|
+
|
|
31
|
+
return result;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
module.exports = spawn;
|
|
35
|
+
module.exports.spawn = spawn;
|
|
36
|
+
module.exports.sync = spawnSync;
|
|
37
|
+
|
|
38
|
+
module.exports._parse = parse;
|
|
39
|
+
module.exports._enoent = enoent;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const isWin = process.platform === 'win32';
|
|
4
|
+
|
|
5
|
+
function notFoundError(original, syscall) {
|
|
6
|
+
return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
|
|
7
|
+
code: 'ENOENT',
|
|
8
|
+
errno: 'ENOENT',
|
|
9
|
+
syscall: `${syscall} ${original.command}`,
|
|
10
|
+
path: original.command,
|
|
11
|
+
spawnargs: original.args,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function hookChildProcess(cp, parsed) {
|
|
16
|
+
if (!isWin) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const originalEmit = cp.emit;
|
|
21
|
+
|
|
22
|
+
cp.emit = function (name, arg1) {
|
|
23
|
+
// If emitting "exit" event and exit code is 1, we need to check if
|
|
24
|
+
// the command exists and emit an "error" instead
|
|
25
|
+
// See https://github.com/IndigoUnited/node-cross-spawn/issues/16
|
|
26
|
+
if (name === 'exit') {
|
|
27
|
+
const err = verifyENOENT(arg1, parsed, 'spawn');
|
|
28
|
+
|
|
29
|
+
if (err) {
|
|
30
|
+
return originalEmit.call(cp, 'error', err);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function verifyENOENT(status, parsed) {
|
|
39
|
+
if (isWin && status === 1 && !parsed.file) {
|
|
40
|
+
return notFoundError(parsed.original, 'spawn');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function verifyENOENTSync(status, parsed) {
|
|
47
|
+
if (isWin && status === 1 && !parsed.file) {
|
|
48
|
+
return notFoundError(parsed.original, 'spawnSync');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
module.exports = {
|
|
55
|
+
hookChildProcess,
|
|
56
|
+
verifyENOENT,
|
|
57
|
+
verifyENOENTSync,
|
|
58
|
+
notFoundError,
|
|
59
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const path = require('path');
|
|
4
|
+
const resolveCommand = require('./util/resolveCommand');
|
|
5
|
+
const escape = require('./util/escape');
|
|
6
|
+
const readShebang = require('./util/readShebang');
|
|
7
|
+
|
|
8
|
+
const isWin = process.platform === 'win32';
|
|
9
|
+
const isExecutableRegExp = /\.(?:com|exe)$/i;
|
|
10
|
+
const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
11
|
+
|
|
12
|
+
function detectShebang(parsed) {
|
|
13
|
+
parsed.file = resolveCommand(parsed);
|
|
14
|
+
|
|
15
|
+
const shebang = parsed.file && readShebang(parsed.file);
|
|
16
|
+
|
|
17
|
+
if (shebang) {
|
|
18
|
+
parsed.args.unshift(parsed.file);
|
|
19
|
+
parsed.command = shebang;
|
|
20
|
+
|
|
21
|
+
return resolveCommand(parsed);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return parsed.file;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function parseNonShell(parsed) {
|
|
28
|
+
if (!isWin) {
|
|
29
|
+
return parsed;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Detect & add support for shebangs
|
|
33
|
+
const commandFile = detectShebang(parsed);
|
|
34
|
+
|
|
35
|
+
// We don't need a shell if the command filename is an executable
|
|
36
|
+
const needsShell = !isExecutableRegExp.test(commandFile);
|
|
37
|
+
|
|
38
|
+
// If a shell is required, use cmd.exe and take care of escaping everything correctly
|
|
39
|
+
// Note that `forceShell` is an hidden option used only in tests
|
|
40
|
+
if (parsed.options.forceShell || needsShell) {
|
|
41
|
+
// Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`
|
|
42
|
+
// The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument
|
|
43
|
+
// Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,
|
|
44
|
+
// we need to double escape them
|
|
45
|
+
const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
|
|
46
|
+
|
|
47
|
+
// Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\bar)
|
|
48
|
+
// This is necessary otherwise it will always fail with ENOENT in those cases
|
|
49
|
+
parsed.command = path.normalize(parsed.command);
|
|
50
|
+
|
|
51
|
+
// Escape command & arguments
|
|
52
|
+
parsed.command = escape.command(parsed.command);
|
|
53
|
+
parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
|
|
54
|
+
|
|
55
|
+
const shellCommand = [parsed.command].concat(parsed.args).join(' ');
|
|
56
|
+
|
|
57
|
+
parsed.args = ['/d', '/s', '/c', `"${shellCommand}"`];
|
|
58
|
+
parsed.command = process.env.comspec || 'cmd.exe';
|
|
59
|
+
parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return parsed;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function parse(command, args, options) {
|
|
66
|
+
// Normalize arguments, similar to nodejs
|
|
67
|
+
if (args && !Array.isArray(args)) {
|
|
68
|
+
options = args;
|
|
69
|
+
args = null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
args = args ? args.slice(0) : []; // Clone array to avoid changing the original
|
|
73
|
+
options = Object.assign({}, options); // Clone object to avoid changing the original
|
|
74
|
+
|
|
75
|
+
// Build our parsed object
|
|
76
|
+
const parsed = {
|
|
77
|
+
command,
|
|
78
|
+
args,
|
|
79
|
+
options,
|
|
80
|
+
file: undefined,
|
|
81
|
+
original: {
|
|
82
|
+
command,
|
|
83
|
+
args,
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
// Delegate further parsing to shell or non-shell
|
|
88
|
+
return options.shell ? parsed : parseNonShell(parsed);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
module.exports = parse;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// See http://www.robvanderwoude.com/escapechars.php
|
|
4
|
+
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
5
|
+
|
|
6
|
+
function escapeCommand(arg) {
|
|
7
|
+
// Escape meta chars
|
|
8
|
+
arg = arg.replace(metaCharsRegExp, '^$1');
|
|
9
|
+
|
|
10
|
+
return arg;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
14
|
+
// Convert to string
|
|
15
|
+
arg = `${arg}`;
|
|
16
|
+
|
|
17
|
+
// Algorithm below is based on https://qntm.org/cmd
|
|
18
|
+
|
|
19
|
+
// Sequence of backslashes followed by a double quote:
|
|
20
|
+
// double up all the backslashes and escape the double quote
|
|
21
|
+
arg = arg.replace(/(\\*)"/g, '$1$1\\"');
|
|
22
|
+
|
|
23
|
+
// Sequence of backslashes followed by the end of the string
|
|
24
|
+
// (which will become a double quote later):
|
|
25
|
+
// double up all the backslashes
|
|
26
|
+
arg = arg.replace(/(\\*)$/, '$1$1');
|
|
27
|
+
|
|
28
|
+
// All other backslashes occur literally
|
|
29
|
+
|
|
30
|
+
// Quote the whole thing:
|
|
31
|
+
arg = `"${arg}"`;
|
|
32
|
+
|
|
33
|
+
// Escape meta chars
|
|
34
|
+
arg = arg.replace(metaCharsRegExp, '^$1');
|
|
35
|
+
|
|
36
|
+
// Double escape meta chars if necessary
|
|
37
|
+
if (doubleEscapeMetaChars) {
|
|
38
|
+
arg = arg.replace(metaCharsRegExp, '^$1');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return arg;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
module.exports.command = escapeCommand;
|
|
45
|
+
module.exports.argument = escapeArgument;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const shebangCommand = require('shebang-command');
|
|
5
|
+
|
|
6
|
+
function readShebang(command) {
|
|
7
|
+
// Read the first 150 bytes from the file
|
|
8
|
+
const size = 150;
|
|
9
|
+
const buffer = Buffer.alloc(size);
|
|
10
|
+
|
|
11
|
+
let fd;
|
|
12
|
+
|
|
13
|
+
try {
|
|
14
|
+
fd = fs.openSync(command, 'r');
|
|
15
|
+
fs.readSync(fd, buffer, 0, size, 0);
|
|
16
|
+
fs.closeSync(fd);
|
|
17
|
+
} catch (e) { /* Empty */ }
|
|
18
|
+
|
|
19
|
+
// Attempt to extract shebang (null is returned if not a shebang)
|
|
20
|
+
return shebangCommand(buffer.toString());
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
module.exports = readShebang;
|