@powerlines/plugin-env 0.16.60 → 0.16.62
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 +14 -16
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
- package/dist/_virtual/{rolldown_runtime.mjs → _rolldown/runtime.mjs} +2 -3
- package/dist/babel/index.cjs +1 -0
- package/dist/babel/plugin.cjs +20 -19
- package/dist/babel/plugin.d.cts +0 -1
- package/dist/babel/plugin.d.cts.map +1 -1
- package/dist/babel/plugin.d.mts +0 -1
- package/dist/babel/plugin.d.mts.map +1 -1
- package/dist/babel/plugin.mjs +3 -3
- package/dist/babel/plugin.mjs.map +1 -1
- package/dist/components/docs.cjs +26 -25
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts.map +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env-builtin.cjs +155 -153
- package/dist/components/env-builtin.d.cts +0 -1
- package/dist/components/env-builtin.d.cts.map +1 -1
- package/dist/components/env-builtin.d.mts +0 -1
- package/dist/components/env-builtin.d.mts.map +1 -1
- package/dist/components/env-builtin.mjs +1 -1
- package/dist/components/index.cjs +1 -0
- package/dist/helpers/automd-generator.cjs +4 -3
- package/dist/helpers/automd-generator.d.cts +2 -3
- package/dist/helpers/automd-generator.d.cts.map +1 -1
- package/dist/helpers/automd-generator.d.mts +2 -3
- package/dist/helpers/automd-generator.d.mts.map +1 -1
- package/dist/helpers/automd-generator.mjs +1 -1
- package/dist/helpers/automd-generator.mjs.map +1 -1
- package/dist/helpers/create-reflection-resource.cjs +1 -0
- package/dist/helpers/create-reflection-resource.d.cts +0 -1
- package/dist/helpers/create-reflection-resource.d.cts.map +1 -1
- package/dist/helpers/create-reflection-resource.d.mts +0 -1
- package/dist/helpers/create-reflection-resource.d.mts.map +1 -1
- package/dist/helpers/create-reflection-resource.mjs.map +1 -1
- package/dist/helpers/docs-helper.cjs +4 -2
- package/dist/helpers/docs-helper.d.cts +0 -1
- package/dist/helpers/docs-helper.d.cts.map +1 -1
- package/dist/helpers/docs-helper.d.mts +0 -1
- package/dist/helpers/docs-helper.d.mts.map +1 -1
- package/dist/helpers/docs-helper.mjs +1 -1
- package/dist/helpers/docs-helper.mjs.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/load.cjs +19 -17
- package/dist/helpers/load.d.cts +0 -1
- package/dist/helpers/load.d.cts.map +1 -1
- package/dist/helpers/load.d.mts +0 -1
- package/dist/helpers/load.d.mts.map +1 -1
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/load.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +59 -58
- package/dist/helpers/persistence.d.cts +0 -1
- package/dist/helpers/persistence.d.cts.map +1 -1
- package/dist/helpers/persistence.d.mts +0 -1
- package/dist/helpers/persistence.d.mts.map +1 -1
- package/dist/helpers/persistence.mjs +15 -15
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/reflect.cjs +40 -39
- package/dist/helpers/reflect.d.cts.map +1 -1
- package/dist/helpers/reflect.d.mts.map +1 -1
- package/dist/helpers/reflect.mjs +2 -2
- package/dist/helpers/reflect.mjs.map +1 -1
- package/dist/helpers/source-file-env.cjs +8 -7
- package/dist/helpers/source-file-env.d.cts.map +1 -1
- package/dist/helpers/source-file-env.d.mts.map +1 -1
- package/dist/helpers/source-file-env.mjs.map +1 -1
- package/dist/helpers/template-helpers.cjs +6 -5
- package/dist/helpers/template-helpers.d.cts +0 -1
- package/dist/helpers/template-helpers.d.cts.map +1 -1
- package/dist/helpers/template-helpers.d.mts +0 -1
- package/dist/helpers/template-helpers.d.mts.map +1 -1
- package/dist/helpers/template-helpers.mjs.map +1 -1
- package/dist/index.cjs +49 -49
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +7 -7
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +6 -6
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +4 -4
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +5 -5
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +4 -4
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +2 -2
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +1 -1
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +18 -18
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1308 -1311
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1294 -1297
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +2194 -2194
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +2193 -2193
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +3 -3
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +3 -3
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +34 -34
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +33 -33
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +221 -223
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +220 -222
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +1 -1
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +3 -3
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +1 -1
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +6 -6
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +10 -10
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +16 -16
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +412 -412
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +189 -189
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/plugin.cjs +20 -19
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs.map +1 -1
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts.map +1 -1
- package/dist/types/runtime.d.mts.map +1 -1
- package/dist/types/runtime.mjs.map +1 -1
- package/package.json +45 -26
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -38
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -7
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -20
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -64
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -17
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -33
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.cjs +0 -28
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs +0 -29
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.cjs +0 -122
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs +0 -123
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs +0 -9
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs.map +0 -1
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +0 -1
|
@@ -17,7 +17,7 @@ var g = (e, t, n, r) => {
|
|
|
17
17
|
if (t && typeof t === "object" || typeof t === "function") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) {
|
|
18
18
|
s = i[a];
|
|
19
19
|
if (!m.call(e, s) && s !== n) u(e, s, {
|
|
20
|
-
get: ((e
|
|
20
|
+
get: ((e) => t[e]).bind(null, s),
|
|
21
21
|
enumerable: !(r = d(t, s)) || r.enumerable
|
|
22
22
|
});
|
|
23
23
|
}
|
|
@@ -74,9 +74,9 @@ const w = (e) => {
|
|
|
74
74
|
const r = () => {
|
|
75
75
|
if (--t === 0) n.emit("end");
|
|
76
76
|
};
|
|
77
|
-
for (const t
|
|
78
|
-
t
|
|
79
|
-
t
|
|
77
|
+
for (const t of e) {
|
|
78
|
+
t.pipe(n, { end: false });
|
|
79
|
+
t.on("end", r);
|
|
80
80
|
}
|
|
81
81
|
return n;
|
|
82
82
|
};
|
|
@@ -84,56 +84,56 @@ var T = h((exports, t) => {
|
|
|
84
84
|
t.exports = a;
|
|
85
85
|
a.sync = o;
|
|
86
86
|
var n = v("fs");
|
|
87
|
-
function r(e, t
|
|
88
|
-
var n
|
|
89
|
-
if (!n
|
|
90
|
-
n
|
|
91
|
-
if (n
|
|
92
|
-
for (var r
|
|
93
|
-
var i
|
|
94
|
-
if (i
|
|
87
|
+
function r(e, t) {
|
|
88
|
+
var n = t.pathExt !== void 0 ? t.pathExt : process.env.PATHEXT;
|
|
89
|
+
if (!n) return true;
|
|
90
|
+
n = n.split(";");
|
|
91
|
+
if (n.indexOf("") !== -1) return true;
|
|
92
|
+
for (var r = 0; r < n.length; r++) {
|
|
93
|
+
var i = n[r].toLowerCase();
|
|
94
|
+
if (i && e.substr(-i.length).toLowerCase() === i) return true;
|
|
95
95
|
}
|
|
96
96
|
return false;
|
|
97
97
|
}
|
|
98
|
-
function i(e, t
|
|
98
|
+
function i(e, t, n) {
|
|
99
99
|
if (!e.isSymbolicLink() && !e.isFile()) return false;
|
|
100
|
-
return r(t
|
|
100
|
+
return r(t, n);
|
|
101
101
|
}
|
|
102
|
-
function a(e, t
|
|
103
|
-
n.stat(e, function(n
|
|
104
|
-
r
|
|
102
|
+
function a(e, t, r) {
|
|
103
|
+
n.stat(e, function(n, a) {
|
|
104
|
+
r(n, n ? false : i(a, e, t));
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
function o(e, t
|
|
108
|
-
return i(n.statSync(e), e, t
|
|
107
|
+
function o(e, t) {
|
|
108
|
+
return i(n.statSync(e), e, t);
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
111
|
var E = h((exports, t) => {
|
|
112
112
|
t.exports = r;
|
|
113
113
|
r.sync = i;
|
|
114
114
|
var n = v("fs");
|
|
115
|
-
function r(e, t
|
|
116
|
-
n.stat(e, function(e
|
|
117
|
-
r
|
|
115
|
+
function r(e, t, r) {
|
|
116
|
+
n.stat(e, function(e, n) {
|
|
117
|
+
r(e, e ? false : a(n, t));
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
function i(e, t
|
|
121
|
-
return a(n.statSync(e), t
|
|
120
|
+
function i(e, t) {
|
|
121
|
+
return a(n.statSync(e), t);
|
|
122
122
|
}
|
|
123
|
-
function a(e, t
|
|
124
|
-
return e.isFile() && o(e, t
|
|
123
|
+
function a(e, t) {
|
|
124
|
+
return e.isFile() && o(e, t);
|
|
125
125
|
}
|
|
126
|
-
function o(e, t
|
|
127
|
-
var n
|
|
128
|
-
var r
|
|
129
|
-
var i
|
|
130
|
-
var a
|
|
131
|
-
var o
|
|
126
|
+
function o(e, t) {
|
|
127
|
+
var n = e.mode;
|
|
128
|
+
var r = e.uid;
|
|
129
|
+
var i = e.gid;
|
|
130
|
+
var a = t.uid !== void 0 ? t.uid : process.getuid && process.getuid();
|
|
131
|
+
var o = t.gid !== void 0 ? t.gid : process.getgid && process.getgid();
|
|
132
132
|
var s = parseInt("100", 8);
|
|
133
|
-
var c
|
|
134
|
-
var l
|
|
135
|
-
var u
|
|
136
|
-
return n
|
|
133
|
+
var c = parseInt("010", 8);
|
|
134
|
+
var l = parseInt("001", 8);
|
|
135
|
+
var u = s | c;
|
|
136
|
+
return n & l || n & c && i === o || n & s && r === a || n & u && a === 0;
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
var D = h((exports, t) => {
|
|
@@ -143,36 +143,36 @@ var D = h((exports, t) => {
|
|
|
143
143
|
else r = E();
|
|
144
144
|
t.exports = i;
|
|
145
145
|
i.sync = a;
|
|
146
|
-
function i(e, t
|
|
147
|
-
if (typeof t
|
|
148
|
-
n = t
|
|
149
|
-
t
|
|
146
|
+
function i(e, t, n) {
|
|
147
|
+
if (typeof t === "function") {
|
|
148
|
+
n = t;
|
|
149
|
+
t = {};
|
|
150
150
|
}
|
|
151
151
|
if (!n) {
|
|
152
152
|
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
153
|
-
return new Promise(function(n
|
|
154
|
-
i(e, t
|
|
155
|
-
if (e
|
|
156
|
-
else n
|
|
153
|
+
return new Promise(function(n, r) {
|
|
154
|
+
i(e, t || {}, function(e, t) {
|
|
155
|
+
if (e) r(e);
|
|
156
|
+
else n(t);
|
|
157
157
|
});
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
r(e, t
|
|
161
|
-
if (e
|
|
162
|
-
if (e
|
|
163
|
-
e
|
|
164
|
-
r
|
|
160
|
+
r(e, t || {}, function(e, r) {
|
|
161
|
+
if (e) {
|
|
162
|
+
if (e.code === "EACCES" || t && t.ignoreErrors) {
|
|
163
|
+
e = null;
|
|
164
|
+
r = false;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
n(e
|
|
167
|
+
n(e, r);
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
function a(e, t
|
|
170
|
+
function a(e, t) {
|
|
171
171
|
try {
|
|
172
|
-
return r.sync(e, t
|
|
173
|
-
} catch (e
|
|
174
|
-
if (t
|
|
175
|
-
else throw e
|
|
172
|
+
return r.sync(e, t || {});
|
|
173
|
+
} catch (e) {
|
|
174
|
+
if (t && t.ignoreErrors || e.code === "EACCES") return false;
|
|
175
|
+
else throw e;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
});
|
|
@@ -182,75 +182,75 @@ var O = h((exports, t) => {
|
|
|
182
182
|
const i = n ? ";" : ":";
|
|
183
183
|
const a = D();
|
|
184
184
|
const o = (e) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e}`), { code: "ENOENT" });
|
|
185
|
-
const s = (e, t
|
|
186
|
-
const r
|
|
187
|
-
const a
|
|
188
|
-
const o
|
|
189
|
-
const s
|
|
185
|
+
const s = (e, t) => {
|
|
186
|
+
const r = t.colon || i;
|
|
187
|
+
const a = e.match(/\//) || n && e.match(/\\/) ? [""] : [...n ? [process.cwd()] : [], ...(t.path || process.env.PATH || "").split(r)];
|
|
188
|
+
const o = n ? t.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
189
|
+
const s = n ? o.split(r) : [""];
|
|
190
190
|
if (n) {
|
|
191
|
-
if (e.indexOf(".") !== -1 && s
|
|
191
|
+
if (e.indexOf(".") !== -1 && s[0] !== "") s.unshift("");
|
|
192
192
|
}
|
|
193
193
|
return {
|
|
194
|
-
pathEnv: a
|
|
195
|
-
pathExt: s
|
|
196
|
-
pathExtExe: o
|
|
194
|
+
pathEnv: a,
|
|
195
|
+
pathExt: s,
|
|
196
|
+
pathExtExe: o
|
|
197
197
|
};
|
|
198
198
|
};
|
|
199
|
-
const c
|
|
200
|
-
if (typeof t
|
|
201
|
-
n
|
|
202
|
-
t
|
|
199
|
+
const c = (e, t, n) => {
|
|
200
|
+
if (typeof t === "function") {
|
|
201
|
+
n = t;
|
|
202
|
+
t = {};
|
|
203
203
|
}
|
|
204
|
-
if (!t
|
|
205
|
-
const { pathEnv: i
|
|
206
|
-
const u
|
|
207
|
-
const d
|
|
208
|
-
if (n
|
|
209
|
-
const c
|
|
210
|
-
const l
|
|
211
|
-
const d
|
|
212
|
-
a
|
|
204
|
+
if (!t) t = {};
|
|
205
|
+
const { pathEnv: i, pathExt: c, pathExtExe: l } = s(e, t);
|
|
206
|
+
const u = [];
|
|
207
|
+
const d = (n) => new Promise((a, s) => {
|
|
208
|
+
if (n === i.length) return t.all && u.length ? a(u) : s(o(e));
|
|
209
|
+
const c = i[n];
|
|
210
|
+
const l = /^".*"$/.test(c) ? c.slice(1, -1) : c;
|
|
211
|
+
const d = r.join(l, e);
|
|
212
|
+
a(f(!l && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d : d, n, 0));
|
|
213
213
|
});
|
|
214
|
-
const f
|
|
215
|
-
if (r
|
|
216
|
-
const s
|
|
217
|
-
a(e
|
|
218
|
-
if (!a
|
|
219
|
-
else return i
|
|
220
|
-
return i
|
|
214
|
+
const f = (e, n, r) => new Promise((i, o) => {
|
|
215
|
+
if (r === c.length) return i(d(n + 1));
|
|
216
|
+
const s = c[r];
|
|
217
|
+
a(e + s, { pathExt: l }, (a, o) => {
|
|
218
|
+
if (!a && o) if (t.all) u.push(e + s);
|
|
219
|
+
else return i(e + s);
|
|
220
|
+
return i(f(e, n, r + 1));
|
|
221
221
|
});
|
|
222
222
|
});
|
|
223
|
-
return n
|
|
223
|
+
return n ? d(0).then((e) => n(null, e), n) : d(0);
|
|
224
224
|
};
|
|
225
|
-
const l
|
|
226
|
-
t
|
|
227
|
-
const { pathEnv: n
|
|
228
|
-
const l
|
|
229
|
-
for (let o
|
|
230
|
-
const s
|
|
231
|
-
const u
|
|
232
|
-
const d
|
|
233
|
-
const f
|
|
234
|
-
for (let e
|
|
235
|
-
const n
|
|
225
|
+
const l = (e, t) => {
|
|
226
|
+
t = t || {};
|
|
227
|
+
const { pathEnv: n, pathExt: i, pathExtExe: c } = s(e, t);
|
|
228
|
+
const l = [];
|
|
229
|
+
for (let o = 0; o < n.length; o++) {
|
|
230
|
+
const s = n[o];
|
|
231
|
+
const u = /^".*"$/.test(s) ? s.slice(1, -1) : s;
|
|
232
|
+
const d = r.join(u, e);
|
|
233
|
+
const f = !u && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d : d;
|
|
234
|
+
for (let e = 0; e < i.length; e++) {
|
|
235
|
+
const n = f + i[e];
|
|
236
236
|
try {
|
|
237
|
-
if (a.sync(n
|
|
238
|
-
else return n
|
|
239
|
-
} catch (e
|
|
237
|
+
if (a.sync(n, { pathExt: c })) if (t.all) l.push(n);
|
|
238
|
+
else return n;
|
|
239
|
+
} catch (e) {}
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
if (t
|
|
243
|
-
if (t
|
|
242
|
+
if (t.all && l.length) return l;
|
|
243
|
+
if (t.nothrow) return null;
|
|
244
244
|
throw o(e);
|
|
245
245
|
};
|
|
246
|
-
t.exports = c
|
|
247
|
-
c
|
|
246
|
+
t.exports = c;
|
|
247
|
+
c.sync = l;
|
|
248
248
|
});
|
|
249
249
|
var k = h((exports, t) => {
|
|
250
250
|
const n = (e = {}) => {
|
|
251
|
-
const t
|
|
251
|
+
const t = e.env || process.env;
|
|
252
252
|
if ((e.platform || process.platform) !== "win32") return "PATH";
|
|
253
|
-
return Object.keys(t
|
|
253
|
+
return Object.keys(t).reverse().find((e) => e.toUpperCase() === "PATH") || "Path";
|
|
254
254
|
};
|
|
255
255
|
t.exports = n;
|
|
256
256
|
t.exports.default = n;
|
|
@@ -259,25 +259,25 @@ var A = h((exports, t) => {
|
|
|
259
259
|
const n = v("path");
|
|
260
260
|
const r = O();
|
|
261
261
|
const i = k();
|
|
262
|
-
function a(e, t
|
|
263
|
-
const a
|
|
264
|
-
const o
|
|
262
|
+
function a(e, t) {
|
|
263
|
+
const a = e.options.env || process.env;
|
|
264
|
+
const o = process.cwd();
|
|
265
265
|
const s = e.options.cwd != null;
|
|
266
|
-
const c
|
|
267
|
-
if (c
|
|
266
|
+
const c = s && process.chdir !== void 0 && !process.chdir.disabled;
|
|
267
|
+
if (c) try {
|
|
268
268
|
process.chdir(e.options.cwd);
|
|
269
|
-
} catch (e
|
|
270
|
-
let l
|
|
269
|
+
} catch (e) {}
|
|
270
|
+
let l;
|
|
271
271
|
try {
|
|
272
|
-
l
|
|
273
|
-
path: a
|
|
274
|
-
pathExt: t
|
|
272
|
+
l = r.sync(e.command, {
|
|
273
|
+
path: a[i({ env: a })],
|
|
274
|
+
pathExt: t ? n.delimiter : void 0
|
|
275
275
|
});
|
|
276
|
-
} catch (e
|
|
277
|
-
if (c
|
|
276
|
+
} catch (e) {} finally {
|
|
277
|
+
if (c) process.chdir(o);
|
|
278
278
|
}
|
|
279
|
-
if (l
|
|
280
|
-
return l
|
|
279
|
+
if (l) l = n.resolve(s ? e.options.cwd : "", l);
|
|
280
|
+
return l;
|
|
281
281
|
}
|
|
282
282
|
function o(e) {
|
|
283
283
|
return a(e) || a(e, true);
|
|
@@ -290,13 +290,13 @@ var j = h((exports, t) => {
|
|
|
290
290
|
e = e.replace(n, "^$1");
|
|
291
291
|
return e;
|
|
292
292
|
}
|
|
293
|
-
function i(e, t
|
|
293
|
+
function i(e, t) {
|
|
294
294
|
e = `${e}`;
|
|
295
295
|
e = e.replace(/(\\*)"/g, "$1$1\\\"");
|
|
296
296
|
e = e.replace(/(\\*)$/, "$1$1");
|
|
297
297
|
e = `"${e}"`;
|
|
298
298
|
e = e.replace(n, "^$1");
|
|
299
|
-
if (t
|
|
299
|
+
if (t) e = e.replace(n, "^$1");
|
|
300
300
|
return e;
|
|
301
301
|
}
|
|
302
302
|
t.exports.command = r;
|
|
@@ -308,9 +308,9 @@ var M = h((exports, t) => {
|
|
|
308
308
|
var N = h((exports, t) => {
|
|
309
309
|
const n = M();
|
|
310
310
|
t.exports = (e = "") => {
|
|
311
|
-
const t
|
|
312
|
-
if (!t
|
|
313
|
-
const [r, i] = t
|
|
311
|
+
const t = e.match(n);
|
|
312
|
+
if (!t) return null;
|
|
313
|
+
const [r, i] = t[0].replace(/#! ?/, "").split(" ");
|
|
314
314
|
const a = r.split("/").pop();
|
|
315
315
|
if (a === "env") return i;
|
|
316
316
|
return i ? `${a} ${i}` : a;
|
|
@@ -320,15 +320,15 @@ var P = h((exports, t) => {
|
|
|
320
320
|
const n = v("fs");
|
|
321
321
|
const r = N();
|
|
322
322
|
function i(e) {
|
|
323
|
-
const t
|
|
324
|
-
const i
|
|
323
|
+
const t = 150;
|
|
324
|
+
const i = Buffer.alloc(t);
|
|
325
325
|
let a;
|
|
326
326
|
try {
|
|
327
327
|
a = n.openSync(e, "r");
|
|
328
|
-
n.readSync(a, i
|
|
328
|
+
n.readSync(a, i, 0, t, 0);
|
|
329
329
|
n.closeSync(a);
|
|
330
|
-
} catch (e
|
|
331
|
-
return r(i
|
|
330
|
+
} catch (e) {}
|
|
331
|
+
return r(i.toString());
|
|
332
332
|
}
|
|
333
333
|
t.exports = i;
|
|
334
334
|
});
|
|
@@ -339,26 +339,26 @@ var F = h((exports, t) => {
|
|
|
339
339
|
const a = P();
|
|
340
340
|
const o = process.platform === "win32";
|
|
341
341
|
const s = /\.(?:com|exe)$/i;
|
|
342
|
-
const c
|
|
343
|
-
function l
|
|
342
|
+
const c = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
343
|
+
function l(e) {
|
|
344
344
|
e.file = r(e);
|
|
345
|
-
const t
|
|
346
|
-
if (t
|
|
345
|
+
const t = e.file && a(e.file);
|
|
346
|
+
if (t) {
|
|
347
347
|
e.args.unshift(e.file);
|
|
348
|
-
e.command = t
|
|
348
|
+
e.command = t;
|
|
349
349
|
return r(e);
|
|
350
350
|
}
|
|
351
351
|
return e.file;
|
|
352
352
|
}
|
|
353
|
-
function u
|
|
353
|
+
function u(e) {
|
|
354
354
|
if (!o) return e;
|
|
355
|
-
const t
|
|
356
|
-
const r
|
|
357
|
-
if (e.options.forceShell || r
|
|
358
|
-
const r
|
|
355
|
+
const t = l(e);
|
|
356
|
+
const r = !s.test(t);
|
|
357
|
+
if (e.options.forceShell || r) {
|
|
358
|
+
const r = c.test(t);
|
|
359
359
|
e.command = n.normalize(e.command);
|
|
360
360
|
e.command = i.command(e.command);
|
|
361
|
-
e.args = e.args.map((e
|
|
361
|
+
e.args = e.args.map((e) => i.argument(e, r));
|
|
362
362
|
e.args = [
|
|
363
363
|
"/d",
|
|
364
364
|
"/s",
|
|
@@ -370,55 +370,55 @@ var F = h((exports, t) => {
|
|
|
370
370
|
}
|
|
371
371
|
return e;
|
|
372
372
|
}
|
|
373
|
-
function d
|
|
374
|
-
if (t
|
|
375
|
-
n
|
|
376
|
-
t
|
|
373
|
+
function d(e, t, n) {
|
|
374
|
+
if (t && !Array.isArray(t)) {
|
|
375
|
+
n = t;
|
|
376
|
+
t = null;
|
|
377
377
|
}
|
|
378
|
-
t
|
|
379
|
-
n
|
|
380
|
-
const r
|
|
378
|
+
t = t ? t.slice(0) : [];
|
|
379
|
+
n = Object.assign({}, n);
|
|
380
|
+
const r = {
|
|
381
381
|
command: e,
|
|
382
|
-
args: t
|
|
383
|
-
options: n
|
|
382
|
+
args: t,
|
|
383
|
+
options: n,
|
|
384
384
|
file: void 0,
|
|
385
385
|
original: {
|
|
386
386
|
command: e,
|
|
387
|
-
args: t
|
|
387
|
+
args: t
|
|
388
388
|
}
|
|
389
389
|
};
|
|
390
|
-
return n
|
|
390
|
+
return n.shell ? r : u(r);
|
|
391
391
|
}
|
|
392
|
-
t.exports = d
|
|
392
|
+
t.exports = d;
|
|
393
393
|
});
|
|
394
394
|
var I = h((exports, t) => {
|
|
395
395
|
const n = process.platform === "win32";
|
|
396
|
-
function r(e, t
|
|
397
|
-
return Object.assign(/* @__PURE__ */ new Error(`${t
|
|
396
|
+
function r(e, t) {
|
|
397
|
+
return Object.assign(/* @__PURE__ */ new Error(`${t} ${e.command} ENOENT`), {
|
|
398
398
|
code: "ENOENT",
|
|
399
399
|
errno: "ENOENT",
|
|
400
|
-
syscall: `${t
|
|
400
|
+
syscall: `${t} ${e.command}`,
|
|
401
401
|
path: e.command,
|
|
402
402
|
spawnargs: e.args
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
|
-
function i(e, t
|
|
405
|
+
function i(e, t) {
|
|
406
406
|
if (!n) return;
|
|
407
|
-
const r
|
|
408
|
-
e.emit = function(n
|
|
409
|
-
if (n
|
|
410
|
-
const n
|
|
411
|
-
if (n
|
|
407
|
+
const r = e.emit;
|
|
408
|
+
e.emit = function(n, i) {
|
|
409
|
+
if (n === "exit") {
|
|
410
|
+
const n = a(i, t, "spawn");
|
|
411
|
+
if (n) return r.call(e, "error", n);
|
|
412
412
|
}
|
|
413
|
-
return r
|
|
413
|
+
return r.apply(e, arguments);
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
|
-
function a(e, t
|
|
417
|
-
if (n && e === 1 && !t
|
|
416
|
+
function a(e, t) {
|
|
417
|
+
if (n && e === 1 && !t.file) return r(t.original, "spawn");
|
|
418
418
|
return null;
|
|
419
419
|
}
|
|
420
|
-
function o(e, t
|
|
421
|
-
if (n && e === 1 && !t
|
|
420
|
+
function o(e, t) {
|
|
421
|
+
if (n && e === 1 && !t.file) return r(t.original, "spawnSync");
|
|
422
422
|
return null;
|
|
423
423
|
}
|
|
424
424
|
t.exports = {
|
|
@@ -432,16 +432,16 @@ var R = _(h((exports, t) => {
|
|
|
432
432
|
const n = v("child_process");
|
|
433
433
|
const r = F();
|
|
434
434
|
const i = I();
|
|
435
|
-
function a(e, t
|
|
436
|
-
const o
|
|
437
|
-
const s = n.spawn(o
|
|
438
|
-
i.hookChildProcess(s, o
|
|
435
|
+
function a(e, t, a) {
|
|
436
|
+
const o = r(e, t, a);
|
|
437
|
+
const s = n.spawn(o.command, o.args, o.options);
|
|
438
|
+
i.hookChildProcess(s, o);
|
|
439
439
|
return s;
|
|
440
440
|
}
|
|
441
|
-
function o(e, t
|
|
442
|
-
const o
|
|
443
|
-
const s = n.spawnSync(o
|
|
444
|
-
s.error = s.error || i.verifyENOENTSync(s.status, o
|
|
441
|
+
function o(e, t, a) {
|
|
442
|
+
const o = r(e, t, a);
|
|
443
|
+
const s = n.spawnSync(o.command, o.args, o.options);
|
|
444
|
+
s.error = s.error || i.verifyENOENTSync(s.status, o);
|
|
445
445
|
return s;
|
|
446
446
|
}
|
|
447
447
|
t.exports = a;
|
|
@@ -480,10 +480,10 @@ function U(e) {
|
|
|
480
480
|
t.abort();
|
|
481
481
|
return n;
|
|
482
482
|
}
|
|
483
|
-
const e
|
|
483
|
+
const e = () => {
|
|
484
484
|
t.abort(n.reason);
|
|
485
485
|
};
|
|
486
|
-
n.addEventListener("abort", e
|
|
486
|
+
n.addEventListener("abort", e, { signal: t.signal });
|
|
487
487
|
}
|
|
488
488
|
return t.signal;
|
|
489
489
|
}
|
|
@@ -517,8 +517,8 @@ var G = class {
|
|
|
517
517
|
};
|
|
518
518
|
this._command = e;
|
|
519
519
|
this._args = t ?? [];
|
|
520
|
-
this._processClosed = new Promise((e
|
|
521
|
-
this._resolveClose = e
|
|
520
|
+
this._processClosed = new Promise((e) => {
|
|
521
|
+
this._resolveClose = e;
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
524
|
kill(e) {
|
|
@@ -544,7 +544,7 @@ var G = class {
|
|
|
544
544
|
if (this._streamOut) t.push(this._streamOut);
|
|
545
545
|
const n = w(t);
|
|
546
546
|
const r = c.createInterface({ input: n });
|
|
547
|
-
for await (const e
|
|
547
|
+
for await (const e of r) yield e.toString();
|
|
548
548
|
await this._processClosed;
|
|
549
549
|
e.removeAllListeners();
|
|
550
550
|
if (this._thrownError) throw this._thrownError;
|
|
@@ -586,16 +586,16 @@ var G = class {
|
|
|
586
586
|
if (i.length > 0) r.signal = U(i);
|
|
587
587
|
r.env = C(e, r.env);
|
|
588
588
|
const { command: a, args: s } = H(this._command, this._args);
|
|
589
|
-
const c
|
|
590
|
-
const l
|
|
591
|
-
if (l
|
|
592
|
-
if (l
|
|
593
|
-
this._process = l
|
|
594
|
-
l
|
|
595
|
-
l
|
|
596
|
-
if (n.stdin !== void 0 && l
|
|
597
|
-
const { stdout: e
|
|
598
|
-
if (e
|
|
589
|
+
const c = (0, R._parse)(a, s, r);
|
|
590
|
+
const l = spawn(c.command, c.args, c.options);
|
|
591
|
+
if (l.stderr) this._streamErr = l.stderr;
|
|
592
|
+
if (l.stdout) this._streamOut = l.stdout;
|
|
593
|
+
this._process = l;
|
|
594
|
+
l.once("error", this._onError);
|
|
595
|
+
l.once("close", this._onClose);
|
|
596
|
+
if (n.stdin !== void 0 && l.stdin && n.stdin.process) {
|
|
597
|
+
const { stdout: e } = n.stdin.process;
|
|
598
|
+
if (e) e.pipe(l.stdin);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
_resetState() {
|