@emulsify/cli 1.6.0 → 1.8.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 +89 -1
- package/dist/handlers/componentInstall.js +1 -1
- package/dist/handlers/componentList.js +1 -1
- package/dist/handlers/systemInstall.js +24 -9
- package/dist/index.js +12 -21
- package/dist/node_modules/.package-lock.json +24 -24
- package/dist/node_modules/@types/node/LICENSE +0 -0
- package/dist/node_modules/@types/node/README.md +1 -1
- package/dist/node_modules/@types/node/assert.d.ts +33 -31
- package/dist/node_modules/@types/node/async_hooks.d.ts +28 -20
- package/dist/node_modules/@types/node/buffer.d.ts +4 -4
- package/dist/node_modules/@types/node/child_process.d.ts +230 -62
- package/dist/node_modules/@types/node/cluster.d.ts +62 -27
- package/dist/node_modules/@types/node/console.d.ts +6 -6
- package/dist/node_modules/@types/node/constants.d.ts +12 -11
- package/dist/node_modules/@types/node/crypto.d.ts +311 -237
- package/dist/node_modules/@types/node/dgram.d.ts +50 -14
- package/dist/node_modules/@types/node/dns.d.ts +183 -54
- package/dist/node_modules/@types/node/domain.d.ts +4 -4
- package/dist/node_modules/@types/node/events.d.ts +4 -4
- package/dist/node_modules/@types/node/fs/promises.d.ts +105 -39
- package/dist/node_modules/@types/node/fs.d.ts +440 -126
- package/dist/node_modules/@types/node/globals.d.ts +41 -22
- package/dist/node_modules/@types/node/globals.global.d.ts +0 -0
- package/dist/node_modules/@types/node/http.d.ts +306 -217
- package/dist/node_modules/@types/node/http2.d.ts +341 -95
- package/dist/node_modules/@types/node/https.d.ts +250 -118
- package/dist/node_modules/@types/node/index.d.ts +1 -1
- package/dist/node_modules/@types/node/inspector.d.ts +1 -2
- package/dist/node_modules/@types/node/module.d.ts +4 -4
- package/dist/node_modules/@types/node/net.d.ts +28 -12
- package/dist/node_modules/@types/node/os.d.ts +5 -4
- package/dist/node_modules/@types/node/package.json +10 -3
- package/dist/node_modules/@types/node/path.d.ts +35 -24
- package/dist/node_modules/@types/node/perf_hooks.d.ts +5 -5
- package/dist/node_modules/@types/node/process.d.ts +61 -22
- package/dist/node_modules/@types/node/punycode.d.ts +3 -3
- package/dist/node_modules/@types/node/querystring.d.ts +15 -5
- package/dist/node_modules/@types/node/readline.d.ts +16 -6
- package/dist/node_modules/@types/node/repl.d.ts +13 -7
- package/dist/node_modules/@types/node/stream.d.ts +182 -23
- package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/dist/node_modules/@types/node/timers.d.ts +5 -5
- package/dist/node_modules/@types/node/tls.d.ts +112 -30
- package/dist/node_modules/@types/node/trace_events.d.ts +3 -3
- package/dist/node_modules/@types/node/ts4.8/assert.d.ts +130 -0
- package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +237 -0
- package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
- package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +682 -0
- package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +300 -0
- package/dist/node_modules/@types/node/ts4.8/console.d.ts +142 -0
- package/dist/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
- package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +1287 -0
- package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +180 -0
- package/dist/node_modules/@types/node/ts4.8/dns.d.ts +516 -0
- package/dist/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
- package/dist/node_modules/@types/node/ts4.8/events.d.ts +82 -0
- package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +634 -0
- package/dist/node_modules/@types/node/ts4.8/fs.d.ts +2587 -0
- package/dist/node_modules/@types/node/ts4.8/globals.d.ts +763 -0
- package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/dist/node_modules/@types/node/ts4.8/http.d.ts +580 -0
- package/dist/node_modules/@types/node/ts4.8/http2.d.ts +1208 -0
- package/dist/node_modules/@types/node/ts4.8/https.d.ts +274 -0
- package/dist/node_modules/@types/node/ts4.8/index.d.ts +53 -0
- package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +3050 -0
- package/dist/node_modules/@types/node/ts4.8/module.d.ts +56 -0
- package/dist/node_modules/@types/node/ts4.8/net.d.ts +324 -0
- package/dist/node_modules/@types/node/ts4.8/os.d.ts +243 -0
- package/dist/node_modules/@types/node/ts4.8/path.d.ts +168 -0
- package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
- package/dist/node_modules/@types/node/ts4.8/process.d.ts +452 -0
- package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
- package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +41 -0
- package/dist/node_modules/@types/node/ts4.8/readline.d.ts +184 -0
- package/dist/node_modules/@types/node/ts4.8/repl.d.ts +404 -0
- package/dist/node_modules/@types/node/ts4.8/stream.d.ts +518 -0
- package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
- package/dist/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
- package/dist/node_modules/@types/node/ts4.8/tls.d.ts +866 -0
- package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
- package/dist/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
- package/dist/node_modules/@types/node/ts4.8/url.d.ts +187 -0
- package/dist/node_modules/@types/node/ts4.8/util.d.ts +278 -0
- package/dist/node_modules/@types/node/ts4.8/v8.d.ts +189 -0
- package/dist/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
- package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +88 -0
- package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
- package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
- package/dist/node_modules/@types/node/tty.d.ts +4 -4
- package/dist/node_modules/@types/node/url.d.ts +49 -11
- package/dist/node_modules/@types/node/util.d.ts +103 -41
- package/dist/node_modules/@types/node/v8.d.ts +4 -5
- package/dist/node_modules/@types/node/vm.d.ts +7 -7
- package/dist/node_modules/@types/node/wasi.d.ts +3 -4
- package/dist/node_modules/@types/node/worker_threads.d.ts +8 -8
- package/dist/node_modules/@types/node/zlib.d.ts +13 -13
- package/dist/node_modules/@types/progress/LICENSE +0 -0
- package/dist/node_modules/@types/progress/README.md +2 -3
- package/dist/node_modules/@types/progress/index.d.ts +0 -5
- package/dist/node_modules/@types/progress/package.json +6 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +19 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +5 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +5 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +18 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +6 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +4 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +11 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +4 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +19 -19
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +15 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +30 -25
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +8 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +10 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +25 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +20 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +4 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +10 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +7 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +21 -11
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +13 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +10 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +40 -40
- package/dist/node_modules/commander/Readme.md +407 -169
- package/dist/node_modules/commander/esm.mjs +13 -1
- package/dist/node_modules/commander/index.js +13 -2206
- package/dist/node_modules/commander/lib/argument.js +145 -0
- package/dist/node_modules/commander/lib/command.js +2299 -0
- package/dist/node_modules/commander/lib/error.js +43 -0
- package/dist/node_modules/commander/lib/help.js +457 -0
- package/dist/node_modules/commander/lib/option.js +327 -0
- package/dist/node_modules/commander/lib/suggestSimilar.js +100 -0
- package/dist/node_modules/commander/package.json +46 -34
- package/dist/node_modules/commander/typings/esm.d.mts +3 -0
- package/dist/node_modules/commander/typings/index.d.ts +889 -617
- package/dist/node_modules/graceful-fs/package.json +6 -3
- package/dist/node_modules/graceful-fs/polyfills.js +1 -1
- package/dist/node_modules/punycode/README.md +29 -3
- package/dist/node_modules/punycode/package.json +7 -7
- package/dist/node_modules/punycode/punycode.es6.js +25 -22
- package/dist/node_modules/punycode/punycode.js +25 -22
- package/dist/node_modules/universalify/README.md +1 -1
- package/dist/node_modules/universalify/index.js +6 -6
- package/dist/node_modules/universalify/package.json +2 -2
- package/dist/package.json +1 -2
- package/dist/util/cache/cloneIntoCache.js +1 -1
- package/dist/util/cache/getCachedItemPath.js +4 -2
- package/dist/util/cache/getJsonFromCachedFile.js +2 -2
- package/dist/util/getGitRepoNameFromUrl.js +1 -1
- package/dist/util/getRepositoryLatestTag.js +16 -0
- package/package.json +2 -3
- package/dist/node_modules/commander/CHANGELOG.md +0 -440
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import { BaseEncodingOptions } from
|
|
3
|
-
import * as events from
|
|
4
|
-
import * as net from
|
|
5
|
-
import {
|
|
1
|
+
declare module "child_process" {
|
|
2
|
+
import { BaseEncodingOptions } from "fs";
|
|
3
|
+
import * as events from "events";
|
|
4
|
+
import * as net from "net";
|
|
5
|
+
import { Pipe, Readable, Stream, Writable } from "stream";
|
|
6
6
|
|
|
7
7
|
type Serializable = string | object | number | boolean;
|
|
8
8
|
type SendHandle = net.Socket | net.Server;
|
|
@@ -17,7 +17,7 @@ declare module 'child_process' {
|
|
|
17
17
|
Readable | null, // stdout
|
|
18
18
|
Readable | null, // stderr
|
|
19
19
|
Readable | Writable | null | undefined, // extra
|
|
20
|
-
Readable | Writable | null | undefined // extra
|
|
20
|
+
Readable | Writable | null | undefined, // extra
|
|
21
21
|
];
|
|
22
22
|
readonly killed: boolean;
|
|
23
23
|
readonly pid: number;
|
|
@@ -29,7 +29,12 @@ declare module 'child_process' {
|
|
|
29
29
|
kill(signal?: NodeJS.Signals | number): boolean;
|
|
30
30
|
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
31
31
|
send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
|
|
32
|
-
send(
|
|
32
|
+
send(
|
|
33
|
+
message: Serializable,
|
|
34
|
+
sendHandle?: SendHandle,
|
|
35
|
+
options?: MessageOptions,
|
|
36
|
+
callback?: (error: Error | null) => void,
|
|
37
|
+
): boolean;
|
|
33
38
|
disconnect(): void;
|
|
34
39
|
unref(): void;
|
|
35
40
|
ref(): void;
|
|
@@ -79,10 +84,16 @@ declare module 'child_process' {
|
|
|
79
84
|
prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
80
85
|
|
|
81
86
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
82
|
-
prependOnceListener(
|
|
87
|
+
prependOnceListener(
|
|
88
|
+
event: "close",
|
|
89
|
+
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
|
|
90
|
+
): this;
|
|
83
91
|
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
84
92
|
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
85
|
-
prependOnceListener(
|
|
93
|
+
prependOnceListener(
|
|
94
|
+
event: "exit",
|
|
95
|
+
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
|
|
96
|
+
): this;
|
|
86
97
|
prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
87
98
|
}
|
|
88
99
|
|
|
@@ -96,7 +107,7 @@ declare module 'child_process' {
|
|
|
96
107
|
Readable, // stdout
|
|
97
108
|
Readable, // stderr
|
|
98
109
|
Readable | Writable | null | undefined, // extra, no modification
|
|
99
|
-
Readable | Writable | null | undefined // extra, no modification
|
|
110
|
+
Readable | Writable | null | undefined, // extra, no modification
|
|
100
111
|
];
|
|
101
112
|
}
|
|
102
113
|
|
|
@@ -114,7 +125,7 @@ declare module 'child_process' {
|
|
|
114
125
|
O,
|
|
115
126
|
E,
|
|
116
127
|
Readable | Writable | null | undefined, // extra, no modification
|
|
117
|
-
Readable | Writable | null | undefined // extra, no modification
|
|
128
|
+
Readable | Writable | null | undefined, // extra, no modification
|
|
118
129
|
];
|
|
119
130
|
}
|
|
120
131
|
|
|
@@ -122,9 +133,13 @@ declare module 'child_process' {
|
|
|
122
133
|
keepOpen?: boolean | undefined;
|
|
123
134
|
}
|
|
124
135
|
|
|
125
|
-
type StdioOptions =
|
|
136
|
+
type StdioOptions =
|
|
137
|
+
| "pipe"
|
|
138
|
+
| "ignore"
|
|
139
|
+
| "inherit"
|
|
140
|
+
| Array<("pipe" | "ipc" | "ignore" | "inherit" | Stream | number | null | undefined)>;
|
|
126
141
|
|
|
127
|
-
type SerializationType =
|
|
142
|
+
type SerializationType = "json" | "advanced";
|
|
128
143
|
|
|
129
144
|
interface MessagingOptions {
|
|
130
145
|
/**
|
|
@@ -143,7 +158,7 @@ declare module 'child_process' {
|
|
|
143
158
|
|
|
144
159
|
interface CommonOptions extends ProcessEnvOptions {
|
|
145
160
|
/**
|
|
146
|
-
* @default
|
|
161
|
+
* @default false
|
|
147
162
|
*/
|
|
148
163
|
windowsHide?: boolean | undefined;
|
|
149
164
|
/**
|
|
@@ -154,6 +169,15 @@ declare module 'child_process' {
|
|
|
154
169
|
|
|
155
170
|
interface CommonSpawnOptions extends CommonOptions, MessagingOptions {
|
|
156
171
|
argv0?: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
174
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
175
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
176
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
177
|
+
* {@link ChildProcess.stdio} for more information.
|
|
178
|
+
*
|
|
179
|
+
* @default 'pipe'
|
|
180
|
+
*/
|
|
157
181
|
stdio?: StdioOptions | undefined;
|
|
158
182
|
shell?: boolean | string | undefined;
|
|
159
183
|
windowsVerbatimArguments?: boolean | undefined;
|
|
@@ -164,11 +188,11 @@ declare module 'child_process' {
|
|
|
164
188
|
}
|
|
165
189
|
|
|
166
190
|
interface SpawnOptionsWithoutStdio extends SpawnOptions {
|
|
167
|
-
stdio?:
|
|
191
|
+
stdio?: "pipe" | Array<null | undefined | "pipe"> | undefined;
|
|
168
192
|
}
|
|
169
193
|
|
|
170
|
-
type StdioNull =
|
|
171
|
-
type StdioPipe = undefined | null |
|
|
194
|
+
type StdioNull = "inherit" | "ignore" | Stream;
|
|
195
|
+
type StdioPipe = undefined | null | "pipe";
|
|
172
196
|
|
|
173
197
|
interface SpawnOptionsWithStdioTuple<
|
|
174
198
|
Stdin extends StdioNull | StdioPipe,
|
|
@@ -217,7 +241,11 @@ declare module 'child_process' {
|
|
|
217
241
|
function spawn(command: string, options: SpawnOptions): ChildProcess;
|
|
218
242
|
|
|
219
243
|
// overloads of spawn with 'args'
|
|
220
|
-
function spawn(
|
|
244
|
+
function spawn(
|
|
245
|
+
command: string,
|
|
246
|
+
args?: ReadonlyArray<string>,
|
|
247
|
+
options?: SpawnOptionsWithoutStdio,
|
|
248
|
+
): ChildProcessWithoutNullStreams;
|
|
221
249
|
|
|
222
250
|
function spawn(
|
|
223
251
|
command: string,
|
|
@@ -284,13 +312,24 @@ declare module 'child_process' {
|
|
|
284
312
|
}
|
|
285
313
|
|
|
286
314
|
// no `options` definitely means stdout/stderr are `string`.
|
|
287
|
-
function exec(
|
|
315
|
+
function exec(
|
|
316
|
+
command: string,
|
|
317
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
318
|
+
): ChildProcess;
|
|
288
319
|
|
|
289
320
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
290
|
-
function exec(
|
|
321
|
+
function exec(
|
|
322
|
+
command: string,
|
|
323
|
+
options: { encoding: "buffer" | null } & ExecOptions,
|
|
324
|
+
callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
325
|
+
): ChildProcess;
|
|
291
326
|
|
|
292
327
|
// `options` with well known `encoding` means stdout/stderr are definitely `string`.
|
|
293
|
-
function exec(
|
|
328
|
+
function exec(
|
|
329
|
+
command: string,
|
|
330
|
+
options: { encoding: BufferEncoding } & ExecOptions,
|
|
331
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
332
|
+
): ChildProcess;
|
|
294
333
|
|
|
295
334
|
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
296
335
|
// There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
|
|
@@ -301,7 +340,11 @@ declare module 'child_process' {
|
|
|
301
340
|
): ChildProcess;
|
|
302
341
|
|
|
303
342
|
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
304
|
-
function exec(
|
|
343
|
+
function exec(
|
|
344
|
+
command: string,
|
|
345
|
+
options: ExecOptions,
|
|
346
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
347
|
+
): ChildProcess;
|
|
305
348
|
|
|
306
349
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
307
350
|
function exec(
|
|
@@ -316,11 +359,23 @@ declare module 'child_process' {
|
|
|
316
359
|
|
|
317
360
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
318
361
|
namespace exec {
|
|
319
|
-
function __promisify__(command: string): PromiseWithChild<{ stdout: string
|
|
320
|
-
function __promisify__(
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
362
|
+
function __promisify__(command: string): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
363
|
+
function __promisify__(
|
|
364
|
+
command: string,
|
|
365
|
+
options: { encoding: "buffer" | null } & ExecOptions,
|
|
366
|
+
): PromiseWithChild<{ stdout: Buffer; stderr: Buffer }>;
|
|
367
|
+
function __promisify__(
|
|
368
|
+
command: string,
|
|
369
|
+
options: { encoding: BufferEncoding } & ExecOptions,
|
|
370
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
371
|
+
function __promisify__(
|
|
372
|
+
command: string,
|
|
373
|
+
options: ExecOptions,
|
|
374
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
375
|
+
function __promisify__(
|
|
376
|
+
command: string,
|
|
377
|
+
options?: (BaseEncodingOptions & ExecOptions) | null,
|
|
378
|
+
): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
|
|
324
379
|
}
|
|
325
380
|
|
|
326
381
|
interface ExecFileOptions extends CommonOptions {
|
|
@@ -333,24 +388,42 @@ declare module 'child_process' {
|
|
|
333
388
|
encoding: BufferEncoding;
|
|
334
389
|
}
|
|
335
390
|
interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
|
|
336
|
-
encoding:
|
|
391
|
+
encoding: "buffer" | null;
|
|
337
392
|
}
|
|
338
393
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
339
394
|
encoding: BufferEncoding;
|
|
340
395
|
}
|
|
341
|
-
type ExecFileException =
|
|
396
|
+
type ExecFileException =
|
|
397
|
+
& Omit<ExecException, "code">
|
|
398
|
+
& Omit<NodeJS.ErrnoException, "code">
|
|
399
|
+
& { code?: string | number | undefined | null };
|
|
342
400
|
|
|
343
401
|
function execFile(file: string): ChildProcess;
|
|
344
402
|
function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
|
|
345
403
|
function execFile(file: string, args?: ReadonlyArray<string> | null): ChildProcess;
|
|
346
|
-
function execFile(
|
|
404
|
+
function execFile(
|
|
405
|
+
file: string,
|
|
406
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
407
|
+
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
408
|
+
): ChildProcess;
|
|
347
409
|
|
|
348
410
|
// no `options` definitely means stdout/stderr are `string`.
|
|
349
|
-
function execFile(
|
|
350
|
-
|
|
411
|
+
function execFile(
|
|
412
|
+
file: string,
|
|
413
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
414
|
+
): ChildProcess;
|
|
415
|
+
function execFile(
|
|
416
|
+
file: string,
|
|
417
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
418
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
419
|
+
): ChildProcess;
|
|
351
420
|
|
|
352
421
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
353
|
-
function execFile(
|
|
422
|
+
function execFile(
|
|
423
|
+
file: string,
|
|
424
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
425
|
+
callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
426
|
+
): ChildProcess;
|
|
354
427
|
function execFile(
|
|
355
428
|
file: string,
|
|
356
429
|
args: ReadonlyArray<string> | undefined | null,
|
|
@@ -359,7 +432,11 @@ declare module 'child_process' {
|
|
|
359
432
|
): ChildProcess;
|
|
360
433
|
|
|
361
434
|
// `options` with well known `encoding` means stdout/stderr are definitely `string`.
|
|
362
|
-
function execFile(
|
|
435
|
+
function execFile(
|
|
436
|
+
file: string,
|
|
437
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
438
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
439
|
+
): ChildProcess;
|
|
363
440
|
function execFile(
|
|
364
441
|
file: string,
|
|
365
442
|
args: ReadonlyArray<string> | undefined | null,
|
|
@@ -382,55 +459,104 @@ declare module 'child_process' {
|
|
|
382
459
|
): ChildProcess;
|
|
383
460
|
|
|
384
461
|
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
385
|
-
function execFile(
|
|
462
|
+
function execFile(
|
|
463
|
+
file: string,
|
|
464
|
+
options: ExecFileOptions,
|
|
465
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
466
|
+
): ChildProcess;
|
|
386
467
|
function execFile(
|
|
387
468
|
file: string,
|
|
388
469
|
args: ReadonlyArray<string> | undefined | null,
|
|
389
470
|
options: ExecFileOptions,
|
|
390
|
-
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
|
|
471
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
391
472
|
): ChildProcess;
|
|
392
473
|
|
|
393
474
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
394
475
|
function execFile(
|
|
395
476
|
file: string,
|
|
396
477
|
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
397
|
-
callback:
|
|
478
|
+
callback:
|
|
479
|
+
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
|
|
480
|
+
| undefined
|
|
481
|
+
| null,
|
|
398
482
|
): ChildProcess;
|
|
399
483
|
function execFile(
|
|
400
484
|
file: string,
|
|
401
485
|
args: ReadonlyArray<string> | undefined | null,
|
|
402
486
|
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
403
|
-
callback:
|
|
487
|
+
callback:
|
|
488
|
+
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
|
|
489
|
+
| undefined
|
|
490
|
+
| null,
|
|
404
491
|
): ChildProcess;
|
|
405
492
|
|
|
406
493
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
407
494
|
namespace execFile {
|
|
408
|
-
function __promisify__(file: string): PromiseWithChild<{ stdout: string
|
|
409
|
-
function __promisify__(
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
function __promisify__(
|
|
414
|
-
|
|
495
|
+
function __promisify__(file: string): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
496
|
+
function __promisify__(
|
|
497
|
+
file: string,
|
|
498
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
499
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
500
|
+
function __promisify__(
|
|
501
|
+
file: string,
|
|
502
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
503
|
+
): PromiseWithChild<{ stdout: Buffer; stderr: Buffer }>;
|
|
504
|
+
function __promisify__(
|
|
505
|
+
file: string,
|
|
506
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
507
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
508
|
+
): PromiseWithChild<{ stdout: Buffer; stderr: Buffer }>;
|
|
509
|
+
function __promisify__(
|
|
510
|
+
file: string,
|
|
511
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
512
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
513
|
+
function __promisify__(
|
|
514
|
+
file: string,
|
|
515
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
516
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
517
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
518
|
+
function __promisify__(
|
|
519
|
+
file: string,
|
|
520
|
+
options: ExecFileOptionsWithOtherEncoding,
|
|
521
|
+
): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
|
|
415
522
|
function __promisify__(
|
|
416
523
|
file: string,
|
|
417
524
|
args: ReadonlyArray<string> | undefined | null,
|
|
418
525
|
options: ExecFileOptionsWithOtherEncoding,
|
|
419
|
-
): PromiseWithChild<{ stdout: string | Buffer
|
|
420
|
-
function __promisify__(
|
|
421
|
-
|
|
422
|
-
|
|
526
|
+
): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
|
|
527
|
+
function __promisify__(
|
|
528
|
+
file: string,
|
|
529
|
+
options: ExecFileOptions,
|
|
530
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
531
|
+
function __promisify__(
|
|
532
|
+
file: string,
|
|
533
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
534
|
+
options: ExecFileOptions,
|
|
535
|
+
): PromiseWithChild<{ stdout: string; stderr: string }>;
|
|
536
|
+
function __promisify__(
|
|
537
|
+
file: string,
|
|
538
|
+
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
539
|
+
): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
|
|
423
540
|
function __promisify__(
|
|
424
541
|
file: string,
|
|
425
542
|
args: ReadonlyArray<string> | undefined | null,
|
|
426
543
|
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
427
|
-
): PromiseWithChild<{ stdout: string | Buffer
|
|
544
|
+
): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
|
|
428
545
|
}
|
|
429
546
|
|
|
430
547
|
interface ForkOptions extends ProcessEnvOptions, MessagingOptions {
|
|
431
548
|
execPath?: string | undefined;
|
|
432
549
|
execArgv?: string[] | undefined;
|
|
433
550
|
silent?: boolean | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
553
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
554
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
555
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
556
|
+
* {@link ChildProcess.stdio} for more information.
|
|
557
|
+
*
|
|
558
|
+
* @default 'pipe'
|
|
559
|
+
*/
|
|
434
560
|
stdio?: StdioOptions | undefined;
|
|
435
561
|
detached?: boolean | undefined;
|
|
436
562
|
windowsVerbatimArguments?: boolean | undefined;
|
|
@@ -442,13 +568,13 @@ declare module 'child_process' {
|
|
|
442
568
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
443
569
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
444
570
|
maxBuffer?: number | undefined;
|
|
445
|
-
encoding?: BufferEncoding |
|
|
571
|
+
encoding?: BufferEncoding | "buffer" | null | undefined;
|
|
446
572
|
}
|
|
447
573
|
interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
|
|
448
574
|
encoding: BufferEncoding;
|
|
449
575
|
}
|
|
450
576
|
interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
|
|
451
|
-
encoding?:
|
|
577
|
+
encoding?: "buffer" | null | undefined;
|
|
452
578
|
}
|
|
453
579
|
interface SpawnSyncReturns<T> {
|
|
454
580
|
pid: number;
|
|
@@ -463,23 +589,44 @@ declare module 'child_process' {
|
|
|
463
589
|
function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
|
|
464
590
|
function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
|
|
465
591
|
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
|
|
466
|
-
function spawnSync(
|
|
467
|
-
|
|
468
|
-
|
|
592
|
+
function spawnSync(
|
|
593
|
+
command: string,
|
|
594
|
+
args?: ReadonlyArray<string>,
|
|
595
|
+
options?: SpawnSyncOptionsWithStringEncoding,
|
|
596
|
+
): SpawnSyncReturns<string>;
|
|
597
|
+
function spawnSync(
|
|
598
|
+
command: string,
|
|
599
|
+
args?: ReadonlyArray<string>,
|
|
600
|
+
options?: SpawnSyncOptionsWithBufferEncoding,
|
|
601
|
+
): SpawnSyncReturns<Buffer>;
|
|
602
|
+
function spawnSync(
|
|
603
|
+
command: string,
|
|
604
|
+
args?: ReadonlyArray<string>,
|
|
605
|
+
options?: SpawnSyncOptions,
|
|
606
|
+
): SpawnSyncReturns<string | Buffer>;
|
|
469
607
|
|
|
470
608
|
interface ExecSyncOptions extends CommonOptions {
|
|
471
609
|
input?: string | Uint8Array | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
612
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
613
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
614
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
615
|
+
* {@link ChildProcess.stdio} for more information.
|
|
616
|
+
*
|
|
617
|
+
* @default 'pipe'
|
|
618
|
+
*/
|
|
472
619
|
stdio?: StdioOptions | undefined;
|
|
473
620
|
shell?: string | undefined;
|
|
474
621
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
475
622
|
maxBuffer?: number | undefined;
|
|
476
|
-
encoding?: BufferEncoding |
|
|
623
|
+
encoding?: BufferEncoding | "buffer" | null | undefined;
|
|
477
624
|
}
|
|
478
625
|
interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
|
|
479
626
|
encoding: BufferEncoding;
|
|
480
627
|
}
|
|
481
628
|
interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
|
|
482
|
-
encoding?:
|
|
629
|
+
encoding?: "buffer" | null | undefined;
|
|
483
630
|
}
|
|
484
631
|
function execSync(command: string): Buffer;
|
|
485
632
|
function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
|
|
@@ -488,6 +635,15 @@ declare module 'child_process' {
|
|
|
488
635
|
|
|
489
636
|
interface ExecFileSyncOptions extends CommonOptions {
|
|
490
637
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
640
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
641
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
642
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
643
|
+
* {@link ChildProcess.stdio} for more information.
|
|
644
|
+
*
|
|
645
|
+
* @default 'pipe'
|
|
646
|
+
*/
|
|
491
647
|
stdio?: StdioOptions | undefined;
|
|
492
648
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
493
649
|
maxBuffer?: number | undefined;
|
|
@@ -505,10 +661,22 @@ declare module 'child_process' {
|
|
|
505
661
|
function execFileSync(command: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
506
662
|
function execFileSync(command: string, options?: ExecFileSyncOptions): string | Buffer;
|
|
507
663
|
function execFileSync(command: string, args: ReadonlyArray<string>): Buffer;
|
|
508
|
-
function execFileSync(
|
|
509
|
-
|
|
510
|
-
|
|
664
|
+
function execFileSync(
|
|
665
|
+
command: string,
|
|
666
|
+
args: ReadonlyArray<string>,
|
|
667
|
+
options: ExecFileSyncOptionsWithStringEncoding,
|
|
668
|
+
): string;
|
|
669
|
+
function execFileSync(
|
|
670
|
+
command: string,
|
|
671
|
+
args: ReadonlyArray<string>,
|
|
672
|
+
options: ExecFileSyncOptionsWithBufferEncoding,
|
|
673
|
+
): Buffer;
|
|
674
|
+
function execFileSync(
|
|
675
|
+
command: string,
|
|
676
|
+
args?: ReadonlyArray<string>,
|
|
677
|
+
options?: ExecFileSyncOptions,
|
|
678
|
+
): string | Buffer;
|
|
511
679
|
}
|
|
512
|
-
declare module
|
|
513
|
-
export * from
|
|
680
|
+
declare module "node:child_process" {
|
|
681
|
+
export * from "child_process";
|
|
514
682
|
}
|