@emulsify/cli 1.5.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +89 -1
- package/dist/handlers/componentInstall.js +9 -5
- package/dist/handlers/componentList.js +1 -1
- package/dist/handlers/init.js +1 -1
- package/dist/handlers/systemInstall.js +27 -11
- package/dist/index.js +13 -21
- package/dist/node_modules/.package-lock.json +34 -43
- package/dist/node_modules/@types/node/LICENSE +0 -0
- package/dist/node_modules/@types/node/README.md +3 -3
- package/dist/node_modules/@types/node/assert.d.ts +33 -31
- package/dist/node_modules/@types/node/async_hooks.d.ts +29 -21
- package/dist/node_modules/@types/node/buffer.d.ts +67 -3
- 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 +338 -240
- 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 +176 -24
- package/dist/node_modules/@types/node/globals.global.d.ts +0 -0
- package/dist/node_modules/@types/node/http.d.ts +309 -218
- package/dist/node_modules/@types/node/http2.d.ts +345 -98
- package/dist/node_modules/@types/node/https.d.ts +250 -118
- package/dist/node_modules/@types/node/index.d.ts +1 -2
- package/dist/node_modules/@types/node/inspector.d.ts +2 -3
- package/dist/node_modules/@types/node/module.d.ts +4 -4
- package/dist/node_modules/@types/node/net.d.ts +42 -14
- package/dist/node_modules/@types/node/os.d.ts +5 -4
- package/dist/node_modules/@types/node/package.json +10 -8
- 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 +62 -23
- 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 +190 -31
- package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/dist/node_modules/@types/node/timers.d.ts +6 -6
- package/dist/node_modules/@types/node/tls.d.ts +113 -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 +75 -7
- 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 +20 -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 +6 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +9 -1
- 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 +9 -10
- 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 +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 +19 -8
- 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/ref_error.d.ts +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +6 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +16 -14
- 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 +12 -2
- 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 +7 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +22 -18
- 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 +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +8 -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 +25 -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 +31 -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 +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 +10 -3
- 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 +3 -2
- 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 +4 -3
- 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/limitProperties.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
- 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/code.ts +8 -0
- 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/index.ts +8 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +21 -15
- 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/ref_error.ts +4 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +18 -15
- 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 +11 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +13 -2
- 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/runtime/uri.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +9 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +14 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +2 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +25 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +11 -3
- 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/ref.ts +3 -1
- 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/lib/vocabularies/validation/enum.ts +5 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +40 -38
- 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/debug/README.md +3 -0
- package/dist/node_modules/debug/package.json +1 -1
- package/dist/node_modules/debug/src/common.js +1 -1
- package/dist/node_modules/fs-extra/README.md +3 -5
- package/dist/node_modules/fs-extra/lib/{copy-sync → copy}/copy-sync.js +11 -8
- package/dist/node_modules/fs-extra/lib/copy/copy.js +12 -9
- package/dist/node_modules/fs-extra/lib/copy/index.js +2 -1
- package/dist/node_modules/fs-extra/lib/empty/index.js +10 -19
- package/dist/node_modules/fs-extra/lib/ensure/index.js +15 -15
- package/dist/node_modules/fs-extra/lib/ensure/link.js +10 -7
- package/dist/node_modules/fs-extra/lib/ensure/symlink.js +34 -15
- package/dist/node_modules/fs-extra/lib/fs/index.js +8 -10
- package/dist/node_modules/fs-extra/lib/index.js +1 -12
- package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +1 -1
- package/dist/node_modules/fs-extra/lib/json/output-json.js +1 -1
- package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +16 -130
- package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/dist/node_modules/fs-extra/lib/move/index.js +2 -1
- package/dist/node_modules/fs-extra/lib/{move-sync → move}/move-sync.js +12 -5
- package/dist/node_modules/fs-extra/lib/move/move.js +14 -4
- package/dist/node_modules/fs-extra/lib/remove/index.js +15 -2
- package/dist/node_modules/fs-extra/lib/util/stat.js +60 -45
- package/dist/node_modules/fs-extra/package.json +7 -10
- package/dist/node_modules/graceful-fs/LICENSE +1 -1
- package/dist/node_modules/graceful-fs/graceful-fs.js +23 -4
- package/dist/node_modules/graceful-fs/package.json +6 -3
- package/dist/node_modules/graceful-fs/polyfills.js +39 -30
- 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/ramda/dist/ramda.js +4 -4
- package/dist/node_modules/ramda/dist/ramda.min.js +1 -1
- package/dist/node_modules/ramda/es/trim.js +1 -1
- package/dist/node_modules/ramda/package.json +1 -1
- package/dist/node_modules/ramda/src/trim.js +1 -1
- 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 +5 -6
- package/dist/schemas/variant.json +28 -5
- 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/dist/util/platform/getInitSuccessMessageForPlatform.js +4 -3
- package/dist/util/project/buildComponentDependencyList.js +20 -0
- package/package.json +6 -7
- package/dist/node_modules/at-least-node/LICENSE +0 -6
- package/dist/node_modules/at-least-node/README.md +0 -25
- package/dist/node_modules/at-least-node/index.js +0 -5
- package/dist/node_modules/at-least-node/package.json +0 -32
- package/dist/node_modules/commander/CHANGELOG.md +0 -440
- package/dist/node_modules/fs-extra/CHANGELOG.md +0 -902
- package/dist/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
- package/dist/node_modules/fs-extra/lib/move-sync/index.js +0 -5
- /package/dist/node_modules/fs-extra/lib/{output → output-file}/index.js +0 -0
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import { Duplex } from
|
|
3
|
-
import * as tls from
|
|
4
|
-
import * as http from
|
|
5
|
-
import { URL } from
|
|
1
|
+
declare module "https" {
|
|
2
|
+
import { Duplex } from "stream";
|
|
3
|
+
import * as tls from "tls";
|
|
4
|
+
import * as http from "http";
|
|
5
|
+
import { URL } from "url";
|
|
6
6
|
|
|
7
|
-
type ServerOptions
|
|
7
|
+
type ServerOptions<
|
|
8
|
+
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
|
|
9
|
+
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
|
|
10
|
+
> = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>;
|
|
8
11
|
|
|
9
|
-
type RequestOptions =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
type RequestOptions =
|
|
13
|
+
& http.RequestOptions
|
|
14
|
+
& tls.SecureContextOptions
|
|
15
|
+
& {
|
|
16
|
+
checkServerIdentity?: typeof tls.checkServerIdentity | undefined;
|
|
17
|
+
rejectUnauthorized?: boolean | undefined; // Defaults to true
|
|
18
|
+
servername?: string | undefined; // SNI TLS Extension
|
|
19
|
+
};
|
|
13
20
|
|
|
14
21
|
interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
|
|
15
22
|
rejectUnauthorized?: boolean | undefined;
|
|
@@ -21,122 +28,247 @@ declare module 'https' {
|
|
|
21
28
|
options: AgentOptions;
|
|
22
29
|
}
|
|
23
30
|
|
|
24
|
-
interface Server
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
interface Server<
|
|
32
|
+
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
|
|
33
|
+
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
|
|
34
|
+
> extends http.Server<Request, Response> {}
|
|
35
|
+
class Server<
|
|
36
|
+
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
|
|
37
|
+
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
|
|
38
|
+
> extends tls.Server {
|
|
39
|
+
constructor(requestListener?: http.RequestListener<Request, Response>);
|
|
40
|
+
constructor(
|
|
41
|
+
options: ServerOptions<Request, Response>,
|
|
42
|
+
requestListener?: http.RequestListener<Request, Response>,
|
|
43
|
+
);
|
|
28
44
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
29
|
-
addListener(event:
|
|
30
|
-
addListener(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
addListener(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
addListener(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
addListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
46
|
+
addListener(
|
|
47
|
+
event: "newSession",
|
|
48
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void,
|
|
49
|
+
): this;
|
|
50
|
+
addListener(
|
|
51
|
+
event: "OCSPRequest",
|
|
52
|
+
listener: (
|
|
53
|
+
certificate: Buffer,
|
|
54
|
+
issuer: Buffer,
|
|
55
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
56
|
+
) => void,
|
|
57
|
+
): this;
|
|
58
|
+
addListener(
|
|
59
|
+
event: "resumeSession",
|
|
60
|
+
listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void,
|
|
61
|
+
): this;
|
|
62
|
+
addListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
63
|
+
addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
64
|
+
addListener(event: "close", listener: () => void): this;
|
|
65
|
+
addListener(event: "connection", listener: (socket: Duplex) => void): this;
|
|
66
|
+
addListener(event: "error", listener: (err: Error) => void): this;
|
|
67
|
+
addListener(event: "listening", listener: () => void): this;
|
|
68
|
+
addListener(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
|
|
69
|
+
addListener(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
|
|
70
|
+
addListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
|
|
71
|
+
addListener(
|
|
72
|
+
event: "connect",
|
|
73
|
+
listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void,
|
|
74
|
+
): this;
|
|
75
|
+
addListener(event: "request", listener: http.RequestListener<Request, Response>): this;
|
|
76
|
+
addListener(
|
|
77
|
+
event: "upgrade",
|
|
78
|
+
listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void,
|
|
79
|
+
): this;
|
|
45
80
|
emit(event: string, ...args: any[]): boolean;
|
|
46
|
-
emit(event:
|
|
47
|
-
emit(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
emit(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
emit(event:
|
|
60
|
-
emit(event:
|
|
61
|
-
emit(event:
|
|
81
|
+
emit(event: "keylog", line: Buffer, tlsSocket: tls.TLSSocket): boolean;
|
|
82
|
+
emit(
|
|
83
|
+
event: "newSession",
|
|
84
|
+
sessionId: Buffer,
|
|
85
|
+
sessionData: Buffer,
|
|
86
|
+
callback: (err: Error, resp: Buffer) => void,
|
|
87
|
+
): boolean;
|
|
88
|
+
emit(
|
|
89
|
+
event: "OCSPRequest",
|
|
90
|
+
certificate: Buffer,
|
|
91
|
+
issuer: Buffer,
|
|
92
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
93
|
+
): boolean;
|
|
94
|
+
emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean;
|
|
95
|
+
emit(event: "secureConnection", tlsSocket: tls.TLSSocket): boolean;
|
|
96
|
+
emit(event: "tlsClientError", err: Error, tlsSocket: tls.TLSSocket): boolean;
|
|
97
|
+
emit(event: "close"): boolean;
|
|
98
|
+
emit(event: "connection", socket: Duplex): boolean;
|
|
99
|
+
emit(event: "error", err: Error): boolean;
|
|
100
|
+
emit(event: "listening"): boolean;
|
|
101
|
+
emit(event: "checkContinue", req: InstanceType<Request>, res: InstanceType<Response>): boolean;
|
|
102
|
+
emit(event: "checkExpectation", req: InstanceType<Request>, res: InstanceType<Response>): boolean;
|
|
103
|
+
emit(event: "clientError", err: Error, socket: Duplex): boolean;
|
|
104
|
+
emit(event: "connect", req: InstanceType<Request>, socket: Duplex, head: Buffer): boolean;
|
|
105
|
+
emit(event: "request", req: InstanceType<Request>, res: InstanceType<Response>): boolean;
|
|
106
|
+
emit(event: "upgrade", req: InstanceType<Request>, socket: Duplex, head: Buffer): boolean;
|
|
62
107
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
63
|
-
on(event:
|
|
64
|
-
on(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
on(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
on(
|
|
77
|
-
|
|
78
|
-
|
|
108
|
+
on(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
109
|
+
on(
|
|
110
|
+
event: "newSession",
|
|
111
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void,
|
|
112
|
+
): this;
|
|
113
|
+
on(
|
|
114
|
+
event: "OCSPRequest",
|
|
115
|
+
listener: (
|
|
116
|
+
certificate: Buffer,
|
|
117
|
+
issuer: Buffer,
|
|
118
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
119
|
+
) => void,
|
|
120
|
+
): this;
|
|
121
|
+
on(
|
|
122
|
+
event: "resumeSession",
|
|
123
|
+
listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void,
|
|
124
|
+
): this;
|
|
125
|
+
on(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
126
|
+
on(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
127
|
+
on(event: "close", listener: () => void): this;
|
|
128
|
+
on(event: "connection", listener: (socket: Duplex) => void): this;
|
|
129
|
+
on(event: "error", listener: (err: Error) => void): this;
|
|
130
|
+
on(event: "listening", listener: () => void): this;
|
|
131
|
+
on(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
|
|
132
|
+
on(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
|
|
133
|
+
on(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
|
|
134
|
+
on(event: "connect", listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void): this;
|
|
135
|
+
on(event: "request", listener: http.RequestListener<Request, Response>): this;
|
|
136
|
+
on(event: "upgrade", listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void): this;
|
|
79
137
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
80
|
-
once(event:
|
|
81
|
-
once(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
once(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
once(
|
|
94
|
-
|
|
95
|
-
|
|
138
|
+
once(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
139
|
+
once(
|
|
140
|
+
event: "newSession",
|
|
141
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void,
|
|
142
|
+
): this;
|
|
143
|
+
once(
|
|
144
|
+
event: "OCSPRequest",
|
|
145
|
+
listener: (
|
|
146
|
+
certificate: Buffer,
|
|
147
|
+
issuer: Buffer,
|
|
148
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
149
|
+
) => void,
|
|
150
|
+
): this;
|
|
151
|
+
once(
|
|
152
|
+
event: "resumeSession",
|
|
153
|
+
listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void,
|
|
154
|
+
): this;
|
|
155
|
+
once(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
156
|
+
once(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
157
|
+
once(event: "close", listener: () => void): this;
|
|
158
|
+
once(event: "connection", listener: (socket: Duplex) => void): this;
|
|
159
|
+
once(event: "error", listener: (err: Error) => void): this;
|
|
160
|
+
once(event: "listening", listener: () => void): this;
|
|
161
|
+
once(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
|
|
162
|
+
once(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
|
|
163
|
+
once(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
|
|
164
|
+
once(event: "connect", listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void): this;
|
|
165
|
+
once(event: "request", listener: http.RequestListener<Request, Response>): this;
|
|
166
|
+
once(event: "upgrade", listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void): this;
|
|
96
167
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
97
|
-
prependListener(event:
|
|
98
|
-
prependListener(
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
prependListener(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
prependListener(
|
|
111
|
-
|
|
112
|
-
|
|
168
|
+
prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
169
|
+
prependListener(
|
|
170
|
+
event: "newSession",
|
|
171
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void,
|
|
172
|
+
): this;
|
|
173
|
+
prependListener(
|
|
174
|
+
event: "OCSPRequest",
|
|
175
|
+
listener: (
|
|
176
|
+
certificate: Buffer,
|
|
177
|
+
issuer: Buffer,
|
|
178
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
179
|
+
) => void,
|
|
180
|
+
): this;
|
|
181
|
+
prependListener(
|
|
182
|
+
event: "resumeSession",
|
|
183
|
+
listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void,
|
|
184
|
+
): this;
|
|
185
|
+
prependListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
186
|
+
prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
187
|
+
prependListener(event: "close", listener: () => void): this;
|
|
188
|
+
prependListener(event: "connection", listener: (socket: Duplex) => void): this;
|
|
189
|
+
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
190
|
+
prependListener(event: "listening", listener: () => void): this;
|
|
191
|
+
prependListener(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
|
|
192
|
+
prependListener(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
|
|
193
|
+
prependListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
|
|
194
|
+
prependListener(
|
|
195
|
+
event: "connect",
|
|
196
|
+
listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void,
|
|
197
|
+
): this;
|
|
198
|
+
prependListener(event: "request", listener: http.RequestListener<Request, Response>): this;
|
|
199
|
+
prependListener(
|
|
200
|
+
event: "upgrade",
|
|
201
|
+
listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void,
|
|
202
|
+
): this;
|
|
113
203
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
114
|
-
prependOnceListener(event:
|
|
115
|
-
prependOnceListener(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
prependOnceListener(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
prependOnceListener(
|
|
128
|
-
|
|
129
|
-
|
|
204
|
+
prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
205
|
+
prependOnceListener(
|
|
206
|
+
event: "newSession",
|
|
207
|
+
listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void,
|
|
208
|
+
): this;
|
|
209
|
+
prependOnceListener(
|
|
210
|
+
event: "OCSPRequest",
|
|
211
|
+
listener: (
|
|
212
|
+
certificate: Buffer,
|
|
213
|
+
issuer: Buffer,
|
|
214
|
+
callback: (err: Error | null, resp: Buffer) => void,
|
|
215
|
+
) => void,
|
|
216
|
+
): this;
|
|
217
|
+
prependOnceListener(
|
|
218
|
+
event: "resumeSession",
|
|
219
|
+
listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void,
|
|
220
|
+
): this;
|
|
221
|
+
prependOnceListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
222
|
+
prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
223
|
+
prependOnceListener(event: "close", listener: () => void): this;
|
|
224
|
+
prependOnceListener(event: "connection", listener: (socket: Duplex) => void): this;
|
|
225
|
+
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
226
|
+
prependOnceListener(event: "listening", listener: () => void): this;
|
|
227
|
+
prependOnceListener(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
|
|
228
|
+
prependOnceListener(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
|
|
229
|
+
prependOnceListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
|
|
230
|
+
prependOnceListener(
|
|
231
|
+
event: "connect",
|
|
232
|
+
listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void,
|
|
233
|
+
): this;
|
|
234
|
+
prependOnceListener(event: "request", listener: http.RequestListener<Request, Response>): this;
|
|
235
|
+
prependOnceListener(
|
|
236
|
+
event: "upgrade",
|
|
237
|
+
listener: (req: InstanceType<Request>, socket: Duplex, head: Buffer) => void,
|
|
238
|
+
): this;
|
|
130
239
|
}
|
|
131
240
|
|
|
132
|
-
function createServer
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
function
|
|
137
|
-
|
|
241
|
+
function createServer<
|
|
242
|
+
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
|
|
243
|
+
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
|
|
244
|
+
>(requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>;
|
|
245
|
+
function createServer<
|
|
246
|
+
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
|
|
247
|
+
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
|
|
248
|
+
>(
|
|
249
|
+
options: ServerOptions<Request, Response>,
|
|
250
|
+
requestListener?: http.RequestListener<Request, Response>,
|
|
251
|
+
): Server<Request, Response>;
|
|
252
|
+
function request(
|
|
253
|
+
options: RequestOptions | string | URL,
|
|
254
|
+
callback?: (res: http.IncomingMessage) => void,
|
|
255
|
+
): http.ClientRequest;
|
|
256
|
+
function request(
|
|
257
|
+
url: string | URL,
|
|
258
|
+
options: RequestOptions,
|
|
259
|
+
callback?: (res: http.IncomingMessage) => void,
|
|
260
|
+
): http.ClientRequest;
|
|
261
|
+
function get(
|
|
262
|
+
options: RequestOptions | string | URL,
|
|
263
|
+
callback?: (res: http.IncomingMessage) => void,
|
|
264
|
+
): http.ClientRequest;
|
|
265
|
+
function get(
|
|
266
|
+
url: string | URL,
|
|
267
|
+
options: RequestOptions,
|
|
268
|
+
callback?: (res: http.IncomingMessage) => void,
|
|
269
|
+
): http.ClientRequest;
|
|
138
270
|
let globalAgent: Agent;
|
|
139
271
|
}
|
|
140
|
-
declare module
|
|
141
|
-
export * from
|
|
272
|
+
declare module "node:https" {
|
|
273
|
+
export * from "https";
|
|
142
274
|
}
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
36
36
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
37
37
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
38
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
39
38
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
40
39
|
// Anna Henningsen <https://github.com/addaleax>
|
|
41
40
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
// Linus Unnebäck <https://github.com/LinusU>
|
|
45
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
46
45
|
|
|
47
|
-
// NOTE: These definitions support NodeJS and TypeScript
|
|
46
|
+
// NOTE: These definitions support NodeJS and TypeScript 4.9+
|
|
48
47
|
|
|
49
48
|
// Reference required types from the default lib:
|
|
50
49
|
/// <reference lib="es2018" />
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// eslint-disable-next-line @definitelytyped/dt-header
|
|
2
2
|
// Type definitions for inspector
|
|
3
3
|
|
|
4
4
|
// These definitions are auto-generated.
|
|
5
5
|
// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330
|
|
6
6
|
// for more information.
|
|
7
7
|
|
|
8
|
-
// tslint:disable:max-line-length
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* The inspector module provides an API for interacting with the V8 inspector.
|
|
@@ -1917,7 +1916,7 @@ declare module 'inspector' {
|
|
|
1917
1916
|
* Connects a session to the main thread inspector back-end.
|
|
1918
1917
|
* An exception will be thrown if this API was not called on a Worker
|
|
1919
1918
|
* thread.
|
|
1920
|
-
* @since
|
|
1919
|
+
* @since v12.11.0
|
|
1921
1920
|
*/
|
|
1922
1921
|
connectToMainThread(): void;
|
|
1923
1922
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import { URL } from
|
|
1
|
+
declare module "module" {
|
|
2
|
+
import { URL } from "url";
|
|
3
3
|
namespace Module {
|
|
4
4
|
/**
|
|
5
5
|
* Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports.
|
|
@@ -50,7 +50,7 @@ declare module 'module' {
|
|
|
50
50
|
}
|
|
51
51
|
export = Module;
|
|
52
52
|
}
|
|
53
|
-
declare module
|
|
54
|
-
import module = require(
|
|
53
|
+
declare module "node:module" {
|
|
54
|
+
import module = require("module");
|
|
55
55
|
export = module;
|
|
56
56
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import * as stream from
|
|
3
|
-
import EventEmitter = require(
|
|
4
|
-
import * as dns from
|
|
1
|
+
declare module "net" {
|
|
2
|
+
import * as stream from "stream";
|
|
3
|
+
import EventEmitter = require("events");
|
|
4
|
+
import * as dns from "dns";
|
|
5
5
|
|
|
6
6
|
type LookupFunction = (
|
|
7
7
|
hostname: string,
|
|
@@ -56,6 +56,7 @@ declare module 'net' {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
|
59
|
+
type SocketReadyState = "opening" | "open" | "readOnly" | "writeOnly" | "closed";
|
|
59
60
|
|
|
60
61
|
class Socket extends stream.Duplex {
|
|
61
62
|
constructor(options?: SocketConstructorOpts);
|
|
@@ -87,14 +88,26 @@ declare module 'net' {
|
|
|
87
88
|
readonly destroyed: boolean;
|
|
88
89
|
readonly localAddress: string;
|
|
89
90
|
readonly localPort: number;
|
|
91
|
+
readonly pending: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* This property represents the state of the connection as a string.
|
|
94
|
+
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
|
95
|
+
* @since v0.5.0
|
|
96
|
+
*/
|
|
97
|
+
readonly readyState: SocketReadyState;
|
|
90
98
|
readonly remoteAddress?: string | undefined;
|
|
91
99
|
readonly remoteFamily?: string | undefined;
|
|
92
100
|
readonly remotePort?: number | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
|
|
103
|
+
* @since v10.7.0
|
|
104
|
+
*/
|
|
105
|
+
readonly timeout?: number | undefined;
|
|
93
106
|
|
|
94
107
|
// Extended base methods
|
|
95
|
-
end(cb?: () => void):
|
|
96
|
-
end(buffer: Uint8Array | string, cb?: () => void):
|
|
97
|
-
end(str: Uint8Array | string, encoding?: BufferEncoding, cb?: () => void):
|
|
108
|
+
end(cb?: () => void): this;
|
|
109
|
+
end(buffer: Uint8Array | string, cb?: () => void): this;
|
|
110
|
+
end(str: Uint8Array | string, encoding?: BufferEncoding, cb?: () => void): this;
|
|
98
111
|
|
|
99
112
|
/**
|
|
100
113
|
* events.EventEmitter
|
|
@@ -114,7 +127,10 @@ declare module 'net' {
|
|
|
114
127
|
addListener(event: "drain", listener: () => void): this;
|
|
115
128
|
addListener(event: "end", listener: () => void): this;
|
|
116
129
|
addListener(event: "error", listener: (err: Error) => void): this;
|
|
117
|
-
addListener(
|
|
130
|
+
addListener(
|
|
131
|
+
event: "lookup",
|
|
132
|
+
listener: (err: Error, address: string, family: string | number, host: string) => void,
|
|
133
|
+
): this;
|
|
118
134
|
addListener(event: "ready", listener: () => void): this;
|
|
119
135
|
addListener(event: "timeout", listener: () => void): this;
|
|
120
136
|
|
|
@@ -136,7 +152,10 @@ declare module 'net' {
|
|
|
136
152
|
on(event: "drain", listener: () => void): this;
|
|
137
153
|
on(event: "end", listener: () => void): this;
|
|
138
154
|
on(event: "error", listener: (err: Error) => void): this;
|
|
139
|
-
on(
|
|
155
|
+
on(
|
|
156
|
+
event: "lookup",
|
|
157
|
+
listener: (err: Error, address: string, family: string | number, host: string) => void,
|
|
158
|
+
): this;
|
|
140
159
|
on(event: "ready", listener: () => void): this;
|
|
141
160
|
on(event: "timeout", listener: () => void): this;
|
|
142
161
|
|
|
@@ -147,7 +166,10 @@ declare module 'net' {
|
|
|
147
166
|
once(event: "drain", listener: () => void): this;
|
|
148
167
|
once(event: "end", listener: () => void): this;
|
|
149
168
|
once(event: "error", listener: (err: Error) => void): this;
|
|
150
|
-
once(
|
|
169
|
+
once(
|
|
170
|
+
event: "lookup",
|
|
171
|
+
listener: (err: Error, address: string, family: string | number, host: string) => void,
|
|
172
|
+
): this;
|
|
151
173
|
once(event: "ready", listener: () => void): this;
|
|
152
174
|
once(event: "timeout", listener: () => void): this;
|
|
153
175
|
|
|
@@ -158,7 +180,10 @@ declare module 'net' {
|
|
|
158
180
|
prependListener(event: "drain", listener: () => void): this;
|
|
159
181
|
prependListener(event: "end", listener: () => void): this;
|
|
160
182
|
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
161
|
-
prependListener(
|
|
183
|
+
prependListener(
|
|
184
|
+
event: "lookup",
|
|
185
|
+
listener: (err: Error, address: string, family: string | number, host: string) => void,
|
|
186
|
+
): this;
|
|
162
187
|
prependListener(event: "ready", listener: () => void): this;
|
|
163
188
|
prependListener(event: "timeout", listener: () => void): this;
|
|
164
189
|
|
|
@@ -169,7 +194,10 @@ declare module 'net' {
|
|
|
169
194
|
prependOnceListener(event: "drain", listener: () => void): this;
|
|
170
195
|
prependOnceListener(event: "end", listener: () => void): this;
|
|
171
196
|
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
172
|
-
prependOnceListener(
|
|
197
|
+
prependOnceListener(
|
|
198
|
+
event: "lookup",
|
|
199
|
+
listener: (err: Error, address: string, family: string | number, host: string) => void,
|
|
200
|
+
): this;
|
|
173
201
|
prependOnceListener(event: "ready", listener: () => void): this;
|
|
174
202
|
prependOnceListener(event: "timeout", listener: () => void): this;
|
|
175
203
|
}
|
|
@@ -291,6 +319,6 @@ declare module 'net' {
|
|
|
291
319
|
function isIPv4(input: string): boolean;
|
|
292
320
|
function isIPv6(input: string): boolean;
|
|
293
321
|
}
|
|
294
|
-
declare module
|
|
295
|
-
export * from
|
|
322
|
+
declare module "node:net" {
|
|
323
|
+
export * from "net";
|
|
296
324
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module
|
|
1
|
+
declare module "os" {
|
|
2
2
|
interface CpuInfo {
|
|
3
3
|
model: string;
|
|
4
4
|
speed: number;
|
|
@@ -21,6 +21,7 @@ declare module 'os' {
|
|
|
21
21
|
|
|
22
22
|
interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
|
|
23
23
|
family: "IPv4";
|
|
24
|
+
scopeid?: undefined;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
|
|
@@ -48,7 +49,7 @@ declare module 'os' {
|
|
|
48
49
|
function release(): string;
|
|
49
50
|
function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
|
|
50
51
|
function homedir(): string;
|
|
51
|
-
function userInfo(options: { encoding:
|
|
52
|
+
function userInfo(options: { encoding: "buffer" }): UserInfo<Buffer>;
|
|
52
53
|
function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
|
|
53
54
|
|
|
54
55
|
type SignalConstants = {
|
|
@@ -237,6 +238,6 @@ declare module 'os' {
|
|
|
237
238
|
*/
|
|
238
239
|
function setPriority(pid: number, priority: number): void;
|
|
239
240
|
}
|
|
240
|
-
declare module
|
|
241
|
-
export * from
|
|
241
|
+
declare module "node:os" {
|
|
242
|
+
export * from "os";
|
|
242
243
|
}
|