@emulsify/cli 1.0.7 → 1.4.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 +23 -0
- package/dist/handlers/componentInstall.js +37 -13
- package/dist/handlers/componentList.js +11 -11
- package/dist/handlers/hofs/withProgressBar.js +16 -0
- package/dist/handlers/init.js +63 -47
- package/dist/handlers/systemInstall.js +46 -18
- package/dist/handlers/systemList.js +1 -1
- package/dist/index.js +4 -1
- package/dist/lib/constants.js +4 -3
- package/dist/lib/log.js +5 -4
- package/dist/node_modules/.package-lock.json +71 -10
- package/dist/node_modules/@types/node/LICENSE +21 -0
- package/dist/node_modules/@types/node/README.md +16 -0
- package/dist/node_modules/@types/node/assert.d.ts +128 -0
- package/dist/node_modules/@types/node/async_hooks.d.ts +229 -0
- package/dist/node_modules/@types/node/buffer.d.ts +25 -0
- package/dist/node_modules/@types/node/child_process.d.ts +514 -0
- package/dist/node_modules/@types/node/cluster.d.ts +265 -0
- package/dist/node_modules/@types/node/console.d.ts +142 -0
- package/dist/node_modules/@types/node/constants.d.ts +18 -0
- package/dist/node_modules/@types/node/crypto.d.ts +1189 -0
- package/dist/node_modules/@types/node/dgram.d.ts +144 -0
- package/dist/node_modules/@types/node/dns.d.ts +387 -0
- package/dist/node_modules/@types/node/domain.d.ts +27 -0
- package/dist/node_modules/@types/node/events.d.ts +82 -0
- package/dist/node_modules/@types/node/fs/promises.d.ts +568 -0
- package/dist/node_modules/@types/node/fs.d.ts +2273 -0
- package/dist/node_modules/@types/node/globals.d.ts +613 -0
- package/dist/node_modules/@types/node/globals.global.d.ts +1 -0
- package/dist/node_modules/@types/node/http.d.ts +490 -0
- package/dist/node_modules/@types/node/http2.d.ts +961 -0
- package/dist/node_modules/@types/node/https.d.ts +142 -0
- package/dist/node_modules/@types/node/index.d.ts +99 -0
- package/dist/node_modules/@types/node/inspector.d.ts +3051 -0
- package/dist/node_modules/@types/node/module.d.ts +56 -0
- package/dist/node_modules/@types/node/net.d.ts +296 -0
- package/dist/node_modules/@types/node/os.d.ts +242 -0
- package/dist/node_modules/@types/node/package.json +230 -0
- package/dist/node_modules/@types/node/path.d.ts +157 -0
- package/dist/node_modules/@types/node/perf_hooks.d.ts +274 -0
- package/dist/node_modules/@types/node/process.d.ts +413 -0
- package/dist/node_modules/@types/node/punycode.d.ts +78 -0
- package/dist/node_modules/@types/node/querystring.d.ts +31 -0
- package/dist/node_modules/@types/node/readline.d.ts +174 -0
- package/dist/node_modules/@types/node/repl.d.ts +398 -0
- package/dist/node_modules/@types/node/stream.d.ts +359 -0
- package/dist/node_modules/@types/node/string_decoder.d.ts +10 -0
- package/dist/node_modules/@types/node/timers.d.ts +19 -0
- package/dist/node_modules/@types/node/tls.d.ts +783 -0
- package/dist/node_modules/@types/node/trace_events.d.ts +64 -0
- package/dist/node_modules/@types/node/tty.d.ts +69 -0
- package/dist/node_modules/@types/node/url.d.ts +119 -0
- package/dist/node_modules/@types/node/util.d.ts +216 -0
- package/dist/node_modules/@types/node/v8.d.ts +190 -0
- package/dist/node_modules/@types/node/vm.d.ts +155 -0
- package/dist/node_modules/@types/node/wasi.d.ts +89 -0
- package/dist/node_modules/@types/node/worker_threads.d.ts +241 -0
- package/dist/node_modules/@types/node/zlib.d.ts +364 -0
- package/dist/node_modules/@types/progress/LICENSE +21 -0
- package/dist/node_modules/@types/progress/README.md +16 -0
- package/dist/node_modules/@types/progress/index.d.ts +148 -0
- package/dist/node_modules/@types/progress/package.json +27 -0
- package/dist/node_modules/ajv-formats/LICENSE +21 -0
- package/dist/node_modules/ajv-formats/README.md +123 -0
- package/dist/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/dist/node_modules/ajv-formats/dist/formats.js +173 -0
- package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/dist/node_modules/ajv-formats/dist/index.js +37 -0
- package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/dist/node_modules/ajv-formats/dist/limit.js +69 -0
- package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/.runkit_example.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/LICENSE +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +192 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +44 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +147 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +243 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +218 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +153 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +510 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +171 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +614 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +184 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +83 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +177 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +124 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +168 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +146 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +78 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +72 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +67 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +160 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +324 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +260 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/names.ts +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/ref_error.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +146 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/util.ts +213 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +573 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +880 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +129 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/data.json +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +176 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +233 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +189 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +264 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +102 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +177 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +74 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +52 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +124 -0
- package/dist/node_modules/ajv-formats/package.json +74 -0
- package/dist/node_modules/ajv-formats/src/formats.ts +232 -0
- package/dist/node_modules/ajv-formats/src/index.ts +62 -0
- package/dist/node_modules/ajv-formats/src/limit.ts +99 -0
- package/dist/node_modules/consola/CHANGELOG.md +706 -0
- package/dist/node_modules/consola/README.md +288 -0
- package/dist/node_modules/consola/dist/consola.browser.js +1 -0
- package/dist/node_modules/consola/dist/consola.js +1 -0
- package/dist/node_modules/consola/package.json +80 -0
- package/dist/node_modules/consola/src/browser.js +20 -0
- package/dist/node_modules/consola/src/consola.js +327 -0
- package/dist/node_modules/consola/src/index.js +7 -0
- package/dist/node_modules/consola/src/logLevels.js +11 -0
- package/dist/node_modules/consola/src/node.js +36 -0
- package/dist/node_modules/consola/src/reporters/basic.js +72 -0
- package/dist/node_modules/consola/src/reporters/browser.js +54 -0
- package/dist/node_modules/consola/src/reporters/fancy.js +87 -0
- package/dist/node_modules/consola/src/reporters/index.js +5 -0
- package/dist/node_modules/consola/src/reporters/json.js +9 -0
- package/dist/node_modules/consola/src/reporters/winston.js +45 -0
- package/dist/node_modules/consola/src/types.js +50 -0
- package/dist/node_modules/consola/src/utils/chalk.js +37 -0
- package/dist/node_modules/consola/src/utils/date.js +5 -0
- package/dist/node_modules/consola/src/utils/error.js +16 -0
- package/dist/node_modules/consola/src/utils/fancy.js +10 -0
- package/dist/node_modules/consola/src/utils/format.js +30 -0
- package/dist/node_modules/consola/src/utils/global.js +38 -0
- package/dist/node_modules/consola/src/utils/index.js +23 -0
- package/dist/node_modules/consola/src/utils/stream.js +20 -0
- package/dist/node_modules/consola/src/utils/string.js +41 -0
- package/dist/node_modules/consola/types/consola.d.ts +182 -0
- package/dist/node_modules/debug/LICENSE +10 -9
- package/dist/node_modules/debug/README.md +24 -1
- package/dist/node_modules/debug/package.json +6 -6
- package/dist/node_modules/debug/src/common.js +1 -1
- package/dist/node_modules/graceful-fs/README.md +11 -1
- package/dist/node_modules/graceful-fs/graceful-fs.js +105 -49
- package/dist/node_modules/graceful-fs/package.json +1 -1
- package/dist/node_modules/progress/CHANGELOG.md +115 -0
- package/dist/node_modules/progress/LICENSE +22 -0
- package/dist/node_modules/progress/Makefile +8 -0
- package/dist/node_modules/progress/Readme.md +146 -0
- package/dist/node_modules/progress/index.js +1 -0
- package/dist/node_modules/progress/lib/node-progress.js +236 -0
- package/dist/node_modules/progress/package.json +26 -0
- package/dist/node_modules/simple-git/CHANGELOG.md +76 -0
- package/dist/node_modules/simple-git/package.json +6 -2
- package/dist/node_modules/simple-git/readme.md +32 -2
- package/dist/node_modules/simple-git/src/git.js +0 -33
- package/dist/node_modules/simple-git/src/lib/api.d.ts +2 -0
- package/dist/node_modules/simple-git/src/lib/api.js +2 -0
- package/dist/node_modules/simple-git/src/lib/api.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts +2 -2
- package/dist/node_modules/simple-git/src/lib/git-factory.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/git-factory.js +1 -0
- package/dist/node_modules/simple-git/src/lib/git-factory.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts +3 -0
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js +80 -0
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js.map +1 -0
- package/dist/node_modules/simple-git/src/lib/plugins/index.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/plugins/index.js +1 -0
- package/dist/node_modules/simple-git/src/lib/plugins/index.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js +1 -1
- package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/responses/ConfigList.d.ts +2 -1
- package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js +40 -6
- package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts +12 -33
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js +2 -22
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js +9 -23
- package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js +3 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/task-callback.js +1 -4
- package/dist/node_modules/simple-git/src/lib/task-callback.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/tasks/config.d.ts +1 -1
- package/dist/node_modules/simple-git/src/lib/tasks/config.js +27 -7
- package/dist/node_modules/simple-git/src/lib/tasks/config.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/tasks/grep.d.ts +12 -0
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js +76 -0
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js.map +1 -0
- package/dist/node_modules/simple-git/src/lib/tasks/log.d.ts +7 -3
- package/dist/node_modules/simple-git/src/lib/tasks/log.js +25 -4
- package/dist/node_modules/simple-git/src/lib/tasks/log.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/types/handlers.d.ts +1 -4
- package/dist/node_modules/simple-git/src/lib/types/index.d.ts +16 -0
- package/dist/node_modules/simple-git/src/lib/utils/util.d.ts +2 -0
- package/dist/node_modules/simple-git/src/lib/utils/util.js +6 -1
- package/dist/node_modules/simple-git/src/lib/utils/util.js.map +1 -1
- package/dist/node_modules/simple-git/typings/response.d.ts +60 -1
- package/dist/node_modules/simple-git/typings/simple-git.d.ts +17 -1
- package/dist/node_modules/simple-git/typings/types.d.ts +2 -1
- package/dist/package.json +7 -3
- package/dist/schemas/system.json +74 -0
- package/dist/schemas/variant.json +137 -0
- package/dist/scripts/jsonSchemaToTs.js +5 -5
- package/dist/util/cache/cloneIntoCache.js +7 -6
- package/dist/util/cache/copyItemFromCache.js +6 -3
- package/dist/util/cache/getCachedItemCheckout.js +2 -2
- package/dist/util/cache/getCachedItemPath.js +2 -2
- package/dist/util/cache/getJsonFromCachedFile.js +1 -1
- package/dist/util/fs/executeScript.js +1 -1
- package/dist/util/fs/findFileInCurrentPath.js +5 -5
- package/dist/util/platform/getDrupalInfo.js +4 -4
- package/dist/util/platform/getInitSuccessMessageForPlatform.js +35 -0
- package/dist/util/platform/getPlatformInfo.js +1 -1
- package/dist/util/project/getEmulsifyConfig.js +2 -2
- package/dist/util/project/installComponentFromCache.js +8 -4
- package/dist/util/project/installDependencies.js +1 -1
- package/dist/util/project/installGeneralAssetsFromCache.js +3 -3
- package/dist/util/project/setEmulsifyConfig.js +3 -3
- package/package.json +8 -4
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
declare module 'process' {
|
|
2
|
+
import * as tty from 'tty';
|
|
3
|
+
|
|
4
|
+
global {
|
|
5
|
+
var process: NodeJS.Process;
|
|
6
|
+
|
|
7
|
+
namespace NodeJS {
|
|
8
|
+
// this namespace merge is here because these are specifically used
|
|
9
|
+
// as the type for process.stdin, process.stdout, and process.stderr.
|
|
10
|
+
// they can't live in tty.d.ts because we need to disambiguate the imported name.
|
|
11
|
+
interface ReadStream extends tty.ReadStream {}
|
|
12
|
+
interface WriteStream extends tty.WriteStream {}
|
|
13
|
+
|
|
14
|
+
interface MemoryUsage {
|
|
15
|
+
rss: number;
|
|
16
|
+
heapTotal: number;
|
|
17
|
+
heapUsed: number;
|
|
18
|
+
external: number;
|
|
19
|
+
arrayBuffers: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface CpuUsage {
|
|
23
|
+
user: number;
|
|
24
|
+
system: number;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface ProcessRelease {
|
|
28
|
+
name: string;
|
|
29
|
+
sourceUrl?: string | undefined;
|
|
30
|
+
headersUrl?: string | undefined;
|
|
31
|
+
libUrl?: string | undefined;
|
|
32
|
+
lts?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface ProcessVersions extends Dict<string> {
|
|
36
|
+
http_parser: string;
|
|
37
|
+
node: string;
|
|
38
|
+
v8: string;
|
|
39
|
+
ares: string;
|
|
40
|
+
uv: string;
|
|
41
|
+
zlib: string;
|
|
42
|
+
modules: string;
|
|
43
|
+
openssl: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type Platform = 'aix'
|
|
47
|
+
| 'android'
|
|
48
|
+
| 'darwin'
|
|
49
|
+
| 'freebsd'
|
|
50
|
+
| 'linux'
|
|
51
|
+
| 'openbsd'
|
|
52
|
+
| 'sunos'
|
|
53
|
+
| 'win32'
|
|
54
|
+
| 'cygwin'
|
|
55
|
+
| 'netbsd';
|
|
56
|
+
|
|
57
|
+
type Signals =
|
|
58
|
+
"SIGABRT" | "SIGALRM" | "SIGBUS" | "SIGCHLD" | "SIGCONT" | "SIGFPE" | "SIGHUP" | "SIGILL" | "SIGINT" | "SIGIO" |
|
|
59
|
+
"SIGIOT" | "SIGKILL" | "SIGPIPE" | "SIGPOLL" | "SIGPROF" | "SIGPWR" | "SIGQUIT" | "SIGSEGV" | "SIGSTKFLT" |
|
|
60
|
+
"SIGSTOP" | "SIGSYS" | "SIGTERM" | "SIGTRAP" | "SIGTSTP" | "SIGTTIN" | "SIGTTOU" | "SIGUNUSED" | "SIGURG" |
|
|
61
|
+
"SIGUSR1" | "SIGUSR2" | "SIGVTALRM" | "SIGWINCH" | "SIGXCPU" | "SIGXFSZ" | "SIGBREAK" | "SIGLOST" | "SIGINFO";
|
|
62
|
+
|
|
63
|
+
type UncaughtExceptionOrigin = 'uncaughtException' | 'unhandledRejection';
|
|
64
|
+
type MultipleResolveType = 'resolve' | 'reject';
|
|
65
|
+
|
|
66
|
+
type BeforeExitListener = (code: number) => void;
|
|
67
|
+
type DisconnectListener = () => void;
|
|
68
|
+
type ExitListener = (code: number) => void;
|
|
69
|
+
type RejectionHandledListener = (promise: Promise<any>) => void;
|
|
70
|
+
type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
|
|
71
|
+
type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<any>) => void;
|
|
72
|
+
type WarningListener = (warning: Error) => void;
|
|
73
|
+
type MessageListener = (message: any, sendHandle: any) => void;
|
|
74
|
+
type SignalsListener = (signal: Signals) => void;
|
|
75
|
+
type NewListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void;
|
|
76
|
+
type RemoveListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void;
|
|
77
|
+
type MultipleResolveListener = (type: MultipleResolveType, promise: Promise<any>, value: any) => void;
|
|
78
|
+
|
|
79
|
+
interface Socket extends ReadWriteStream {
|
|
80
|
+
isTTY?: true | undefined;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Alias for compatibility
|
|
84
|
+
interface ProcessEnv extends Dict<string> {}
|
|
85
|
+
|
|
86
|
+
interface HRTime {
|
|
87
|
+
(time?: [number, number]): [number, number];
|
|
88
|
+
bigint(): bigint;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
interface ProcessReport {
|
|
92
|
+
/**
|
|
93
|
+
* Directory where the report is written.
|
|
94
|
+
* working directory of the Node.js process.
|
|
95
|
+
* @default '' indicating that reports are written to the current
|
|
96
|
+
*/
|
|
97
|
+
directory: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Filename where the report is written.
|
|
101
|
+
* The default value is the empty string.
|
|
102
|
+
* @default '' the output filename will be comprised of a timestamp,
|
|
103
|
+
* PID, and sequence number.
|
|
104
|
+
*/
|
|
105
|
+
filename: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Returns a JSON-formatted diagnostic report for the running process.
|
|
109
|
+
* The report's JavaScript stack trace is taken from err, if present.
|
|
110
|
+
*/
|
|
111
|
+
getReport(err?: Error): string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* If true, a diagnostic report is generated on fatal errors,
|
|
115
|
+
* such as out of memory errors or failed C++ assertions.
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
reportOnFatalError: boolean;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* If true, a diagnostic report is generated when the process
|
|
122
|
+
* receives the signal specified by process.report.signal.
|
|
123
|
+
* @defaul false
|
|
124
|
+
*/
|
|
125
|
+
reportOnSignal: boolean;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* If true, a diagnostic report is generated on uncaught exception.
|
|
129
|
+
* @default false
|
|
130
|
+
*/
|
|
131
|
+
reportOnUncaughtException: boolean;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The signal used to trigger the creation of a diagnostic report.
|
|
135
|
+
* @default 'SIGUSR2'
|
|
136
|
+
*/
|
|
137
|
+
signal: Signals;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Writes a diagnostic report to a file. If filename is not provided, the default filename
|
|
141
|
+
* includes the date, time, PID, and a sequence number.
|
|
142
|
+
* The report's JavaScript stack trace is taken from err, if present.
|
|
143
|
+
*
|
|
144
|
+
* @param fileName Name of the file where the report is written.
|
|
145
|
+
* This should be a relative path, that will be appended to the directory specified in
|
|
146
|
+
* `process.report.directory`, or the current working directory of the Node.js process,
|
|
147
|
+
* if unspecified.
|
|
148
|
+
* @param error A custom error used for reporting the JavaScript stack.
|
|
149
|
+
* @return Filename of the generated report.
|
|
150
|
+
*/
|
|
151
|
+
writeReport(fileName?: string): string;
|
|
152
|
+
writeReport(error?: Error): string;
|
|
153
|
+
writeReport(fileName?: string, err?: Error): string;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
interface ResourceUsage {
|
|
157
|
+
fsRead: number;
|
|
158
|
+
fsWrite: number;
|
|
159
|
+
involuntaryContextSwitches: number;
|
|
160
|
+
ipcReceived: number;
|
|
161
|
+
ipcSent: number;
|
|
162
|
+
majorPageFault: number;
|
|
163
|
+
maxRSS: number;
|
|
164
|
+
minorPageFault: number;
|
|
165
|
+
sharedMemorySize: number;
|
|
166
|
+
signalsCount: number;
|
|
167
|
+
swappedOut: number;
|
|
168
|
+
systemCPUTime: number;
|
|
169
|
+
unsharedDataSize: number;
|
|
170
|
+
unsharedStackSize: number;
|
|
171
|
+
userCPUTime: number;
|
|
172
|
+
voluntaryContextSwitches: number;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
interface Process extends EventEmitter {
|
|
176
|
+
/**
|
|
177
|
+
* Can also be a tty.WriteStream, not typed due to limitations.
|
|
178
|
+
*/
|
|
179
|
+
stdout: WriteStream & {
|
|
180
|
+
fd: 1;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Can also be a tty.WriteStream, not typed due to limitations.
|
|
184
|
+
*/
|
|
185
|
+
stderr: WriteStream & {
|
|
186
|
+
fd: 2;
|
|
187
|
+
};
|
|
188
|
+
stdin: ReadStream & {
|
|
189
|
+
fd: 0;
|
|
190
|
+
};
|
|
191
|
+
openStdin(): Socket;
|
|
192
|
+
argv: string[];
|
|
193
|
+
argv0: string;
|
|
194
|
+
execArgv: string[];
|
|
195
|
+
execPath: string;
|
|
196
|
+
abort(): never;
|
|
197
|
+
chdir(directory: string): void;
|
|
198
|
+
cwd(): string;
|
|
199
|
+
debugPort: number;
|
|
200
|
+
emitWarning(warning: string | Error, name?: string, ctor?: Function): void;
|
|
201
|
+
env: ProcessEnv;
|
|
202
|
+
exit(code?: number): never;
|
|
203
|
+
exitCode?: number | undefined;
|
|
204
|
+
getgid(): number;
|
|
205
|
+
setgid(id: number | string): void;
|
|
206
|
+
getuid(): number;
|
|
207
|
+
setuid(id: number | string): void;
|
|
208
|
+
geteuid(): number;
|
|
209
|
+
seteuid(id: number | string): void;
|
|
210
|
+
getegid(): number;
|
|
211
|
+
setegid(id: number | string): void;
|
|
212
|
+
getgroups(): number[];
|
|
213
|
+
setgroups(groups: ReadonlyArray<string | number>): void;
|
|
214
|
+
setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void;
|
|
215
|
+
hasUncaughtExceptionCaptureCallback(): boolean;
|
|
216
|
+
version: string;
|
|
217
|
+
versions: ProcessVersions;
|
|
218
|
+
config: {
|
|
219
|
+
target_defaults: {
|
|
220
|
+
cflags: any[];
|
|
221
|
+
default_configuration: string;
|
|
222
|
+
defines: string[];
|
|
223
|
+
include_dirs: string[];
|
|
224
|
+
libraries: string[];
|
|
225
|
+
};
|
|
226
|
+
variables: {
|
|
227
|
+
clang: number;
|
|
228
|
+
host_arch: string;
|
|
229
|
+
node_install_npm: boolean;
|
|
230
|
+
node_install_waf: boolean;
|
|
231
|
+
node_prefix: string;
|
|
232
|
+
node_shared_openssl: boolean;
|
|
233
|
+
node_shared_v8: boolean;
|
|
234
|
+
node_shared_zlib: boolean;
|
|
235
|
+
node_use_dtrace: boolean;
|
|
236
|
+
node_use_etw: boolean;
|
|
237
|
+
node_use_openssl: boolean;
|
|
238
|
+
target_arch: string;
|
|
239
|
+
v8_no_strict_aliasing: number;
|
|
240
|
+
v8_use_snapshot: boolean;
|
|
241
|
+
visibility: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
kill(pid: number, signal?: string | number): true;
|
|
245
|
+
pid: number;
|
|
246
|
+
ppid: number;
|
|
247
|
+
title: string;
|
|
248
|
+
arch: string;
|
|
249
|
+
platform: Platform;
|
|
250
|
+
/** @deprecated since v14.0.0 - use `require.main` instead. */
|
|
251
|
+
mainModule?: Module | undefined;
|
|
252
|
+
memoryUsage(): MemoryUsage;
|
|
253
|
+
cpuUsage(previousValue?: CpuUsage): CpuUsage;
|
|
254
|
+
nextTick(callback: Function, ...args: any[]): void;
|
|
255
|
+
release: ProcessRelease;
|
|
256
|
+
features: {
|
|
257
|
+
inspector: boolean;
|
|
258
|
+
debug: boolean;
|
|
259
|
+
uv: boolean;
|
|
260
|
+
ipv6: boolean;
|
|
261
|
+
tls_alpn: boolean;
|
|
262
|
+
tls_sni: boolean;
|
|
263
|
+
tls_ocsp: boolean;
|
|
264
|
+
tls: boolean;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* @deprecated since v14.0.0 - Calling process.umask() with no argument causes
|
|
268
|
+
* the process-wide umask to be written twice. This introduces a race condition between threads,
|
|
269
|
+
* and is a potential security vulnerability. There is no safe, cross-platform alternative API.
|
|
270
|
+
*/
|
|
271
|
+
umask(): number;
|
|
272
|
+
/**
|
|
273
|
+
* Can only be set if not in worker thread.
|
|
274
|
+
*/
|
|
275
|
+
umask(mask: string | number): number;
|
|
276
|
+
uptime(): number;
|
|
277
|
+
hrtime: HRTime;
|
|
278
|
+
domain: Domain;
|
|
279
|
+
|
|
280
|
+
// Worker
|
|
281
|
+
send?(message: any, sendHandle?: any, options?: { swallowErrors?: boolean | undefined}, callback?: (error: Error | null) => void): boolean;
|
|
282
|
+
disconnect(): void;
|
|
283
|
+
connected: boolean;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* The `process.allowedNodeEnvironmentFlags` property is a special,
|
|
287
|
+
* read-only `Set` of flags allowable within the [`NODE_OPTIONS`][]
|
|
288
|
+
* environment variable.
|
|
289
|
+
*/
|
|
290
|
+
allowedNodeEnvironmentFlags: ReadonlySet<string>;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Only available with `--experimental-report`
|
|
294
|
+
*/
|
|
295
|
+
report?: ProcessReport | undefined;
|
|
296
|
+
|
|
297
|
+
resourceUsage(): ResourceUsage;
|
|
298
|
+
|
|
299
|
+
traceDeprecation: boolean;
|
|
300
|
+
|
|
301
|
+
/* EventEmitter */
|
|
302
|
+
addListener(event: "beforeExit", listener: BeforeExitListener): this;
|
|
303
|
+
addListener(event: "disconnect", listener: DisconnectListener): this;
|
|
304
|
+
addListener(event: "exit", listener: ExitListener): this;
|
|
305
|
+
addListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
306
|
+
addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
307
|
+
addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
308
|
+
addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
309
|
+
addListener(event: "warning", listener: WarningListener): this;
|
|
310
|
+
addListener(event: "message", listener: MessageListener): this;
|
|
311
|
+
addListener(event: Signals, listener: SignalsListener): this;
|
|
312
|
+
addListener(event: "newListener", listener: NewListenerListener): this;
|
|
313
|
+
addListener(event: "removeListener", listener: RemoveListenerListener): this;
|
|
314
|
+
addListener(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
315
|
+
|
|
316
|
+
emit(event: "beforeExit", code: number): boolean;
|
|
317
|
+
emit(event: "disconnect"): boolean;
|
|
318
|
+
emit(event: "exit", code: number): boolean;
|
|
319
|
+
emit(event: "rejectionHandled", promise: Promise<any>): boolean;
|
|
320
|
+
emit(event: "uncaughtException", error: Error): boolean;
|
|
321
|
+
emit(event: "uncaughtExceptionMonitor", error: Error): boolean;
|
|
322
|
+
emit(event: "unhandledRejection", reason: any, promise: Promise<any>): boolean;
|
|
323
|
+
emit(event: "warning", warning: Error): boolean;
|
|
324
|
+
emit(event: "message", message: any, sendHandle: any): this;
|
|
325
|
+
emit(event: Signals, signal: Signals): boolean;
|
|
326
|
+
emit(event: "newListener", eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
327
|
+
emit(event: "removeListener", eventName: string, listener: (...args: any[]) => void): this;
|
|
328
|
+
emit(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
329
|
+
|
|
330
|
+
on(event: "beforeExit", listener: BeforeExitListener): this;
|
|
331
|
+
on(event: "disconnect", listener: DisconnectListener): this;
|
|
332
|
+
on(event: "exit", listener: ExitListener): this;
|
|
333
|
+
on(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
334
|
+
on(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
335
|
+
on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
336
|
+
on(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
337
|
+
on(event: "warning", listener: WarningListener): this;
|
|
338
|
+
on(event: "message", listener: MessageListener): this;
|
|
339
|
+
on(event: Signals, listener: SignalsListener): this;
|
|
340
|
+
on(event: "newListener", listener: NewListenerListener): this;
|
|
341
|
+
on(event: "removeListener", listener: RemoveListenerListener): this;
|
|
342
|
+
on(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
343
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
344
|
+
|
|
345
|
+
once(event: "beforeExit", listener: BeforeExitListener): this;
|
|
346
|
+
once(event: "disconnect", listener: DisconnectListener): this;
|
|
347
|
+
once(event: "exit", listener: ExitListener): this;
|
|
348
|
+
once(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
349
|
+
once(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
350
|
+
once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
351
|
+
once(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
352
|
+
once(event: "warning", listener: WarningListener): this;
|
|
353
|
+
once(event: "message", listener: MessageListener): this;
|
|
354
|
+
once(event: Signals, listener: SignalsListener): this;
|
|
355
|
+
once(event: "newListener", listener: NewListenerListener): this;
|
|
356
|
+
once(event: "removeListener", listener: RemoveListenerListener): this;
|
|
357
|
+
once(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
358
|
+
|
|
359
|
+
prependListener(event: "beforeExit", listener: BeforeExitListener): this;
|
|
360
|
+
prependListener(event: "disconnect", listener: DisconnectListener): this;
|
|
361
|
+
prependListener(event: "exit", listener: ExitListener): this;
|
|
362
|
+
prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
363
|
+
prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
364
|
+
prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
365
|
+
prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
366
|
+
prependListener(event: "warning", listener: WarningListener): this;
|
|
367
|
+
prependListener(event: "message", listener: MessageListener): this;
|
|
368
|
+
prependListener(event: Signals, listener: SignalsListener): this;
|
|
369
|
+
prependListener(event: "newListener", listener: NewListenerListener): this;
|
|
370
|
+
prependListener(event: "removeListener", listener: RemoveListenerListener): this;
|
|
371
|
+
prependListener(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
372
|
+
|
|
373
|
+
prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this;
|
|
374
|
+
prependOnceListener(event: "disconnect", listener: DisconnectListener): this;
|
|
375
|
+
prependOnceListener(event: "exit", listener: ExitListener): this;
|
|
376
|
+
prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
377
|
+
prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
378
|
+
prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
379
|
+
prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
380
|
+
prependOnceListener(event: "warning", listener: WarningListener): this;
|
|
381
|
+
prependOnceListener(event: "message", listener: MessageListener): this;
|
|
382
|
+
prependOnceListener(event: Signals, listener: SignalsListener): this;
|
|
383
|
+
prependOnceListener(event: "newListener", listener: NewListenerListener): this;
|
|
384
|
+
prependOnceListener(event: "removeListener", listener: RemoveListenerListener): this;
|
|
385
|
+
prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
386
|
+
|
|
387
|
+
listeners(event: "beforeExit"): BeforeExitListener[];
|
|
388
|
+
listeners(event: "disconnect"): DisconnectListener[];
|
|
389
|
+
listeners(event: "exit"): ExitListener[];
|
|
390
|
+
listeners(event: "rejectionHandled"): RejectionHandledListener[];
|
|
391
|
+
listeners(event: "uncaughtException"): UncaughtExceptionListener[];
|
|
392
|
+
listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[];
|
|
393
|
+
listeners(event: "unhandledRejection"): UnhandledRejectionListener[];
|
|
394
|
+
listeners(event: "warning"): WarningListener[];
|
|
395
|
+
listeners(event: "message"): MessageListener[];
|
|
396
|
+
listeners(event: Signals): SignalsListener[];
|
|
397
|
+
listeners(event: "newListener"): NewListenerListener[];
|
|
398
|
+
listeners(event: "removeListener"): RemoveListenerListener[];
|
|
399
|
+
listeners(event: "multipleResolves"): MultipleResolveListener[];
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
interface Global {
|
|
403
|
+
process: Process;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export = process;
|
|
409
|
+
}
|
|
410
|
+
declare module 'node:process' {
|
|
411
|
+
import process = require('process');
|
|
412
|
+
export = process;
|
|
413
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated since v7.0.0
|
|
3
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
4
|
+
* In a future major version of Node.js this module will be removed.
|
|
5
|
+
* Users currently depending on the punycode module should switch to using
|
|
6
|
+
* the userland-provided Punycode.js module instead.
|
|
7
|
+
*/
|
|
8
|
+
declare module 'punycode' {
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated since v7.0.0
|
|
11
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
12
|
+
* In a future major version of Node.js this module will be removed.
|
|
13
|
+
* Users currently depending on the punycode module should switch to using
|
|
14
|
+
* the userland-provided Punycode.js module instead.
|
|
15
|
+
*/
|
|
16
|
+
function decode(string: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated since v7.0.0
|
|
19
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
20
|
+
* In a future major version of Node.js this module will be removed.
|
|
21
|
+
* Users currently depending on the punycode module should switch to using
|
|
22
|
+
* the userland-provided Punycode.js module instead.
|
|
23
|
+
*/
|
|
24
|
+
function encode(string: string): string;
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated since v7.0.0
|
|
27
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
28
|
+
* In a future major version of Node.js this module will be removed.
|
|
29
|
+
* Users currently depending on the punycode module should switch to using
|
|
30
|
+
* the userland-provided Punycode.js module instead.
|
|
31
|
+
*/
|
|
32
|
+
function toUnicode(domain: string): string;
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated since v7.0.0
|
|
35
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
36
|
+
* In a future major version of Node.js this module will be removed.
|
|
37
|
+
* Users currently depending on the punycode module should switch to using
|
|
38
|
+
* the userland-provided Punycode.js module instead.
|
|
39
|
+
*/
|
|
40
|
+
function toASCII(domain: string): string;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated since v7.0.0
|
|
43
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
44
|
+
* In a future major version of Node.js this module will be removed.
|
|
45
|
+
* Users currently depending on the punycode module should switch to using
|
|
46
|
+
* the userland-provided Punycode.js module instead.
|
|
47
|
+
*/
|
|
48
|
+
const ucs2: ucs2;
|
|
49
|
+
interface ucs2 {
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated since v7.0.0
|
|
52
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
53
|
+
* In a future major version of Node.js this module will be removed.
|
|
54
|
+
* Users currently depending on the punycode module should switch to using
|
|
55
|
+
* the userland-provided Punycode.js module instead.
|
|
56
|
+
*/
|
|
57
|
+
decode(string: string): number[];
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated since v7.0.0
|
|
60
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
61
|
+
* In a future major version of Node.js this module will be removed.
|
|
62
|
+
* Users currently depending on the punycode module should switch to using
|
|
63
|
+
* the userland-provided Punycode.js module instead.
|
|
64
|
+
*/
|
|
65
|
+
encode(codePoints: ReadonlyArray<number>): string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated since v7.0.0
|
|
69
|
+
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
70
|
+
* In a future major version of Node.js this module will be removed.
|
|
71
|
+
* Users currently depending on the punycode module should switch to using
|
|
72
|
+
* the userland-provided Punycode.js module instead.
|
|
73
|
+
*/
|
|
74
|
+
const version: string;
|
|
75
|
+
}
|
|
76
|
+
declare module 'node:punycode' {
|
|
77
|
+
export * from 'punycode';
|
|
78
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare module 'querystring' {
|
|
2
|
+
interface StringifyOptions {
|
|
3
|
+
encodeURIComponent?: ((str: string) => string) | undefined;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface ParseOptions {
|
|
7
|
+
maxKeys?: number | undefined;
|
|
8
|
+
decodeURIComponent?: ((str: string) => string) | undefined;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface ParsedUrlQuery extends NodeJS.Dict<string | string[]> { }
|
|
12
|
+
|
|
13
|
+
interface ParsedUrlQueryInput extends NodeJS.Dict<string | number | boolean | ReadonlyArray<string> | ReadonlyArray<number> | ReadonlyArray<boolean> | null> {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
|
|
17
|
+
function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
|
|
18
|
+
/**
|
|
19
|
+
* The querystring.encode() function is an alias for querystring.stringify().
|
|
20
|
+
*/
|
|
21
|
+
const encode: typeof stringify;
|
|
22
|
+
/**
|
|
23
|
+
* The querystring.decode() function is an alias for querystring.parse().
|
|
24
|
+
*/
|
|
25
|
+
const decode: typeof parse;
|
|
26
|
+
function escape(str: string): string;
|
|
27
|
+
function unescape(str: string): string;
|
|
28
|
+
}
|
|
29
|
+
declare module 'node:querystring' {
|
|
30
|
+
export * from 'querystring';
|
|
31
|
+
}
|