@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 EventEmitter = require(
|
|
1
|
+
declare module "stream" {
|
|
2
|
+
import EventEmitter = require("events");
|
|
3
3
|
|
|
4
4
|
class internal extends EventEmitter {
|
|
5
|
-
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean | undefined
|
|
5
|
+
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
namespace internal {
|
|
@@ -130,8 +130,17 @@ declare module 'stream' {
|
|
|
130
130
|
defaultEncoding?: BufferEncoding | undefined;
|
|
131
131
|
objectMode?: boolean | undefined;
|
|
132
132
|
emitClose?: boolean | undefined;
|
|
133
|
-
write?(
|
|
134
|
-
|
|
133
|
+
write?(
|
|
134
|
+
this: Writable,
|
|
135
|
+
chunk: any,
|
|
136
|
+
encoding: BufferEncoding,
|
|
137
|
+
callback: (error?: Error | null) => void,
|
|
138
|
+
): void;
|
|
139
|
+
writev?(
|
|
140
|
+
this: Writable,
|
|
141
|
+
chunks: Array<{ chunk: any; encoding: BufferEncoding }>,
|
|
142
|
+
callback: (error?: Error | null) => void,
|
|
143
|
+
): void;
|
|
135
144
|
destroy?(this: Writable, error: Error | null, callback: (error: Error | null) => void): void;
|
|
136
145
|
final?(this: Writable, callback: (error?: Error | null) => void): void;
|
|
137
146
|
autoDestroy?: boolean | undefined;
|
|
@@ -148,7 +157,10 @@ declare module 'stream' {
|
|
|
148
157
|
destroyed: boolean;
|
|
149
158
|
constructor(opts?: WritableOptions);
|
|
150
159
|
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
151
|
-
_writev?(
|
|
160
|
+
_writev?(
|
|
161
|
+
chunks: Array<{ chunk: any; encoding: BufferEncoding }>,
|
|
162
|
+
callback: (error?: Error | null) => void,
|
|
163
|
+
): void;
|
|
152
164
|
_destroy(error: Error | null, callback: (error?: Error | null) => void): void;
|
|
153
165
|
_final(callback: (error?: Error | null) => void): void;
|
|
154
166
|
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
|
|
@@ -237,7 +249,11 @@ declare module 'stream' {
|
|
|
237
249
|
writableCorked?: number | undefined;
|
|
238
250
|
read?(this: Duplex, size: number): void;
|
|
239
251
|
write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
240
|
-
writev?(
|
|
252
|
+
writev?(
|
|
253
|
+
this: Duplex,
|
|
254
|
+
chunks: Array<{ chunk: any; encoding: BufferEncoding }>,
|
|
255
|
+
callback: (error?: Error | null) => void,
|
|
256
|
+
): void;
|
|
241
257
|
final?(this: Duplex, callback: (error?: Error | null) => void): void;
|
|
242
258
|
destroy?(this: Duplex, error: Error | null, callback: (error: Error | null) => void): void;
|
|
243
259
|
}
|
|
@@ -254,7 +270,10 @@ declare module 'stream' {
|
|
|
254
270
|
allowHalfOpen: boolean;
|
|
255
271
|
constructor(opts?: DuplexOptions);
|
|
256
272
|
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
257
|
-
_writev?(
|
|
273
|
+
_writev?(
|
|
274
|
+
chunks: Array<{ chunk: any; encoding: BufferEncoding }>,
|
|
275
|
+
callback: (error?: Error | null) => void,
|
|
276
|
+
): void;
|
|
258
277
|
_destroy(error: Error | null, callback: (error: Error | null) => void): void;
|
|
259
278
|
_final(callback: (error?: Error | null) => void): void;
|
|
260
279
|
write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
|
|
@@ -265,14 +284,122 @@ declare module 'stream' {
|
|
|
265
284
|
end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
|
|
266
285
|
cork(): void;
|
|
267
286
|
uncork(): void;
|
|
287
|
+
/**
|
|
288
|
+
* Event emitter
|
|
289
|
+
* The defined events on documents including:
|
|
290
|
+
* 1. close
|
|
291
|
+
* 2. data
|
|
292
|
+
* 3. drain
|
|
293
|
+
* 4. end
|
|
294
|
+
* 5. error
|
|
295
|
+
* 6. finish
|
|
296
|
+
* 7. pause
|
|
297
|
+
* 8. pipe
|
|
298
|
+
* 9. readable
|
|
299
|
+
* 10. resume
|
|
300
|
+
* 11. unpipe
|
|
301
|
+
*/
|
|
302
|
+
addListener(event: "close", listener: () => void): this;
|
|
303
|
+
addListener(event: "data", listener: (chunk: any) => void): this;
|
|
304
|
+
addListener(event: "drain", listener: () => void): this;
|
|
305
|
+
addListener(event: "end", listener: () => void): this;
|
|
306
|
+
addListener(event: "error", listener: (err: Error) => void): this;
|
|
307
|
+
addListener(event: "finish", listener: () => void): this;
|
|
308
|
+
addListener(event: "pause", listener: () => void): this;
|
|
309
|
+
addListener(event: "pipe", listener: (src: Readable) => void): this;
|
|
310
|
+
addListener(event: "readable", listener: () => void): this;
|
|
311
|
+
addListener(event: "resume", listener: () => void): this;
|
|
312
|
+
addListener(event: "unpipe", listener: (src: Readable) => void): this;
|
|
313
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
314
|
+
emit(event: "close"): boolean;
|
|
315
|
+
emit(event: "data", chunk: any): boolean;
|
|
316
|
+
emit(event: "drain"): boolean;
|
|
317
|
+
emit(event: "end"): boolean;
|
|
318
|
+
emit(event: "error", err: Error): boolean;
|
|
319
|
+
emit(event: "finish"): boolean;
|
|
320
|
+
emit(event: "pause"): boolean;
|
|
321
|
+
emit(event: "pipe", src: Readable): boolean;
|
|
322
|
+
emit(event: "readable"): boolean;
|
|
323
|
+
emit(event: "resume"): boolean;
|
|
324
|
+
emit(event: "unpipe", src: Readable): boolean;
|
|
325
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
326
|
+
on(event: "close", listener: () => void): this;
|
|
327
|
+
on(event: "data", listener: (chunk: any) => void): this;
|
|
328
|
+
on(event: "drain", listener: () => void): this;
|
|
329
|
+
on(event: "end", listener: () => void): this;
|
|
330
|
+
on(event: "error", listener: (err: Error) => void): this;
|
|
331
|
+
on(event: "finish", listener: () => void): this;
|
|
332
|
+
on(event: "pause", listener: () => void): this;
|
|
333
|
+
on(event: "pipe", listener: (src: Readable) => void): this;
|
|
334
|
+
on(event: "readable", listener: () => void): this;
|
|
335
|
+
on(event: "resume", listener: () => void): this;
|
|
336
|
+
on(event: "unpipe", listener: (src: Readable) => void): this;
|
|
337
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
338
|
+
once(event: "close", listener: () => void): this;
|
|
339
|
+
once(event: "data", listener: (chunk: any) => void): this;
|
|
340
|
+
once(event: "drain", listener: () => void): this;
|
|
341
|
+
once(event: "end", listener: () => void): this;
|
|
342
|
+
once(event: "error", listener: (err: Error) => void): this;
|
|
343
|
+
once(event: "finish", listener: () => void): this;
|
|
344
|
+
once(event: "pause", listener: () => void): this;
|
|
345
|
+
once(event: "pipe", listener: (src: Readable) => void): this;
|
|
346
|
+
once(event: "readable", listener: () => void): this;
|
|
347
|
+
once(event: "resume", listener: () => void): this;
|
|
348
|
+
once(event: "unpipe", listener: (src: Readable) => void): this;
|
|
349
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
350
|
+
prependListener(event: "close", listener: () => void): this;
|
|
351
|
+
prependListener(event: "data", listener: (chunk: any) => void): this;
|
|
352
|
+
prependListener(event: "drain", listener: () => void): this;
|
|
353
|
+
prependListener(event: "end", listener: () => void): this;
|
|
354
|
+
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
355
|
+
prependListener(event: "finish", listener: () => void): this;
|
|
356
|
+
prependListener(event: "pause", listener: () => void): this;
|
|
357
|
+
prependListener(event: "pipe", listener: (src: Readable) => void): this;
|
|
358
|
+
prependListener(event: "readable", listener: () => void): this;
|
|
359
|
+
prependListener(event: "resume", listener: () => void): this;
|
|
360
|
+
prependListener(event: "unpipe", listener: (src: Readable) => void): this;
|
|
361
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
362
|
+
prependOnceListener(event: "close", listener: () => void): this;
|
|
363
|
+
prependOnceListener(event: "data", listener: (chunk: any) => void): this;
|
|
364
|
+
prependOnceListener(event: "drain", listener: () => void): this;
|
|
365
|
+
prependOnceListener(event: "end", listener: () => void): this;
|
|
366
|
+
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
367
|
+
prependOnceListener(event: "finish", listener: () => void): this;
|
|
368
|
+
prependOnceListener(event: "pause", listener: () => void): this;
|
|
369
|
+
prependOnceListener(event: "pipe", listener: (src: Readable) => void): this;
|
|
370
|
+
prependOnceListener(event: "readable", listener: () => void): this;
|
|
371
|
+
prependOnceListener(event: "resume", listener: () => void): this;
|
|
372
|
+
prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this;
|
|
373
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
374
|
+
removeListener(event: "close", listener: () => void): this;
|
|
375
|
+
removeListener(event: "data", listener: (chunk: any) => void): this;
|
|
376
|
+
removeListener(event: "drain", listener: () => void): this;
|
|
377
|
+
removeListener(event: "end", listener: () => void): this;
|
|
378
|
+
removeListener(event: "error", listener: (err: Error) => void): this;
|
|
379
|
+
removeListener(event: "finish", listener: () => void): this;
|
|
380
|
+
removeListener(event: "pause", listener: () => void): this;
|
|
381
|
+
removeListener(event: "pipe", listener: (src: Readable) => void): this;
|
|
382
|
+
removeListener(event: "readable", listener: () => void): this;
|
|
383
|
+
removeListener(event: "resume", listener: () => void): this;
|
|
384
|
+
removeListener(event: "unpipe", listener: (src: Readable) => void): this;
|
|
385
|
+
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
268
386
|
}
|
|
269
387
|
|
|
270
388
|
type TransformCallback = (error?: Error | null, data?: any) => void;
|
|
271
389
|
|
|
272
390
|
interface TransformOptions extends DuplexOptions {
|
|
273
391
|
read?(this: Transform, size: number): void;
|
|
274
|
-
write?(
|
|
275
|
-
|
|
392
|
+
write?(
|
|
393
|
+
this: Transform,
|
|
394
|
+
chunk: any,
|
|
395
|
+
encoding: BufferEncoding,
|
|
396
|
+
callback: (error?: Error | null) => void,
|
|
397
|
+
): void;
|
|
398
|
+
writev?(
|
|
399
|
+
this: Transform,
|
|
400
|
+
chunks: Array<{ chunk: any; encoding: BufferEncoding }>,
|
|
401
|
+
callback: (error?: Error | null) => void,
|
|
402
|
+
): void;
|
|
276
403
|
final?(this: Transform, callback: (error?: Error | null) => void): void;
|
|
277
404
|
destroy?(this: Transform, error: Error | null, callback: (error: Error | null) => void): void;
|
|
278
405
|
transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
|
|
@@ -285,21 +412,40 @@ declare module 'stream' {
|
|
|
285
412
|
_flush(callback: TransformCallback): void;
|
|
286
413
|
}
|
|
287
414
|
|
|
288
|
-
class PassThrough extends Transform {
|
|
415
|
+
class PassThrough extends Transform {}
|
|
289
416
|
|
|
290
417
|
interface FinishedOptions {
|
|
291
418
|
error?: boolean | undefined;
|
|
292
419
|
readable?: boolean | undefined;
|
|
293
420
|
writable?: boolean | undefined;
|
|
294
421
|
}
|
|
295
|
-
function finished(
|
|
296
|
-
|
|
422
|
+
function finished(
|
|
423
|
+
stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
|
|
424
|
+
options: FinishedOptions,
|
|
425
|
+
callback: (err?: NodeJS.ErrnoException | null) => void,
|
|
426
|
+
): () => void;
|
|
427
|
+
function finished(
|
|
428
|
+
stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
|
|
429
|
+
callback: (err?: NodeJS.ErrnoException | null) => void,
|
|
430
|
+
): () => void;
|
|
297
431
|
namespace finished {
|
|
298
|
-
function __promisify__(
|
|
432
|
+
function __promisify__(
|
|
433
|
+
stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
|
|
434
|
+
options?: FinishedOptions,
|
|
435
|
+
): Promise<void>;
|
|
299
436
|
}
|
|
300
437
|
|
|
301
|
-
function pipeline<T extends NodeJS.WritableStream>(
|
|
302
|
-
|
|
438
|
+
function pipeline<T extends NodeJS.WritableStream>(
|
|
439
|
+
stream1: NodeJS.ReadableStream,
|
|
440
|
+
stream2: T,
|
|
441
|
+
callback?: (err: NodeJS.ErrnoException | null) => void,
|
|
442
|
+
): T;
|
|
443
|
+
function pipeline<T extends NodeJS.WritableStream>(
|
|
444
|
+
stream1: NodeJS.ReadableStream,
|
|
445
|
+
stream2: NodeJS.ReadWriteStream,
|
|
446
|
+
stream3: T,
|
|
447
|
+
callback?: (err: NodeJS.ErrnoException | null) => void,
|
|
448
|
+
): T;
|
|
303
449
|
function pipeline<T extends NodeJS.WritableStream>(
|
|
304
450
|
stream1: NodeJS.ReadableStream,
|
|
305
451
|
stream2: NodeJS.ReadWriteStream,
|
|
@@ -322,12 +468,23 @@ declare module 'stream' {
|
|
|
322
468
|
function pipeline(
|
|
323
469
|
stream1: NodeJS.ReadableStream,
|
|
324
470
|
stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
|
|
325
|
-
...streams: Array<
|
|
471
|
+
...streams: Array<
|
|
472
|
+
NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void)
|
|
473
|
+
>
|
|
326
474
|
): NodeJS.WritableStream;
|
|
327
475
|
namespace pipeline {
|
|
328
476
|
function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.WritableStream): Promise<void>;
|
|
329
|
-
function __promisify__(
|
|
330
|
-
|
|
477
|
+
function __promisify__(
|
|
478
|
+
stream1: NodeJS.ReadableStream,
|
|
479
|
+
stream2: NodeJS.ReadWriteStream,
|
|
480
|
+
stream3: NodeJS.WritableStream,
|
|
481
|
+
): Promise<void>;
|
|
482
|
+
function __promisify__(
|
|
483
|
+
stream1: NodeJS.ReadableStream,
|
|
484
|
+
stream2: NodeJS.ReadWriteStream,
|
|
485
|
+
stream3: NodeJS.ReadWriteStream,
|
|
486
|
+
stream4: NodeJS.WritableStream,
|
|
487
|
+
): Promise<void>;
|
|
331
488
|
function __promisify__(
|
|
332
489
|
stream1: NodeJS.ReadableStream,
|
|
333
490
|
stream2: NodeJS.ReadWriteStream,
|
|
@@ -335,11 +492,13 @@ declare module 'stream' {
|
|
|
335
492
|
stream4: NodeJS.ReadWriteStream,
|
|
336
493
|
stream5: NodeJS.WritableStream,
|
|
337
494
|
): Promise<void>;
|
|
338
|
-
function __promisify__(
|
|
495
|
+
function __promisify__(
|
|
496
|
+
streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
|
|
497
|
+
): Promise<void>;
|
|
339
498
|
function __promisify__(
|
|
340
499
|
stream1: NodeJS.ReadableStream,
|
|
341
500
|
stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
|
|
342
|
-
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream
|
|
501
|
+
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream>
|
|
343
502
|
): Promise<void>;
|
|
344
503
|
}
|
|
345
504
|
|
|
@@ -353,7 +512,7 @@ declare module 'stream' {
|
|
|
353
512
|
|
|
354
513
|
export = internal;
|
|
355
514
|
}
|
|
356
|
-
declare module
|
|
357
|
-
import stream = require(
|
|
515
|
+
declare module "node:stream" {
|
|
516
|
+
import stream = require("stream");
|
|
358
517
|
export = stream;
|
|
359
518
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare module
|
|
1
|
+
declare module "string_decoder" {
|
|
2
2
|
class StringDecoder {
|
|
3
3
|
constructor(encoding?: BufferEncoding);
|
|
4
4
|
write(buffer: Buffer): string;
|
|
5
5
|
end(buffer?: Buffer): string;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare module
|
|
9
|
-
export * from
|
|
8
|
+
declare module "node:string_decoder" {
|
|
9
|
+
export * from "string_decoder";
|
|
10
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare module
|
|
1
|
+
declare module "timers" {
|
|
2
2
|
function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
3
3
|
namespace setTimeout {
|
|
4
4
|
function __promisify__(ms: number): Promise<void>;
|
|
5
5
|
function __promisify__<T>(ms: number, value: T): Promise<T>;
|
|
6
6
|
}
|
|
7
|
-
function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
|
|
7
|
+
function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void;
|
|
8
8
|
function setInterval(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
9
|
-
function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
|
|
9
|
+
function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void;
|
|
10
10
|
function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate;
|
|
11
11
|
namespace setImmediate {
|
|
12
12
|
function __promisify__(): Promise<void>;
|
|
@@ -14,6 +14,6 @@ declare module 'timers' {
|
|
|
14
14
|
}
|
|
15
15
|
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
16
16
|
}
|
|
17
|
-
declare module
|
|
18
|
-
export * from
|
|
17
|
+
declare module "node:timers" {
|
|
18
|
+
export * from "timers";
|
|
19
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import * as net from
|
|
3
|
-
import * as stream from
|
|
1
|
+
declare module "tls" {
|
|
2
|
+
import * as net from "net";
|
|
3
|
+
import * as stream from "stream";
|
|
4
4
|
|
|
5
5
|
const CLIENT_RENEG_LIMIT: number;
|
|
6
6
|
const CLIENT_RENEG_WINDOW: number;
|
|
@@ -147,7 +147,7 @@ declare module 'tls' {
|
|
|
147
147
|
* Static boolean value, always true.
|
|
148
148
|
* May be used to distinguish TLS sockets from regular ones.
|
|
149
149
|
*/
|
|
150
|
-
encrypted:
|
|
150
|
+
encrypted: true;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* String containing the selected ALPN protocol.
|
|
@@ -266,7 +266,10 @@ declare module 'tls' {
|
|
|
266
266
|
* is successfully completed.
|
|
267
267
|
* @return `undefined` when socket is destroy, `false` if negotiaion can't be initiated.
|
|
268
268
|
*/
|
|
269
|
-
renegotiate(
|
|
269
|
+
renegotiate(
|
|
270
|
+
options: { rejectUnauthorized?: boolean | undefined; requestCert?: boolean | undefined },
|
|
271
|
+
callback: (err: Error | null) => void,
|
|
272
|
+
): undefined | boolean;
|
|
270
273
|
/**
|
|
271
274
|
* Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512).
|
|
272
275
|
* Smaller fragment size decreases buffering latency on the client: large fragments are buffered by
|
|
@@ -404,7 +407,6 @@ declare module 'tls' {
|
|
|
404
407
|
ticketKeys?: Buffer | undefined;
|
|
405
408
|
|
|
406
409
|
/**
|
|
407
|
-
*
|
|
408
410
|
* @param socket
|
|
409
411
|
* @param identity identity parameter sent from the client.
|
|
410
412
|
* @return pre-shared key that must either be
|
|
@@ -484,7 +486,6 @@ declare module 'tls' {
|
|
|
484
486
|
*/
|
|
485
487
|
getTicketKeys(): Buffer;
|
|
486
488
|
/**
|
|
487
|
-
*
|
|
488
489
|
* The server.setSecureContext() method replaces the
|
|
489
490
|
* secure context of an existing server. Existing connections to the
|
|
490
491
|
* server are not interrupted.
|
|
@@ -508,49 +509,120 @@ declare module 'tls' {
|
|
|
508
509
|
*/
|
|
509
510
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
510
511
|
addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
511
|
-
addListener(
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
addListener(
|
|
513
|
+
event: "newSession",
|
|
514
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
515
|
+
): this;
|
|
516
|
+
addListener(
|
|
517
|
+
event: "OCSPRequest",
|
|
518
|
+
listener: (
|
|
519
|
+
certificate: Buffer,
|
|
520
|
+
issuer: Buffer,
|
|
521
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
522
|
+
) => void,
|
|
523
|
+
): this;
|
|
524
|
+
addListener(
|
|
525
|
+
event: "resumeSession",
|
|
526
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
527
|
+
): this;
|
|
514
528
|
addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
515
529
|
addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
516
530
|
|
|
517
531
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
518
532
|
emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean;
|
|
519
|
-
emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: (
|
|
520
|
-
emit(
|
|
521
|
-
|
|
533
|
+
emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: () => void): boolean;
|
|
534
|
+
emit(
|
|
535
|
+
event: "OCSPRequest",
|
|
536
|
+
certificate: Buffer,
|
|
537
|
+
issuer: Buffer,
|
|
538
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
539
|
+
): boolean;
|
|
540
|
+
emit(
|
|
541
|
+
event: "resumeSession",
|
|
542
|
+
sessionId: Buffer,
|
|
543
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
544
|
+
): boolean;
|
|
522
545
|
emit(event: "secureConnection", tlsSocket: TLSSocket): boolean;
|
|
523
546
|
emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean;
|
|
524
547
|
|
|
525
548
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
526
549
|
on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
527
|
-
on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (
|
|
528
|
-
on(
|
|
529
|
-
|
|
550
|
+
on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void): this;
|
|
551
|
+
on(
|
|
552
|
+
event: "OCSPRequest",
|
|
553
|
+
listener: (
|
|
554
|
+
certificate: Buffer,
|
|
555
|
+
issuer: Buffer,
|
|
556
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
557
|
+
) => void,
|
|
558
|
+
): this;
|
|
559
|
+
on(
|
|
560
|
+
event: "resumeSession",
|
|
561
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
562
|
+
): this;
|
|
530
563
|
on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
531
564
|
on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
532
565
|
|
|
533
566
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
534
567
|
once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
535
|
-
once(
|
|
536
|
-
|
|
537
|
-
|
|
568
|
+
once(
|
|
569
|
+
event: "newSession",
|
|
570
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
571
|
+
): this;
|
|
572
|
+
once(
|
|
573
|
+
event: "OCSPRequest",
|
|
574
|
+
listener: (
|
|
575
|
+
certificate: Buffer,
|
|
576
|
+
issuer: Buffer,
|
|
577
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
578
|
+
) => void,
|
|
579
|
+
): this;
|
|
580
|
+
once(
|
|
581
|
+
event: "resumeSession",
|
|
582
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
583
|
+
): this;
|
|
538
584
|
once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
539
585
|
once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
540
586
|
|
|
541
587
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
542
588
|
prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
543
|
-
prependListener(
|
|
544
|
-
|
|
545
|
-
|
|
589
|
+
prependListener(
|
|
590
|
+
event: "newSession",
|
|
591
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
592
|
+
): this;
|
|
593
|
+
prependListener(
|
|
594
|
+
event: "OCSPRequest",
|
|
595
|
+
listener: (
|
|
596
|
+
certificate: Buffer,
|
|
597
|
+
issuer: Buffer,
|
|
598
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
599
|
+
) => void,
|
|
600
|
+
): this;
|
|
601
|
+
prependListener(
|
|
602
|
+
event: "resumeSession",
|
|
603
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
604
|
+
): this;
|
|
546
605
|
prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
547
606
|
prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
548
607
|
|
|
549
608
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
550
609
|
prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
551
|
-
prependOnceListener(
|
|
552
|
-
|
|
553
|
-
|
|
610
|
+
prependOnceListener(
|
|
611
|
+
event: "newSession",
|
|
612
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void,
|
|
613
|
+
): this;
|
|
614
|
+
prependOnceListener(
|
|
615
|
+
event: "OCSPRequest",
|
|
616
|
+
listener: (
|
|
617
|
+
certificate: Buffer,
|
|
618
|
+
issuer: Buffer,
|
|
619
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
620
|
+
) => void,
|
|
621
|
+
): this;
|
|
622
|
+
prependOnceListener(
|
|
623
|
+
event: "resumeSession",
|
|
624
|
+
listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void,
|
|
625
|
+
): this;
|
|
554
626
|
prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
555
627
|
prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
556
628
|
}
|
|
@@ -560,7 +632,7 @@ declare module 'tls' {
|
|
|
560
632
|
cleartext: TLSSocket;
|
|
561
633
|
}
|
|
562
634
|
|
|
563
|
-
type SecureVersion =
|
|
635
|
+
type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1";
|
|
564
636
|
|
|
565
637
|
interface SecureContextOptions {
|
|
566
638
|
/**
|
|
@@ -736,12 +808,22 @@ declare module 'tls' {
|
|
|
736
808
|
function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server;
|
|
737
809
|
function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server;
|
|
738
810
|
function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
739
|
-
function connect(
|
|
811
|
+
function connect(
|
|
812
|
+
port: number,
|
|
813
|
+
host?: string,
|
|
814
|
+
options?: ConnectionOptions,
|
|
815
|
+
secureConnectListener?: () => void,
|
|
816
|
+
): TLSSocket;
|
|
740
817
|
function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
741
818
|
/**
|
|
742
819
|
* @deprecated since v0.11.3 Use `tls.TLSSocket` instead.
|
|
743
820
|
*/
|
|
744
|
-
function createSecurePair(
|
|
821
|
+
function createSecurePair(
|
|
822
|
+
credentials?: SecureContext,
|
|
823
|
+
isServer?: boolean,
|
|
824
|
+
requestCert?: boolean,
|
|
825
|
+
rejectUnauthorized?: boolean,
|
|
826
|
+
): SecurePair;
|
|
745
827
|
function createSecureContext(options?: SecureContextOptions): SecureContext;
|
|
746
828
|
function getCiphers(): string[];
|
|
747
829
|
|
|
@@ -779,6 +861,6 @@ declare module 'tls' {
|
|
|
779
861
|
*/
|
|
780
862
|
const rootCertificates: ReadonlyArray<string>;
|
|
781
863
|
}
|
|
782
|
-
declare module
|
|
783
|
-
export * from
|
|
864
|
+
declare module "node:tls" {
|
|
865
|
+
export * from "tls";
|
|
784
866
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module
|
|
1
|
+
declare module "trace_events" {
|
|
2
2
|
/**
|
|
3
3
|
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
4
4
|
* categories. Instances are created using the
|
|
@@ -59,6 +59,6 @@ declare module 'trace_events' {
|
|
|
59
59
|
*/
|
|
60
60
|
function getEnabledCategories(): string | undefined;
|
|
61
61
|
}
|
|
62
|
-
declare module
|
|
63
|
-
export * from
|
|
62
|
+
declare module "node:trace_events" {
|
|
63
|
+
export * from "trace_events";
|
|
64
64
|
}
|