pxnpm 5.0.0 → 6.0.1
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 +144 -10
- 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,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "strip-ansi",
|
|
3
|
+
"version": "6.0.1",
|
|
4
|
+
"description": "Strip ANSI escape codes from a string",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "chalk/strip-ansi",
|
|
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
|
+
"strip",
|
|
24
|
+
"trim",
|
|
25
|
+
"remove",
|
|
26
|
+
"ansi",
|
|
27
|
+
"styles",
|
|
28
|
+
"color",
|
|
29
|
+
"colour",
|
|
30
|
+
"colors",
|
|
31
|
+
"terminal",
|
|
32
|
+
"console",
|
|
33
|
+
"string",
|
|
34
|
+
"tty",
|
|
35
|
+
"escape",
|
|
36
|
+
"formatting",
|
|
37
|
+
"rgb",
|
|
38
|
+
"256",
|
|
39
|
+
"shell",
|
|
40
|
+
"xterm",
|
|
41
|
+
"log",
|
|
42
|
+
"logging",
|
|
43
|
+
"command-line",
|
|
44
|
+
"text"
|
|
45
|
+
],
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"ansi-regex": "^5.0.1"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"ava": "^2.4.0",
|
|
51
|
+
"tsd": "^0.10.0",
|
|
52
|
+
"xo": "^0.25.3"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unique-filename",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Generate a unique filename for use in temporary directories or caches.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
"postlint": "template-oss-check",
|
|
10
10
|
"template-oss-apply": "template-oss-apply --force",
|
|
11
11
|
"lintfix": "npm run lint -- --fix",
|
|
12
|
-
"preversion": "npm test",
|
|
13
|
-
"postversion": "npm publish",
|
|
14
|
-
"prepublishOnly": "git push origin --follow-tags",
|
|
15
12
|
"snap": "tap",
|
|
16
13
|
"posttest": "npm run lint"
|
|
17
14
|
},
|
|
@@ -27,22 +24,28 @@
|
|
|
27
24
|
},
|
|
28
25
|
"homepage": "https://github.com/iarna/unique-filename",
|
|
29
26
|
"devDependencies": {
|
|
30
|
-
"@npmcli/eslint-config": "^
|
|
31
|
-
"@npmcli/template-oss": "
|
|
27
|
+
"@npmcli/eslint-config": "^4.0.0",
|
|
28
|
+
"@npmcli/template-oss": "4.5.1",
|
|
32
29
|
"tap": "^16.3.0"
|
|
33
30
|
},
|
|
34
31
|
"dependencies": {
|
|
35
|
-
"unique-slug": "^
|
|
32
|
+
"unique-slug": "^4.0.0"
|
|
36
33
|
},
|
|
37
34
|
"files": [
|
|
38
35
|
"bin/",
|
|
39
36
|
"lib/"
|
|
40
37
|
],
|
|
41
38
|
"engines": {
|
|
42
|
-
"node": "^
|
|
39
|
+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
43
40
|
},
|
|
44
41
|
"templateOSS": {
|
|
45
42
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
46
|
-
"version": "
|
|
43
|
+
"version": "4.5.1"
|
|
44
|
+
},
|
|
45
|
+
"tap": {
|
|
46
|
+
"nyc-arg": [
|
|
47
|
+
"--exclude",
|
|
48
|
+
"tap-snapshots/**"
|
|
49
|
+
]
|
|
47
50
|
}
|
|
48
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unique-slug",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Generate a unique character string suitible for use in files and URLs.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
"postlint": "template-oss-check",
|
|
10
10
|
"template-oss-apply": "template-oss-apply --force",
|
|
11
11
|
"lintfix": "npm run lint -- --fix",
|
|
12
|
-
"preversion": "npm test",
|
|
13
|
-
"postversion": "npm publish",
|
|
14
|
-
"prepublishOnly": "git push origin --follow-tags",
|
|
15
12
|
"snap": "tap",
|
|
16
13
|
"posttest": "npm run lint"
|
|
17
14
|
},
|
|
@@ -20,7 +17,7 @@
|
|
|
20
17
|
"license": "ISC",
|
|
21
18
|
"devDependencies": {
|
|
22
19
|
"@npmcli/eslint-config": "^3.1.0",
|
|
23
|
-
"@npmcli/template-oss": "
|
|
20
|
+
"@npmcli/template-oss": "4.5.1",
|
|
24
21
|
"tap": "^16.3.0"
|
|
25
22
|
},
|
|
26
23
|
"repository": {
|
|
@@ -35,10 +32,16 @@
|
|
|
35
32
|
"lib/"
|
|
36
33
|
],
|
|
37
34
|
"engines": {
|
|
38
|
-
"node": "^
|
|
35
|
+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
39
36
|
},
|
|
40
37
|
"templateOSS": {
|
|
41
38
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
42
|
-
"version": "
|
|
39
|
+
"version": "4.5.1"
|
|
40
|
+
},
|
|
41
|
+
"tap": {
|
|
42
|
+
"nyc-arg": [
|
|
43
|
+
"--exclude",
|
|
44
|
+
"tap-snapshots/**"
|
|
45
|
+
]
|
|
43
46
|
}
|
|
44
47
|
}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import stringWidth from 'string-width';
|
|
2
|
+
import stripAnsi from 'strip-ansi';
|
|
3
|
+
import ansiStyles from 'ansi-styles';
|
|
4
|
+
|
|
5
|
+
const ESCAPES = new Set([
|
|
6
|
+
'\u001B',
|
|
7
|
+
'\u009B',
|
|
8
|
+
]);
|
|
9
|
+
|
|
10
|
+
const END_CODE = 39;
|
|
11
|
+
const ANSI_ESCAPE_BELL = '\u0007';
|
|
12
|
+
const ANSI_CSI = '[';
|
|
13
|
+
const ANSI_OSC = ']';
|
|
14
|
+
const ANSI_SGR_TERMINATOR = 'm';
|
|
15
|
+
const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
16
|
+
|
|
17
|
+
const wrapAnsiCode = code => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
18
|
+
const wrapAnsiHyperlink = uri => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`;
|
|
19
|
+
|
|
20
|
+
// Calculate the length of words split on ' ', ignoring
|
|
21
|
+
// the extra characters added by ansi escape codes
|
|
22
|
+
const wordLengths = string => string.split(' ').map(character => stringWidth(character));
|
|
23
|
+
|
|
24
|
+
// Wrap a long word across multiple rows
|
|
25
|
+
// Ansi escape codes do not count towards length
|
|
26
|
+
const wrapWord = (rows, word, columns) => {
|
|
27
|
+
const characters = [...word];
|
|
28
|
+
|
|
29
|
+
let isInsideEscape = false;
|
|
30
|
+
let isInsideLinkEscape = false;
|
|
31
|
+
let visible = stringWidth(stripAnsi(rows[rows.length - 1]));
|
|
32
|
+
|
|
33
|
+
for (const [index, character] of characters.entries()) {
|
|
34
|
+
const characterLength = stringWidth(character);
|
|
35
|
+
|
|
36
|
+
if (visible + characterLength <= columns) {
|
|
37
|
+
rows[rows.length - 1] += character;
|
|
38
|
+
} else {
|
|
39
|
+
rows.push(character);
|
|
40
|
+
visible = 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (ESCAPES.has(character)) {
|
|
44
|
+
isInsideEscape = true;
|
|
45
|
+
isInsideLinkEscape = characters.slice(index + 1).join('').startsWith(ANSI_ESCAPE_LINK);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (isInsideEscape) {
|
|
49
|
+
if (isInsideLinkEscape) {
|
|
50
|
+
if (character === ANSI_ESCAPE_BELL) {
|
|
51
|
+
isInsideEscape = false;
|
|
52
|
+
isInsideLinkEscape = false;
|
|
53
|
+
}
|
|
54
|
+
} else if (character === ANSI_SGR_TERMINATOR) {
|
|
55
|
+
isInsideEscape = false;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
visible += characterLength;
|
|
62
|
+
|
|
63
|
+
if (visible === columns && index < characters.length - 1) {
|
|
64
|
+
rows.push('');
|
|
65
|
+
visible = 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// It's possible that the last row we copy over is only
|
|
70
|
+
// ansi escape characters, handle this edge-case
|
|
71
|
+
if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
|
|
72
|
+
rows[rows.length - 2] += rows.pop();
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Trims spaces from a string ignoring invisible sequences
|
|
77
|
+
const stringVisibleTrimSpacesRight = string => {
|
|
78
|
+
const words = string.split(' ');
|
|
79
|
+
let last = words.length;
|
|
80
|
+
|
|
81
|
+
while (last > 0) {
|
|
82
|
+
if (stringWidth(words[last - 1]) > 0) {
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
last--;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (last === words.length) {
|
|
90
|
+
return string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return words.slice(0, last).join(' ') + words.slice(last).join('');
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
// The wrap-ansi module can be invoked in either 'hard' or 'soft' wrap mode
|
|
97
|
+
//
|
|
98
|
+
// 'hard' will never allow a string to take up more than columns characters
|
|
99
|
+
//
|
|
100
|
+
// 'soft' allows long words to expand past the column length
|
|
101
|
+
const exec = (string, columns, options = {}) => {
|
|
102
|
+
if (options.trim !== false && string.trim() === '') {
|
|
103
|
+
return '';
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
let returnValue = '';
|
|
107
|
+
let escapeCode;
|
|
108
|
+
let escapeUrl;
|
|
109
|
+
|
|
110
|
+
const lengths = wordLengths(string);
|
|
111
|
+
let rows = [''];
|
|
112
|
+
|
|
113
|
+
for (const [index, word] of string.split(' ').entries()) {
|
|
114
|
+
if (options.trim !== false) {
|
|
115
|
+
rows[rows.length - 1] = rows[rows.length - 1].trimStart();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
let rowLength = stringWidth(rows[rows.length - 1]);
|
|
119
|
+
|
|
120
|
+
if (index !== 0) {
|
|
121
|
+
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
122
|
+
// If we start with a new word but the current row length equals the length of the columns, add a new row
|
|
123
|
+
rows.push('');
|
|
124
|
+
rowLength = 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (rowLength > 0 || options.trim === false) {
|
|
128
|
+
rows[rows.length - 1] += ' ';
|
|
129
|
+
rowLength++;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// In 'hard' wrap mode, the length of a line is never allowed to extend past 'columns'
|
|
134
|
+
if (options.hard && lengths[index] > columns) {
|
|
135
|
+
const remainingColumns = (columns - rowLength);
|
|
136
|
+
const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
|
|
137
|
+
const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
|
|
138
|
+
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
139
|
+
rows.push('');
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
wrapWord(rows, word, columns);
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
|
|
147
|
+
if (options.wordWrap === false && rowLength < columns) {
|
|
148
|
+
wrapWord(rows, word, columns);
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
rows.push('');
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (rowLength + lengths[index] > columns && options.wordWrap === false) {
|
|
156
|
+
wrapWord(rows, word, columns);
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
rows[rows.length - 1] += word;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
if (options.trim !== false) {
|
|
164
|
+
rows = rows.map(row => stringVisibleTrimSpacesRight(row));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
const pre = [...rows.join('\n')];
|
|
168
|
+
|
|
169
|
+
for (const [index, character] of pre.entries()) {
|
|
170
|
+
returnValue += character;
|
|
171
|
+
|
|
172
|
+
if (ESCAPES.has(character)) {
|
|
173
|
+
const {groups} = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join('')) || {groups: {}};
|
|
174
|
+
if (groups.code !== undefined) {
|
|
175
|
+
const code = Number.parseFloat(groups.code);
|
|
176
|
+
escapeCode = code === END_CODE ? undefined : code;
|
|
177
|
+
} else if (groups.uri !== undefined) {
|
|
178
|
+
escapeUrl = groups.uri.length === 0 ? undefined : groups.uri;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
const code = ansiStyles.codes.get(Number(escapeCode));
|
|
183
|
+
|
|
184
|
+
if (pre[index + 1] === '\n') {
|
|
185
|
+
if (escapeUrl) {
|
|
186
|
+
returnValue += wrapAnsiHyperlink('');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (escapeCode && code) {
|
|
190
|
+
returnValue += wrapAnsiCode(code);
|
|
191
|
+
}
|
|
192
|
+
} else if (character === '\n') {
|
|
193
|
+
if (escapeCode && code) {
|
|
194
|
+
returnValue += wrapAnsiCode(escapeCode);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (escapeUrl) {
|
|
198
|
+
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
return returnValue;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
// For each newline, invoke the method separately
|
|
207
|
+
export default function wrapAnsi(string, columns, options) {
|
|
208
|
+
return String(string)
|
|
209
|
+
.normalize()
|
|
210
|
+
.replace(/\r\n/g, '\n')
|
|
211
|
+
.split('\n')
|
|
212
|
+
.map(line => exec(line, columns, options))
|
|
213
|
+
.join('\n');
|
|
214
|
+
}
|
|
@@ -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,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wrap-ansi",
|
|
3
|
+
"version": "8.1.0",
|
|
4
|
+
"description": "Wordwrap a string with ANSI escape codes",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "chalk/wrap-ansi",
|
|
7
|
+
"funding": "https://github.com/chalk/wrap-ansi?sponsor=1",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Sindre Sorhus",
|
|
10
|
+
"email": "sindresorhus@gmail.com",
|
|
11
|
+
"url": "https://sindresorhus.com"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
|
+
"default": "./index.js"
|
|
17
|
+
},
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=12"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"test": "xo && nyc ava && tsd"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"index.js",
|
|
26
|
+
"index.d.ts"
|
|
27
|
+
],
|
|
28
|
+
"keywords": [
|
|
29
|
+
"wrap",
|
|
30
|
+
"break",
|
|
31
|
+
"wordwrap",
|
|
32
|
+
"wordbreak",
|
|
33
|
+
"linewrap",
|
|
34
|
+
"ansi",
|
|
35
|
+
"styles",
|
|
36
|
+
"color",
|
|
37
|
+
"colour",
|
|
38
|
+
"colors",
|
|
39
|
+
"terminal",
|
|
40
|
+
"console",
|
|
41
|
+
"cli",
|
|
42
|
+
"string",
|
|
43
|
+
"tty",
|
|
44
|
+
"escape",
|
|
45
|
+
"formatting",
|
|
46
|
+
"rgb",
|
|
47
|
+
"256",
|
|
48
|
+
"shell",
|
|
49
|
+
"xterm",
|
|
50
|
+
"log",
|
|
51
|
+
"logging",
|
|
52
|
+
"command-line",
|
|
53
|
+
"text"
|
|
54
|
+
],
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"ansi-styles": "^6.1.0",
|
|
57
|
+
"string-width": "^5.0.1",
|
|
58
|
+
"strip-ansi": "^7.0.1"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"ava": "^3.15.0",
|
|
62
|
+
"chalk": "^4.1.2",
|
|
63
|
+
"coveralls": "^3.1.1",
|
|
64
|
+
"has-ansi": "^5.0.1",
|
|
65
|
+
"nyc": "^15.1.0",
|
|
66
|
+
"tsd": "^0.25.0",
|
|
67
|
+
"xo": "^0.44.0"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const stringWidth = require('string-width');
|
|
3
|
+
const stripAnsi = require('strip-ansi');
|
|
4
|
+
const ansiStyles = require('ansi-styles');
|
|
5
|
+
|
|
6
|
+
const ESCAPES = new Set([
|
|
7
|
+
'\u001B',
|
|
8
|
+
'\u009B'
|
|
9
|
+
]);
|
|
10
|
+
|
|
11
|
+
const END_CODE = 39;
|
|
12
|
+
|
|
13
|
+
const ANSI_ESCAPE_BELL = '\u0007';
|
|
14
|
+
const ANSI_CSI = '[';
|
|
15
|
+
const ANSI_OSC = ']';
|
|
16
|
+
const ANSI_SGR_TERMINATOR = 'm';
|
|
17
|
+
const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
18
|
+
|
|
19
|
+
const wrapAnsi = code => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
20
|
+
const wrapAnsiHyperlink = uri => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`;
|
|
21
|
+
|
|
22
|
+
// Calculate the length of words split on ' ', ignoring
|
|
23
|
+
// the extra characters added by ansi escape codes
|
|
24
|
+
const wordLengths = string => string.split(' ').map(character => stringWidth(character));
|
|
25
|
+
|
|
26
|
+
// Wrap a long word across multiple rows
|
|
27
|
+
// Ansi escape codes do not count towards length
|
|
28
|
+
const wrapWord = (rows, word, columns) => {
|
|
29
|
+
const characters = [...word];
|
|
30
|
+
|
|
31
|
+
let isInsideEscape = false;
|
|
32
|
+
let isInsideLinkEscape = false;
|
|
33
|
+
let visible = stringWidth(stripAnsi(rows[rows.length - 1]));
|
|
34
|
+
|
|
35
|
+
for (const [index, character] of characters.entries()) {
|
|
36
|
+
const characterLength = stringWidth(character);
|
|
37
|
+
|
|
38
|
+
if (visible + characterLength <= columns) {
|
|
39
|
+
rows[rows.length - 1] += character;
|
|
40
|
+
} else {
|
|
41
|
+
rows.push(character);
|
|
42
|
+
visible = 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (ESCAPES.has(character)) {
|
|
46
|
+
isInsideEscape = true;
|
|
47
|
+
isInsideLinkEscape = characters.slice(index + 1).join('').startsWith(ANSI_ESCAPE_LINK);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (isInsideEscape) {
|
|
51
|
+
if (isInsideLinkEscape) {
|
|
52
|
+
if (character === ANSI_ESCAPE_BELL) {
|
|
53
|
+
isInsideEscape = false;
|
|
54
|
+
isInsideLinkEscape = false;
|
|
55
|
+
}
|
|
56
|
+
} else if (character === ANSI_SGR_TERMINATOR) {
|
|
57
|
+
isInsideEscape = false;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
visible += characterLength;
|
|
64
|
+
|
|
65
|
+
if (visible === columns && index < characters.length - 1) {
|
|
66
|
+
rows.push('');
|
|
67
|
+
visible = 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// It's possible that the last row we copy over is only
|
|
72
|
+
// ansi escape characters, handle this edge-case
|
|
73
|
+
if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
|
|
74
|
+
rows[rows.length - 2] += rows.pop();
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
// Trims spaces from a string ignoring invisible sequences
|
|
79
|
+
const stringVisibleTrimSpacesRight = string => {
|
|
80
|
+
const words = string.split(' ');
|
|
81
|
+
let last = words.length;
|
|
82
|
+
|
|
83
|
+
while (last > 0) {
|
|
84
|
+
if (stringWidth(words[last - 1]) > 0) {
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
last--;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (last === words.length) {
|
|
92
|
+
return string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return words.slice(0, last).join(' ') + words.slice(last).join('');
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
// The wrap-ansi module can be invoked in either 'hard' or 'soft' wrap mode
|
|
99
|
+
//
|
|
100
|
+
// 'hard' will never allow a string to take up more than columns characters
|
|
101
|
+
//
|
|
102
|
+
// 'soft' allows long words to expand past the column length
|
|
103
|
+
const exec = (string, columns, options = {}) => {
|
|
104
|
+
if (options.trim !== false && string.trim() === '') {
|
|
105
|
+
return '';
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
let returnValue = '';
|
|
109
|
+
let escapeCode;
|
|
110
|
+
let escapeUrl;
|
|
111
|
+
|
|
112
|
+
const lengths = wordLengths(string);
|
|
113
|
+
let rows = [''];
|
|
114
|
+
|
|
115
|
+
for (const [index, word] of string.split(' ').entries()) {
|
|
116
|
+
if (options.trim !== false) {
|
|
117
|
+
rows[rows.length - 1] = rows[rows.length - 1].trimStart();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
let rowLength = stringWidth(rows[rows.length - 1]);
|
|
121
|
+
|
|
122
|
+
if (index !== 0) {
|
|
123
|
+
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
124
|
+
// If we start with a new word but the current row length equals the length of the columns, add a new row
|
|
125
|
+
rows.push('');
|
|
126
|
+
rowLength = 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (rowLength > 0 || options.trim === false) {
|
|
130
|
+
rows[rows.length - 1] += ' ';
|
|
131
|
+
rowLength++;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// In 'hard' wrap mode, the length of a line is never allowed to extend past 'columns'
|
|
136
|
+
if (options.hard && lengths[index] > columns) {
|
|
137
|
+
const remainingColumns = (columns - rowLength);
|
|
138
|
+
const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
|
|
139
|
+
const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
|
|
140
|
+
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
141
|
+
rows.push('');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
wrapWord(rows, word, columns);
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
|
|
149
|
+
if (options.wordWrap === false && rowLength < columns) {
|
|
150
|
+
wrapWord(rows, word, columns);
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
rows.push('');
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if (rowLength + lengths[index] > columns && options.wordWrap === false) {
|
|
158
|
+
wrapWord(rows, word, columns);
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
rows[rows.length - 1] += word;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (options.trim !== false) {
|
|
166
|
+
rows = rows.map(stringVisibleTrimSpacesRight);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const pre = [...rows.join('\n')];
|
|
170
|
+
|
|
171
|
+
for (const [index, character] of pre.entries()) {
|
|
172
|
+
returnValue += character;
|
|
173
|
+
|
|
174
|
+
if (ESCAPES.has(character)) {
|
|
175
|
+
const {groups} = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join('')) || {groups: {}};
|
|
176
|
+
if (groups.code !== undefined) {
|
|
177
|
+
const code = Number.parseFloat(groups.code);
|
|
178
|
+
escapeCode = code === END_CODE ? undefined : code;
|
|
179
|
+
} else if (groups.uri !== undefined) {
|
|
180
|
+
escapeUrl = groups.uri.length === 0 ? undefined : groups.uri;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const code = ansiStyles.codes.get(Number(escapeCode));
|
|
185
|
+
|
|
186
|
+
if (pre[index + 1] === '\n') {
|
|
187
|
+
if (escapeUrl) {
|
|
188
|
+
returnValue += wrapAnsiHyperlink('');
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if (escapeCode && code) {
|
|
192
|
+
returnValue += wrapAnsi(code);
|
|
193
|
+
}
|
|
194
|
+
} else if (character === '\n') {
|
|
195
|
+
if (escapeCode && code) {
|
|
196
|
+
returnValue += wrapAnsi(escapeCode);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (escapeUrl) {
|
|
200
|
+
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
return returnValue;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
// For each newline, invoke the method separately
|
|
209
|
+
module.exports = (string, columns, options) => {
|
|
210
|
+
return String(string)
|
|
211
|
+
.normalize()
|
|
212
|
+
.replace(/\r\n/g, '\n')
|
|
213
|
+
.split('\n')
|
|
214
|
+
.map(line => exec(line, columns, options))
|
|
215
|
+
.join('\n');
|
|
216
|
+
};
|
|
@@ -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,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = ({onlyFirst = false} = {}) => {
|
|
4
|
+
const pattern = [
|
|
5
|
+
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
|
6
|
+
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
|
|
7
|
+
].join('|');
|
|
8
|
+
|
|
9
|
+
return new RegExp(pattern, onlyFirst ? undefined : 'g');
|
|
10
|
+
};
|
|
@@ -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.
|