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
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const OriginalAgent = require('http').Agent;
|
|
4
|
-
const ms = require('humanize-ms');
|
|
5
|
-
const debug = require('util').debuglog('agentkeepalive');
|
|
6
|
-
const {
|
|
7
|
-
INIT_SOCKET,
|
|
8
|
-
CURRENT_ID,
|
|
9
|
-
CREATE_ID,
|
|
10
|
-
SOCKET_CREATED_TIME,
|
|
11
|
-
SOCKET_NAME,
|
|
12
|
-
SOCKET_REQUEST_COUNT,
|
|
13
|
-
SOCKET_REQUEST_FINISHED_COUNT,
|
|
14
|
-
} = require('./constants');
|
|
15
|
-
|
|
16
|
-
// OriginalAgent come from
|
|
17
|
-
// - https://github.com/nodejs/node/blob/v8.12.0/lib/_http_agent.js
|
|
18
|
-
// - https://github.com/nodejs/node/blob/v10.12.0/lib/_http_agent.js
|
|
19
|
-
|
|
20
|
-
// node <= 10
|
|
21
|
-
let defaultTimeoutListenerCount = 1;
|
|
22
|
-
const majorVersion = parseInt(process.version.split('.', 1)[0].substring(1));
|
|
23
|
-
if (majorVersion >= 11 && majorVersion <= 12) {
|
|
24
|
-
defaultTimeoutListenerCount = 2;
|
|
25
|
-
} else if (majorVersion >= 13) {
|
|
26
|
-
defaultTimeoutListenerCount = 3;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function deprecate(message) {
|
|
30
|
-
console.log('[agentkeepalive:deprecated] %s', message);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
class Agent extends OriginalAgent {
|
|
34
|
-
constructor(options) {
|
|
35
|
-
options = options || {};
|
|
36
|
-
options.keepAlive = options.keepAlive !== false;
|
|
37
|
-
// default is keep-alive and 4s free socket timeout
|
|
38
|
-
// see https://medium.com/ssense-tech/reduce-networking-errors-in-nodejs-23b4eb9f2d83
|
|
39
|
-
if (options.freeSocketTimeout === undefined) {
|
|
40
|
-
options.freeSocketTimeout = 4000;
|
|
41
|
-
}
|
|
42
|
-
// Legacy API: keepAliveTimeout should be rename to `freeSocketTimeout`
|
|
43
|
-
if (options.keepAliveTimeout) {
|
|
44
|
-
deprecate('options.keepAliveTimeout is deprecated, please use options.freeSocketTimeout instead');
|
|
45
|
-
options.freeSocketTimeout = options.keepAliveTimeout;
|
|
46
|
-
delete options.keepAliveTimeout;
|
|
47
|
-
}
|
|
48
|
-
// Legacy API: freeSocketKeepAliveTimeout should be rename to `freeSocketTimeout`
|
|
49
|
-
if (options.freeSocketKeepAliveTimeout) {
|
|
50
|
-
deprecate('options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead');
|
|
51
|
-
options.freeSocketTimeout = options.freeSocketKeepAliveTimeout;
|
|
52
|
-
delete options.freeSocketKeepAliveTimeout;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Sets the socket to timeout after timeout milliseconds of inactivity on the socket.
|
|
56
|
-
// By default is double free socket timeout.
|
|
57
|
-
if (options.timeout === undefined) {
|
|
58
|
-
// make sure socket default inactivity timeout >= 8s
|
|
59
|
-
options.timeout = Math.max(options.freeSocketTimeout * 2, 8000);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// support humanize format
|
|
63
|
-
options.timeout = ms(options.timeout);
|
|
64
|
-
options.freeSocketTimeout = ms(options.freeSocketTimeout);
|
|
65
|
-
options.socketActiveTTL = options.socketActiveTTL ? ms(options.socketActiveTTL) : 0;
|
|
66
|
-
|
|
67
|
-
super(options);
|
|
68
|
-
|
|
69
|
-
this[CURRENT_ID] = 0;
|
|
70
|
-
|
|
71
|
-
// create socket success counter
|
|
72
|
-
this.createSocketCount = 0;
|
|
73
|
-
this.createSocketCountLastCheck = 0;
|
|
74
|
-
|
|
75
|
-
this.createSocketErrorCount = 0;
|
|
76
|
-
this.createSocketErrorCountLastCheck = 0;
|
|
77
|
-
|
|
78
|
-
this.closeSocketCount = 0;
|
|
79
|
-
this.closeSocketCountLastCheck = 0;
|
|
80
|
-
|
|
81
|
-
// socket error event count
|
|
82
|
-
this.errorSocketCount = 0;
|
|
83
|
-
this.errorSocketCountLastCheck = 0;
|
|
84
|
-
|
|
85
|
-
// request finished counter
|
|
86
|
-
this.requestCount = 0;
|
|
87
|
-
this.requestCountLastCheck = 0;
|
|
88
|
-
|
|
89
|
-
// including free socket timeout counter
|
|
90
|
-
this.timeoutSocketCount = 0;
|
|
91
|
-
this.timeoutSocketCountLastCheck = 0;
|
|
92
|
-
|
|
93
|
-
this.on('free', socket => {
|
|
94
|
-
// https://github.com/nodejs/node/pull/32000
|
|
95
|
-
// Node.js native agent will check socket timeout eqs agent.options.timeout.
|
|
96
|
-
// Use the ttl or freeSocketTimeout to overwrite.
|
|
97
|
-
const timeout = this.calcSocketTimeout(socket);
|
|
98
|
-
if (timeout > 0 && socket.timeout !== timeout) {
|
|
99
|
-
socket.setTimeout(timeout);
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
get freeSocketKeepAliveTimeout() {
|
|
105
|
-
deprecate('agent.freeSocketKeepAliveTimeout is deprecated, please use agent.options.freeSocketTimeout instead');
|
|
106
|
-
return this.options.freeSocketTimeout;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
get timeout() {
|
|
110
|
-
deprecate('agent.timeout is deprecated, please use agent.options.timeout instead');
|
|
111
|
-
return this.options.timeout;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
get socketActiveTTL() {
|
|
115
|
-
deprecate('agent.socketActiveTTL is deprecated, please use agent.options.socketActiveTTL instead');
|
|
116
|
-
return this.options.socketActiveTTL;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
calcSocketTimeout(socket) {
|
|
120
|
-
/**
|
|
121
|
-
* return <= 0: should free socket
|
|
122
|
-
* return > 0: should update socket timeout
|
|
123
|
-
* return undefined: not find custom timeout
|
|
124
|
-
*/
|
|
125
|
-
let freeSocketTimeout = this.options.freeSocketTimeout;
|
|
126
|
-
const socketActiveTTL = this.options.socketActiveTTL;
|
|
127
|
-
if (socketActiveTTL) {
|
|
128
|
-
// check socketActiveTTL
|
|
129
|
-
const aliveTime = Date.now() - socket[SOCKET_CREATED_TIME];
|
|
130
|
-
const diff = socketActiveTTL - aliveTime;
|
|
131
|
-
if (diff <= 0) {
|
|
132
|
-
return diff;
|
|
133
|
-
}
|
|
134
|
-
if (freeSocketTimeout && diff < freeSocketTimeout) {
|
|
135
|
-
freeSocketTimeout = diff;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
// set freeSocketTimeout
|
|
139
|
-
if (freeSocketTimeout) {
|
|
140
|
-
// set free keepalive timer
|
|
141
|
-
// try to use socket custom freeSocketTimeout first, support headers['keep-alive']
|
|
142
|
-
// https://github.com/node-modules/urllib/blob/b76053020923f4d99a1c93cf2e16e0c5ba10bacf/lib/urllib.js#L498
|
|
143
|
-
const customFreeSocketTimeout = socket.freeSocketTimeout || socket.freeSocketKeepAliveTimeout;
|
|
144
|
-
return customFreeSocketTimeout || freeSocketTimeout;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
keepSocketAlive(socket) {
|
|
149
|
-
const result = super.keepSocketAlive(socket);
|
|
150
|
-
// should not keepAlive, do nothing
|
|
151
|
-
if (!result) return result;
|
|
152
|
-
|
|
153
|
-
const customTimeout = this.calcSocketTimeout(socket);
|
|
154
|
-
if (typeof customTimeout === 'undefined') {
|
|
155
|
-
return true;
|
|
156
|
-
}
|
|
157
|
-
if (customTimeout <= 0) {
|
|
158
|
-
debug('%s(requests: %s, finished: %s) free but need to destroy by TTL, request count %s, diff is %s',
|
|
159
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT], customTimeout);
|
|
160
|
-
return false;
|
|
161
|
-
}
|
|
162
|
-
if (socket.timeout !== customTimeout) {
|
|
163
|
-
socket.setTimeout(customTimeout);
|
|
164
|
-
}
|
|
165
|
-
return true;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// only call on addRequest
|
|
169
|
-
reuseSocket(...args) {
|
|
170
|
-
// reuseSocket(socket, req)
|
|
171
|
-
super.reuseSocket(...args);
|
|
172
|
-
const socket = args[0];
|
|
173
|
-
const req = args[1];
|
|
174
|
-
req.reusedSocket = true;
|
|
175
|
-
const agentTimeout = this.options.timeout;
|
|
176
|
-
if (getSocketTimeout(socket) !== agentTimeout) {
|
|
177
|
-
// reset timeout before use
|
|
178
|
-
socket.setTimeout(agentTimeout);
|
|
179
|
-
debug('%s reset timeout to %sms', socket[SOCKET_NAME], agentTimeout);
|
|
180
|
-
}
|
|
181
|
-
socket[SOCKET_REQUEST_COUNT]++;
|
|
182
|
-
debug('%s(requests: %s, finished: %s) reuse on addRequest, timeout %sms',
|
|
183
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT],
|
|
184
|
-
getSocketTimeout(socket));
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
[CREATE_ID]() {
|
|
188
|
-
const id = this[CURRENT_ID]++;
|
|
189
|
-
if (this[CURRENT_ID] === Number.MAX_SAFE_INTEGER) this[CURRENT_ID] = 0;
|
|
190
|
-
return id;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
[INIT_SOCKET](socket, options) {
|
|
194
|
-
// bugfix here.
|
|
195
|
-
// https on node 8, 10 won't set agent.options.timeout by default
|
|
196
|
-
// TODO: need to fix on node itself
|
|
197
|
-
if (options.timeout) {
|
|
198
|
-
const timeout = getSocketTimeout(socket);
|
|
199
|
-
if (!timeout) {
|
|
200
|
-
socket.setTimeout(options.timeout);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
if (this.options.keepAlive) {
|
|
205
|
-
// Disable Nagle's algorithm: http://blog.caustik.com/2012/04/08/scaling-node-js-to-100k-concurrent-connections/
|
|
206
|
-
// https://fengmk2.com/benchmark/nagle-algorithm-delayed-ack-mock.html
|
|
207
|
-
socket.setNoDelay(true);
|
|
208
|
-
}
|
|
209
|
-
this.createSocketCount++;
|
|
210
|
-
if (this.options.socketActiveTTL) {
|
|
211
|
-
socket[SOCKET_CREATED_TIME] = Date.now();
|
|
212
|
-
}
|
|
213
|
-
// don't show the hole '-----BEGIN CERTIFICATE----' key string
|
|
214
|
-
socket[SOCKET_NAME] = `sock[${this[CREATE_ID]()}#${options._agentKey}]`.split('-----BEGIN', 1)[0];
|
|
215
|
-
socket[SOCKET_REQUEST_COUNT] = 1;
|
|
216
|
-
socket[SOCKET_REQUEST_FINISHED_COUNT] = 0;
|
|
217
|
-
installListeners(this, socket, options);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
createConnection(options, oncreate) {
|
|
221
|
-
let called = false;
|
|
222
|
-
const onNewCreate = (err, socket) => {
|
|
223
|
-
if (called) return;
|
|
224
|
-
called = true;
|
|
225
|
-
|
|
226
|
-
if (err) {
|
|
227
|
-
this.createSocketErrorCount++;
|
|
228
|
-
return oncreate(err);
|
|
229
|
-
}
|
|
230
|
-
this[INIT_SOCKET](socket, options);
|
|
231
|
-
oncreate(err, socket);
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
const newSocket = super.createConnection(options, onNewCreate);
|
|
235
|
-
if (newSocket) onNewCreate(null, newSocket);
|
|
236
|
-
return newSocket;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
get statusChanged() {
|
|
240
|
-
const changed = this.createSocketCount !== this.createSocketCountLastCheck ||
|
|
241
|
-
this.createSocketErrorCount !== this.createSocketErrorCountLastCheck ||
|
|
242
|
-
this.closeSocketCount !== this.closeSocketCountLastCheck ||
|
|
243
|
-
this.errorSocketCount !== this.errorSocketCountLastCheck ||
|
|
244
|
-
this.timeoutSocketCount !== this.timeoutSocketCountLastCheck ||
|
|
245
|
-
this.requestCount !== this.requestCountLastCheck;
|
|
246
|
-
if (changed) {
|
|
247
|
-
this.createSocketCountLastCheck = this.createSocketCount;
|
|
248
|
-
this.createSocketErrorCountLastCheck = this.createSocketErrorCount;
|
|
249
|
-
this.closeSocketCountLastCheck = this.closeSocketCount;
|
|
250
|
-
this.errorSocketCountLastCheck = this.errorSocketCount;
|
|
251
|
-
this.timeoutSocketCountLastCheck = this.timeoutSocketCount;
|
|
252
|
-
this.requestCountLastCheck = this.requestCount;
|
|
253
|
-
}
|
|
254
|
-
return changed;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
getCurrentStatus() {
|
|
258
|
-
return {
|
|
259
|
-
createSocketCount: this.createSocketCount,
|
|
260
|
-
createSocketErrorCount: this.createSocketErrorCount,
|
|
261
|
-
closeSocketCount: this.closeSocketCount,
|
|
262
|
-
errorSocketCount: this.errorSocketCount,
|
|
263
|
-
timeoutSocketCount: this.timeoutSocketCount,
|
|
264
|
-
requestCount: this.requestCount,
|
|
265
|
-
freeSockets: inspect(this.freeSockets),
|
|
266
|
-
sockets: inspect(this.sockets),
|
|
267
|
-
requests: inspect(this.requests),
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// node 8 don't has timeout attribute on socket
|
|
273
|
-
// https://github.com/nodejs/node/pull/21204/files#diff-e6ef024c3775d787c38487a6309e491dR408
|
|
274
|
-
function getSocketTimeout(socket) {
|
|
275
|
-
return socket.timeout || socket._idleTimeout;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
function installListeners(agent, socket, options) {
|
|
279
|
-
debug('%s create, timeout %sms', socket[SOCKET_NAME], getSocketTimeout(socket));
|
|
280
|
-
|
|
281
|
-
// listener socket events: close, timeout, error, free
|
|
282
|
-
function onFree() {
|
|
283
|
-
// create and socket.emit('free') logic
|
|
284
|
-
// https://github.com/nodejs/node/blob/master/lib/_http_agent.js#L311
|
|
285
|
-
// no req on the socket, it should be the new socket
|
|
286
|
-
if (!socket._httpMessage && socket[SOCKET_REQUEST_COUNT] === 1) return;
|
|
287
|
-
|
|
288
|
-
socket[SOCKET_REQUEST_FINISHED_COUNT]++;
|
|
289
|
-
agent.requestCount++;
|
|
290
|
-
debug('%s(requests: %s, finished: %s) free',
|
|
291
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT]);
|
|
292
|
-
|
|
293
|
-
// should reuse on pedding requests?
|
|
294
|
-
const name = agent.getName(options);
|
|
295
|
-
if (socket.writable && agent.requests[name] && agent.requests[name].length) {
|
|
296
|
-
// will be reuse on agent free listener
|
|
297
|
-
socket[SOCKET_REQUEST_COUNT]++;
|
|
298
|
-
debug('%s(requests: %s, finished: %s) will be reuse on agent free event',
|
|
299
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT]);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
socket.on('free', onFree);
|
|
303
|
-
|
|
304
|
-
function onClose(isError) {
|
|
305
|
-
debug('%s(requests: %s, finished: %s) close, isError: %s',
|
|
306
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT], isError);
|
|
307
|
-
agent.closeSocketCount++;
|
|
308
|
-
}
|
|
309
|
-
socket.on('close', onClose);
|
|
310
|
-
|
|
311
|
-
// start socket timeout handler
|
|
312
|
-
function onTimeout() {
|
|
313
|
-
// onTimeout and emitRequestTimeout(_http_client.js)
|
|
314
|
-
// https://github.com/nodejs/node/blob/v12.x/lib/_http_client.js#L711
|
|
315
|
-
const listenerCount = socket.listeners('timeout').length;
|
|
316
|
-
// node <= 10, default listenerCount is 1, onTimeout
|
|
317
|
-
// 11 < node <= 12, default listenerCount is 2, onTimeout and emitRequestTimeout
|
|
318
|
-
// node >= 13, default listenerCount is 3, onTimeout,
|
|
319
|
-
// onTimeout(https://github.com/nodejs/node/pull/32000/files#diff-5f7fb0850412c6be189faeddea6c5359R333)
|
|
320
|
-
// and emitRequestTimeout
|
|
321
|
-
const timeout = getSocketTimeout(socket);
|
|
322
|
-
const req = socket._httpMessage;
|
|
323
|
-
const reqTimeoutListenerCount = req && req.listeners('timeout').length || 0;
|
|
324
|
-
debug('%s(requests: %s, finished: %s) timeout after %sms, listeners %s, defaultTimeoutListenerCount %s, hasHttpRequest %s, HttpRequest timeoutListenerCount %s',
|
|
325
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT],
|
|
326
|
-
timeout, listenerCount, defaultTimeoutListenerCount, !!req, reqTimeoutListenerCount);
|
|
327
|
-
if (debug.enabled) {
|
|
328
|
-
debug('timeout listeners: %s', socket.listeners('timeout').map(f => f.name).join(', '));
|
|
329
|
-
}
|
|
330
|
-
agent.timeoutSocketCount++;
|
|
331
|
-
const name = agent.getName(options);
|
|
332
|
-
if (agent.freeSockets[name] && agent.freeSockets[name].indexOf(socket) !== -1) {
|
|
333
|
-
// free socket timeout, destroy quietly
|
|
334
|
-
socket.destroy();
|
|
335
|
-
// Remove it from freeSockets list immediately to prevent new requests
|
|
336
|
-
// from being sent through this socket.
|
|
337
|
-
agent.removeSocket(socket, options);
|
|
338
|
-
debug('%s is free, destroy quietly', socket[SOCKET_NAME]);
|
|
339
|
-
} else {
|
|
340
|
-
// if there is no any request socket timeout handler,
|
|
341
|
-
// agent need to handle socket timeout itself.
|
|
342
|
-
//
|
|
343
|
-
// custom request socket timeout handle logic must follow these rules:
|
|
344
|
-
// 1. Destroy socket first
|
|
345
|
-
// 2. Must emit socket 'agentRemove' event tell agent remove socket
|
|
346
|
-
// from freeSockets list immediately.
|
|
347
|
-
// Otherise you may be get 'socket hang up' error when reuse
|
|
348
|
-
// free socket and timeout happen in the same time.
|
|
349
|
-
if (reqTimeoutListenerCount === 0) {
|
|
350
|
-
const error = new Error('Socket timeout');
|
|
351
|
-
error.code = 'ERR_SOCKET_TIMEOUT';
|
|
352
|
-
error.timeout = timeout;
|
|
353
|
-
// must manually call socket.end() or socket.destroy() to end the connection.
|
|
354
|
-
// https://nodejs.org/dist/latest-v10.x/docs/api/net.html#net_socket_settimeout_timeout_callback
|
|
355
|
-
socket.destroy(error);
|
|
356
|
-
agent.removeSocket(socket, options);
|
|
357
|
-
debug('%s destroy with timeout error', socket[SOCKET_NAME]);
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
socket.on('timeout', onTimeout);
|
|
362
|
-
|
|
363
|
-
function onError(err) {
|
|
364
|
-
const listenerCount = socket.listeners('error').length;
|
|
365
|
-
debug('%s(requests: %s, finished: %s) error: %s, listenerCount: %s',
|
|
366
|
-
socket[SOCKET_NAME], socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT],
|
|
367
|
-
err, listenerCount);
|
|
368
|
-
agent.errorSocketCount++;
|
|
369
|
-
if (listenerCount === 1) {
|
|
370
|
-
// if socket don't contain error event handler, don't catch it, emit it again
|
|
371
|
-
debug('%s emit uncaught error event', socket[SOCKET_NAME]);
|
|
372
|
-
socket.removeListener('error', onError);
|
|
373
|
-
socket.emit('error', err);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
socket.on('error', onError);
|
|
377
|
-
|
|
378
|
-
function onRemove() {
|
|
379
|
-
debug('%s(requests: %s, finished: %s) agentRemove',
|
|
380
|
-
socket[SOCKET_NAME],
|
|
381
|
-
socket[SOCKET_REQUEST_COUNT], socket[SOCKET_REQUEST_FINISHED_COUNT]);
|
|
382
|
-
// We need this function for cases like HTTP 'upgrade'
|
|
383
|
-
// (defined by WebSockets) where we need to remove a socket from the
|
|
384
|
-
// pool because it'll be locked up indefinitely
|
|
385
|
-
socket.removeListener('close', onClose);
|
|
386
|
-
socket.removeListener('error', onError);
|
|
387
|
-
socket.removeListener('free', onFree);
|
|
388
|
-
socket.removeListener('timeout', onTimeout);
|
|
389
|
-
socket.removeListener('agentRemove', onRemove);
|
|
390
|
-
}
|
|
391
|
-
socket.on('agentRemove', onRemove);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
module.exports = Agent;
|
|
395
|
-
|
|
396
|
-
function inspect(obj) {
|
|
397
|
-
const res = {};
|
|
398
|
-
for (const key in obj) {
|
|
399
|
-
res[key] = obj[key].length;
|
|
400
|
-
}
|
|
401
|
-
return res;
|
|
402
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
// agent
|
|
5
|
-
CURRENT_ID: Symbol('agentkeepalive#currentId'),
|
|
6
|
-
CREATE_ID: Symbol('agentkeepalive#createId'),
|
|
7
|
-
INIT_SOCKET: Symbol('agentkeepalive#initSocket'),
|
|
8
|
-
CREATE_HTTPS_CONNECTION: Symbol('agentkeepalive#createHttpsConnection'),
|
|
9
|
-
// socket
|
|
10
|
-
SOCKET_CREATED_TIME: Symbol('agentkeepalive#socketCreatedTime'),
|
|
11
|
-
SOCKET_NAME: Symbol('agentkeepalive#socketName'),
|
|
12
|
-
SOCKET_REQUEST_COUNT: Symbol('agentkeepalive#socketRequestCount'),
|
|
13
|
-
SOCKET_REQUEST_FINISHED_COUNT: Symbol('agentkeepalive#socketRequestFinishedCount'),
|
|
14
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const OriginalHttpsAgent = require('https').Agent;
|
|
4
|
-
const HttpAgent = require('./agent');
|
|
5
|
-
const {
|
|
6
|
-
INIT_SOCKET,
|
|
7
|
-
CREATE_HTTPS_CONNECTION,
|
|
8
|
-
} = require('./constants');
|
|
9
|
-
|
|
10
|
-
class HttpsAgent extends HttpAgent {
|
|
11
|
-
constructor(options) {
|
|
12
|
-
super(options);
|
|
13
|
-
|
|
14
|
-
this.defaultPort = 443;
|
|
15
|
-
this.protocol = 'https:';
|
|
16
|
-
this.maxCachedSessions = this.options.maxCachedSessions;
|
|
17
|
-
/* istanbul ignore next */
|
|
18
|
-
if (this.maxCachedSessions === undefined) {
|
|
19
|
-
this.maxCachedSessions = 100;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
this._sessionCache = {
|
|
23
|
-
map: {},
|
|
24
|
-
list: [],
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
createConnection(options, oncreate) {
|
|
29
|
-
const socket = this[CREATE_HTTPS_CONNECTION](options, oncreate);
|
|
30
|
-
this[INIT_SOCKET](socket, options);
|
|
31
|
-
return socket;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// https://github.com/nodejs/node/blob/master/lib/https.js#L89
|
|
36
|
-
HttpsAgent.prototype[CREATE_HTTPS_CONNECTION] = OriginalHttpsAgent.prototype.createConnection;
|
|
37
|
-
|
|
38
|
-
[
|
|
39
|
-
'getName',
|
|
40
|
-
'_getSession',
|
|
41
|
-
'_cacheSession',
|
|
42
|
-
// https://github.com/nodejs/node/pull/4982
|
|
43
|
-
'_evictSession',
|
|
44
|
-
].forEach(function(method) {
|
|
45
|
-
/* istanbul ignore next */
|
|
46
|
-
if (typeof OriginalHttpsAgent.prototype[method] === 'function') {
|
|
47
|
-
HttpsAgent.prototype[method] = OriginalHttpsAgent.prototype[method];
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
module.exports = HttpsAgent;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "agentkeepalive",
|
|
3
|
-
"version": "4.5.0",
|
|
4
|
-
"description": "Missing keepalive http.Agent",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"browser": "browser.js",
|
|
7
|
-
"files": [
|
|
8
|
-
"index.js",
|
|
9
|
-
"index.d.ts",
|
|
10
|
-
"browser.js",
|
|
11
|
-
"lib"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"contributor": "git-contributor",
|
|
15
|
-
"test": "npm run lint && egg-bin test --full-trace",
|
|
16
|
-
"test-local": "egg-bin test --full-trace",
|
|
17
|
-
"cov": "cross-env NODE_DEBUG=agentkeepalive egg-bin cov --full-trace",
|
|
18
|
-
"ci": "npm run lint && npm run cov",
|
|
19
|
-
"lint": "eslint lib test index.js"
|
|
20
|
-
},
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git://github.com/node-modules/agentkeepalive.git"
|
|
24
|
-
},
|
|
25
|
-
"bugs": {
|
|
26
|
-
"url": "https://github.com/node-modules/agentkeepalive/issues"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"http",
|
|
30
|
-
"https",
|
|
31
|
-
"agent",
|
|
32
|
-
"keepalive",
|
|
33
|
-
"agentkeepalive",
|
|
34
|
-
"HttpAgent",
|
|
35
|
-
"HttpsAgent"
|
|
36
|
-
],
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"humanize-ms": "^1.2.1"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"coffee": "^5.3.0",
|
|
42
|
-
"cross-env": "^6.0.3",
|
|
43
|
-
"egg-bin": "^4.9.0",
|
|
44
|
-
"eslint": "^5.7.0",
|
|
45
|
-
"eslint-config-egg": "^7.1.0",
|
|
46
|
-
"git-contributor": "^2.0.0",
|
|
47
|
-
"mm": "^2.4.1",
|
|
48
|
-
"pedding": "^1.1.0",
|
|
49
|
-
"typescript": "^3.8.3"
|
|
50
|
-
},
|
|
51
|
-
"engines": {
|
|
52
|
-
"node": ">= 8.0.0"
|
|
53
|
-
},
|
|
54
|
-
"author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)",
|
|
55
|
-
"license": "MIT"
|
|
56
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2015, Rebecca Turner <me@re-becca.org>
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
5
|
-
copyright notice and this permission notice appear in all copies.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
8
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
9
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
10
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
11
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
12
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
13
|
-
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
module.exports = validate
|
|
3
|
-
|
|
4
|
-
function isArguments (thingy) {
|
|
5
|
-
return thingy != null && typeof thingy === 'object' && thingy.hasOwnProperty('callee')
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const types = {
|
|
9
|
-
'*': {label: 'any', check: () => true},
|
|
10
|
-
A: {label: 'array', check: _ => Array.isArray(_) || isArguments(_)},
|
|
11
|
-
S: {label: 'string', check: _ => typeof _ === 'string'},
|
|
12
|
-
N: {label: 'number', check: _ => typeof _ === 'number'},
|
|
13
|
-
F: {label: 'function', check: _ => typeof _ === 'function'},
|
|
14
|
-
O: {label: 'object', check: _ => typeof _ === 'object' && _ != null && !types.A.check(_) && !types.E.check(_)},
|
|
15
|
-
B: {label: 'boolean', check: _ => typeof _ === 'boolean'},
|
|
16
|
-
E: {label: 'error', check: _ => _ instanceof Error},
|
|
17
|
-
Z: {label: 'null', check: _ => _ == null}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function addSchema (schema, arity) {
|
|
21
|
-
const group = arity[schema.length] = arity[schema.length] || []
|
|
22
|
-
if (group.indexOf(schema) === -1) group.push(schema)
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function validate (rawSchemas, args) {
|
|
26
|
-
if (arguments.length !== 2) throw wrongNumberOfArgs(['SA'], arguments.length)
|
|
27
|
-
if (!rawSchemas) throw missingRequiredArg(0, 'rawSchemas')
|
|
28
|
-
if (!args) throw missingRequiredArg(1, 'args')
|
|
29
|
-
if (!types.S.check(rawSchemas)) throw invalidType(0, ['string'], rawSchemas)
|
|
30
|
-
if (!types.A.check(args)) throw invalidType(1, ['array'], args)
|
|
31
|
-
const schemas = rawSchemas.split('|')
|
|
32
|
-
const arity = {}
|
|
33
|
-
|
|
34
|
-
schemas.forEach(schema => {
|
|
35
|
-
for (let ii = 0; ii < schema.length; ++ii) {
|
|
36
|
-
const type = schema[ii]
|
|
37
|
-
if (!types[type]) throw unknownType(ii, type)
|
|
38
|
-
}
|
|
39
|
-
if (/E.*E/.test(schema)) throw moreThanOneError(schema)
|
|
40
|
-
addSchema(schema, arity)
|
|
41
|
-
if (/E/.test(schema)) {
|
|
42
|
-
addSchema(schema.replace(/E.*$/, 'E'), arity)
|
|
43
|
-
addSchema(schema.replace(/E/, 'Z'), arity)
|
|
44
|
-
if (schema.length === 1) addSchema('', arity)
|
|
45
|
-
}
|
|
46
|
-
})
|
|
47
|
-
let matching = arity[args.length]
|
|
48
|
-
if (!matching) {
|
|
49
|
-
throw wrongNumberOfArgs(Object.keys(arity), args.length)
|
|
50
|
-
}
|
|
51
|
-
for (let ii = 0; ii < args.length; ++ii) {
|
|
52
|
-
let newMatching = matching.filter(schema => {
|
|
53
|
-
const type = schema[ii]
|
|
54
|
-
const typeCheck = types[type].check
|
|
55
|
-
return typeCheck(args[ii])
|
|
56
|
-
})
|
|
57
|
-
if (!newMatching.length) {
|
|
58
|
-
const labels = matching.map(_ => types[_[ii]].label).filter(_ => _ != null)
|
|
59
|
-
throw invalidType(ii, labels, args[ii])
|
|
60
|
-
}
|
|
61
|
-
matching = newMatching
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
function missingRequiredArg (num) {
|
|
66
|
-
return newException('EMISSINGARG', 'Missing required argument #' + (num + 1))
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function unknownType (num, type) {
|
|
70
|
-
return newException('EUNKNOWNTYPE', 'Unknown type ' + type + ' in argument #' + (num + 1))
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
function invalidType (num, expectedTypes, value) {
|
|
74
|
-
let valueType
|
|
75
|
-
Object.keys(types).forEach(typeCode => {
|
|
76
|
-
if (types[typeCode].check(value)) valueType = types[typeCode].label
|
|
77
|
-
})
|
|
78
|
-
return newException('EINVALIDTYPE', 'Argument #' + (num + 1) + ': Expected ' +
|
|
79
|
-
englishList(expectedTypes) + ' but got ' + valueType)
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
function englishList (list) {
|
|
83
|
-
return list.join(', ').replace(/, ([^,]+)$/, ' or $1')
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function wrongNumberOfArgs (expected, got) {
|
|
87
|
-
const english = englishList(expected)
|
|
88
|
-
const args = expected.every(ex => ex.length === 1)
|
|
89
|
-
? 'argument'
|
|
90
|
-
: 'arguments'
|
|
91
|
-
return newException('EWRONGARGCOUNT', 'Expected ' + english + ' ' + args + ' but got ' + got)
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
function moreThanOneError (schema) {
|
|
95
|
-
return newException('ETOOMANYERRORTYPES',
|
|
96
|
-
'Only one error type per argument signature is allowed, more than one found in "' + schema + '"')
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function newException (code, msg) {
|
|
100
|
-
const err = new Error(msg)
|
|
101
|
-
err.code = code
|
|
102
|
-
/* istanbul ignore else */
|
|
103
|
-
if (Error.captureStackTrace) Error.captureStackTrace(err, validate)
|
|
104
|
-
return err
|
|
105
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "aproba",
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"description": "A ridiculously light-weight argument validator (now browser friendly)",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"test": "test"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"standard": "^11.0.1",
|
|
12
|
-
"tap": "^12.0.1"
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"index.js"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"pretest": "standard",
|
|
19
|
-
"test": "tap --100 -J test/*.js"
|
|
20
|
-
},
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "https://github.com/iarna/aproba"
|
|
24
|
-
},
|
|
25
|
-
"keywords": [
|
|
26
|
-
"argument",
|
|
27
|
-
"validate"
|
|
28
|
-
],
|
|
29
|
-
"author": "Rebecca Turner <me@re-becca.org>",
|
|
30
|
-
"license": "ISC",
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/iarna/aproba/issues"
|
|
33
|
-
},
|
|
34
|
-
"homepage": "https://github.com/iarna/aproba"
|
|
35
|
-
}
|