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,180 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _Object$setPrototypeO;
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
6
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
-
var finished = require('./end-of-stream');
|
|
8
|
-
var kLastResolve = Symbol('lastResolve');
|
|
9
|
-
var kLastReject = Symbol('lastReject');
|
|
10
|
-
var kError = Symbol('error');
|
|
11
|
-
var kEnded = Symbol('ended');
|
|
12
|
-
var kLastPromise = Symbol('lastPromise');
|
|
13
|
-
var kHandlePromise = Symbol('handlePromise');
|
|
14
|
-
var kStream = Symbol('stream');
|
|
15
|
-
function createIterResult(value, done) {
|
|
16
|
-
return {
|
|
17
|
-
value: value,
|
|
18
|
-
done: done
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function readAndResolve(iter) {
|
|
22
|
-
var resolve = iter[kLastResolve];
|
|
23
|
-
if (resolve !== null) {
|
|
24
|
-
var data = iter[kStream].read();
|
|
25
|
-
// we defer if data is null
|
|
26
|
-
// we can be expecting either 'end' or
|
|
27
|
-
// 'error'
|
|
28
|
-
if (data !== null) {
|
|
29
|
-
iter[kLastPromise] = null;
|
|
30
|
-
iter[kLastResolve] = null;
|
|
31
|
-
iter[kLastReject] = null;
|
|
32
|
-
resolve(createIterResult(data, false));
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function onReadable(iter) {
|
|
37
|
-
// we wait for the next tick, because it might
|
|
38
|
-
// emit an error with process.nextTick
|
|
39
|
-
process.nextTick(readAndResolve, iter);
|
|
40
|
-
}
|
|
41
|
-
function wrapForNext(lastPromise, iter) {
|
|
42
|
-
return function (resolve, reject) {
|
|
43
|
-
lastPromise.then(function () {
|
|
44
|
-
if (iter[kEnded]) {
|
|
45
|
-
resolve(createIterResult(undefined, true));
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
iter[kHandlePromise](resolve, reject);
|
|
49
|
-
}, reject);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
var AsyncIteratorPrototype = Object.getPrototypeOf(function () {});
|
|
53
|
-
var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {
|
|
54
|
-
get stream() {
|
|
55
|
-
return this[kStream];
|
|
56
|
-
},
|
|
57
|
-
next: function next() {
|
|
58
|
-
var _this = this;
|
|
59
|
-
// if we have detected an error in the meanwhile
|
|
60
|
-
// reject straight away
|
|
61
|
-
var error = this[kError];
|
|
62
|
-
if (error !== null) {
|
|
63
|
-
return Promise.reject(error);
|
|
64
|
-
}
|
|
65
|
-
if (this[kEnded]) {
|
|
66
|
-
return Promise.resolve(createIterResult(undefined, true));
|
|
67
|
-
}
|
|
68
|
-
if (this[kStream].destroyed) {
|
|
69
|
-
// We need to defer via nextTick because if .destroy(err) is
|
|
70
|
-
// called, the error will be emitted via nextTick, and
|
|
71
|
-
// we cannot guarantee that there is no error lingering around
|
|
72
|
-
// waiting to be emitted.
|
|
73
|
-
return new Promise(function (resolve, reject) {
|
|
74
|
-
process.nextTick(function () {
|
|
75
|
-
if (_this[kError]) {
|
|
76
|
-
reject(_this[kError]);
|
|
77
|
-
} else {
|
|
78
|
-
resolve(createIterResult(undefined, true));
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// if we have multiple next() calls
|
|
85
|
-
// we will wait for the previous Promise to finish
|
|
86
|
-
// this logic is optimized to support for await loops,
|
|
87
|
-
// where next() is only called once at a time
|
|
88
|
-
var lastPromise = this[kLastPromise];
|
|
89
|
-
var promise;
|
|
90
|
-
if (lastPromise) {
|
|
91
|
-
promise = new Promise(wrapForNext(lastPromise, this));
|
|
92
|
-
} else {
|
|
93
|
-
// fast path needed to support multiple this.push()
|
|
94
|
-
// without triggering the next() queue
|
|
95
|
-
var data = this[kStream].read();
|
|
96
|
-
if (data !== null) {
|
|
97
|
-
return Promise.resolve(createIterResult(data, false));
|
|
98
|
-
}
|
|
99
|
-
promise = new Promise(this[kHandlePromise]);
|
|
100
|
-
}
|
|
101
|
-
this[kLastPromise] = promise;
|
|
102
|
-
return promise;
|
|
103
|
-
}
|
|
104
|
-
}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {
|
|
105
|
-
return this;
|
|
106
|
-
}), _defineProperty(_Object$setPrototypeO, "return", function _return() {
|
|
107
|
-
var _this2 = this;
|
|
108
|
-
// destroy(err, cb) is a private API
|
|
109
|
-
// we can guarantee we have that here, because we control the
|
|
110
|
-
// Readable class this is attached to
|
|
111
|
-
return new Promise(function (resolve, reject) {
|
|
112
|
-
_this2[kStream].destroy(null, function (err) {
|
|
113
|
-
if (err) {
|
|
114
|
-
reject(err);
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
resolve(createIterResult(undefined, true));
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
}), _Object$setPrototypeO), AsyncIteratorPrototype);
|
|
121
|
-
var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {
|
|
122
|
-
var _Object$create;
|
|
123
|
-
var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
|
|
124
|
-
value: stream,
|
|
125
|
-
writable: true
|
|
126
|
-
}), _defineProperty(_Object$create, kLastResolve, {
|
|
127
|
-
value: null,
|
|
128
|
-
writable: true
|
|
129
|
-
}), _defineProperty(_Object$create, kLastReject, {
|
|
130
|
-
value: null,
|
|
131
|
-
writable: true
|
|
132
|
-
}), _defineProperty(_Object$create, kError, {
|
|
133
|
-
value: null,
|
|
134
|
-
writable: true
|
|
135
|
-
}), _defineProperty(_Object$create, kEnded, {
|
|
136
|
-
value: stream._readableState.endEmitted,
|
|
137
|
-
writable: true
|
|
138
|
-
}), _defineProperty(_Object$create, kHandlePromise, {
|
|
139
|
-
value: function value(resolve, reject) {
|
|
140
|
-
var data = iterator[kStream].read();
|
|
141
|
-
if (data) {
|
|
142
|
-
iterator[kLastPromise] = null;
|
|
143
|
-
iterator[kLastResolve] = null;
|
|
144
|
-
iterator[kLastReject] = null;
|
|
145
|
-
resolve(createIterResult(data, false));
|
|
146
|
-
} else {
|
|
147
|
-
iterator[kLastResolve] = resolve;
|
|
148
|
-
iterator[kLastReject] = reject;
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
writable: true
|
|
152
|
-
}), _Object$create));
|
|
153
|
-
iterator[kLastPromise] = null;
|
|
154
|
-
finished(stream, function (err) {
|
|
155
|
-
if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {
|
|
156
|
-
var reject = iterator[kLastReject];
|
|
157
|
-
// reject if we are waiting for data in the Promise
|
|
158
|
-
// returned by next() and store the error
|
|
159
|
-
if (reject !== null) {
|
|
160
|
-
iterator[kLastPromise] = null;
|
|
161
|
-
iterator[kLastResolve] = null;
|
|
162
|
-
iterator[kLastReject] = null;
|
|
163
|
-
reject(err);
|
|
164
|
-
}
|
|
165
|
-
iterator[kError] = err;
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
var resolve = iterator[kLastResolve];
|
|
169
|
-
if (resolve !== null) {
|
|
170
|
-
iterator[kLastPromise] = null;
|
|
171
|
-
iterator[kLastResolve] = null;
|
|
172
|
-
iterator[kLastReject] = null;
|
|
173
|
-
resolve(createIterResult(undefined, true));
|
|
174
|
-
}
|
|
175
|
-
iterator[kEnded] = true;
|
|
176
|
-
});
|
|
177
|
-
stream.on('readable', onReadable.bind(null, iterator));
|
|
178
|
-
return iterator;
|
|
179
|
-
};
|
|
180
|
-
module.exports = createReadableStreamAsyncIterator;
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
8
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
9
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11
|
-
var _require = require('buffer'),
|
|
12
|
-
Buffer = _require.Buffer;
|
|
13
|
-
var _require2 = require('util'),
|
|
14
|
-
inspect = _require2.inspect;
|
|
15
|
-
var custom = inspect && inspect.custom || 'inspect';
|
|
16
|
-
function copyBuffer(src, target, offset) {
|
|
17
|
-
Buffer.prototype.copy.call(src, target, offset);
|
|
18
|
-
}
|
|
19
|
-
module.exports = /*#__PURE__*/function () {
|
|
20
|
-
function BufferList() {
|
|
21
|
-
_classCallCheck(this, BufferList);
|
|
22
|
-
this.head = null;
|
|
23
|
-
this.tail = null;
|
|
24
|
-
this.length = 0;
|
|
25
|
-
}
|
|
26
|
-
_createClass(BufferList, [{
|
|
27
|
-
key: "push",
|
|
28
|
-
value: function push(v) {
|
|
29
|
-
var entry = {
|
|
30
|
-
data: v,
|
|
31
|
-
next: null
|
|
32
|
-
};
|
|
33
|
-
if (this.length > 0) this.tail.next = entry;else this.head = entry;
|
|
34
|
-
this.tail = entry;
|
|
35
|
-
++this.length;
|
|
36
|
-
}
|
|
37
|
-
}, {
|
|
38
|
-
key: "unshift",
|
|
39
|
-
value: function unshift(v) {
|
|
40
|
-
var entry = {
|
|
41
|
-
data: v,
|
|
42
|
-
next: this.head
|
|
43
|
-
};
|
|
44
|
-
if (this.length === 0) this.tail = entry;
|
|
45
|
-
this.head = entry;
|
|
46
|
-
++this.length;
|
|
47
|
-
}
|
|
48
|
-
}, {
|
|
49
|
-
key: "shift",
|
|
50
|
-
value: function shift() {
|
|
51
|
-
if (this.length === 0) return;
|
|
52
|
-
var ret = this.head.data;
|
|
53
|
-
if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;
|
|
54
|
-
--this.length;
|
|
55
|
-
return ret;
|
|
56
|
-
}
|
|
57
|
-
}, {
|
|
58
|
-
key: "clear",
|
|
59
|
-
value: function clear() {
|
|
60
|
-
this.head = this.tail = null;
|
|
61
|
-
this.length = 0;
|
|
62
|
-
}
|
|
63
|
-
}, {
|
|
64
|
-
key: "join",
|
|
65
|
-
value: function join(s) {
|
|
66
|
-
if (this.length === 0) return '';
|
|
67
|
-
var p = this.head;
|
|
68
|
-
var ret = '' + p.data;
|
|
69
|
-
while (p = p.next) ret += s + p.data;
|
|
70
|
-
return ret;
|
|
71
|
-
}
|
|
72
|
-
}, {
|
|
73
|
-
key: "concat",
|
|
74
|
-
value: function concat(n) {
|
|
75
|
-
if (this.length === 0) return Buffer.alloc(0);
|
|
76
|
-
var ret = Buffer.allocUnsafe(n >>> 0);
|
|
77
|
-
var p = this.head;
|
|
78
|
-
var i = 0;
|
|
79
|
-
while (p) {
|
|
80
|
-
copyBuffer(p.data, ret, i);
|
|
81
|
-
i += p.data.length;
|
|
82
|
-
p = p.next;
|
|
83
|
-
}
|
|
84
|
-
return ret;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Consumes a specified amount of bytes or characters from the buffered data.
|
|
88
|
-
}, {
|
|
89
|
-
key: "consume",
|
|
90
|
-
value: function consume(n, hasStrings) {
|
|
91
|
-
var ret;
|
|
92
|
-
if (n < this.head.data.length) {
|
|
93
|
-
// `slice` is the same for buffers and strings.
|
|
94
|
-
ret = this.head.data.slice(0, n);
|
|
95
|
-
this.head.data = this.head.data.slice(n);
|
|
96
|
-
} else if (n === this.head.data.length) {
|
|
97
|
-
// First chunk is a perfect match.
|
|
98
|
-
ret = this.shift();
|
|
99
|
-
} else {
|
|
100
|
-
// Result spans more than one buffer.
|
|
101
|
-
ret = hasStrings ? this._getString(n) : this._getBuffer(n);
|
|
102
|
-
}
|
|
103
|
-
return ret;
|
|
104
|
-
}
|
|
105
|
-
}, {
|
|
106
|
-
key: "first",
|
|
107
|
-
value: function first() {
|
|
108
|
-
return this.head.data;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Consumes a specified amount of characters from the buffered data.
|
|
112
|
-
}, {
|
|
113
|
-
key: "_getString",
|
|
114
|
-
value: function _getString(n) {
|
|
115
|
-
var p = this.head;
|
|
116
|
-
var c = 1;
|
|
117
|
-
var ret = p.data;
|
|
118
|
-
n -= ret.length;
|
|
119
|
-
while (p = p.next) {
|
|
120
|
-
var str = p.data;
|
|
121
|
-
var nb = n > str.length ? str.length : n;
|
|
122
|
-
if (nb === str.length) ret += str;else ret += str.slice(0, n);
|
|
123
|
-
n -= nb;
|
|
124
|
-
if (n === 0) {
|
|
125
|
-
if (nb === str.length) {
|
|
126
|
-
++c;
|
|
127
|
-
if (p.next) this.head = p.next;else this.head = this.tail = null;
|
|
128
|
-
} else {
|
|
129
|
-
this.head = p;
|
|
130
|
-
p.data = str.slice(nb);
|
|
131
|
-
}
|
|
132
|
-
break;
|
|
133
|
-
}
|
|
134
|
-
++c;
|
|
135
|
-
}
|
|
136
|
-
this.length -= c;
|
|
137
|
-
return ret;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Consumes a specified amount of bytes from the buffered data.
|
|
141
|
-
}, {
|
|
142
|
-
key: "_getBuffer",
|
|
143
|
-
value: function _getBuffer(n) {
|
|
144
|
-
var ret = Buffer.allocUnsafe(n);
|
|
145
|
-
var p = this.head;
|
|
146
|
-
var c = 1;
|
|
147
|
-
p.data.copy(ret);
|
|
148
|
-
n -= p.data.length;
|
|
149
|
-
while (p = p.next) {
|
|
150
|
-
var buf = p.data;
|
|
151
|
-
var nb = n > buf.length ? buf.length : n;
|
|
152
|
-
buf.copy(ret, ret.length - n, 0, nb);
|
|
153
|
-
n -= nb;
|
|
154
|
-
if (n === 0) {
|
|
155
|
-
if (nb === buf.length) {
|
|
156
|
-
++c;
|
|
157
|
-
if (p.next) this.head = p.next;else this.head = this.tail = null;
|
|
158
|
-
} else {
|
|
159
|
-
this.head = p;
|
|
160
|
-
p.data = buf.slice(nb);
|
|
161
|
-
}
|
|
162
|
-
break;
|
|
163
|
-
}
|
|
164
|
-
++c;
|
|
165
|
-
}
|
|
166
|
-
this.length -= c;
|
|
167
|
-
return ret;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// Make sure the linked list only shows the minimal necessary information.
|
|
171
|
-
}, {
|
|
172
|
-
key: custom,
|
|
173
|
-
value: function value(_, options) {
|
|
174
|
-
return inspect(this, _objectSpread(_objectSpread({}, options), {}, {
|
|
175
|
-
// Only inspect one level.
|
|
176
|
-
depth: 0,
|
|
177
|
-
// It should not recurse.
|
|
178
|
-
customInspect: false
|
|
179
|
-
}));
|
|
180
|
-
}
|
|
181
|
-
}]);
|
|
182
|
-
return BufferList;
|
|
183
|
-
}();
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// undocumented cb() API, needed for core, not for public API
|
|
4
|
-
function destroy(err, cb) {
|
|
5
|
-
var _this = this;
|
|
6
|
-
var readableDestroyed = this._readableState && this._readableState.destroyed;
|
|
7
|
-
var writableDestroyed = this._writableState && this._writableState.destroyed;
|
|
8
|
-
if (readableDestroyed || writableDestroyed) {
|
|
9
|
-
if (cb) {
|
|
10
|
-
cb(err);
|
|
11
|
-
} else if (err) {
|
|
12
|
-
if (!this._writableState) {
|
|
13
|
-
process.nextTick(emitErrorNT, this, err);
|
|
14
|
-
} else if (!this._writableState.errorEmitted) {
|
|
15
|
-
this._writableState.errorEmitted = true;
|
|
16
|
-
process.nextTick(emitErrorNT, this, err);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return this;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// we set destroyed to true before firing error callbacks in order
|
|
23
|
-
// to make it re-entrance safe in case destroy() is called within callbacks
|
|
24
|
-
|
|
25
|
-
if (this._readableState) {
|
|
26
|
-
this._readableState.destroyed = true;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// if this is a duplex stream mark the writable part as destroyed as well
|
|
30
|
-
if (this._writableState) {
|
|
31
|
-
this._writableState.destroyed = true;
|
|
32
|
-
}
|
|
33
|
-
this._destroy(err || null, function (err) {
|
|
34
|
-
if (!cb && err) {
|
|
35
|
-
if (!_this._writableState) {
|
|
36
|
-
process.nextTick(emitErrorAndCloseNT, _this, err);
|
|
37
|
-
} else if (!_this._writableState.errorEmitted) {
|
|
38
|
-
_this._writableState.errorEmitted = true;
|
|
39
|
-
process.nextTick(emitErrorAndCloseNT, _this, err);
|
|
40
|
-
} else {
|
|
41
|
-
process.nextTick(emitCloseNT, _this);
|
|
42
|
-
}
|
|
43
|
-
} else if (cb) {
|
|
44
|
-
process.nextTick(emitCloseNT, _this);
|
|
45
|
-
cb(err);
|
|
46
|
-
} else {
|
|
47
|
-
process.nextTick(emitCloseNT, _this);
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
function emitErrorAndCloseNT(self, err) {
|
|
53
|
-
emitErrorNT(self, err);
|
|
54
|
-
emitCloseNT(self);
|
|
55
|
-
}
|
|
56
|
-
function emitCloseNT(self) {
|
|
57
|
-
if (self._writableState && !self._writableState.emitClose) return;
|
|
58
|
-
if (self._readableState && !self._readableState.emitClose) return;
|
|
59
|
-
self.emit('close');
|
|
60
|
-
}
|
|
61
|
-
function undestroy() {
|
|
62
|
-
if (this._readableState) {
|
|
63
|
-
this._readableState.destroyed = false;
|
|
64
|
-
this._readableState.reading = false;
|
|
65
|
-
this._readableState.ended = false;
|
|
66
|
-
this._readableState.endEmitted = false;
|
|
67
|
-
}
|
|
68
|
-
if (this._writableState) {
|
|
69
|
-
this._writableState.destroyed = false;
|
|
70
|
-
this._writableState.ended = false;
|
|
71
|
-
this._writableState.ending = false;
|
|
72
|
-
this._writableState.finalCalled = false;
|
|
73
|
-
this._writableState.prefinished = false;
|
|
74
|
-
this._writableState.finished = false;
|
|
75
|
-
this._writableState.errorEmitted = false;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function emitErrorNT(self, err) {
|
|
79
|
-
self.emit('error', err);
|
|
80
|
-
}
|
|
81
|
-
function errorOrDestroy(stream, err) {
|
|
82
|
-
// We have tests that rely on errors being emitted
|
|
83
|
-
// in the same tick, so changing this is semver major.
|
|
84
|
-
// For now when you opt-in to autoDestroy we allow
|
|
85
|
-
// the error to be emitted nextTick. In a future
|
|
86
|
-
// semver major update we should change the default to this.
|
|
87
|
-
|
|
88
|
-
var rState = stream._readableState;
|
|
89
|
-
var wState = stream._writableState;
|
|
90
|
-
if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);
|
|
91
|
-
}
|
|
92
|
-
module.exports = {
|
|
93
|
-
destroy: destroy,
|
|
94
|
-
undestroy: undestroy,
|
|
95
|
-
errorOrDestroy: errorOrDestroy
|
|
96
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// Ported from https://github.com/mafintosh/end-of-stream with
|
|
2
|
-
// permission from the author, Mathias Buus (@mafintosh).
|
|
3
|
-
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
var ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
7
|
-
function once(callback) {
|
|
8
|
-
var called = false;
|
|
9
|
-
return function () {
|
|
10
|
-
if (called) return;
|
|
11
|
-
called = true;
|
|
12
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
13
|
-
args[_key] = arguments[_key];
|
|
14
|
-
}
|
|
15
|
-
callback.apply(this, args);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function noop() {}
|
|
19
|
-
function isRequest(stream) {
|
|
20
|
-
return stream.setHeader && typeof stream.abort === 'function';
|
|
21
|
-
}
|
|
22
|
-
function eos(stream, opts, callback) {
|
|
23
|
-
if (typeof opts === 'function') return eos(stream, null, opts);
|
|
24
|
-
if (!opts) opts = {};
|
|
25
|
-
callback = once(callback || noop);
|
|
26
|
-
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
27
|
-
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
28
|
-
var onlegacyfinish = function onlegacyfinish() {
|
|
29
|
-
if (!stream.writable) onfinish();
|
|
30
|
-
};
|
|
31
|
-
var writableEnded = stream._writableState && stream._writableState.finished;
|
|
32
|
-
var onfinish = function onfinish() {
|
|
33
|
-
writable = false;
|
|
34
|
-
writableEnded = true;
|
|
35
|
-
if (!readable) callback.call(stream);
|
|
36
|
-
};
|
|
37
|
-
var readableEnded = stream._readableState && stream._readableState.endEmitted;
|
|
38
|
-
var onend = function onend() {
|
|
39
|
-
readable = false;
|
|
40
|
-
readableEnded = true;
|
|
41
|
-
if (!writable) callback.call(stream);
|
|
42
|
-
};
|
|
43
|
-
var onerror = function onerror(err) {
|
|
44
|
-
callback.call(stream, err);
|
|
45
|
-
};
|
|
46
|
-
var onclose = function onclose() {
|
|
47
|
-
var err;
|
|
48
|
-
if (readable && !readableEnded) {
|
|
49
|
-
if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();
|
|
50
|
-
return callback.call(stream, err);
|
|
51
|
-
}
|
|
52
|
-
if (writable && !writableEnded) {
|
|
53
|
-
if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();
|
|
54
|
-
return callback.call(stream, err);
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
var onrequest = function onrequest() {
|
|
58
|
-
stream.req.on('finish', onfinish);
|
|
59
|
-
};
|
|
60
|
-
if (isRequest(stream)) {
|
|
61
|
-
stream.on('complete', onfinish);
|
|
62
|
-
stream.on('abort', onclose);
|
|
63
|
-
if (stream.req) onrequest();else stream.on('request', onrequest);
|
|
64
|
-
} else if (writable && !stream._writableState) {
|
|
65
|
-
// legacy streams
|
|
66
|
-
stream.on('end', onlegacyfinish);
|
|
67
|
-
stream.on('close', onlegacyfinish);
|
|
68
|
-
}
|
|
69
|
-
stream.on('end', onend);
|
|
70
|
-
stream.on('finish', onfinish);
|
|
71
|
-
if (opts.error !== false) stream.on('error', onerror);
|
|
72
|
-
stream.on('close', onclose);
|
|
73
|
-
return function () {
|
|
74
|
-
stream.removeListener('complete', onfinish);
|
|
75
|
-
stream.removeListener('abort', onclose);
|
|
76
|
-
stream.removeListener('request', onrequest);
|
|
77
|
-
if (stream.req) stream.req.removeListener('finish', onfinish);
|
|
78
|
-
stream.removeListener('end', onlegacyfinish);
|
|
79
|
-
stream.removeListener('close', onlegacyfinish);
|
|
80
|
-
stream.removeListener('finish', onfinish);
|
|
81
|
-
stream.removeListener('end', onend);
|
|
82
|
-
stream.removeListener('error', onerror);
|
|
83
|
-
stream.removeListener('close', onclose);
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
module.exports = eos;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
|
-
var ERR_INVALID_ARG_TYPE = require('../../../errors').codes.ERR_INVALID_ARG_TYPE;
|
|
11
|
-
function from(Readable, iterable, opts) {
|
|
12
|
-
var iterator;
|
|
13
|
-
if (iterable && typeof iterable.next === 'function') {
|
|
14
|
-
iterator = iterable;
|
|
15
|
-
} else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]();else if (iterable && iterable[Symbol.iterator]) iterator = iterable[Symbol.iterator]();else throw new ERR_INVALID_ARG_TYPE('iterable', ['Iterable'], iterable);
|
|
16
|
-
var readable = new Readable(_objectSpread({
|
|
17
|
-
objectMode: true
|
|
18
|
-
}, opts));
|
|
19
|
-
// Reading boolean to protect against _read
|
|
20
|
-
// being called before last iteration completion.
|
|
21
|
-
var reading = false;
|
|
22
|
-
readable._read = function () {
|
|
23
|
-
if (!reading) {
|
|
24
|
-
reading = true;
|
|
25
|
-
next();
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
function next() {
|
|
29
|
-
return _next2.apply(this, arguments);
|
|
30
|
-
}
|
|
31
|
-
function _next2() {
|
|
32
|
-
_next2 = _asyncToGenerator(function* () {
|
|
33
|
-
try {
|
|
34
|
-
var _yield$iterator$next = yield iterator.next(),
|
|
35
|
-
value = _yield$iterator$next.value,
|
|
36
|
-
done = _yield$iterator$next.done;
|
|
37
|
-
if (done) {
|
|
38
|
-
readable.push(null);
|
|
39
|
-
} else if (readable.push(yield value)) {
|
|
40
|
-
next();
|
|
41
|
-
} else {
|
|
42
|
-
reading = false;
|
|
43
|
-
}
|
|
44
|
-
} catch (err) {
|
|
45
|
-
readable.destroy(err);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
return _next2.apply(this, arguments);
|
|
49
|
-
}
|
|
50
|
-
return readable;
|
|
51
|
-
}
|
|
52
|
-
module.exports = from;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// Ported from https://github.com/mafintosh/pump with
|
|
2
|
-
// permission from the author, Mathias Buus (@mafintosh).
|
|
3
|
-
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
var eos;
|
|
7
|
-
function once(callback) {
|
|
8
|
-
var called = false;
|
|
9
|
-
return function () {
|
|
10
|
-
if (called) return;
|
|
11
|
-
called = true;
|
|
12
|
-
callback.apply(void 0, arguments);
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
var _require$codes = require('../../../errors').codes,
|
|
16
|
-
ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,
|
|
17
|
-
ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
18
|
-
function noop(err) {
|
|
19
|
-
// Rethrow the error if it exists to avoid swallowing it
|
|
20
|
-
if (err) throw err;
|
|
21
|
-
}
|
|
22
|
-
function isRequest(stream) {
|
|
23
|
-
return stream.setHeader && typeof stream.abort === 'function';
|
|
24
|
-
}
|
|
25
|
-
function destroyer(stream, reading, writing, callback) {
|
|
26
|
-
callback = once(callback);
|
|
27
|
-
var closed = false;
|
|
28
|
-
stream.on('close', function () {
|
|
29
|
-
closed = true;
|
|
30
|
-
});
|
|
31
|
-
if (eos === undefined) eos = require('./end-of-stream');
|
|
32
|
-
eos(stream, {
|
|
33
|
-
readable: reading,
|
|
34
|
-
writable: writing
|
|
35
|
-
}, function (err) {
|
|
36
|
-
if (err) return callback(err);
|
|
37
|
-
closed = true;
|
|
38
|
-
callback();
|
|
39
|
-
});
|
|
40
|
-
var destroyed = false;
|
|
41
|
-
return function (err) {
|
|
42
|
-
if (closed) return;
|
|
43
|
-
if (destroyed) return;
|
|
44
|
-
destroyed = true;
|
|
45
|
-
|
|
46
|
-
// request.destroy just do .end - .abort is what we want
|
|
47
|
-
if (isRequest(stream)) return stream.abort();
|
|
48
|
-
if (typeof stream.destroy === 'function') return stream.destroy();
|
|
49
|
-
callback(err || new ERR_STREAM_DESTROYED('pipe'));
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function call(fn) {
|
|
53
|
-
fn();
|
|
54
|
-
}
|
|
55
|
-
function pipe(from, to) {
|
|
56
|
-
return from.pipe(to);
|
|
57
|
-
}
|
|
58
|
-
function popCallback(streams) {
|
|
59
|
-
if (!streams.length) return noop;
|
|
60
|
-
if (typeof streams[streams.length - 1] !== 'function') return noop;
|
|
61
|
-
return streams.pop();
|
|
62
|
-
}
|
|
63
|
-
function pipeline() {
|
|
64
|
-
for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
65
|
-
streams[_key] = arguments[_key];
|
|
66
|
-
}
|
|
67
|
-
var callback = popCallback(streams);
|
|
68
|
-
if (Array.isArray(streams[0])) streams = streams[0];
|
|
69
|
-
if (streams.length < 2) {
|
|
70
|
-
throw new ERR_MISSING_ARGS('streams');
|
|
71
|
-
}
|
|
72
|
-
var error;
|
|
73
|
-
var destroys = streams.map(function (stream, i) {
|
|
74
|
-
var reading = i < streams.length - 1;
|
|
75
|
-
var writing = i > 0;
|
|
76
|
-
return destroyer(stream, reading, writing, function (err) {
|
|
77
|
-
if (!error) error = err;
|
|
78
|
-
if (err) destroys.forEach(call);
|
|
79
|
-
if (reading) return;
|
|
80
|
-
destroys.forEach(call);
|
|
81
|
-
callback(error);
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
return streams.reduce(pipe);
|
|
85
|
-
}
|
|
86
|
-
module.exports = pipeline;
|