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
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "safe-buffer",
|
|
3
|
-
"description": "Safer Node.js Buffer API",
|
|
4
|
-
"version": "5.2.1",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Feross Aboukhadijeh",
|
|
7
|
-
"email": "feross@feross.org",
|
|
8
|
-
"url": "https://feross.org"
|
|
9
|
-
},
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/feross/safe-buffer/issues"
|
|
12
|
-
},
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"standard": "*",
|
|
15
|
-
"tape": "^5.0.0"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://github.com/feross/safe-buffer",
|
|
18
|
-
"keywords": [
|
|
19
|
-
"buffer",
|
|
20
|
-
"buffer allocate",
|
|
21
|
-
"node security",
|
|
22
|
-
"safe",
|
|
23
|
-
"safe-buffer",
|
|
24
|
-
"security",
|
|
25
|
-
"uninitialized"
|
|
26
|
-
],
|
|
27
|
-
"license": "MIT",
|
|
28
|
-
"main": "index.js",
|
|
29
|
-
"types": "index.d.ts",
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "git://github.com/feross/safe-buffer.git"
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"test": "standard && tape test/*.js"
|
|
36
|
-
},
|
|
37
|
-
"funding": [
|
|
38
|
-
{
|
|
39
|
-
"type": "github",
|
|
40
|
-
"url": "https://github.com/sponsors/feross"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"type": "patreon",
|
|
44
|
-
"url": "https://www.patreon.com/feross"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "consulting",
|
|
48
|
-
"url": "https://feross.org/support"
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
The ISC License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
-
copyright notice and this permission notice appear in all copies.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
-
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
// A linked list to keep track of recently-used-ness
|
|
4
|
-
const Yallist = require('yallist')
|
|
5
|
-
|
|
6
|
-
const MAX = Symbol('max')
|
|
7
|
-
const LENGTH = Symbol('length')
|
|
8
|
-
const LENGTH_CALCULATOR = Symbol('lengthCalculator')
|
|
9
|
-
const ALLOW_STALE = Symbol('allowStale')
|
|
10
|
-
const MAX_AGE = Symbol('maxAge')
|
|
11
|
-
const DISPOSE = Symbol('dispose')
|
|
12
|
-
const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')
|
|
13
|
-
const LRU_LIST = Symbol('lruList')
|
|
14
|
-
const CACHE = Symbol('cache')
|
|
15
|
-
const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')
|
|
16
|
-
|
|
17
|
-
const naiveLength = () => 1
|
|
18
|
-
|
|
19
|
-
// lruList is a yallist where the head is the youngest
|
|
20
|
-
// item, and the tail is the oldest. the list contains the Hit
|
|
21
|
-
// objects as the entries.
|
|
22
|
-
// Each Hit object has a reference to its Yallist.Node. This
|
|
23
|
-
// never changes.
|
|
24
|
-
//
|
|
25
|
-
// cache is a Map (or PseudoMap) that matches the keys to
|
|
26
|
-
// the Yallist.Node object.
|
|
27
|
-
class LRUCache {
|
|
28
|
-
constructor (options) {
|
|
29
|
-
if (typeof options === 'number')
|
|
30
|
-
options = { max: options }
|
|
31
|
-
|
|
32
|
-
if (!options)
|
|
33
|
-
options = {}
|
|
34
|
-
|
|
35
|
-
if (options.max && (typeof options.max !== 'number' || options.max < 0))
|
|
36
|
-
throw new TypeError('max must be a non-negative number')
|
|
37
|
-
// Kind of weird to have a default max of Infinity, but oh well.
|
|
38
|
-
const max = this[MAX] = options.max || Infinity
|
|
39
|
-
|
|
40
|
-
const lc = options.length || naiveLength
|
|
41
|
-
this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc
|
|
42
|
-
this[ALLOW_STALE] = options.stale || false
|
|
43
|
-
if (options.maxAge && typeof options.maxAge !== 'number')
|
|
44
|
-
throw new TypeError('maxAge must be a number')
|
|
45
|
-
this[MAX_AGE] = options.maxAge || 0
|
|
46
|
-
this[DISPOSE] = options.dispose
|
|
47
|
-
this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false
|
|
48
|
-
this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false
|
|
49
|
-
this.reset()
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// resize the cache when the max changes.
|
|
53
|
-
set max (mL) {
|
|
54
|
-
if (typeof mL !== 'number' || mL < 0)
|
|
55
|
-
throw new TypeError('max must be a non-negative number')
|
|
56
|
-
|
|
57
|
-
this[MAX] = mL || Infinity
|
|
58
|
-
trim(this)
|
|
59
|
-
}
|
|
60
|
-
get max () {
|
|
61
|
-
return this[MAX]
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
set allowStale (allowStale) {
|
|
65
|
-
this[ALLOW_STALE] = !!allowStale
|
|
66
|
-
}
|
|
67
|
-
get allowStale () {
|
|
68
|
-
return this[ALLOW_STALE]
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
set maxAge (mA) {
|
|
72
|
-
if (typeof mA !== 'number')
|
|
73
|
-
throw new TypeError('maxAge must be a non-negative number')
|
|
74
|
-
|
|
75
|
-
this[MAX_AGE] = mA
|
|
76
|
-
trim(this)
|
|
77
|
-
}
|
|
78
|
-
get maxAge () {
|
|
79
|
-
return this[MAX_AGE]
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// resize the cache when the lengthCalculator changes.
|
|
83
|
-
set lengthCalculator (lC) {
|
|
84
|
-
if (typeof lC !== 'function')
|
|
85
|
-
lC = naiveLength
|
|
86
|
-
|
|
87
|
-
if (lC !== this[LENGTH_CALCULATOR]) {
|
|
88
|
-
this[LENGTH_CALCULATOR] = lC
|
|
89
|
-
this[LENGTH] = 0
|
|
90
|
-
this[LRU_LIST].forEach(hit => {
|
|
91
|
-
hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)
|
|
92
|
-
this[LENGTH] += hit.length
|
|
93
|
-
})
|
|
94
|
-
}
|
|
95
|
-
trim(this)
|
|
96
|
-
}
|
|
97
|
-
get lengthCalculator () { return this[LENGTH_CALCULATOR] }
|
|
98
|
-
|
|
99
|
-
get length () { return this[LENGTH] }
|
|
100
|
-
get itemCount () { return this[LRU_LIST].length }
|
|
101
|
-
|
|
102
|
-
rforEach (fn, thisp) {
|
|
103
|
-
thisp = thisp || this
|
|
104
|
-
for (let walker = this[LRU_LIST].tail; walker !== null;) {
|
|
105
|
-
const prev = walker.prev
|
|
106
|
-
forEachStep(this, fn, walker, thisp)
|
|
107
|
-
walker = prev
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
forEach (fn, thisp) {
|
|
112
|
-
thisp = thisp || this
|
|
113
|
-
for (let walker = this[LRU_LIST].head; walker !== null;) {
|
|
114
|
-
const next = walker.next
|
|
115
|
-
forEachStep(this, fn, walker, thisp)
|
|
116
|
-
walker = next
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
keys () {
|
|
121
|
-
return this[LRU_LIST].toArray().map(k => k.key)
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
values () {
|
|
125
|
-
return this[LRU_LIST].toArray().map(k => k.value)
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
reset () {
|
|
129
|
-
if (this[DISPOSE] &&
|
|
130
|
-
this[LRU_LIST] &&
|
|
131
|
-
this[LRU_LIST].length) {
|
|
132
|
-
this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
this[CACHE] = new Map() // hash of items by key
|
|
136
|
-
this[LRU_LIST] = new Yallist() // list of items in order of use recency
|
|
137
|
-
this[LENGTH] = 0 // length of items in the list
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
dump () {
|
|
141
|
-
return this[LRU_LIST].map(hit =>
|
|
142
|
-
isStale(this, hit) ? false : {
|
|
143
|
-
k: hit.key,
|
|
144
|
-
v: hit.value,
|
|
145
|
-
e: hit.now + (hit.maxAge || 0)
|
|
146
|
-
}).toArray().filter(h => h)
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
dumpLru () {
|
|
150
|
-
return this[LRU_LIST]
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
set (key, value, maxAge) {
|
|
154
|
-
maxAge = maxAge || this[MAX_AGE]
|
|
155
|
-
|
|
156
|
-
if (maxAge && typeof maxAge !== 'number')
|
|
157
|
-
throw new TypeError('maxAge must be a number')
|
|
158
|
-
|
|
159
|
-
const now = maxAge ? Date.now() : 0
|
|
160
|
-
const len = this[LENGTH_CALCULATOR](value, key)
|
|
161
|
-
|
|
162
|
-
if (this[CACHE].has(key)) {
|
|
163
|
-
if (len > this[MAX]) {
|
|
164
|
-
del(this, this[CACHE].get(key))
|
|
165
|
-
return false
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
const node = this[CACHE].get(key)
|
|
169
|
-
const item = node.value
|
|
170
|
-
|
|
171
|
-
// dispose of the old one before overwriting
|
|
172
|
-
// split out into 2 ifs for better coverage tracking
|
|
173
|
-
if (this[DISPOSE]) {
|
|
174
|
-
if (!this[NO_DISPOSE_ON_SET])
|
|
175
|
-
this[DISPOSE](key, item.value)
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
item.now = now
|
|
179
|
-
item.maxAge = maxAge
|
|
180
|
-
item.value = value
|
|
181
|
-
this[LENGTH] += len - item.length
|
|
182
|
-
item.length = len
|
|
183
|
-
this.get(key)
|
|
184
|
-
trim(this)
|
|
185
|
-
return true
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
const hit = new Entry(key, value, len, now, maxAge)
|
|
189
|
-
|
|
190
|
-
// oversized objects fall out of cache automatically.
|
|
191
|
-
if (hit.length > this[MAX]) {
|
|
192
|
-
if (this[DISPOSE])
|
|
193
|
-
this[DISPOSE](key, value)
|
|
194
|
-
|
|
195
|
-
return false
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
this[LENGTH] += hit.length
|
|
199
|
-
this[LRU_LIST].unshift(hit)
|
|
200
|
-
this[CACHE].set(key, this[LRU_LIST].head)
|
|
201
|
-
trim(this)
|
|
202
|
-
return true
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
has (key) {
|
|
206
|
-
if (!this[CACHE].has(key)) return false
|
|
207
|
-
const hit = this[CACHE].get(key).value
|
|
208
|
-
return !isStale(this, hit)
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
get (key) {
|
|
212
|
-
return get(this, key, true)
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
peek (key) {
|
|
216
|
-
return get(this, key, false)
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
pop () {
|
|
220
|
-
const node = this[LRU_LIST].tail
|
|
221
|
-
if (!node)
|
|
222
|
-
return null
|
|
223
|
-
|
|
224
|
-
del(this, node)
|
|
225
|
-
return node.value
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
del (key) {
|
|
229
|
-
del(this, this[CACHE].get(key))
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
load (arr) {
|
|
233
|
-
// reset the cache
|
|
234
|
-
this.reset()
|
|
235
|
-
|
|
236
|
-
const now = Date.now()
|
|
237
|
-
// A previous serialized cache has the most recent items first
|
|
238
|
-
for (let l = arr.length - 1; l >= 0; l--) {
|
|
239
|
-
const hit = arr[l]
|
|
240
|
-
const expiresAt = hit.e || 0
|
|
241
|
-
if (expiresAt === 0)
|
|
242
|
-
// the item was created without expiration in a non aged cache
|
|
243
|
-
this.set(hit.k, hit.v)
|
|
244
|
-
else {
|
|
245
|
-
const maxAge = expiresAt - now
|
|
246
|
-
// dont add already expired items
|
|
247
|
-
if (maxAge > 0) {
|
|
248
|
-
this.set(hit.k, hit.v, maxAge)
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
prune () {
|
|
255
|
-
this[CACHE].forEach((value, key) => get(this, key, false))
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
const get = (self, key, doUse) => {
|
|
260
|
-
const node = self[CACHE].get(key)
|
|
261
|
-
if (node) {
|
|
262
|
-
const hit = node.value
|
|
263
|
-
if (isStale(self, hit)) {
|
|
264
|
-
del(self, node)
|
|
265
|
-
if (!self[ALLOW_STALE])
|
|
266
|
-
return undefined
|
|
267
|
-
} else {
|
|
268
|
-
if (doUse) {
|
|
269
|
-
if (self[UPDATE_AGE_ON_GET])
|
|
270
|
-
node.value.now = Date.now()
|
|
271
|
-
self[LRU_LIST].unshiftNode(node)
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
return hit.value
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
const isStale = (self, hit) => {
|
|
279
|
-
if (!hit || (!hit.maxAge && !self[MAX_AGE]))
|
|
280
|
-
return false
|
|
281
|
-
|
|
282
|
-
const diff = Date.now() - hit.now
|
|
283
|
-
return hit.maxAge ? diff > hit.maxAge
|
|
284
|
-
: self[MAX_AGE] && (diff > self[MAX_AGE])
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
const trim = self => {
|
|
288
|
-
if (self[LENGTH] > self[MAX]) {
|
|
289
|
-
for (let walker = self[LRU_LIST].tail;
|
|
290
|
-
self[LENGTH] > self[MAX] && walker !== null;) {
|
|
291
|
-
// We know that we're about to delete this one, and also
|
|
292
|
-
// what the next least recently used key will be, so just
|
|
293
|
-
// go ahead and set it now.
|
|
294
|
-
const prev = walker.prev
|
|
295
|
-
del(self, walker)
|
|
296
|
-
walker = prev
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
const del = (self, node) => {
|
|
302
|
-
if (node) {
|
|
303
|
-
const hit = node.value
|
|
304
|
-
if (self[DISPOSE])
|
|
305
|
-
self[DISPOSE](hit.key, hit.value)
|
|
306
|
-
|
|
307
|
-
self[LENGTH] -= hit.length
|
|
308
|
-
self[CACHE].delete(hit.key)
|
|
309
|
-
self[LRU_LIST].removeNode(node)
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
class Entry {
|
|
314
|
-
constructor (key, value, length, now, maxAge) {
|
|
315
|
-
this.key = key
|
|
316
|
-
this.value = value
|
|
317
|
-
this.length = length
|
|
318
|
-
this.now = now
|
|
319
|
-
this.maxAge = maxAge || 0
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
const forEachStep = (self, fn, node, thisp) => {
|
|
324
|
-
let hit = node.value
|
|
325
|
-
if (isStale(self, hit)) {
|
|
326
|
-
del(self, node)
|
|
327
|
-
if (!self[ALLOW_STALE])
|
|
328
|
-
hit = undefined
|
|
329
|
-
}
|
|
330
|
-
if (hit)
|
|
331
|
-
fn.call(thisp, hit.value, hit.key, self)
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
module.exports = LRUCache
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "lru-cache",
|
|
3
|
-
"description": "A cache object that deletes the least-recently-used items.",
|
|
4
|
-
"version": "6.0.0",
|
|
5
|
-
"author": "Isaac Z. Schlueter <i@izs.me>",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"mru",
|
|
8
|
-
"lru",
|
|
9
|
-
"cache"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"test": "tap",
|
|
13
|
-
"snap": "tap",
|
|
14
|
-
"preversion": "npm test",
|
|
15
|
-
"postversion": "npm publish",
|
|
16
|
-
"prepublishOnly": "git push origin --follow-tags"
|
|
17
|
-
},
|
|
18
|
-
"main": "index.js",
|
|
19
|
-
"repository": "git://github.com/isaacs/node-lru-cache.git",
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"benchmark": "^2.1.4",
|
|
22
|
-
"tap": "^14.10.7"
|
|
23
|
-
},
|
|
24
|
-
"license": "ISC",
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"yallist": "^4.0.0"
|
|
27
|
-
},
|
|
28
|
-
"files": [
|
|
29
|
-
"index.js"
|
|
30
|
-
],
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": ">=10"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "set-blocking",
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"pretest": "standard",
|
|
8
|
-
"test": "nyc mocha ./test/*.js",
|
|
9
|
-
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
10
|
-
"version": "standard-version"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/yargs/set-blocking.git"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"flush",
|
|
18
|
-
"terminal",
|
|
19
|
-
"blocking",
|
|
20
|
-
"shim",
|
|
21
|
-
"stdio",
|
|
22
|
-
"stderr"
|
|
23
|
-
],
|
|
24
|
-
"author": "Ben Coe <ben@npmjs.com>",
|
|
25
|
-
"license": "ISC",
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/yargs/set-blocking/issues"
|
|
28
|
-
},
|
|
29
|
-
"homepage": "https://github.com/yargs/set-blocking#readme",
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"chai": "^3.5.0",
|
|
32
|
-
"coveralls": "^2.11.9",
|
|
33
|
-
"mocha": "^2.4.5",
|
|
34
|
-
"nyc": "^6.4.4",
|
|
35
|
-
"standard": "^7.0.1",
|
|
36
|
-
"standard-version": "^2.2.1"
|
|
37
|
-
},
|
|
38
|
-
"files": [
|
|
39
|
-
"index.js",
|
|
40
|
-
"LICENSE.txt"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
// Note: since nyc uses this module to output coverage, any lines
|
|
2
|
-
// that are in the direct sync flow of nyc's outputCoverage are
|
|
3
|
-
// ignored, since we can never get coverage for them.
|
|
4
|
-
// grab a reference to node's real process object right away
|
|
5
|
-
var process = global.process
|
|
6
|
-
|
|
7
|
-
const processOk = function (process) {
|
|
8
|
-
return process &&
|
|
9
|
-
typeof process === 'object' &&
|
|
10
|
-
typeof process.removeListener === 'function' &&
|
|
11
|
-
typeof process.emit === 'function' &&
|
|
12
|
-
typeof process.reallyExit === 'function' &&
|
|
13
|
-
typeof process.listeners === 'function' &&
|
|
14
|
-
typeof process.kill === 'function' &&
|
|
15
|
-
typeof process.pid === 'number' &&
|
|
16
|
-
typeof process.on === 'function'
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// some kind of non-node environment, just no-op
|
|
20
|
-
/* istanbul ignore if */
|
|
21
|
-
if (!processOk(process)) {
|
|
22
|
-
module.exports = function () {
|
|
23
|
-
return function () {}
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
26
|
-
var assert = require('assert')
|
|
27
|
-
var signals = require('./signals.js')
|
|
28
|
-
var isWin = /^win/i.test(process.platform)
|
|
29
|
-
|
|
30
|
-
var EE = require('events')
|
|
31
|
-
/* istanbul ignore if */
|
|
32
|
-
if (typeof EE !== 'function') {
|
|
33
|
-
EE = EE.EventEmitter
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
var emitter
|
|
37
|
-
if (process.__signal_exit_emitter__) {
|
|
38
|
-
emitter = process.__signal_exit_emitter__
|
|
39
|
-
} else {
|
|
40
|
-
emitter = process.__signal_exit_emitter__ = new EE()
|
|
41
|
-
emitter.count = 0
|
|
42
|
-
emitter.emitted = {}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Because this emitter is a global, we have to check to see if a
|
|
46
|
-
// previous version of this library failed to enable infinite listeners.
|
|
47
|
-
// I know what you're about to say. But literally everything about
|
|
48
|
-
// signal-exit is a compromise with evil. Get used to it.
|
|
49
|
-
if (!emitter.infinite) {
|
|
50
|
-
emitter.setMaxListeners(Infinity)
|
|
51
|
-
emitter.infinite = true
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
module.exports = function (cb, opts) {
|
|
55
|
-
/* istanbul ignore if */
|
|
56
|
-
if (!processOk(global.process)) {
|
|
57
|
-
return function () {}
|
|
58
|
-
}
|
|
59
|
-
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
|
60
|
-
|
|
61
|
-
if (loaded === false) {
|
|
62
|
-
load()
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
var ev = 'exit'
|
|
66
|
-
if (opts && opts.alwaysLast) {
|
|
67
|
-
ev = 'afterexit'
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
var remove = function () {
|
|
71
|
-
emitter.removeListener(ev, cb)
|
|
72
|
-
if (emitter.listeners('exit').length === 0 &&
|
|
73
|
-
emitter.listeners('afterexit').length === 0) {
|
|
74
|
-
unload()
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
emitter.on(ev, cb)
|
|
78
|
-
|
|
79
|
-
return remove
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
var unload = function unload () {
|
|
83
|
-
if (!loaded || !processOk(global.process)) {
|
|
84
|
-
return
|
|
85
|
-
}
|
|
86
|
-
loaded = false
|
|
87
|
-
|
|
88
|
-
signals.forEach(function (sig) {
|
|
89
|
-
try {
|
|
90
|
-
process.removeListener(sig, sigListeners[sig])
|
|
91
|
-
} catch (er) {}
|
|
92
|
-
})
|
|
93
|
-
process.emit = originalProcessEmit
|
|
94
|
-
process.reallyExit = originalProcessReallyExit
|
|
95
|
-
emitter.count -= 1
|
|
96
|
-
}
|
|
97
|
-
module.exports.unload = unload
|
|
98
|
-
|
|
99
|
-
var emit = function emit (event, code, signal) {
|
|
100
|
-
/* istanbul ignore if */
|
|
101
|
-
if (emitter.emitted[event]) {
|
|
102
|
-
return
|
|
103
|
-
}
|
|
104
|
-
emitter.emitted[event] = true
|
|
105
|
-
emitter.emit(event, code, signal)
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// { <signal>: <listener fn>, ... }
|
|
109
|
-
var sigListeners = {}
|
|
110
|
-
signals.forEach(function (sig) {
|
|
111
|
-
sigListeners[sig] = function listener () {
|
|
112
|
-
/* istanbul ignore if */
|
|
113
|
-
if (!processOk(global.process)) {
|
|
114
|
-
return
|
|
115
|
-
}
|
|
116
|
-
// If there are no other listeners, an exit is coming!
|
|
117
|
-
// Simplest way: remove us and then re-send the signal.
|
|
118
|
-
// We know that this will kill the process, so we can
|
|
119
|
-
// safely emit now.
|
|
120
|
-
var listeners = process.listeners(sig)
|
|
121
|
-
if (listeners.length === emitter.count) {
|
|
122
|
-
unload()
|
|
123
|
-
emit('exit', null, sig)
|
|
124
|
-
/* istanbul ignore next */
|
|
125
|
-
emit('afterexit', null, sig)
|
|
126
|
-
/* istanbul ignore next */
|
|
127
|
-
if (isWin && sig === 'SIGHUP') {
|
|
128
|
-
// "SIGHUP" throws an `ENOSYS` error on Windows,
|
|
129
|
-
// so use a supported signal instead
|
|
130
|
-
sig = 'SIGINT'
|
|
131
|
-
}
|
|
132
|
-
/* istanbul ignore next */
|
|
133
|
-
process.kill(process.pid, sig)
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
})
|
|
137
|
-
|
|
138
|
-
module.exports.signals = function () {
|
|
139
|
-
return signals
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
var loaded = false
|
|
143
|
-
|
|
144
|
-
var load = function load () {
|
|
145
|
-
if (loaded || !processOk(global.process)) {
|
|
146
|
-
return
|
|
147
|
-
}
|
|
148
|
-
loaded = true
|
|
149
|
-
|
|
150
|
-
// This is the number of onSignalExit's that are in play.
|
|
151
|
-
// It's important so that we can count the correct number of
|
|
152
|
-
// listeners on signals, and don't wait for the other one to
|
|
153
|
-
// handle it instead of us.
|
|
154
|
-
emitter.count += 1
|
|
155
|
-
|
|
156
|
-
signals = signals.filter(function (sig) {
|
|
157
|
-
try {
|
|
158
|
-
process.on(sig, sigListeners[sig])
|
|
159
|
-
return true
|
|
160
|
-
} catch (er) {
|
|
161
|
-
return false
|
|
162
|
-
}
|
|
163
|
-
})
|
|
164
|
-
|
|
165
|
-
process.emit = processEmit
|
|
166
|
-
process.reallyExit = processReallyExit
|
|
167
|
-
}
|
|
168
|
-
module.exports.load = load
|
|
169
|
-
|
|
170
|
-
var originalProcessReallyExit = process.reallyExit
|
|
171
|
-
var processReallyExit = function processReallyExit (code) {
|
|
172
|
-
/* istanbul ignore if */
|
|
173
|
-
if (!processOk(global.process)) {
|
|
174
|
-
return
|
|
175
|
-
}
|
|
176
|
-
process.exitCode = code || /* istanbul ignore next */ 0
|
|
177
|
-
emit('exit', process.exitCode, null)
|
|
178
|
-
/* istanbul ignore next */
|
|
179
|
-
emit('afterexit', process.exitCode, null)
|
|
180
|
-
/* istanbul ignore next */
|
|
181
|
-
originalProcessReallyExit.call(process, process.exitCode)
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
var originalProcessEmit = process.emit
|
|
185
|
-
var processEmit = function processEmit (ev, arg) {
|
|
186
|
-
if (ev === 'exit' && processOk(global.process)) {
|
|
187
|
-
/* istanbul ignore else */
|
|
188
|
-
if (arg !== undefined) {
|
|
189
|
-
process.exitCode = arg
|
|
190
|
-
}
|
|
191
|
-
var ret = originalProcessEmit.apply(this, arguments)
|
|
192
|
-
/* istanbul ignore next */
|
|
193
|
-
emit('exit', process.exitCode, null)
|
|
194
|
-
/* istanbul ignore next */
|
|
195
|
-
emit('afterexit', process.exitCode, null)
|
|
196
|
-
/* istanbul ignore next */
|
|
197
|
-
return ret
|
|
198
|
-
} else {
|
|
199
|
-
return originalProcessEmit.apply(this, arguments)
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|