@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
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[](https://www.emulsify.info/)
|
|
2
|
+

|
|
1
3
|
# emulsify-cli
|
|
2
4
|
|
|
3
5
|
Command line interface for Emulsify.
|
|
@@ -12,7 +14,7 @@ npm install -g @emulsify/cli
|
|
|
12
14
|
|
|
13
15
|
## Usage
|
|
14
16
|
|
|
15
|
-
For more information on how to use emulsify-cli, please see the [usage documentation](https://
|
|
17
|
+
For more information on how to use emulsify-cli, please see the [usage documentation](https://www.emulsify.info/docs/supporting-projects/emulsify-cli/emulsify-cli-usage).
|
|
16
18
|
|
|
17
19
|
## Development
|
|
18
20
|
|
|
@@ -48,3 +50,89 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
|
|
|
48
50
|
## Deployment
|
|
49
51
|
|
|
50
52
|
This project is automatically built and deployed to NPM via a GitHub Actions workflow. In order to deploy changes merged into the `develop` branch, simply merge `develop` into `main`, and call it a day.
|
|
53
|
+
|
|
54
|
+
### Contributors
|
|
55
|
+
|
|
56
|
+
<table>
|
|
57
|
+
<tr>
|
|
58
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
59
|
+
<a href=https://github.com/patrickocoffeyo>
|
|
60
|
+
<img src=https://avatars.githubusercontent.com/u/1107871?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Patrick Coffey/>
|
|
61
|
+
<br />
|
|
62
|
+
<sub style="font-size:14px"><b>Patrick Coffey</b></sub>
|
|
63
|
+
</a>
|
|
64
|
+
</td>
|
|
65
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
66
|
+
<a href=https://github.com/ModulesUnraveled>
|
|
67
|
+
<img src=https://avatars.githubusercontent.com/u/1663810?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Brian Lewis/>
|
|
68
|
+
<br />
|
|
69
|
+
<sub style="font-size:14px"><b>Brian Lewis</b></sub>
|
|
70
|
+
</a>
|
|
71
|
+
</td>
|
|
72
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
73
|
+
<a href=https://github.com/JeffTomlinson>
|
|
74
|
+
<img src=https://avatars.githubusercontent.com/u/2602202?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Jeff Tomlinson/>
|
|
75
|
+
<br />
|
|
76
|
+
<sub style="font-size:14px"><b>Jeff Tomlinson</b></sub>
|
|
77
|
+
</a>
|
|
78
|
+
</td>
|
|
79
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
80
|
+
<a href=https://github.com/callinmullaney>
|
|
81
|
+
<img src=https://avatars.githubusercontent.com/u/369018?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Callin Mullaney/>
|
|
82
|
+
<br />
|
|
83
|
+
<sub style="font-size:14px"><b>Callin Mullaney</b></sub>
|
|
84
|
+
</a>
|
|
85
|
+
</td>
|
|
86
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
87
|
+
<a href=https://github.com/amazingrando>
|
|
88
|
+
<img src=https://avatars.githubusercontent.com/u/409903?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Randy Oest/>
|
|
89
|
+
<br />
|
|
90
|
+
<sub style="font-size:14px"><b>Randy Oest</b></sub>
|
|
91
|
+
</a>
|
|
92
|
+
</td>
|
|
93
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
94
|
+
<a href=https://github.com/mikeethedude>
|
|
95
|
+
<img src=https://avatars.githubusercontent.com/u/15275301?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=mikeethedude/>
|
|
96
|
+
<br />
|
|
97
|
+
<sub style="font-size:14px"><b>mikeethedude</b></sub>
|
|
98
|
+
</a>
|
|
99
|
+
</td>
|
|
100
|
+
</tr>
|
|
101
|
+
<tr>
|
|
102
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
103
|
+
<a href=https://github.com/fertant>
|
|
104
|
+
<img src=https://avatars.githubusercontent.com/u/3853492?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Andrii Shutov/>
|
|
105
|
+
<br />
|
|
106
|
+
<sub style="font-size:14px"><b>Andrii Shutov</b></sub>
|
|
107
|
+
</a>
|
|
108
|
+
</td>
|
|
109
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
110
|
+
<a href=https://github.com/ryanhagerty>
|
|
111
|
+
<img src=https://avatars.githubusercontent.com/u/8405274?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Ryan Hagerty/>
|
|
112
|
+
<br />
|
|
113
|
+
<sub style="font-size:14px"><b>Ryan Hagerty</b></sub>
|
|
114
|
+
</a>
|
|
115
|
+
</td>
|
|
116
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
117
|
+
<a href=https://github.com/nJim>
|
|
118
|
+
<img src=https://avatars.githubusercontent.com/u/9594124?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Jim Vomero/>
|
|
119
|
+
<br />
|
|
120
|
+
<sub style="font-size:14px"><b>Jim Vomero</b></sub>
|
|
121
|
+
</a>
|
|
122
|
+
</td>
|
|
123
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
124
|
+
<a href=https://github.com/calebtr-metro>
|
|
125
|
+
<img src=https://avatars.githubusercontent.com/u/43386533?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Caleb Tucker-Raymond/>
|
|
126
|
+
<br />
|
|
127
|
+
<sub style="font-size:14px"><b>Caleb Tucker-Raymond</b></sub>
|
|
128
|
+
</a>
|
|
129
|
+
</td>
|
|
130
|
+
<td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
|
|
131
|
+
<a href=https://github.com/iryston>
|
|
132
|
+
<img src=https://avatars.githubusercontent.com/u/1258460?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Igor R. Plity/>
|
|
133
|
+
<br />
|
|
134
|
+
<sub style="font-size:14px"><b>Igor R. Plity</b></sub>
|
|
135
|
+
</a>
|
|
136
|
+
</td>
|
|
137
|
+
</tr>
|
|
138
|
+
</table>
|
|
@@ -31,7 +31,7 @@ async function componentInstall(name, { force, all }) {
|
|
|
31
31
|
catch (e) {
|
|
32
32
|
return (0, log_1.default)('error', 'The system specified in your project configuration is not clone-able, or has an invalid checkout value.', constants_1.EXIT_ERROR);
|
|
33
33
|
}
|
|
34
|
-
const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
|
|
34
|
+
const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], emulsifyConfig.system.checkout, constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
|
|
35
35
|
if (!systemConf) {
|
|
36
36
|
return (0, log_1.default)('error', `Unable to load configuration for the ${systemName} system. Please make sure the system is installed.`, constants_1.EXIT_ERROR);
|
|
37
37
|
}
|
|
@@ -29,7 +29,7 @@ async function componentList() {
|
|
|
29
29
|
console.log(e);
|
|
30
30
|
return (0, log_1.default)('error', 'The system specified in your project configuration is not clone-able, or has an invalid checkout value.', constants_1.EXIT_ERROR);
|
|
31
31
|
}
|
|
32
|
-
const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
|
|
32
|
+
const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], emulsifyConfig.system.checkout, constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
|
|
33
33
|
if (!systemConf) {
|
|
34
34
|
return (0, log_1.default)('error', `Unable to load configuration for the ${systemName} system. Please make sure the system is installed.`, constants_1.EXIT_ERROR);
|
|
35
35
|
}
|
|
@@ -15,6 +15,7 @@ const getAvailableSystems_1 = __importDefault(require("../util/system/getAvailab
|
|
|
15
15
|
const getGitRepoNameFromUrl_1 = __importDefault(require("../util/getGitRepoNameFromUrl"));
|
|
16
16
|
const cloneIntoCache_1 = __importDefault(require("../util/cache/cloneIntoCache"));
|
|
17
17
|
const getCachedItemCheckout_1 = __importDefault(require("../util/cache/getCachedItemCheckout"));
|
|
18
|
+
const getRepositoryLatestTag_1 = __importDefault(require("../util/getRepositoryLatestTag"));
|
|
18
19
|
const installComponentFromCache_1 = __importDefault(require("../util/project/installComponentFromCache"));
|
|
19
20
|
const installGeneralAssetsFromCache_1 = __importDefault(require("../util/project/installGeneralAssetsFromCache"));
|
|
20
21
|
const getJsonFromCachedFile_1 = __importDefault(require("../util/cache/getJsonFromCachedFile"));
|
|
@@ -26,13 +27,23 @@ const system_json_1 = __importDefault(require("../schemas/system.json"));
|
|
|
26
27
|
const variant_json_1 = __importDefault(require("../schemas/variant.json"));
|
|
27
28
|
async function getSystemRepoInfo(name, { repository, checkout }) {
|
|
28
29
|
if (repository && checkout) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
try {
|
|
31
|
+
const repoName = (0, getGitRepoNameFromUrl_1.default)(repository);
|
|
32
|
+
if (repoName) {
|
|
33
|
+
return {
|
|
34
|
+
name: repoName,
|
|
35
|
+
repository,
|
|
36
|
+
checkout,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
if (error instanceof Error) {
|
|
42
|
+
return (0, log_1.default)('error', error.message, constants_1.EXIT_ERROR);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
throw error;
|
|
46
|
+
}
|
|
36
47
|
}
|
|
37
48
|
}
|
|
38
49
|
if (name) {
|
|
@@ -60,11 +71,15 @@ async function systemInstall(name, options) {
|
|
|
60
71
|
if (!repo) {
|
|
61
72
|
return (0, log_1.default)('error', 'Unable to download specified system. You must either specify a valid name of an out-of-the-box system using the --name flag, or specify a valid repository and branch/tag/commit using the --repository and --checkout flags.', constants_1.EXIT_ERROR);
|
|
62
73
|
}
|
|
74
|
+
let checkout = repo.checkout;
|
|
75
|
+
if (!checkout) {
|
|
76
|
+
checkout = await (0, getRepositoryLatestTag_1.default)(repo.repository);
|
|
77
|
+
}
|
|
63
78
|
await (0, cloneIntoCache_1.default)('systems', [repo.name])({
|
|
64
79
|
repository: repo.repository,
|
|
65
|
-
checkout:
|
|
80
|
+
checkout: checkout,
|
|
66
81
|
});
|
|
67
|
-
const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [repo.name], constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
|
|
82
|
+
const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [repo.name], repo.checkout, constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
|
|
68
83
|
if (!systemConf) {
|
|
69
84
|
return (0, log_1.default)('error', `The system you attempted to install (${repo.name}) is invalid, as it does not contain a valid configuration file.`, constants_1.EXIT_ERROR);
|
|
70
85
|
}
|
package/dist/index.js
CHANGED
|
@@ -12,46 +12,37 @@ const systemInstall_1 = __importDefault(require("./handlers/systemInstall"));
|
|
|
12
12
|
const componentList_1 = __importDefault(require("./handlers/componentList"));
|
|
13
13
|
const componentInstall_1 = __importDefault(require("./handlers/componentInstall"));
|
|
14
14
|
commander_1.program
|
|
15
|
-
.
|
|
15
|
+
.enablePositionalOptions()
|
|
16
|
+
.option('-c --checkout <commit/branch/tag>', 'Commit, branch or tag of the base repository that should be checked out');
|
|
17
|
+
commander_1.program
|
|
18
|
+
.command('init <name> [path]', 'Initialize an Emulsify project', {
|
|
19
|
+
isDefault: true,
|
|
20
|
+
})
|
|
16
21
|
.option('-m --machineName <machineName>', 'Machine-friendly name of the project you are initializing. If not provided, this will be automatically generated.')
|
|
17
22
|
.option('-s --starter <repository>', 'Git repository of the Emulsify starter you would like to use, such as the Emulsify Drupal theme: https://github.com/emulsify-ds/emulsify-drupal.git')
|
|
18
23
|
.option('-c --checkout <commit/branch/tag>', 'Commit, branch or tag of the base repository that should be checked out')
|
|
19
24
|
.option('-p --platform <drupal/wordpress/etc>', 'Name of the platform Emulsify is being within. In some cases, Emulsify is able to automatically detect this. If it is not, Emulsify will prompt you to specify.')
|
|
20
|
-
.description('Initialize an Emulsify project', {
|
|
21
|
-
name: 'Name of the Emulsify project you are initializing. This should be a proper name, such as "Carmen Sandiego".',
|
|
22
|
-
path: 'Path to the folder in which you would like to to create your Emulsify project. For example, "./themes" will result in the Emulsify project being placed in ./themes/{name}',
|
|
23
|
-
})
|
|
24
25
|
.action((0, withProgressBar_1.default)(init_1.default));
|
|
25
|
-
const system = commander_1.program
|
|
26
|
-
.command('system')
|
|
27
|
-
.description('Parent command that contains sub-commands pertaining to systems');
|
|
26
|
+
const system = commander_1.program.command('system', 'Parent command that contains sub-commands pertaining to systems');
|
|
28
27
|
system
|
|
29
|
-
.command('list')
|
|
28
|
+
.command('list', 'Lists all of the available systems that Emulsify supports out-of-the-box')
|
|
30
29
|
.alias('ls')
|
|
31
|
-
.description('Lists all of the available systems that Emulsify supports out-of-the-box')
|
|
32
30
|
.action(systemList_1.default);
|
|
33
31
|
system
|
|
34
|
-
.command('install [name]')
|
|
32
|
+
.command('install [name]', 'Install a system within an Emulsify project. You must specify either the name of an out-of-the-box system (such as compound), or a link to a git repository containing the system you want to install')
|
|
35
33
|
.option('-r --repository <repository>', 'Git repository containing the system you would like to install')
|
|
36
34
|
.option('-c --checkout <commit/branch/tag>', 'Commit, branch or tag of the base repository that should be checked out. MUST be provided if you are passing along a repository (-r or --repository). Tags or commit hashes are strongly preferable, because you want to ensure that you are using the same version of the system every time you install components, etc')
|
|
37
35
|
.option('-a --all', 'Use this to install all available components within the specified system. Without this flag, only the required system components will be installed.')
|
|
38
|
-
.description('Install a system within an Emulsify project. You must specify either the name of an out-of-the-box system (such as compound), or a link to a git repository containing the system you want to install', {
|
|
39
|
-
name: 'Name of the out-of-the-box system you would like to install',
|
|
40
|
-
})
|
|
41
36
|
.action(systemInstall_1.default);
|
|
42
|
-
const component = commander_1.program
|
|
43
|
-
.command('component')
|
|
44
|
-
.description('Parent command that contains sub-commands pertaining to components');
|
|
37
|
+
const component = commander_1.program.command('component', 'Parent command that contains sub-commands pertaining to components');
|
|
45
38
|
component
|
|
46
|
-
.command('list')
|
|
39
|
+
.command('list', 'Lists all of the components that are available for installation within your project based on the system and variant you selected')
|
|
47
40
|
.alias('ls')
|
|
48
|
-
.description('Lists all of the components that are available for installation within your project based on the system and variant you selected')
|
|
49
41
|
.action(componentList_1.default);
|
|
50
42
|
component
|
|
51
|
-
.command('install [name]')
|
|
43
|
+
.command('install [name]', "Install a component from within the current project's system and variant")
|
|
52
44
|
.option('-f --force', 'Use this to overwrite a component that is already installed')
|
|
53
45
|
.option('-a --all', 'Use this to install all available components, rather than specifying a single component to install')
|
|
54
46
|
.alias('i')
|
|
55
|
-
.description("Install a component from within the current project's system and variant")
|
|
56
47
|
.action(componentInstall_1.default);
|
|
57
48
|
void commander_1.program.parseAsync(process.argv);
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw=="
|
|
19
19
|
},
|
|
20
20
|
"node_modules/@types/node": {
|
|
21
|
-
"version": "14.18.
|
|
22
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.
|
|
23
|
-
"integrity": "sha512-
|
|
21
|
+
"version": "14.18.63",
|
|
22
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz",
|
|
23
|
+
"integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ=="
|
|
24
24
|
},
|
|
25
25
|
"node_modules/@types/progress": {
|
|
26
|
-
"version": "2.0.
|
|
27
|
-
"resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.
|
|
28
|
-
"integrity": "sha512-
|
|
26
|
+
"version": "2.0.7",
|
|
27
|
+
"resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.7.tgz",
|
|
28
|
+
"integrity": "sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@types/node": "*"
|
|
31
31
|
}
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"node_modules/ajv-formats/node_modules/ajv": {
|
|
65
|
-
"version": "8.
|
|
66
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.
|
|
67
|
-
"integrity": "sha512-
|
|
65
|
+
"version": "8.13.0",
|
|
66
|
+
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz",
|
|
67
|
+
"integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==",
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"fast-deep-equal": "^3.1.
|
|
69
|
+
"fast-deep-equal": "^3.1.3",
|
|
70
70
|
"json-schema-traverse": "^1.0.0",
|
|
71
71
|
"require-from-string": "^2.0.2",
|
|
72
|
-
"uri-js": "^4.
|
|
72
|
+
"uri-js": "^4.4.1"
|
|
73
73
|
},
|
|
74
74
|
"funding": {
|
|
75
75
|
"type": "github",
|
|
@@ -122,11 +122,11 @@
|
|
|
122
122
|
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
|
123
123
|
},
|
|
124
124
|
"node_modules/commander": {
|
|
125
|
-
"version": "
|
|
126
|
-
"resolved": "https://registry.npmjs.org/commander/-/commander-
|
|
127
|
-
"integrity": "sha512-
|
|
125
|
+
"version": "12.0.0",
|
|
126
|
+
"resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz",
|
|
127
|
+
"integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==",
|
|
128
128
|
"engines": {
|
|
129
|
-
"node": ">=
|
|
129
|
+
"node": ">=18"
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
"node_modules/consola": {
|
|
@@ -169,9 +169,9 @@
|
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
"node_modules/graceful-fs": {
|
|
172
|
-
"version": "4.2.
|
|
173
|
-
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.
|
|
174
|
-
"integrity": "sha512-
|
|
172
|
+
"version": "4.2.11",
|
|
173
|
+
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
174
|
+
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
|
|
175
175
|
},
|
|
176
176
|
"node_modules/has-flag": {
|
|
177
177
|
"version": "4.0.0",
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
213
|
"node_modules/punycode": {
|
|
214
|
-
"version": "2.
|
|
215
|
-
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.
|
|
216
|
-
"integrity": "sha512-
|
|
214
|
+
"version": "2.3.1",
|
|
215
|
+
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
|
|
216
|
+
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
|
|
217
217
|
"engines": {
|
|
218
218
|
"node": ">=6"
|
|
219
219
|
}
|
|
@@ -257,9 +257,9 @@
|
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
"node_modules/universalify": {
|
|
260
|
-
"version": "2.0.
|
|
261
|
-
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.
|
|
262
|
-
"integrity": "sha512-
|
|
260
|
+
"version": "2.0.1",
|
|
261
|
+
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
|
|
262
|
+
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
|
|
263
263
|
"engines": {
|
|
264
264
|
"node": ">= 10.0.0"
|
|
265
265
|
}
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module
|
|
1
|
+
declare module "assert" {
|
|
2
2
|
/** An alias of `assert.ok()`. */
|
|
3
3
|
function assert(value: any, message?: string | Error): asserts value;
|
|
4
4
|
namespace assert {
|
|
@@ -7,7 +7,7 @@ declare module 'assert' {
|
|
|
7
7
|
expected: any;
|
|
8
8
|
operator: string;
|
|
9
9
|
generatedMessage: boolean;
|
|
10
|
-
code:
|
|
10
|
+
code: "ERR_ASSERTION";
|
|
11
11
|
|
|
12
12
|
constructor(options?: {
|
|
13
13
|
/** If provided, the error message is set to this value. */
|
|
@@ -42,7 +42,7 @@ declare module 'assert' {
|
|
|
42
42
|
stack: object;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
type AssertPredicate = RegExp | (new
|
|
45
|
+
type AssertPredicate = RegExp | (new() => object) | ((thrown: any) => boolean) | object | Error;
|
|
46
46
|
|
|
47
47
|
function fail(message?: string | Error): never;
|
|
48
48
|
/** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
|
|
@@ -91,38 +91,40 @@ declare module 'assert' {
|
|
|
91
91
|
function match(value: string, regExp: RegExp, message?: string | Error): void;
|
|
92
92
|
function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
|
|
93
93
|
|
|
94
|
-
const strict:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
94
|
+
const strict:
|
|
95
|
+
& Omit<
|
|
96
|
+
typeof assert,
|
|
97
|
+
| "equal"
|
|
98
|
+
| "notEqual"
|
|
99
|
+
| "deepEqual"
|
|
100
|
+
| "notDeepEqual"
|
|
101
|
+
| "ok"
|
|
102
|
+
| "strictEqual"
|
|
103
|
+
| "deepStrictEqual"
|
|
104
|
+
| "ifError"
|
|
105
|
+
| "strict"
|
|
106
|
+
>
|
|
107
|
+
& {
|
|
108
|
+
(value: any, message?: string | Error): asserts value;
|
|
109
|
+
equal: typeof strictEqual;
|
|
110
|
+
notEqual: typeof notStrictEqual;
|
|
111
|
+
deepEqual: typeof deepStrictEqual;
|
|
112
|
+
notDeepEqual: typeof notDeepStrictEqual;
|
|
111
113
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
// Mapped types and assertion functions are incompatible?
|
|
115
|
+
// TS2775: Assertions require every name in the call target
|
|
116
|
+
// to be declared with an explicit type annotation.
|
|
117
|
+
ok: typeof ok;
|
|
118
|
+
strictEqual: typeof strictEqual;
|
|
119
|
+
deepStrictEqual: typeof deepStrictEqual;
|
|
120
|
+
ifError: typeof ifError;
|
|
121
|
+
strict: typeof strict;
|
|
122
|
+
};
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
export = assert;
|
|
124
126
|
}
|
|
125
|
-
declare module
|
|
126
|
-
import assert = require(
|
|
127
|
+
declare module "node:assert" {
|
|
128
|
+
import assert = require("assert");
|
|
127
129
|
export = assert;
|
|
128
130
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Async Hooks module: https://nodejs.org/api/async_hooks.html
|
|
3
3
|
*/
|
|
4
|
-
declare module
|
|
4
|
+
declare module "async_hooks" {
|
|
5
5
|
/**
|
|
6
6
|
* Returns the asyncId of the current execution context.
|
|
7
7
|
*/
|
|
@@ -83,20 +83,20 @@ declare module 'async_hooks' {
|
|
|
83
83
|
function createHook(options: HookCallbacks): AsyncHook;
|
|
84
84
|
|
|
85
85
|
interface AsyncResourceOptions {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the execution context that created this async event.
|
|
88
|
+
* @default executionAsyncId()
|
|
89
|
+
*/
|
|
90
|
+
triggerAsyncId?: number | undefined;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Disables automatic `emitDestroy` when the object is garbage collected.
|
|
94
|
+
* This usually does not need to be set (even if `emitDestroy` is called
|
|
95
|
+
* manually), unless the resource's `asyncId` is retrieved and the
|
|
96
|
+
* sensitive API's `emitDestroy` is called with it.
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
requireManualDestroy?: boolean | undefined;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
@@ -113,14 +113,17 @@ declare module 'async_hooks' {
|
|
|
113
113
|
* this async event (default: `executionAsyncId()`), or an
|
|
114
114
|
* AsyncResourceOptions object (since v9.3.0)
|
|
115
115
|
*/
|
|
116
|
-
constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions);
|
|
116
|
+
constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions);
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Binds the given function to the current execution context.
|
|
120
120
|
* @param fn The function to bind to the current execution context.
|
|
121
121
|
* @param type An optional name to associate with the underlying `AsyncResource`.
|
|
122
122
|
*/
|
|
123
|
-
static bind<Func extends (...args: any[]) => any>(
|
|
123
|
+
static bind<Func extends (...args: any[]) => any>(
|
|
124
|
+
fn: Func,
|
|
125
|
+
type?: string,
|
|
126
|
+
): Func & { asyncResource: AsyncResource };
|
|
124
127
|
|
|
125
128
|
/**
|
|
126
129
|
* Binds the given function to execute to this `AsyncResource`'s scope.
|
|
@@ -139,7 +142,11 @@ declare module 'async_hooks' {
|
|
|
139
142
|
* @param thisArg The receiver to be used for the function call.
|
|
140
143
|
* @param args Optional arguments to pass to the function.
|
|
141
144
|
*/
|
|
142
|
-
runInAsyncScope<This, Result>(
|
|
145
|
+
runInAsyncScope<This, Result>(
|
|
146
|
+
fn: (this: This, ...args: any[]) => Result,
|
|
147
|
+
thisArg?: This,
|
|
148
|
+
...args: any[]
|
|
149
|
+
): Result;
|
|
143
150
|
|
|
144
151
|
/**
|
|
145
152
|
* Call AsyncHooks destroy callbacks.
|
|
@@ -199,6 +206,7 @@ declare module 'async_hooks' {
|
|
|
199
206
|
* stacktrace will not be impacted by this call and the context will be exited.
|
|
200
207
|
*/
|
|
201
208
|
// TODO: Apply generic vararg once available
|
|
209
|
+
run<R>(store: T, callback: () => R): R;
|
|
202
210
|
run<R>(store: T, callback: (...args: any[]) => R, ...args: any[]): R;
|
|
203
211
|
|
|
204
212
|
/**
|
|
@@ -224,6 +232,6 @@ declare module 'async_hooks' {
|
|
|
224
232
|
enterWith(store: T): void;
|
|
225
233
|
}
|
|
226
234
|
}
|
|
227
|
-
declare module
|
|
228
|
-
export * from
|
|
235
|
+
declare module "node:async_hooks" {
|
|
236
|
+
export * from "async_hooks";
|
|
229
237
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import { BinaryLike } from
|
|
1
|
+
declare module "buffer" {
|
|
2
|
+
import { BinaryLike } from "node:crypto";
|
|
3
3
|
export const INSPECT_MAX_BYTES: number;
|
|
4
4
|
export const kMaxLength: number;
|
|
5
5
|
export const kStringMaxLength: number;
|
|
@@ -84,6 +84,6 @@ declare module 'buffer' {
|
|
|
84
84
|
|
|
85
85
|
export { BuffType as Buffer };
|
|
86
86
|
}
|
|
87
|
-
declare module
|
|
88
|
-
export * from
|
|
87
|
+
declare module "node:buffer" {
|
|
88
|
+
export * from "buffer";
|
|
89
89
|
}
|