@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,613 @@
|
|
|
1
|
+
// Declare "static" methods in Error
|
|
2
|
+
interface ErrorConstructor {
|
|
3
|
+
/** Create .stack property on a target object */
|
|
4
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Optional override for formatting stack traces
|
|
8
|
+
*
|
|
9
|
+
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
10
|
+
*/
|
|
11
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
12
|
+
|
|
13
|
+
stackTraceLimit: number;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Node.js ESNEXT support
|
|
17
|
+
interface String {
|
|
18
|
+
/** Removes whitespace from the left end of a string. */
|
|
19
|
+
trimLeft(): string;
|
|
20
|
+
/** Removes whitespace from the right end of a string. */
|
|
21
|
+
trimRight(): string;
|
|
22
|
+
|
|
23
|
+
/** Returns a copy with leading whitespace removed. */
|
|
24
|
+
trimStart(): string;
|
|
25
|
+
/** Returns a copy with trailing whitespace removed. */
|
|
26
|
+
trimEnd(): string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface ImportMeta {
|
|
30
|
+
url: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/*-----------------------------------------------*
|
|
34
|
+
* *
|
|
35
|
+
* GLOBAL *
|
|
36
|
+
* *
|
|
37
|
+
------------------------------------------------*/
|
|
38
|
+
|
|
39
|
+
// For backwards compability
|
|
40
|
+
interface NodeRequire extends NodeJS.Require {}
|
|
41
|
+
interface RequireResolve extends NodeJS.RequireResolve {}
|
|
42
|
+
interface NodeModule extends NodeJS.Module {}
|
|
43
|
+
|
|
44
|
+
declare var process: NodeJS.Process;
|
|
45
|
+
declare var console: Console;
|
|
46
|
+
|
|
47
|
+
declare var __filename: string;
|
|
48
|
+
declare var __dirname: string;
|
|
49
|
+
|
|
50
|
+
declare function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
51
|
+
declare namespace setTimeout {
|
|
52
|
+
function __promisify__(ms: number): Promise<void>;
|
|
53
|
+
function __promisify__<T>(ms: number, value: T): Promise<T>;
|
|
54
|
+
}
|
|
55
|
+
declare function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
56
|
+
declare function setInterval(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
57
|
+
declare function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
58
|
+
declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate;
|
|
59
|
+
declare namespace setImmediate {
|
|
60
|
+
function __promisify__(): Promise<void>;
|
|
61
|
+
function __promisify__<T>(value: T): Promise<T>;
|
|
62
|
+
}
|
|
63
|
+
declare function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
64
|
+
|
|
65
|
+
declare function queueMicrotask(callback: () => void): void;
|
|
66
|
+
|
|
67
|
+
declare var require: NodeRequire;
|
|
68
|
+
declare var module: NodeModule;
|
|
69
|
+
|
|
70
|
+
// Same as module.exports
|
|
71
|
+
declare var exports: any;
|
|
72
|
+
|
|
73
|
+
// Buffer class
|
|
74
|
+
type BufferEncoding = "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex";
|
|
75
|
+
|
|
76
|
+
type WithImplicitCoercion<T> = T | { valueOf(): T };
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Raw data is stored in instances of the Buffer class.
|
|
80
|
+
* A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized.
|
|
81
|
+
* Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex'
|
|
82
|
+
*/
|
|
83
|
+
declare class Buffer extends Uint8Array {
|
|
84
|
+
/**
|
|
85
|
+
* Allocates a new buffer containing the given {str}.
|
|
86
|
+
*
|
|
87
|
+
* @param str String to store in buffer.
|
|
88
|
+
* @param encoding encoding to use, optional. Default is 'utf8'
|
|
89
|
+
* @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead.
|
|
90
|
+
*/
|
|
91
|
+
constructor(str: string, encoding?: BufferEncoding);
|
|
92
|
+
/**
|
|
93
|
+
* Allocates a new buffer of {size} octets.
|
|
94
|
+
*
|
|
95
|
+
* @param size count of octets to allocate.
|
|
96
|
+
* @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`).
|
|
97
|
+
*/
|
|
98
|
+
constructor(size: number);
|
|
99
|
+
/**
|
|
100
|
+
* Allocates a new buffer containing the given {array} of octets.
|
|
101
|
+
*
|
|
102
|
+
* @param array The octets to store.
|
|
103
|
+
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
|
104
|
+
*/
|
|
105
|
+
constructor(array: Uint8Array);
|
|
106
|
+
/**
|
|
107
|
+
* Produces a Buffer backed by the same allocated memory as
|
|
108
|
+
* the given {ArrayBuffer}/{SharedArrayBuffer}.
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* @param arrayBuffer The ArrayBuffer with which to share memory.
|
|
112
|
+
* @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead.
|
|
113
|
+
*/
|
|
114
|
+
constructor(arrayBuffer: ArrayBuffer | SharedArrayBuffer);
|
|
115
|
+
/**
|
|
116
|
+
* Allocates a new buffer containing the given {array} of octets.
|
|
117
|
+
*
|
|
118
|
+
* @param array The octets to store.
|
|
119
|
+
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
|
120
|
+
*/
|
|
121
|
+
constructor(array: ReadonlyArray<any>);
|
|
122
|
+
/**
|
|
123
|
+
* Copies the passed {buffer} data onto a new {Buffer} instance.
|
|
124
|
+
*
|
|
125
|
+
* @param buffer The buffer to copy.
|
|
126
|
+
* @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead.
|
|
127
|
+
*/
|
|
128
|
+
constructor(buffer: Buffer);
|
|
129
|
+
/**
|
|
130
|
+
* When passed a reference to the .buffer property of a TypedArray instance,
|
|
131
|
+
* the newly created Buffer will share the same allocated memory as the TypedArray.
|
|
132
|
+
* The optional {byteOffset} and {length} arguments specify a memory range
|
|
133
|
+
* within the {arrayBuffer} that will be shared by the Buffer.
|
|
134
|
+
*
|
|
135
|
+
* @param arrayBuffer The .buffer property of any TypedArray or a new ArrayBuffer()
|
|
136
|
+
*/
|
|
137
|
+
static from(arrayBuffer: WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>, byteOffset?: number, length?: number): Buffer;
|
|
138
|
+
/**
|
|
139
|
+
* Creates a new Buffer using the passed {data}
|
|
140
|
+
* @param data data to create a new Buffer
|
|
141
|
+
*/
|
|
142
|
+
static from(data: Uint8Array | ReadonlyArray<number>): Buffer;
|
|
143
|
+
static from(data: WithImplicitCoercion<Uint8Array | ReadonlyArray<number> | string>): Buffer;
|
|
144
|
+
/**
|
|
145
|
+
* Creates a new Buffer containing the given JavaScript string {str}.
|
|
146
|
+
* If provided, the {encoding} parameter identifies the character encoding.
|
|
147
|
+
* If not provided, {encoding} defaults to 'utf8'.
|
|
148
|
+
*/
|
|
149
|
+
static from(str: WithImplicitCoercion<string> | { [Symbol.toPrimitive](hint: 'string'): string }, encoding?: BufferEncoding): Buffer;
|
|
150
|
+
/**
|
|
151
|
+
* Creates a new Buffer using the passed {data}
|
|
152
|
+
* @param values to create a new Buffer
|
|
153
|
+
*/
|
|
154
|
+
static of(...items: number[]): Buffer;
|
|
155
|
+
/**
|
|
156
|
+
* Returns true if {obj} is a Buffer
|
|
157
|
+
*
|
|
158
|
+
* @param obj object to test.
|
|
159
|
+
*/
|
|
160
|
+
static isBuffer(obj: any): obj is Buffer;
|
|
161
|
+
/**
|
|
162
|
+
* Returns true if {encoding} is a valid encoding argument.
|
|
163
|
+
* Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex'
|
|
164
|
+
*
|
|
165
|
+
* @param encoding string to test.
|
|
166
|
+
*/
|
|
167
|
+
static isEncoding(encoding: string): encoding is BufferEncoding;
|
|
168
|
+
/**
|
|
169
|
+
* Gives the actual byte length of a string. encoding defaults to 'utf8'.
|
|
170
|
+
* This is not the same as String.prototype.length since that returns the number of characters in a string.
|
|
171
|
+
*
|
|
172
|
+
* @param string string to test.
|
|
173
|
+
* @param encoding encoding used to evaluate (defaults to 'utf8')
|
|
174
|
+
*/
|
|
175
|
+
static byteLength(
|
|
176
|
+
string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer,
|
|
177
|
+
encoding?: BufferEncoding
|
|
178
|
+
): number;
|
|
179
|
+
/**
|
|
180
|
+
* Returns a buffer which is the result of concatenating all the buffers in the list together.
|
|
181
|
+
*
|
|
182
|
+
* If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer.
|
|
183
|
+
* If the list has exactly one item, then the first item of the list is returned.
|
|
184
|
+
* If the list has more than one item, then a new Buffer is created.
|
|
185
|
+
*
|
|
186
|
+
* @param list An array of Buffer objects to concatenate
|
|
187
|
+
* @param totalLength Total length of the buffers when concatenated.
|
|
188
|
+
* If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly.
|
|
189
|
+
*/
|
|
190
|
+
static concat(list: ReadonlyArray<Uint8Array>, totalLength?: number): Buffer;
|
|
191
|
+
/**
|
|
192
|
+
* The same as buf1.compare(buf2).
|
|
193
|
+
*/
|
|
194
|
+
static compare(buf1: Uint8Array, buf2: Uint8Array): number;
|
|
195
|
+
/**
|
|
196
|
+
* Allocates a new buffer of {size} octets.
|
|
197
|
+
*
|
|
198
|
+
* @param size count of octets to allocate.
|
|
199
|
+
* @param fill if specified, buffer will be initialized by calling buf.fill(fill).
|
|
200
|
+
* If parameter is omitted, buffer will be filled with zeros.
|
|
201
|
+
* @param encoding encoding used for call to buf.fill while initalizing
|
|
202
|
+
*/
|
|
203
|
+
static alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer;
|
|
204
|
+
/**
|
|
205
|
+
* Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
|
|
206
|
+
* of the newly created Buffer are unknown and may contain sensitive data.
|
|
207
|
+
*
|
|
208
|
+
* @param size count of octets to allocate
|
|
209
|
+
*/
|
|
210
|
+
static allocUnsafe(size: number): Buffer;
|
|
211
|
+
/**
|
|
212
|
+
* Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents
|
|
213
|
+
* of the newly created Buffer are unknown and may contain sensitive data.
|
|
214
|
+
*
|
|
215
|
+
* @param size count of octets to allocate
|
|
216
|
+
*/
|
|
217
|
+
static allocUnsafeSlow(size: number): Buffer;
|
|
218
|
+
/**
|
|
219
|
+
* This is the number of bytes used to determine the size of pre-allocated, internal Buffer instances used for pooling. This value may be modified.
|
|
220
|
+
*/
|
|
221
|
+
static poolSize: number;
|
|
222
|
+
|
|
223
|
+
write(string: string, encoding?: BufferEncoding): number;
|
|
224
|
+
write(string: string, offset: number, encoding?: BufferEncoding): number;
|
|
225
|
+
write(string: string, offset: number, length: number, encoding?: BufferEncoding): number;
|
|
226
|
+
toString(encoding?: BufferEncoding, start?: number, end?: number): string;
|
|
227
|
+
toJSON(): { type: 'Buffer'; data: number[] };
|
|
228
|
+
equals(otherBuffer: Uint8Array): boolean;
|
|
229
|
+
compare(
|
|
230
|
+
otherBuffer: Uint8Array,
|
|
231
|
+
targetStart?: number,
|
|
232
|
+
targetEnd?: number,
|
|
233
|
+
sourceStart?: number,
|
|
234
|
+
sourceEnd?: number
|
|
235
|
+
): number;
|
|
236
|
+
copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
|
|
237
|
+
/**
|
|
238
|
+
* Returns a new `Buffer` that references **the same memory as the original**, but offset and cropped by the start and end indices.
|
|
239
|
+
*
|
|
240
|
+
* This method is incompatible with `Uint8Array#slice()`, which returns a copy of the original memory.
|
|
241
|
+
*
|
|
242
|
+
* @param begin Where the new `Buffer` will start. Default: `0`.
|
|
243
|
+
* @param end Where the new `Buffer` will end (not inclusive). Default: `buf.length`.
|
|
244
|
+
*/
|
|
245
|
+
slice(begin?: number, end?: number): Buffer;
|
|
246
|
+
/**
|
|
247
|
+
* Returns a new `Buffer` that references **the same memory as the original**, but offset and cropped by the start and end indices.
|
|
248
|
+
*
|
|
249
|
+
* This method is compatible with `Uint8Array#subarray()`.
|
|
250
|
+
*
|
|
251
|
+
* @param begin Where the new `Buffer` will start. Default: `0`.
|
|
252
|
+
* @param end Where the new `Buffer` will end (not inclusive). Default: `buf.length`.
|
|
253
|
+
*/
|
|
254
|
+
subarray(begin?: number, end?: number): Buffer;
|
|
255
|
+
writeBigInt64BE(value: bigint, offset?: number): number;
|
|
256
|
+
writeBigInt64LE(value: bigint, offset?: number): number;
|
|
257
|
+
writeBigUInt64BE(value: bigint, offset?: number): number;
|
|
258
|
+
writeBigUInt64LE(value: bigint, offset?: number): number;
|
|
259
|
+
writeUIntLE(value: number, offset: number, byteLength: number): number;
|
|
260
|
+
writeUIntBE(value: number, offset: number, byteLength: number): number;
|
|
261
|
+
writeIntLE(value: number, offset: number, byteLength: number): number;
|
|
262
|
+
writeIntBE(value: number, offset: number, byteLength: number): number;
|
|
263
|
+
readBigUInt64BE(offset?: number): bigint;
|
|
264
|
+
readBigUInt64LE(offset?: number): bigint;
|
|
265
|
+
readBigInt64BE(offset?: number): bigint;
|
|
266
|
+
readBigInt64LE(offset?: number): bigint;
|
|
267
|
+
readUIntLE(offset: number, byteLength: number): number;
|
|
268
|
+
readUIntBE(offset: number, byteLength: number): number;
|
|
269
|
+
readIntLE(offset: number, byteLength: number): number;
|
|
270
|
+
readIntBE(offset: number, byteLength: number): number;
|
|
271
|
+
readUInt8(offset?: number): number;
|
|
272
|
+
readUInt16LE(offset?: number): number;
|
|
273
|
+
readUInt16BE(offset?: number): number;
|
|
274
|
+
readUInt32LE(offset?: number): number;
|
|
275
|
+
readUInt32BE(offset?: number): number;
|
|
276
|
+
readInt8(offset?: number): number;
|
|
277
|
+
readInt16LE(offset?: number): number;
|
|
278
|
+
readInt16BE(offset?: number): number;
|
|
279
|
+
readInt32LE(offset?: number): number;
|
|
280
|
+
readInt32BE(offset?: number): number;
|
|
281
|
+
readFloatLE(offset?: number): number;
|
|
282
|
+
readFloatBE(offset?: number): number;
|
|
283
|
+
readDoubleLE(offset?: number): number;
|
|
284
|
+
readDoubleBE(offset?: number): number;
|
|
285
|
+
reverse(): this;
|
|
286
|
+
swap16(): Buffer;
|
|
287
|
+
swap32(): Buffer;
|
|
288
|
+
swap64(): Buffer;
|
|
289
|
+
writeUInt8(value: number, offset?: number): number;
|
|
290
|
+
writeUInt16LE(value: number, offset?: number): number;
|
|
291
|
+
writeUInt16BE(value: number, offset?: number): number;
|
|
292
|
+
writeUInt32LE(value: number, offset?: number): number;
|
|
293
|
+
writeUInt32BE(value: number, offset?: number): number;
|
|
294
|
+
writeInt8(value: number, offset?: number): number;
|
|
295
|
+
writeInt16LE(value: number, offset?: number): number;
|
|
296
|
+
writeInt16BE(value: number, offset?: number): number;
|
|
297
|
+
writeInt32LE(value: number, offset?: number): number;
|
|
298
|
+
writeInt32BE(value: number, offset?: number): number;
|
|
299
|
+
writeFloatLE(value: number, offset?: number): number;
|
|
300
|
+
writeFloatBE(value: number, offset?: number): number;
|
|
301
|
+
writeDoubleLE(value: number, offset?: number): number;
|
|
302
|
+
writeDoubleBE(value: number, offset?: number): number;
|
|
303
|
+
|
|
304
|
+
fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this;
|
|
305
|
+
|
|
306
|
+
indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
|
|
307
|
+
lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
|
|
308
|
+
entries(): IterableIterator<[number, number]>;
|
|
309
|
+
includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
|
|
310
|
+
keys(): IterableIterator<number>;
|
|
311
|
+
values(): IterableIterator<number>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/*----------------------------------------------*
|
|
315
|
+
* *
|
|
316
|
+
* GLOBAL INTERFACES *
|
|
317
|
+
* *
|
|
318
|
+
*-----------------------------------------------*/
|
|
319
|
+
declare namespace NodeJS {
|
|
320
|
+
interface InspectOptions {
|
|
321
|
+
/**
|
|
322
|
+
* If set to `true`, getters are going to be
|
|
323
|
+
* inspected as well. If set to `'get'` only getters without setter are going
|
|
324
|
+
* to be inspected. If set to `'set'` only getters having a corresponding
|
|
325
|
+
* setter are going to be inspected. This might cause side effects depending on
|
|
326
|
+
* the getter function.
|
|
327
|
+
* @default `false`
|
|
328
|
+
*/
|
|
329
|
+
getters?: 'get' | 'set' | boolean | undefined;
|
|
330
|
+
showHidden?: boolean | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* @default 2
|
|
333
|
+
*/
|
|
334
|
+
depth?: number | null | undefined;
|
|
335
|
+
colors?: boolean | undefined;
|
|
336
|
+
customInspect?: boolean | undefined;
|
|
337
|
+
showProxy?: boolean | undefined;
|
|
338
|
+
maxArrayLength?: number | null | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* Specifies the maximum number of characters to
|
|
341
|
+
* include when formatting. Set to `null` or `Infinity` to show all elements.
|
|
342
|
+
* Set to `0` or negative to show no characters.
|
|
343
|
+
* @default Infinity
|
|
344
|
+
*/
|
|
345
|
+
maxStringLength?: number | null | undefined;
|
|
346
|
+
breakLength?: number | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* Setting this to `false` causes each object key
|
|
349
|
+
* to be displayed on a new line. It will also add new lines to text that is
|
|
350
|
+
* longer than `breakLength`. If set to a number, the most `n` inner elements
|
|
351
|
+
* are united on a single line as long as all properties fit into
|
|
352
|
+
* `breakLength`. Short array elements are also grouped together. Note that no
|
|
353
|
+
* text will be reduced below 16 characters, no matter the `breakLength` size.
|
|
354
|
+
* For more information, see the example below.
|
|
355
|
+
* @default `true`
|
|
356
|
+
*/
|
|
357
|
+
compact?: boolean | number | undefined;
|
|
358
|
+
sorted?: boolean | ((a: string, b: string) => number) | undefined;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
interface CallSite {
|
|
362
|
+
/**
|
|
363
|
+
* Value of "this"
|
|
364
|
+
*/
|
|
365
|
+
getThis(): any;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Type of "this" as a string.
|
|
369
|
+
* This is the name of the function stored in the constructor field of
|
|
370
|
+
* "this", if available. Otherwise the object's [[Class]] internal
|
|
371
|
+
* property.
|
|
372
|
+
*/
|
|
373
|
+
getTypeName(): string | null;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Current function
|
|
377
|
+
*/
|
|
378
|
+
getFunction(): Function | undefined;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Name of the current function, typically its name property.
|
|
382
|
+
* If a name property is not available an attempt will be made to try
|
|
383
|
+
* to infer a name from the function's context.
|
|
384
|
+
*/
|
|
385
|
+
getFunctionName(): string | null;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Name of the property [of "this" or one of its prototypes] that holds
|
|
389
|
+
* the current function
|
|
390
|
+
*/
|
|
391
|
+
getMethodName(): string | null;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Name of the script [if this function was defined in a script]
|
|
395
|
+
*/
|
|
396
|
+
getFileName(): string | null;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Current line number [if this function was defined in a script]
|
|
400
|
+
*/
|
|
401
|
+
getLineNumber(): number | null;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Current column number [if this function was defined in a script]
|
|
405
|
+
*/
|
|
406
|
+
getColumnNumber(): number | null;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* A call site object representing the location where eval was called
|
|
410
|
+
* [if this function was created using a call to eval]
|
|
411
|
+
*/
|
|
412
|
+
getEvalOrigin(): string | undefined;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Is this a toplevel invocation, that is, is "this" the global object?
|
|
416
|
+
*/
|
|
417
|
+
isToplevel(): boolean;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Does this call take place in code defined by a call to eval?
|
|
421
|
+
*/
|
|
422
|
+
isEval(): boolean;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Is this call in native V8 code?
|
|
426
|
+
*/
|
|
427
|
+
isNative(): boolean;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Is this a constructor call?
|
|
431
|
+
*/
|
|
432
|
+
isConstructor(): boolean;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
interface ErrnoException extends Error {
|
|
436
|
+
errno?: number | undefined;
|
|
437
|
+
code?: string | undefined;
|
|
438
|
+
path?: string | undefined;
|
|
439
|
+
syscall?: string | undefined;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
interface ReadableStream extends EventEmitter {
|
|
443
|
+
readable: boolean;
|
|
444
|
+
read(size?: number): string | Buffer;
|
|
445
|
+
setEncoding(encoding: BufferEncoding): this;
|
|
446
|
+
pause(): this;
|
|
447
|
+
resume(): this;
|
|
448
|
+
isPaused(): boolean;
|
|
449
|
+
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T;
|
|
450
|
+
unpipe(destination?: WritableStream): this;
|
|
451
|
+
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
|
|
452
|
+
wrap(oldStream: ReadableStream): this;
|
|
453
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
interface WritableStream extends EventEmitter {
|
|
457
|
+
writable: boolean;
|
|
458
|
+
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
|
459
|
+
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
|
460
|
+
end(cb?: () => void): void;
|
|
461
|
+
end(data: string | Uint8Array, cb?: () => void): void;
|
|
462
|
+
end(str: string, encoding?: BufferEncoding, cb?: () => void): void;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
interface ReadWriteStream extends ReadableStream, WritableStream { }
|
|
466
|
+
|
|
467
|
+
interface Global {
|
|
468
|
+
Array: typeof Array;
|
|
469
|
+
ArrayBuffer: typeof ArrayBuffer;
|
|
470
|
+
Boolean: typeof Boolean;
|
|
471
|
+
Buffer: typeof Buffer;
|
|
472
|
+
DataView: typeof DataView;
|
|
473
|
+
Date: typeof Date;
|
|
474
|
+
Error: typeof Error;
|
|
475
|
+
EvalError: typeof EvalError;
|
|
476
|
+
Float32Array: typeof Float32Array;
|
|
477
|
+
Float64Array: typeof Float64Array;
|
|
478
|
+
Function: typeof Function;
|
|
479
|
+
Infinity: typeof Infinity;
|
|
480
|
+
Int16Array: typeof Int16Array;
|
|
481
|
+
Int32Array: typeof Int32Array;
|
|
482
|
+
Int8Array: typeof Int8Array;
|
|
483
|
+
Intl: typeof Intl;
|
|
484
|
+
JSON: typeof JSON;
|
|
485
|
+
Map: MapConstructor;
|
|
486
|
+
Math: typeof Math;
|
|
487
|
+
NaN: typeof NaN;
|
|
488
|
+
Number: typeof Number;
|
|
489
|
+
Object: typeof Object;
|
|
490
|
+
Promise: typeof Promise;
|
|
491
|
+
RangeError: typeof RangeError;
|
|
492
|
+
ReferenceError: typeof ReferenceError;
|
|
493
|
+
RegExp: typeof RegExp;
|
|
494
|
+
Set: SetConstructor;
|
|
495
|
+
String: typeof String;
|
|
496
|
+
Symbol: Function;
|
|
497
|
+
SyntaxError: typeof SyntaxError;
|
|
498
|
+
TypeError: typeof TypeError;
|
|
499
|
+
URIError: typeof URIError;
|
|
500
|
+
Uint16Array: typeof Uint16Array;
|
|
501
|
+
Uint32Array: typeof Uint32Array;
|
|
502
|
+
Uint8Array: typeof Uint8Array;
|
|
503
|
+
Uint8ClampedArray: typeof Uint8ClampedArray;
|
|
504
|
+
WeakMap: WeakMapConstructor;
|
|
505
|
+
WeakSet: WeakSetConstructor;
|
|
506
|
+
clearImmediate: (immediateId: Immediate) => void;
|
|
507
|
+
clearInterval: (intervalId: Timeout) => void;
|
|
508
|
+
clearTimeout: (timeoutId: Timeout) => void;
|
|
509
|
+
decodeURI: typeof decodeURI;
|
|
510
|
+
decodeURIComponent: typeof decodeURIComponent;
|
|
511
|
+
encodeURI: typeof encodeURI;
|
|
512
|
+
encodeURIComponent: typeof encodeURIComponent;
|
|
513
|
+
escape: (str: string) => string;
|
|
514
|
+
eval: typeof eval;
|
|
515
|
+
global: Global;
|
|
516
|
+
isFinite: typeof isFinite;
|
|
517
|
+
isNaN: typeof isNaN;
|
|
518
|
+
parseFloat: typeof parseFloat;
|
|
519
|
+
parseInt: typeof parseInt;
|
|
520
|
+
setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => Immediate;
|
|
521
|
+
setInterval: (callback: (...args: any[]) => void, ms?: number, ...args: any[]) => Timeout;
|
|
522
|
+
setTimeout: (callback: (...args: any[]) => void, ms?: number, ...args: any[]) => Timeout;
|
|
523
|
+
queueMicrotask: typeof queueMicrotask;
|
|
524
|
+
undefined: typeof undefined;
|
|
525
|
+
unescape: (str: string) => string;
|
|
526
|
+
gc: () => void;
|
|
527
|
+
v8debug?: any;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
interface RefCounted {
|
|
531
|
+
ref(): this;
|
|
532
|
+
unref(): this;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
// compatibility with older typings
|
|
536
|
+
interface Timer extends RefCounted {
|
|
537
|
+
hasRef(): boolean;
|
|
538
|
+
refresh(): this;
|
|
539
|
+
[Symbol.toPrimitive](): number;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
interface Immediate extends RefCounted {
|
|
543
|
+
hasRef(): boolean;
|
|
544
|
+
_onImmediate: Function; // to distinguish it from the Timeout class
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
interface Timeout extends Timer {
|
|
548
|
+
hasRef(): boolean;
|
|
549
|
+
refresh(): this;
|
|
550
|
+
[Symbol.toPrimitive](): number;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
type TypedArray =
|
|
554
|
+
| Uint8Array
|
|
555
|
+
| Uint8ClampedArray
|
|
556
|
+
| Uint16Array
|
|
557
|
+
| Uint32Array
|
|
558
|
+
| Int8Array
|
|
559
|
+
| Int16Array
|
|
560
|
+
| Int32Array
|
|
561
|
+
| BigUint64Array
|
|
562
|
+
| BigInt64Array
|
|
563
|
+
| Float32Array
|
|
564
|
+
| Float64Array;
|
|
565
|
+
type ArrayBufferView = TypedArray | DataView;
|
|
566
|
+
|
|
567
|
+
interface Require {
|
|
568
|
+
(id: string): any;
|
|
569
|
+
resolve: RequireResolve;
|
|
570
|
+
cache: Dict<NodeModule>;
|
|
571
|
+
/**
|
|
572
|
+
* @deprecated
|
|
573
|
+
*/
|
|
574
|
+
extensions: RequireExtensions;
|
|
575
|
+
main: Module | undefined;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
interface RequireResolve {
|
|
579
|
+
(id: string, options?: { paths?: string[] | undefined; }): string;
|
|
580
|
+
paths(request: string): string[] | null;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> {
|
|
584
|
+
'.js': (m: Module, filename: string) => any;
|
|
585
|
+
'.json': (m: Module, filename: string) => any;
|
|
586
|
+
'.node': (m: Module, filename: string) => any;
|
|
587
|
+
}
|
|
588
|
+
interface Module {
|
|
589
|
+
exports: any;
|
|
590
|
+
require: Require;
|
|
591
|
+
id: string;
|
|
592
|
+
filename: string;
|
|
593
|
+
loaded: boolean;
|
|
594
|
+
/** @deprecated since 14.6.0 Please use `require.main` and `module.children` instead. */
|
|
595
|
+
parent: Module | null | undefined;
|
|
596
|
+
children: Module[];
|
|
597
|
+
/**
|
|
598
|
+
* @since 11.14.0
|
|
599
|
+
*
|
|
600
|
+
* The directory name of the module. This is usually the same as the path.dirname() of the module.id.
|
|
601
|
+
*/
|
|
602
|
+
path: string;
|
|
603
|
+
paths: string[];
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
interface Dict<T> {
|
|
607
|
+
[key: string]: T | undefined;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
interface ReadOnlyDict<T> {
|
|
611
|
+
readonly [key: string]: T | undefined;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare var global: NodeJS.Global & typeof globalThis;
|