@emulsify/cli 1.12.2 → 2.1.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 +156 -12
- package/dist/handlers/componentCreate.js +16 -0
- package/dist/handlers/componentInstall.js +126 -50
- package/dist/handlers/componentList.js +5 -42
- package/dist/handlers/hofs/withEmulsifySystem.js +52 -0
- package/dist/handlers/hofs/withProgressBar.js +3 -9
- package/dist/handlers/init.js +83 -47
- package/dist/handlers/systemInstall.js +59 -62
- package/dist/handlers/systemList.js +4 -10
- package/dist/index.js +61 -25
- package/dist/lib/CliError.js +8 -0
- package/dist/lib/constants.js +10 -14
- package/dist/lib/log.js +21 -25
- package/dist/node_modules/.package-lock.json +663 -109
- package/dist/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/dist/node_modules/@inquirer/ansi/README.md +89 -0
- package/dist/node_modules/@inquirer/ansi/dist/index.d.ts +14 -0
- package/dist/node_modules/@inquirer/ansi/dist/index.js +21 -0
- package/dist/node_modules/@inquirer/ansi/package.json +78 -0
- package/dist/node_modules/@inquirer/checkbox/LICENSE +22 -0
- package/dist/node_modules/@inquirer/checkbox/README.md +195 -0
- package/dist/node_modules/@inquirer/checkbox/dist/index.d.ts +56 -0
- package/dist/node_modules/@inquirer/checkbox/dist/index.js +210 -0
- package/dist/node_modules/@inquirer/checkbox/package.json +92 -0
- package/dist/node_modules/@inquirer/confirm/LICENSE +22 -0
- package/dist/node_modules/@inquirer/confirm/README.md +92 -0
- package/dist/node_modules/@inquirer/confirm/dist/index.d.ts +10 -0
- package/dist/node_modules/@inquirer/confirm/dist/index.js +48 -0
- package/dist/node_modules/@inquirer/confirm/package.json +90 -0
- package/dist/node_modules/@inquirer/core/LICENSE +22 -0
- package/dist/node_modules/@inquirer/core/README.md +386 -0
- package/dist/node_modules/@inquirer/core/dist/index.d.ts +13 -0
- package/dist/node_modules/@inquirer/core/dist/index.js +12 -0
- package/dist/node_modules/@inquirer/core/dist/lib/Separator.d.ts +10 -0
- package/dist/node_modules/@inquirer/core/dist/lib/Separator.js +21 -0
- package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +4 -0
- package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.js +165 -0
- package/dist/node_modules/@inquirer/core/dist/lib/errors.d.ts +20 -0
- package/dist/node_modules/@inquirer/core/dist/lib/errors.js +21 -0
- package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +23 -0
- package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.js +111 -0
- package/dist/node_modules/@inquirer/core/dist/lib/key.d.ts +15 -0
- package/dist/node_modules/@inquirer/core/dist/lib/key.js +34 -0
- package/dist/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +3 -0
- package/dist/node_modules/@inquirer/core/dist/lib/make-theme.js +32 -0
- package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +16 -0
- package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +121 -0
- package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +7 -0
- package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +14 -0
- package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +14 -0
- package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.js +84 -0
- package/dist/node_modules/@inquirer/core/dist/lib/theme.d.ts +166 -0
- package/dist/node_modules/@inquirer/core/dist/lib/theme.js +29 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +2 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-effect.js +11 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +3 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.js +20 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +1 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-memo.js +14 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +5 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.js +35 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +6 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-ref.js +4 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-state.d.ts +4 -0
- package/dist/node_modules/@inquirer/core/dist/lib/use-state.js +23 -0
- package/dist/node_modules/@inquirer/core/dist/lib/utils.d.ts +13 -0
- package/dist/node_modules/@inquirer/core/dist/lib/utils.js +25 -0
- package/dist/node_modules/@inquirer/core/package.json +97 -0
- package/dist/node_modules/@inquirer/editor/LICENSE +22 -0
- package/dist/node_modules/@inquirer/editor/README.md +101 -0
- package/dist/node_modules/@inquirer/editor/dist/index.d.ts +21 -0
- package/dist/node_modules/@inquirer/editor/dist/index.js +73 -0
- package/dist/node_modules/@inquirer/editor/package.json +91 -0
- package/dist/node_modules/@inquirer/expand/LICENSE +22 -0
- package/dist/node_modules/@inquirer/expand/README.md +141 -0
- package/dist/node_modules/@inquirer/expand/dist/index.d.ts +24 -0
- package/dist/node_modules/@inquirer/expand/dist/index.js +110 -0
- package/dist/node_modules/@inquirer/expand/package.json +90 -0
- package/dist/node_modules/@inquirer/external-editor/LICENSE +22 -0
- package/dist/node_modules/@inquirer/external-editor/README.md +154 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +10 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +13 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +10 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +13 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +10 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +13 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +10 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +13 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors.d.ts +20 -0
- package/dist/node_modules/@inquirer/external-editor/dist/errors.js +32 -0
- package/dist/node_modules/@inquirer/external-editor/dist/index.d.ts +35 -0
- package/dist/node_modules/@inquirer/external-editor/dist/index.js +146 -0
- package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.d.ts +5 -0
- package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.js +28 -0
- package/dist/node_modules/@inquirer/external-editor/package.json +97 -0
- package/dist/node_modules/@inquirer/figures/LICENSE +22 -0
- package/dist/node_modules/@inquirer/figures/dist/index.d.ts +275 -0
- package/dist/node_modules/@inquirer/figures/dist/index.js +315 -0
- package/dist/node_modules/@inquirer/figures/package.json +80 -0
- package/dist/node_modules/@inquirer/input/LICENSE +22 -0
- package/dist/node_modules/@inquirer/input/README.md +101 -0
- package/dist/node_modules/@inquirer/input/dist/index.d.ts +20 -0
- package/dist/node_modules/@inquirer/input/dist/index.js +99 -0
- package/dist/node_modules/@inquirer/input/package.json +90 -0
- package/dist/node_modules/@inquirer/number/LICENSE +22 -0
- package/dist/node_modules/@inquirer/number/README.md +95 -0
- package/dist/node_modules/@inquirer/number/dist/index.d.ts +13 -0
- package/dist/node_modules/@inquirer/number/dist/index.js +95 -0
- package/dist/node_modules/@inquirer/number/package.json +90 -0
- package/dist/node_modules/@inquirer/password/LICENSE +22 -0
- package/dist/node_modules/@inquirer/password/README.md +93 -0
- package/dist/node_modules/@inquirer/password/dist/index.d.ts +15 -0
- package/dist/node_modules/@inquirer/password/dist/index.js +60 -0
- package/dist/node_modules/@inquirer/password/package.json +91 -0
- package/dist/node_modules/@inquirer/prompts/LICENSE +22 -0
- package/dist/node_modules/@inquirer/prompts/README.md +543 -0
- package/dist/node_modules/@inquirer/prompts/dist/index.d.ts +10 -0
- package/dist/node_modules/@inquirer/prompts/dist/index.js +10 -0
- package/dist/node_modules/@inquirer/prompts/package.json +101 -0
- package/dist/node_modules/@inquirer/rawlist/LICENSE +22 -0
- package/dist/node_modules/@inquirer/rawlist/README.md +135 -0
- package/dist/node_modules/@inquirer/rawlist/dist/index.d.ts +23 -0
- package/dist/node_modules/@inquirer/rawlist/dist/index.js +145 -0
- package/dist/node_modules/@inquirer/rawlist/package.json +90 -0
- package/dist/node_modules/@inquirer/search/LICENSE +22 -0
- package/dist/node_modules/@inquirer/search/README.md +213 -0
- package/dist/node_modules/@inquirer/search/dist/index.d.ts +33 -0
- package/dist/node_modules/@inquirer/search/dist/index.js +195 -0
- package/dist/node_modules/@inquirer/search/package.json +91 -0
- package/dist/node_modules/@inquirer/select/LICENSE +22 -0
- package/dist/node_modules/@inquirer/select/README.md +188 -0
- package/dist/node_modules/@inquirer/select/dist/index.d.ts +34 -0
- package/dist/node_modules/@inquirer/select/dist/index.js +191 -0
- package/dist/node_modules/@inquirer/select/package.json +92 -0
- package/dist/node_modules/@inquirer/type/LICENSE +22 -0
- package/dist/node_modules/@inquirer/type/dist/index.d.ts +2 -0
- package/dist/node_modules/@inquirer/type/dist/index.js +2 -0
- package/dist/node_modules/@inquirer/type/dist/inquirer.d.ts +35 -0
- package/dist/node_modules/@inquirer/type/dist/inquirer.js +1 -0
- package/dist/node_modules/@inquirer/type/dist/utils.d.ts +29 -0
- package/dist/node_modules/@inquirer/type/dist/utils.js +2 -0
- package/dist/node_modules/@inquirer/type/package.json +87 -0
- package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs +2 -0
- package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs.map +1 -0
- package/dist/node_modules/@simple-git/args-pathspec/dist/index.d.ts +1 -0
- package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs +17 -0
- package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs.map +1 -0
- package/dist/node_modules/@simple-git/args-pathspec/dist/src/pathspec.d.ts +8 -0
- package/dist/node_modules/@simple-git/args-pathspec/package.json +32 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs +2 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs.map +1 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/index.d.ts +5 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs +463 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs.map +1 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.d.ts +6 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.types.d.ts +59 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/config/analyse-config.d.ts +3 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config-operands.d.ts +4 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config.types.d.ts +6 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/config/detect-config-action.d.ts +13 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/env/parse-env.d.ts +6 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/flags.helpers.d.ts +9 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-global-flags.d.ts +6 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-task-flags.d.ts +8 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/flag-specs.d.ts +9 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/token-expander.d.ts +7 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-config-writes.d.ts +3 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-flags.d.ts +3 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-analysis.d.ts +4 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-check.d.ts +5 -0
- package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability.types.d.ts +104 -0
- package/dist/node_modules/@simple-git/argv-parser/package.json +36 -0
- package/dist/node_modules/@types/node/README.md +3 -3
- package/dist/node_modules/@types/node/assert/strict.d.ts +55 -4
- package/dist/node_modules/@types/node/assert.d.ts +142 -254
- package/dist/node_modules/@types/node/async_hooks.d.ts +153 -47
- package/dist/node_modules/@types/node/buffer.buffer.d.ts +4 -9
- package/dist/node_modules/@types/node/buffer.d.ts +43 -214
- package/dist/node_modules/@types/node/child_process.d.ts +31 -140
- package/dist/node_modules/@types/node/cluster.d.ts +239 -384
- package/dist/node_modules/@types/node/console.d.ts +45 -404
- package/dist/node_modules/@types/node/constants.d.ts +3 -10
- package/dist/node_modules/@types/node/crypto.d.ts +693 -1225
- package/dist/node_modules/@types/node/dgram.d.ts +17 -77
- package/dist/node_modules/@types/node/diagnostics_channel.d.ts +3 -29
- package/dist/node_modules/@types/node/dns/promises.d.ts +32 -14
- package/dist/node_modules/@types/node/dns.d.ts +177 -172
- package/dist/node_modules/@types/node/domain.d.ts +12 -32
- package/dist/node_modules/@types/node/events.d.ts +872 -841
- package/dist/node_modules/@types/node/fs/promises.d.ts +253 -55
- package/dist/node_modules/@types/node/fs.d.ts +862 -457
- package/dist/node_modules/@types/node/globals.d.ts +8 -30
- package/dist/node_modules/@types/node/globals.typedarray.d.ts +63 -0
- package/dist/node_modules/@types/node/http.d.ts +406 -308
- package/dist/node_modules/@types/node/http2.d.ts +583 -725
- package/dist/node_modules/@types/node/https.d.ts +67 -245
- package/dist/node_modules/@types/node/index.d.ts +30 -6
- package/dist/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/dist/node_modules/@types/node/inspector.d.ts +264 -0
- package/dist/node_modules/@types/node/inspector.generated.d.ts +1501 -1061
- package/dist/node_modules/@types/node/module.d.ts +348 -132
- package/dist/node_modules/@types/node/net.d.ts +179 -221
- package/dist/node_modules/@types/node/os.d.ts +10 -18
- package/dist/node_modules/@types/node/package.json +19 -4
- package/dist/node_modules/@types/node/path/posix.d.ts +8 -0
- package/dist/node_modules/@types/node/path/win32.d.ts +8 -0
- package/dist/node_modules/@types/node/path.d.ts +119 -141
- package/dist/node_modules/@types/node/perf_hooks.d.ts +318 -667
- package/dist/node_modules/@types/node/process.d.ts +420 -168
- package/dist/node_modules/@types/node/punycode.d.ts +3 -31
- package/dist/node_modules/@types/node/querystring.d.ts +3 -16
- package/dist/node_modules/@types/node/quic.d.ts +897 -0
- package/dist/node_modules/@types/node/readline/promises.d.ts +3 -7
- package/dist/node_modules/@types/node/readline.d.ts +70 -152
- package/dist/node_modules/@types/node/repl.d.ts +103 -113
- package/dist/node_modules/@types/node/sea.d.ts +10 -116
- package/dist/node_modules/@types/node/sqlite.d.ts +1068 -0
- package/dist/node_modules/@types/node/stream/consumers.d.ts +91 -15
- package/dist/node_modules/@types/node/stream/iter.d.ts +301 -0
- package/dist/node_modules/@types/node/stream/promises.d.ts +136 -15
- package/dist/node_modules/@types/node/stream/web.d.ts +183 -416
- package/dist/node_modules/@types/node/stream.d.ts +606 -507
- package/dist/node_modules/@types/node/string_decoder.d.ts +3 -43
- package/dist/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/dist/node_modules/@types/node/test.d.ts +778 -286
- package/dist/node_modules/@types/node/timers/promises.d.ts +3 -18
- package/dist/node_modules/@types/node/timers.d.ts +4 -141
- package/dist/node_modules/@types/node/tls.d.ts +185 -247
- package/dist/node_modules/@types/node/trace_events.d.ts +3 -97
- package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +2 -8
- package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +2 -0
- package/dist/node_modules/@types/node/ts5.6/index.d.ts +32 -6
- package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/dist/node_modules/@types/node/ts5.7/index.d.ts +119 -0
- package/dist/node_modules/@types/node/tty.d.ts +57 -40
- package/dist/node_modules/@types/node/url.d.ts +175 -583
- package/dist/node_modules/@types/node/util/types.d.ts +558 -0
- package/dist/node_modules/@types/node/util.d.ts +534 -1188
- package/dist/node_modules/@types/node/v8.d.ts +215 -44
- package/dist/node_modules/@types/node/vm.d.ts +336 -201
- package/dist/node_modules/@types/node/wasi.d.ts +24 -74
- package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
- package/dist/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/dist/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/dist/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/dist/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/dist/node_modules/@types/node/web-globals/events.d.ts +9 -0
- package/dist/node_modules/@types/node/web-globals/fetch.d.ts +23 -0
- package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/dist/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/dist/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/dist/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/dist/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/dist/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/dist/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/dist/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/dist/node_modules/@types/node/worker_threads.d.ts +332 -376
- package/dist/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/dist/node_modules/@types/node/zlib.d.ts +254 -205
- package/dist/node_modules/ajv/README.md +79 -203
- package/dist/node_modules/ajv/dist/2019.d.ts +12 -10
- package/dist/node_modules/ajv/dist/2019.js +21 -10
- package/dist/node_modules/ajv/dist/2019.js.map +1 -1
- package/dist/node_modules/ajv/dist/ajv.d.ts +11 -9
- package/dist/node_modules/ajv/dist/ajv.js +21 -10
- package/dist/node_modules/ajv/dist/ajv.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/codegen/code.d.ts +7 -5
- package/dist/node_modules/ajv/dist/compile/codegen/code.js +14 -1
- package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/codegen/index.d.ts +3 -3
- package/dist/node_modules/ajv/dist/compile/codegen/index.js +9 -8
- package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/codegen/scope.d.ts +5 -5
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js +6 -6
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/errors.d.ts +8 -3
- package/dist/node_modules/ajv/dist/compile/errors.js +49 -47
- package/dist/node_modules/ajv/dist/compile/errors.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/index.d.ts +5 -1
- package/dist/node_modules/ajv/dist/compile/index.js +38 -31
- package/dist/node_modules/ajv/dist/compile/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/jtd/parse.js +67 -58
- package/dist/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/jtd/serialize.js +54 -41
- package/dist/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/jtd/types.d.ts +2 -2
- package/dist/node_modules/ajv/dist/compile/names.d.ts +1 -1
- package/dist/node_modules/ajv/dist/compile/names.js +7 -7
- package/dist/node_modules/ajv/dist/compile/names.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/resolve.d.ts +7 -7
- package/dist/node_modules/ajv/dist/compile/resolve.js +21 -18
- package/dist/node_modules/ajv/dist/compile/resolve.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/rules.d.ts +2 -2
- package/dist/node_modules/ajv/dist/compile/util.d.ts +10 -4
- package/dist/node_modules/ajv/dist/compile/util.js +47 -17
- package/dist/node_modules/ajv/dist/compile/util.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +2 -2
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/validate/dataType.d.ts +1 -1
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js +41 -40
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js +6 -6
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/validate/index.d.ts +41 -5
- package/dist/node_modules/ajv/dist/compile/validate/index.js +386 -53
- package/dist/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/compile/validate/keyword.d.ts +6 -2
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js +50 -33
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
- package/dist/node_modules/ajv/dist/core.d.ts +27 -12
- package/dist/node_modules/ajv/dist/core.js +83 -56
- package/dist/node_modules/ajv/dist/core.js.map +1 -1
- package/dist/node_modules/ajv/dist/jtd.d.ts +16 -14
- package/dist/node_modules/ajv/dist/jtd.js +18 -14
- package/dist/node_modules/ajv/dist/jtd.js.map +1 -1
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +12 -12
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/runtime/parseJson.d.ts +3 -3
- package/dist/node_modules/ajv/dist/runtime/parseJson.js +12 -10
- package/dist/node_modules/ajv/dist/runtime/parseJson.js.map +1 -1
- package/dist/node_modules/ajv/dist/runtime/quote.d.ts +5 -1
- package/dist/node_modules/ajv/dist/runtime/quote.js +3 -1
- package/dist/node_modules/ajv/dist/runtime/quote.js.map +1 -1
- package/dist/node_modules/ajv/dist/standalone/index.d.ts +2 -1
- package/dist/node_modules/ajv/dist/standalone/index.js +14 -5
- package/dist/node_modules/ajv/dist/standalone/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/standalone/instance.js +1 -1
- package/dist/node_modules/ajv/dist/standalone/instance.js.map +1 -1
- package/dist/node_modules/ajv/dist/types/index.d.ts +38 -24
- package/dist/node_modules/ajv/dist/types/json-schema.d.ts +71 -50
- package/dist/node_modules/ajv/dist/types/jtd-schema.d.ts +66 -28
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +3 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +28 -24
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +16 -17
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +1 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +23 -17
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +8 -8
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +6 -7
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +26 -19
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +3 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +36 -35
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +3 -5
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +8 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +23 -18
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +6 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +4 -4
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +2 -2
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/code.d.ts +2 -2
- package/dist/node_modules/ajv/dist/vocabularies/code.js +28 -24
- package/dist/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +20 -21
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +5 -4
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/errors.d.ts +2 -1
- package/dist/node_modules/ajv/dist/vocabularies/format/format.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js +21 -20
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +3 -0
- package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +47 -14
- package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +3 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js +7 -5
- package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +4 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js +14 -12
- package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +7 -0
- package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +2 -2
- package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js +4 -4
- package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +2 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +19 -2
- package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js +50 -19
- package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js +12 -11
- package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +4 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js +33 -10
- package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js +1 -0
- package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +3 -1
- package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js +17 -9
- package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +9 -10
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +10 -11
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +11 -9
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +11 -12
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.d.ts +2 -2
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js +2 -2
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +6 -15
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +3 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +5 -5
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +16 -5
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +10 -10
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +1 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +19 -21
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -1
- package/dist/node_modules/ajv/lib/2019.ts +40 -31
- package/dist/node_modules/ajv/lib/ajv.ts +41 -32
- package/dist/node_modules/ajv/lib/compile/codegen/code.ts +13 -0
- package/dist/node_modules/ajv/lib/compile/codegen/index.ts +26 -6
- package/dist/node_modules/ajv/lib/compile/errors.ts +60 -30
- package/dist/node_modules/ajv/lib/compile/index.ts +33 -21
- package/dist/node_modules/ajv/lib/compile/jtd/parse.ts +28 -20
- package/dist/node_modules/ajv/lib/compile/jtd/serialize.ts +38 -27
- package/dist/node_modules/ajv/lib/compile/jtd/types.ts +1 -1
- package/dist/node_modules/ajv/lib/compile/names.ts +1 -1
- package/dist/node_modules/ajv/lib/compile/resolve.ts +21 -17
- package/dist/node_modules/ajv/lib/compile/rules.ts +1 -1
- package/dist/node_modules/ajv/lib/compile/util.ts +41 -4
- package/dist/node_modules/ajv/lib/compile/validate/boolSchema.ts +1 -1
- package/dist/node_modules/ajv/lib/compile/validate/dataType.ts +5 -4
- package/dist/node_modules/ajv/lib/compile/validate/defaults.ts +1 -1
- package/dist/node_modules/ajv/lib/compile/validate/index.ts +406 -23
- package/dist/node_modules/ajv/lib/compile/validate/keyword.ts +56 -29
- package/dist/node_modules/ajv/lib/core.ts +104 -39
- package/dist/node_modules/ajv/lib/jtd.ts +44 -40
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +12 -12
- package/dist/node_modules/ajv/lib/runtime/parseJson.ts +13 -11
- package/dist/node_modules/ajv/lib/runtime/quote.ts +5 -2
- package/dist/node_modules/ajv/lib/standalone/index.ts +15 -3
- package/dist/node_modules/ajv/lib/types/index.ts +29 -8
- package/dist/node_modules/ajv/lib/types/json-schema.ts +158 -91
- package/dist/node_modules/ajv/lib/types/jtd-schema.ts +85 -40
- package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +26 -23
- package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +4 -4
- package/dist/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +1 -1
- package/dist/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +1 -3
- package/dist/node_modules/ajv/lib/vocabularies/applicator/contains.ts +12 -7
- package/dist/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/applicator/if.ts +3 -4
- package/dist/node_modules/ajv/lib/vocabularies/applicator/index.ts +24 -20
- package/dist/node_modules/ajv/lib/vocabularies/applicator/items.ts +44 -41
- package/dist/node_modules/ajv/lib/vocabularies/applicator/not.ts +5 -7
- package/dist/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +4 -3
- package/dist/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +35 -20
- package/dist/node_modules/ajv/lib/vocabularies/applicator/properties.ts +1 -1
- package/dist/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +3 -3
- package/dist/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/code.ts +14 -9
- package/dist/node_modules/ajv/lib/vocabularies/core/ref.ts +11 -12
- package/dist/node_modules/ajv/lib/vocabularies/draft7.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +3 -2
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +1 -1
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +1 -1
- package/dist/node_modules/ajv/lib/vocabularies/errors.ts +2 -0
- package/dist/node_modules/ajv/lib/vocabularies/format/format.ts +12 -10
- package/dist/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +59 -14
- package/dist/node_modules/ajv/lib/vocabularies/jtd/elements.ts +16 -6
- package/dist/node_modules/ajv/lib/vocabularies/jtd/enum.ts +17 -11
- package/dist/node_modules/ajv/lib/vocabularies/jtd/index.ts +14 -7
- package/dist/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +6 -3
- package/dist/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +3 -2
- package/dist/node_modules/ajv/lib/vocabularies/jtd/properties.ts +68 -13
- package/dist/node_modules/ajv/lib/vocabularies/jtd/ref.ts +9 -4
- package/dist/node_modules/ajv/lib/vocabularies/jtd/type.ts +36 -10
- package/dist/node_modules/ajv/lib/vocabularies/jtd/union.ts +1 -0
- package/dist/node_modules/ajv/lib/vocabularies/jtd/values.ts +18 -8
- package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +3 -4
- package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +2 -3
- package/dist/node_modules/ajv/lib/vocabularies/validation/const.ts +10 -9
- package/dist/node_modules/ajv/lib/vocabularies/validation/enum.ts +10 -10
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +6 -13
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +2 -2
- package/dist/node_modules/ajv/lib/vocabularies/validation/pattern.ts +18 -5
- package/dist/node_modules/ajv/lib/vocabularies/validation/required.ts +3 -3
- package/dist/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +6 -8
- package/dist/node_modules/ajv/package.json +56 -53
- package/dist/node_modules/ajv-formats/README.md +5 -3
- package/dist/node_modules/ajv-formats/dist/formats.d.ts +3 -3
- package/dist/node_modules/ajv-formats/dist/formats.js +60 -25
- package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -1
- package/dist/node_modules/ajv-formats/dist/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/dist/index.js +2 -2
- package/dist/node_modules/ajv-formats/dist/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/dist/limit.d.ts +3 -3
- package/dist/node_modules/ajv-formats/dist/limit.js +6 -6
- package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -1
- package/dist/node_modules/ajv-formats/package.json +1 -1
- package/dist/node_modules/ajv-formats/src/formats.ts +62 -25
- package/dist/node_modules/ansi-align/CHANGELOG.md +58 -0
- package/dist/node_modules/ansi-align/LICENSE +13 -0
- package/dist/node_modules/ansi-align/README.md +80 -0
- package/dist/node_modules/ansi-align/index.js +61 -0
- package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.d.ts +37 -0
- package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.js +10 -0
- package/dist/node_modules/ansi-align/node_modules/ansi-regex/package.json +55 -0
- package/dist/node_modules/ansi-align/node_modules/ansi-regex/readme.md +78 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/README.md +73 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/index.js +6 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/text.js +6 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.d.ts +23 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.js +6 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/package.json +50 -0
- package/dist/node_modules/ansi-align/node_modules/emoji-regex/text.js +6 -0
- package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/dist/node_modules/ansi-align/node_modules/string-width/index.d.ts +29 -0
- package/dist/node_modules/ansi-align/node_modules/string-width/index.js +47 -0
- package/dist/node_modules/ansi-align/node_modules/string-width/package.json +56 -0
- package/dist/node_modules/ansi-align/node_modules/string-width/readme.md +50 -0
- package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.d.ts +17 -0
- package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.js +4 -0
- package/dist/node_modules/ansi-align/node_modules/strip-ansi/license +9 -0
- package/dist/node_modules/ansi-align/node_modules/strip-ansi/package.json +54 -0
- package/dist/node_modules/ansi-align/node_modules/strip-ansi/readme.md +46 -0
- package/dist/node_modules/ansi-align/package.json +43 -0
- package/dist/node_modules/ansi-regex/index.d.ts +33 -0
- package/dist/node_modules/ansi-regex/index.js +14 -0
- package/dist/node_modules/ansi-regex/license +9 -0
- package/dist/node_modules/ansi-regex/package.json +61 -0
- package/dist/node_modules/ansi-regex/readme.md +66 -0
- package/dist/node_modules/boxen/index.d.ts +267 -0
- package/dist/node_modules/boxen/index.js +376 -0
- package/dist/node_modules/boxen/license +9 -0
- package/dist/node_modules/boxen/package.json +69 -0
- package/dist/node_modules/boxen/readme.md +300 -0
- package/dist/node_modules/camelcase/index.d.ts +102 -0
- package/dist/node_modules/camelcase/index.js +110 -0
- package/dist/node_modules/camelcase/license +9 -0
- package/dist/node_modules/camelcase/package.json +47 -0
- package/dist/node_modules/camelcase/readme.md +135 -0
- package/dist/node_modules/chalk/license +1 -1
- package/dist/node_modules/chalk/package.json +38 -23
- package/dist/node_modules/chalk/readme.md +78 -122
- package/dist/node_modules/chalk/source/index.d.ts +325 -0
- package/dist/node_modules/chalk/source/index.js +80 -84
- package/dist/node_modules/chalk/source/utilities.js +33 -0
- package/dist/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/dist/node_modules/chardet/LICENSE +19 -0
- package/dist/node_modules/chardet/README.md +121 -0
- package/dist/node_modules/chardet/lib/encoding/ascii.d.ts +6 -0
- package/dist/node_modules/chardet/lib/encoding/ascii.js +23 -0
- package/dist/node_modules/chardet/lib/encoding/ascii.js.map +1 -0
- package/dist/node_modules/chardet/lib/encoding/index.d.ts +14 -0
- package/dist/node_modules/chardet/lib/encoding/index.js.map +1 -0
- package/dist/node_modules/chardet/lib/encoding/iso2022.d.ts +23 -0
- package/dist/node_modules/chardet/lib/encoding/iso2022.js +114 -0
- package/dist/node_modules/chardet/lib/encoding/iso2022.js.map +1 -0
- package/dist/node_modules/chardet/lib/encoding/mbcs.d.ts +50 -0
- package/dist/node_modules/chardet/lib/encoding/mbcs.js +347 -0
- package/dist/node_modules/chardet/lib/encoding/mbcs.js.map +1 -0
- package/dist/node_modules/chardet/lib/encoding/sbcs.d.ts +75 -0
- package/dist/node_modules/chardet/lib/encoding/sbcs.js +764 -0
- package/dist/node_modules/chardet/lib/encoding/sbcs.js.map +1 -0
- package/dist/node_modules/chardet/lib/encoding/unicode.d.ts +27 -0
- package/dist/node_modules/chardet/lib/encoding/unicode.js +109 -0
- package/dist/node_modules/chardet/lib/encoding/unicode.js.map +1 -0
- package/dist/node_modules/chardet/lib/encoding/utf8.d.ts +6 -0
- package/dist/node_modules/chardet/lib/encoding/utf8.js +72 -0
- package/dist/node_modules/chardet/lib/encoding/utf8.js.map +1 -0
- package/dist/node_modules/chardet/lib/fs/browser.d.ts +2 -0
- package/dist/node_modules/chardet/lib/fs/browser.js +6 -0
- package/dist/node_modules/chardet/lib/fs/browser.js.map +1 -0
- package/dist/node_modules/chardet/lib/fs/node.d.ts +2 -0
- package/dist/node_modules/chardet/lib/fs/node.js +11 -0
- package/dist/node_modules/chardet/lib/fs/node.js.map +1 -0
- package/dist/node_modules/chardet/lib/index.d.ts +20 -0
- package/dist/node_modules/chardet/lib/index.js +174 -0
- package/dist/node_modules/chardet/lib/index.js.map +1 -0
- package/dist/node_modules/chardet/lib/match.d.ts +9 -0
- package/dist/node_modules/chardet/lib/match.js +8 -0
- package/dist/node_modules/chardet/lib/match.js.map +1 -0
- package/dist/node_modules/chardet/lib/utils.d.ts +1 -0
- package/dist/node_modules/chardet/lib/utils.js +10 -0
- package/dist/node_modules/chardet/lib/utils.js.map +1 -0
- package/dist/node_modules/chardet/package.json +96 -0
- package/dist/node_modules/cli-boxes/boxes.json +82 -0
- package/dist/node_modules/cli-boxes/index.d.ts +127 -0
- package/dist/node_modules/cli-boxes/index.js +6 -0
- package/dist/node_modules/cli-boxes/license +9 -0
- package/dist/node_modules/cli-boxes/package.json +42 -0
- package/dist/node_modules/cli-boxes/readme.md +115 -0
- package/dist/node_modules/cli-width/LICENSE +13 -0
- package/dist/node_modules/cli-width/README.md +71 -0
- package/dist/node_modules/cli-width/index.d.ts +13 -0
- package/dist/node_modules/cli-width/index.js +49 -0
- package/dist/node_modules/cli-width/package.json +40 -0
- package/dist/node_modules/colorette/LICENSE.md +7 -0
- package/dist/node_modules/colorette/README.md +134 -0
- package/dist/node_modules/colorette/index.cjs +218 -0
- package/dist/node_modules/colorette/index.d.ts +93 -0
- package/dist/node_modules/colorette/index.js +150 -0
- package/dist/node_modules/colorette/package.json +40 -0
- package/dist/node_modules/commander/Readme.md +110 -95
- package/dist/node_modules/commander/index.js +14 -17
- package/dist/node_modules/commander/lib/argument.js +8 -10
- package/dist/node_modules/commander/lib/command.js +389 -108
- package/dist/node_modules/commander/lib/error.js +2 -5
- package/dist/node_modules/commander/lib/help.js +310 -99
- package/dist/node_modules/commander/lib/option.js +67 -20
- package/dist/node_modules/commander/lib/suggestSimilar.js +2 -4
- package/dist/node_modules/commander/package-support.json +4 -1
- package/dist/node_modules/commander/package.json +14 -34
- package/dist/node_modules/commander/typings/index.d.ts +163 -19
- package/dist/node_modules/consola/LICENSE +47 -0
- package/dist/node_modules/consola/README.md +174 -110
- package/dist/node_modules/consola/basic.d.ts +1 -0
- package/dist/node_modules/consola/browser.d.ts +1 -0
- package/dist/node_modules/consola/core.d.ts +1 -0
- package/dist/node_modules/consola/dist/basic.cjs +32 -0
- package/dist/node_modules/consola/dist/basic.d.cts +23 -0
- package/dist/node_modules/consola/dist/basic.d.mts +21 -0
- package/dist/node_modules/consola/dist/basic.d.ts +23 -0
- package/dist/node_modules/consola/dist/basic.mjs +24 -0
- package/dist/node_modules/consola/dist/browser.cjs +84 -0
- package/dist/node_modules/consola/dist/browser.d.cts +23 -0
- package/dist/node_modules/consola/dist/browser.d.mts +21 -0
- package/dist/node_modules/consola/dist/browser.d.ts +23 -0
- package/dist/node_modules/consola/dist/browser.mjs +76 -0
- package/dist/node_modules/consola/dist/chunks/prompt.cjs +288 -0
- package/dist/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/dist/node_modules/consola/dist/core.cjs +517 -0
- package/dist/node_modules/consola/dist/core.d.cts +459 -0
- package/dist/node_modules/consola/dist/core.d.mts +459 -0
- package/dist/node_modules/consola/dist/core.d.ts +459 -0
- package/dist/node_modules/consola/dist/core.mjs +512 -0
- package/dist/node_modules/consola/dist/index.cjs +663 -0
- package/dist/node_modules/consola/dist/index.d.cts +24 -0
- package/dist/node_modules/consola/dist/index.d.mts +22 -0
- package/dist/node_modules/consola/dist/index.d.ts +24 -0
- package/dist/node_modules/consola/dist/index.mjs +651 -0
- package/dist/node_modules/consola/dist/shared/consola.DCGIlDNP.cjs +75 -0
- package/dist/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/dist/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/dist/node_modules/consola/dist/shared/consola.DwRq1yyg.cjs +312 -0
- package/dist/node_modules/consola/dist/utils.cjs +64 -0
- package/dist/node_modules/consola/dist/utils.d.cts +286 -0
- package/dist/node_modules/consola/dist/utils.d.mts +286 -0
- package/dist/node_modules/consola/dist/utils.d.ts +286 -0
- package/dist/node_modules/consola/dist/utils.mjs +54 -0
- package/dist/node_modules/consola/lib/index.cjs +10 -0
- package/dist/node_modules/consola/package.json +117 -61
- package/dist/node_modules/consola/utils.d.ts +1 -0
- package/dist/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/dist/node_modules/emoji-regex/README.md +107 -0
- package/dist/node_modules/emoji-regex/index.d.ts +3 -0
- package/dist/node_modules/emoji-regex/index.js +4 -0
- package/dist/node_modules/emoji-regex/index.mjs +4 -0
- package/dist/node_modules/emoji-regex/package.json +45 -0
- package/dist/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/dist/node_modules/fast-string-truncated-width/dist/index.js +111 -0
- package/dist/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
- package/dist/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/dist/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/dist/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
- package/dist/node_modules/fast-string-truncated-width/license +21 -0
- package/dist/node_modules/fast-string-truncated-width/package.json +35 -0
- package/dist/node_modules/fast-string-truncated-width/readme.md +59 -0
- package/dist/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/dist/node_modules/fast-string-width/dist/index.js +14 -0
- package/dist/node_modules/fast-string-width/license +21 -0
- package/dist/node_modules/fast-string-width/package.json +34 -0
- package/dist/node_modules/fast-string-width/readme.md +42 -0
- package/dist/node_modules/fast-uri/.github/workflows/ci.yml +12 -7
- package/dist/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
- package/dist/node_modules/fast-uri/LICENSE +1 -3
- package/dist/node_modules/fast-uri/README.md +13 -4
- package/dist/node_modules/fast-uri/index.js +90 -24
- package/dist/node_modules/fast-uri/lib/utils.js +129 -22
- package/dist/node_modules/fast-uri/package.json +3 -4
- package/dist/node_modules/fast-uri/test/equal.test.js +9 -0
- package/dist/node_modules/fast-uri/test/parse.test.js +5 -0
- package/dist/node_modules/fast-uri/test/resolve.test.js +9 -0
- package/dist/node_modules/fast-uri/test/security-normalization.test.js +39 -0
- package/dist/node_modules/fast-uri/test/security.test.js +133 -0
- package/dist/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/dist/node_modules/fast-wrap-ansi/README.md +26 -0
- package/dist/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/dist/node_modules/fast-wrap-ansi/lib/main.js +218 -0
- package/dist/node_modules/fast-wrap-ansi/package.json +51 -0
- package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +14 -9
- package/dist/node_modules/fs-extra/lib/copy/copy.js +13 -8
- package/dist/node_modules/fs-extra/lib/ensure/link.js +4 -4
- package/dist/node_modules/fs-extra/lib/ensure/symlink.js +31 -6
- package/dist/node_modules/fs-extra/lib/util/utimes.js +25 -8
- package/dist/node_modules/fs-extra/package.json +2 -2
- package/dist/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/dist/node_modules/get-east-asian-width/index.js +30 -0
- package/dist/node_modules/get-east-asian-width/license +9 -0
- package/dist/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/dist/node_modules/get-east-asian-width/lookup.js +138 -0
- package/dist/node_modules/get-east-asian-width/package.json +71 -0
- package/dist/node_modules/get-east-asian-width/readme.md +65 -0
- package/dist/node_modules/get-east-asian-width/utilities.js +24 -0
- package/dist/node_modules/iconv-lite/LICENSE +21 -0
- package/dist/node_modules/iconv-lite/README.md +138 -0
- package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/dist/node_modules/iconv-lite/encodings/index.js +23 -0
- package/dist/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/dist/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/dist/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/dist/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/dist/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/dist/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/dist/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/dist/node_modules/iconv-lite/lib/index.js +182 -0
- package/dist/node_modules/iconv-lite/lib/streams.js +105 -0
- package/dist/node_modules/iconv-lite/package.json +70 -0
- package/dist/node_modules/iconv-lite/types/encodings.d.ts +423 -0
- package/dist/node_modules/jsonfile/package.json +1 -1
- package/dist/node_modules/jsonfile/utils.js +4 -0
- package/dist/node_modules/mute-stream/LICENSE +15 -0
- package/dist/node_modules/mute-stream/README.md +68 -0
- package/dist/node_modules/mute-stream/lib/index.js +142 -0
- package/dist/node_modules/mute-stream/package.json +54 -0
- package/dist/node_modules/safer-buffer/LICENSE +21 -0
- package/dist/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/dist/node_modules/safer-buffer/Readme.md +156 -0
- package/dist/node_modules/safer-buffer/dangerous.js +58 -0
- package/dist/node_modules/safer-buffer/package.json +34 -0
- package/dist/node_modules/safer-buffer/safer.js +77 -0
- package/dist/node_modules/safer-buffer/tests.js +406 -0
- package/dist/node_modules/signal-exit/LICENSE.txt +16 -0
- package/dist/node_modules/signal-exit/README.md +74 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/dist/node_modules/signal-exit/package.json +106 -0
- package/dist/node_modules/simple-git/dist/cjs/index.js +128 -187
- package/dist/node_modules/simple-git/dist/cjs/index.js.map +4 -4
- package/dist/node_modules/simple-git/dist/esm/index.js +118 -181
- package/dist/node_modules/simple-git/dist/esm/index.js.map +4 -4
- package/dist/node_modules/simple-git/dist/src/lib/api.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +2 -2
- package/dist/node_modules/simple-git/dist/src/lib/plugins/index.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts +3 -1
- package/dist/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts +6 -2
- package/dist/node_modules/simple-git/dist/src/lib/types/index.d.ts +4 -22
- package/dist/node_modules/simple-git/dist/src/lib/utils/util.d.ts +0 -1
- package/dist/node_modules/simple-git/dist/typings/index.d.ts +2 -0
- package/dist/node_modules/simple-git/dist/typings/simple-git.d.ts +2 -1
- package/dist/node_modules/simple-git/dist/typings/types.d.ts +0 -1
- package/dist/node_modules/simple-git/package.json +9 -19
- package/dist/node_modules/simple-git/readme.md +2 -1
- package/dist/node_modules/string-width/index.d.ts +39 -0
- package/dist/node_modules/string-width/index.js +82 -0
- package/dist/node_modules/string-width/license +9 -0
- package/dist/node_modules/string-width/package.json +64 -0
- package/dist/node_modules/string-width/readme.md +66 -0
- package/dist/node_modules/strip-ansi/index.d.ts +15 -0
- package/dist/node_modules/strip-ansi/index.js +19 -0
- package/dist/node_modules/strip-ansi/license +9 -0
- package/dist/node_modules/strip-ansi/package.json +59 -0
- package/dist/node_modules/strip-ansi/readme.md +37 -0
- package/dist/node_modules/type-fest/index.d.ts +178 -0
- package/dist/node_modules/type-fest/license-cc0 +121 -0
- package/dist/node_modules/type-fest/license-mit +9 -0
- package/dist/node_modules/type-fest/package.json +91 -0
- package/dist/node_modules/type-fest/readme.md +1060 -0
- package/dist/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
- package/dist/node_modules/type-fest/source/and.d.ts +25 -0
- package/dist/node_modules/type-fest/source/array-indices.d.ts +23 -0
- package/dist/node_modules/type-fest/source/array-slice.d.ts +109 -0
- package/dist/node_modules/type-fest/source/array-splice.d.ts +99 -0
- package/dist/node_modules/type-fest/source/array-tail.d.ts +76 -0
- package/dist/node_modules/type-fest/source/array-values.d.ts +22 -0
- package/dist/node_modules/type-fest/source/arrayable.d.ts +29 -0
- package/dist/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/dist/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/dist/node_modules/type-fest/source/basic.d.ts +68 -0
- package/dist/node_modules/type-fest/source/camel-case.d.ts +89 -0
- package/dist/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
- package/dist/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
- package/dist/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/dist/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/dist/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
- package/dist/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/dist/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/dist/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
- package/dist/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
- package/dist/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
- package/dist/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- package/dist/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- package/dist/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/dist/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/dist/node_modules/type-fest/source/entries.d.ts +62 -0
- package/dist/node_modules/type-fest/source/entry.d.ts +65 -0
- package/dist/node_modules/type-fest/source/exact.d.ts +68 -0
- package/dist/node_modules/type-fest/source/except.d.ts +108 -0
- package/dist/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- package/dist/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/dist/node_modules/type-fest/source/get.d.ts +219 -0
- package/dist/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/dist/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- package/dist/node_modules/type-fest/source/greater-than.d.ts +56 -0
- package/dist/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/dist/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/dist/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/dist/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/dist/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/dist/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- package/dist/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/dist/node_modules/type-fest/source/if-null.d.ts +24 -0
- package/dist/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/dist/node_modules/type-fest/source/includes.d.ts +22 -0
- package/dist/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
- package/dist/node_modules/type-fest/source/int-range.d.ts +55 -0
- package/dist/node_modules/type-fest/source/internal/array.d.ts +126 -0
- package/dist/node_modules/type-fest/source/internal/characters.d.ts +67 -0
- package/dist/node_modules/type-fest/source/internal/index.d.ts +8 -0
- package/dist/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- package/dist/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
- package/dist/node_modules/type-fest/source/internal/object.d.ts +236 -0
- package/dist/node_modules/type-fest/source/internal/string.d.ts +210 -0
- package/dist/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
- package/dist/node_modules/type-fest/source/internal/type.d.ts +139 -0
- package/dist/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/dist/node_modules/type-fest/source/is-any.d.ts +33 -0
- package/dist/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/dist/node_modules/type-fest/source/is-float.d.ts +41 -0
- package/dist/node_modules/type-fest/source/is-integer.d.ts +58 -0
- package/dist/node_modules/type-fest/source/is-literal.d.ts +296 -0
- package/dist/node_modules/type-fest/source/is-never.d.ts +42 -0
- package/dist/node_modules/type-fest/source/is-null.d.ts +20 -0
- package/dist/node_modules/type-fest/source/is-tuple.d.ts +89 -0
- package/dist/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/dist/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- package/dist/node_modules/type-fest/source/join.d.ts +68 -0
- package/dist/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/dist/node_modules/type-fest/source/jsonify.d.ts +122 -0
- package/dist/node_modules/type-fest/source/kebab-case.d.ts +44 -0
- package/dist/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
- package/dist/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
- package/dist/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
- package/dist/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- package/dist/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- package/dist/node_modules/type-fest/source/less-than.d.ts +26 -0
- package/dist/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/dist/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/dist/node_modules/type-fest/source/literal-union.d.ts +37 -0
- package/dist/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- package/dist/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/dist/node_modules/type-fest/source/merge.d.ts +48 -0
- package/dist/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/dist/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/dist/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- package/dist/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
- package/dist/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- package/dist/node_modules/type-fest/source/numeric.d.ts +222 -0
- package/dist/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/dist/node_modules/type-fest/source/omit-deep.d.ts +167 -0
- package/dist/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
- package/dist/node_modules/type-fest/source/opaque.d.ts +1 -0
- package/dist/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
- package/dist/node_modules/type-fest/source/or.d.ts +25 -0
- package/dist/node_modules/type-fest/source/override-properties.d.ts +36 -0
- package/dist/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/dist/node_modules/type-fest/source/partial-deep.d.ts +151 -0
- package/dist/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
- package/dist/node_modules/type-fest/source/pascal-case.d.ts +42 -0
- package/dist/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
- package/dist/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
- package/dist/node_modules/type-fest/source/paths.d.ts +262 -0
- package/dist/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- package/dist/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
- package/dist/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/dist/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/dist/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- package/dist/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
- package/dist/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/dist/node_modules/type-fest/source/replace.d.ts +85 -0
- package/dist/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
- package/dist/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
- package/dist/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
- package/dist/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
- package/dist/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/dist/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
- package/dist/node_modules/type-fest/source/schema.d.ts +114 -0
- package/dist/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
- package/dist/node_modules/type-fest/source/set-field-type.d.ts +65 -0
- package/dist/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
- package/dist/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/dist/node_modules/type-fest/source/set-optional.d.ts +38 -0
- package/dist/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- package/dist/node_modules/type-fest/source/set-readonly.d.ts +39 -0
- package/dist/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
- package/dist/node_modules/type-fest/source/set-required.d.ts +70 -0
- package/dist/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/dist/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
- package/dist/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
- package/dist/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- package/dist/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/dist/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- package/dist/node_modules/type-fest/source/snake-case.d.ts +45 -0
- package/dist/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
- package/dist/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
- package/dist/node_modules/type-fest/source/split.d.ts +88 -0
- package/dist/node_modules/type-fest/source/spread.d.ts +84 -0
- package/dist/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/dist/node_modules/type-fest/source/string-repeat.d.ts +47 -0
- package/dist/node_modules/type-fest/source/string-slice.d.ts +37 -0
- package/dist/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/dist/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- package/dist/node_modules/type-fest/source/subtract.d.ts +83 -0
- package/dist/node_modules/type-fest/source/sum.d.ts +78 -0
- package/dist/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/dist/node_modules/type-fest/source/tagged.d.ts +256 -0
- package/dist/node_modules/type-fest/source/trim.d.ts +27 -0
- package/dist/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
- package/dist/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
- package/dist/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/dist/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/dist/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- package/dist/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- package/dist/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
- package/dist/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- package/dist/node_modules/type-fest/source/unknown-map.d.ts +24 -0
- package/dist/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- package/dist/node_modules/type-fest/source/unknown-set.d.ts +24 -0
- package/dist/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/dist/node_modules/type-fest/source/words.d.ts +118 -0
- package/dist/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- package/dist/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
- package/dist/node_modules/type-fest/source/writable.d.ts +68 -0
- package/dist/node_modules/undici-types/agent.d.ts +13 -12
- package/dist/node_modules/undici-types/api.d.ts +26 -26
- package/dist/node_modules/undici-types/balanced-pool.d.ts +13 -12
- package/dist/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/dist/node_modules/undici-types/client-stats.d.ts +15 -0
- package/dist/node_modules/undici-types/client.d.ts +34 -19
- package/dist/node_modules/undici-types/connector.d.ts +4 -2
- package/dist/node_modules/undici-types/cookies.d.ts +2 -0
- package/dist/node_modules/undici-types/diagnostics-channel.d.ts +18 -10
- package/dist/node_modules/undici-types/dispatcher.d.ts +127 -104
- package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
- package/dist/node_modules/undici-types/errors.d.ts +82 -54
- package/dist/node_modules/undici-types/eventsource.d.ts +9 -4
- package/dist/node_modules/undici-types/fetch.d.ts +22 -20
- package/dist/node_modules/undici-types/formdata.d.ts +7 -7
- package/dist/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/dist/node_modules/undici-types/global-origin.d.ts +5 -5
- package/dist/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/dist/node_modules/undici-types/handlers.d.ts +8 -8
- package/dist/node_modules/undici-types/header.d.ts +157 -1
- package/dist/node_modules/undici-types/index.d.ts +67 -47
- package/dist/node_modules/undici-types/interceptors.d.ts +71 -8
- package/dist/node_modules/undici-types/mock-agent.d.ts +36 -18
- package/dist/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/dist/node_modules/undici-types/mock-client.d.ts +6 -4
- package/dist/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/dist/node_modules/undici-types/mock-interceptor.d.ts +21 -20
- package/dist/node_modules/undici-types/mock-pool.d.ts +6 -4
- package/dist/node_modules/undici-types/package.json +1 -1
- package/dist/node_modules/undici-types/patch.d.ts +0 -4
- package/dist/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/dist/node_modules/undici-types/pool.d.ts +15 -13
- package/dist/node_modules/undici-types/proxy-agent.d.ts +5 -4
- package/dist/node_modules/undici-types/readable.d.ts +19 -16
- package/dist/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/dist/node_modules/undici-types/retry-handler.d.ts +19 -10
- package/dist/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/dist/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/dist/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/dist/node_modules/undici-types/util.d.ts +3 -3
- package/dist/node_modules/undici-types/utility.d.ts +7 -0
- package/dist/node_modules/undici-types/webidl.d.ts +148 -29
- package/dist/node_modules/undici-types/websocket.d.ts +48 -10
- package/dist/node_modules/widest-line/index.d.ts +12 -0
- package/dist/node_modules/widest-line/index.js +11 -0
- package/dist/node_modules/widest-line/license +9 -0
- package/dist/node_modules/widest-line/package.json +60 -0
- package/dist/node_modules/widest-line/readme.md +26 -0
- package/dist/node_modules/wrap-ansi/index.d.ts +41 -0
- package/dist/node_modules/wrap-ansi/index.js +222 -0
- package/dist/node_modules/wrap-ansi/license +9 -0
- package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +236 -0
- package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +223 -0
- package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/license +9 -0
- package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +54 -0
- package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +173 -0
- package/dist/node_modules/wrap-ansi/package.json +69 -0
- package/dist/node_modules/wrap-ansi/readme.md +75 -0
- package/dist/package-lock.json +4132 -4539
- package/dist/package.json +38 -40
- package/dist/schemas/emulsifyProjectConfig.json +80 -0
- package/dist/schemas/variant.json +2 -3
- package/dist/scripts/jsonSchemaToTs.js +10 -11
- package/dist/scripts/versionDevelop.js +116 -0
- package/dist/util/cache/cloneIntoCache.js +11 -17
- package/dist/util/cache/copyItemFromCache.js +8 -14
- package/dist/util/cache/getCachedItemCheckout.js +5 -11
- package/dist/util/cache/getCachedItemPath.js +11 -14
- package/dist/util/cache/getJsonFromCachedFile.js +4 -10
- package/dist/util/catchLater.js +2 -8
- package/dist/util/deriveComponentNames.js +26 -0
- package/dist/util/fs/executeScript.js +10 -8
- package/dist/util/fs/findFileInCurrentPath.js +19 -18
- package/dist/util/fs/loadJsonFile.js +16 -9
- package/dist/util/fs/resolveCurrentPath.js +9 -0
- package/dist/util/fs/safeResolveWithin.js +22 -0
- package/dist/util/fs/writeToJsonFile.js +3 -6
- package/dist/util/getAvailableStarters.js +8 -5
- package/dist/util/getGitRepoNameFromUrl.js +3 -10
- package/dist/util/getRepositoryLatestTag.js +102 -15
- package/dist/util/platform/getDrupalInfo.js +11 -18
- package/dist/util/platform/getInitSuccessMessageForPlatform.js +7 -10
- package/dist/util/platform/getNoPlatformInfo.js +15 -0
- package/dist/util/platform/getPlatformInfo.js +7 -10
- package/dist/util/project/buildComponentDependencyList.js +35 -15
- package/dist/util/project/componentTemplates/index.js +7 -0
- package/dist/util/project/componentTemplates/scss.js +30 -0
- package/dist/util/project/componentTemplates/sdcJs.js +15 -0
- package/dist/util/project/componentTemplates/sdcMetadata.js +18 -0
- package/dist/util/project/componentTemplates/sdcStories.js +25 -0
- package/dist/util/project/componentTemplates/stories.js +12 -0
- package/dist/util/project/componentTemplates/twig.js +31 -0
- package/dist/util/project/componentTemplates/yml.js +5 -0
- package/dist/util/project/generateComponent.js +173 -0
- package/dist/util/project/getEmulsifyConfig.js +40 -12
- package/dist/util/project/installComponentFromCache.js +20 -20
- package/dist/util/project/installDependencies.js +3 -6
- package/dist/util/project/installGeneralAssetsFromCache.js +11 -15
- package/dist/util/project/renderTemplate.js +15 -0
- package/dist/util/project/resolveComponentTemplate.js +18 -0
- package/dist/util/project/setEmulsifyConfig.js +25 -16
- package/dist/util/strToMachineName.js +3 -8
- package/dist/util/system/getAvailableSystems.js +3 -6
- package/package.json +38 -40
- package/dist/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/dist/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/dist/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/dist/node_modules/@types/progress/LICENSE +0 -21
- package/dist/node_modules/@types/progress/README.md +0 -15
- package/dist/node_modules/@types/progress/index.d.ts +0 -143
- package/dist/node_modules/@types/progress/package.json +0 -27
- package/dist/node_modules/ajv/.tonic_example.js +0 -20
- package/dist/node_modules/ajv/dist/compile/context.d.ts +0 -38
- package/dist/node_modules/ajv/dist/compile/context.js +0 -240
- package/dist/node_modules/ajv/dist/compile/context.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/equal.d.ts +0 -2
- package/dist/node_modules/ajv/dist/compile/equal.js +0 -5
- package/dist/node_modules/ajv/dist/compile/equal.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/error_classes.d.ts +0 -12
- package/dist/node_modules/ajv/dist/compile/error_classes.js +0 -25
- package/dist/node_modules/ajv/dist/compile/error_classes.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/subschema.d.ts +0 -28
- package/dist/node_modules/ajv/dist/compile/subschema.js +0 -107
- package/dist/node_modules/ajv/dist/compile/subschema.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/timestamp.d.ts +0 -5
- package/dist/node_modules/ajv/dist/compile/timestamp.js +0 -31
- package/dist/node_modules/ajv/dist/compile/timestamp.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/ucs2length.d.ts +0 -1
- package/dist/node_modules/ajv/dist/compile/ucs2length.js +0 -23
- package/dist/node_modules/ajv/dist/compile/ucs2length.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/iterate.d.ts +0 -4
- package/dist/node_modules/ajv/dist/compile/validate/iterate.js +0 -109
- package/dist/node_modules/ajv/dist/compile/validate/iterate.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/context.ts +0 -266
- package/dist/node_modules/ajv/lib/compile/equal.js +0 -3
- package/dist/node_modules/ajv/lib/compile/error_classes.ts +0 -30
- package/dist/node_modules/ajv/lib/compile/subschema.ts +0 -169
- package/dist/node_modules/ajv/lib/compile/timestamp.ts +0 -31
- package/dist/node_modules/ajv/lib/compile/ucs2length.ts +0 -18
- package/dist/node_modules/ajv/lib/compile/validate/iterate.ts +0 -116
- package/dist/node_modules/ajv/scripts/.eslintrc.yml +0 -5
- package/dist/node_modules/ajv/scripts/bundle.js +0 -48
- package/dist/node_modules/ajv/scripts/get-contributors.js +0 -57
- package/dist/node_modules/ajv/scripts/jsontests.js +0 -31
- package/dist/node_modules/ajv/scripts/prepare-site +0 -15
- package/dist/node_modules/ajv/scripts/prepare-tests +0 -12
- package/dist/node_modules/ajv/scripts/publish-bundles +0 -37
- package/dist/node_modules/ajv/scripts/publish-site +0 -25
- package/dist/node_modules/ajv-formats/node_modules/ajv/LICENSE +0 -22
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +0 -207
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +0 -19
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +0 -61
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +0 -50
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +0 -123
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +0 -242
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +0 -229
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +0 -28
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +0 -26
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +0 -178
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +0 -173
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +0 -618
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +0 -72
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +0 -13
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js +0 -30
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +0 -90
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js +0 -35
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +0 -81
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +0 -70
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +0 -324
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -266
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/names.ts +0 -27
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/util.ts +0 -213
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +0 -891
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +0 -132
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/data.json +0 -13
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +0 -244
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -28
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +0 -126
- package/dist/node_modules/ansi-styles/index.d.ts +0 -345
- package/dist/node_modules/ansi-styles/index.js +0 -163
- package/dist/node_modules/ansi-styles/package.json +0 -56
- package/dist/node_modules/ansi-styles/readme.md +0 -152
- package/dist/node_modules/chalk/index.d.ts +0 -415
- package/dist/node_modules/chalk/source/templates.js +0 -134
- package/dist/node_modules/chalk/source/util.js +0 -39
- package/dist/node_modules/color-convert/CHANGELOG.md +0 -54
- package/dist/node_modules/color-convert/LICENSE +0 -21
- package/dist/node_modules/color-convert/README.md +0 -68
- package/dist/node_modules/color-convert/conversions.js +0 -839
- package/dist/node_modules/color-convert/index.js +0 -81
- package/dist/node_modules/color-convert/package.json +0 -48
- package/dist/node_modules/color-convert/route.js +0 -97
- package/dist/node_modules/color-name/LICENSE +0 -8
- package/dist/node_modules/color-name/README.md +0 -11
- package/dist/node_modules/color-name/index.js +0 -152
- package/dist/node_modules/color-name/package.json +0 -28
- package/dist/node_modules/commander/esm.mjs +0 -16
- package/dist/node_modules/commander/typings/esm.d.mts +0 -3
- package/dist/node_modules/consola/CHANGELOG.md +0 -706
- package/dist/node_modules/consola/dist/consola.browser.js +0 -1
- package/dist/node_modules/consola/dist/consola.js +0 -1
- package/dist/node_modules/consola/src/browser.js +0 -20
- package/dist/node_modules/consola/src/consola.js +0 -327
- package/dist/node_modules/consola/src/index.js +0 -7
- package/dist/node_modules/consola/src/logLevels.js +0 -11
- package/dist/node_modules/consola/src/node.js +0 -36
- package/dist/node_modules/consola/src/reporters/basic.js +0 -72
- package/dist/node_modules/consola/src/reporters/browser.js +0 -54
- package/dist/node_modules/consola/src/reporters/fancy.js +0 -87
- package/dist/node_modules/consola/src/reporters/index.js +0 -5
- package/dist/node_modules/consola/src/reporters/json.js +0 -9
- package/dist/node_modules/consola/src/reporters/winston.js +0 -45
- package/dist/node_modules/consola/src/types.js +0 -50
- package/dist/node_modules/consola/src/utils/chalk.js +0 -37
- package/dist/node_modules/consola/src/utils/date.js +0 -5
- package/dist/node_modules/consola/src/utils/error.js +0 -16
- package/dist/node_modules/consola/src/utils/fancy.js +0 -10
- package/dist/node_modules/consola/src/utils/format.js +0 -30
- package/dist/node_modules/consola/src/utils/global.js +0 -38
- package/dist/node_modules/consola/src/utils/index.js +0 -23
- package/dist/node_modules/consola/src/utils/stream.js +0 -20
- package/dist/node_modules/consola/src/utils/string.js +0 -41
- package/dist/node_modules/consola/types/consola.d.ts +0 -182
- package/dist/node_modules/fast-uri/.github/.stale.yml +0 -21
- package/dist/node_modules/fast-uri/.github/tests_checker.yml +0 -8
- package/dist/node_modules/has-flag/index.d.ts +0 -39
- package/dist/node_modules/has-flag/index.js +0 -8
- package/dist/node_modules/has-flag/package.json +0 -46
- package/dist/node_modules/has-flag/readme.md +0 -89
- package/dist/node_modules/punycode/README.md +0 -148
- package/dist/node_modules/punycode/package.json +0 -58
- package/dist/node_modules/punycode/punycode.es6.js +0 -444
- package/dist/node_modules/punycode/punycode.js +0 -443
- package/dist/node_modules/ramda/CHANGELOG.md +0 -6
- package/dist/node_modules/ramda/LICENSE.txt +0 -21
- package/dist/node_modules/ramda/README.md +0 -248
- package/dist/node_modules/ramda/dist/ramda.js +0 -9716
- package/dist/node_modules/ramda/dist/ramda.min.js +0 -1
- package/dist/node_modules/ramda/es/F.js +0 -20
- package/dist/node_modules/ramda/es/T.js +0 -20
- package/dist/node_modules/ramda/es/__.js +0 -30
- package/dist/node_modules/ramda/es/add.js +0 -26
- package/dist/node_modules/ramda/es/addIndex.js +0 -48
- package/dist/node_modules/ramda/es/adjust.js +0 -46
- package/dist/node_modules/ramda/es/all.js +0 -47
- package/dist/node_modules/ramda/es/allPass.js +0 -51
- package/dist/node_modules/ramda/es/always.js +0 -30
- package/dist/node_modules/ramda/es/and.js +0 -28
- package/dist/node_modules/ramda/es/andThen.js +0 -38
- package/dist/node_modules/ramda/es/any.js +0 -48
- package/dist/node_modules/ramda/es/anyPass.js +0 -52
- package/dist/node_modules/ramda/es/ap.js +0 -42
- package/dist/node_modules/ramda/es/aperture.js +0 -33
- package/dist/node_modules/ramda/es/append.js +0 -30
- package/dist/node_modules/ramda/es/apply.js +0 -29
- package/dist/node_modules/ramda/es/applySpec.js +0 -58
- package/dist/node_modules/ramda/es/applyTo.js +0 -28
- package/dist/node_modules/ramda/es/ascend.js +0 -36
- package/dist/node_modules/ramda/es/assoc.js +0 -36
- package/dist/node_modules/ramda/es/assocPath.js +0 -55
- package/dist/node_modules/ramda/es/binary.js +0 -38
- package/dist/node_modules/ramda/es/bind.js +0 -34
- package/dist/node_modules/ramda/es/both.js +0 -45
- package/dist/node_modules/ramda/es/call.js +0 -40
- package/dist/node_modules/ramda/es/chain.js +0 -47
- package/dist/node_modules/ramda/es/clamp.js +0 -33
- package/dist/node_modules/ramda/es/clone.js +0 -31
- package/dist/node_modules/ramda/es/comparator.js +0 -34
- package/dist/node_modules/ramda/es/complement.js +0 -29
- package/dist/node_modules/ramda/es/compose.js +0 -34
- package/dist/node_modules/ramda/es/composeK.js +0 -44
- package/dist/node_modules/ramda/es/composeP.js +0 -45
- package/dist/node_modules/ramda/es/composeWith.js +0 -35
- package/dist/node_modules/ramda/es/concat.js +0 -65
- package/dist/node_modules/ramda/es/cond.js +0 -53
- package/dist/node_modules/ramda/es/construct.js +0 -42
- package/dist/node_modules/ramda/es/constructN.js +0 -88
- package/dist/node_modules/ramda/es/contains.js +0 -31
- package/dist/node_modules/ramda/es/converge.js +0 -48
- package/dist/node_modules/ramda/es/countBy.js +0 -32
- package/dist/node_modules/ramda/es/curry.js +0 -51
- package/dist/node_modules/ramda/es/curryN.js +0 -58
- package/dist/node_modules/ramda/es/dec.js +0 -21
- package/dist/node_modules/ramda/es/defaultTo.js +0 -32
- package/dist/node_modules/ramda/es/descend.js +0 -36
- package/dist/node_modules/ramda/es/difference.js +0 -48
- package/dist/node_modules/ramda/es/differenceWith.js +0 -44
- package/dist/node_modules/ramda/es/dissoc.js +0 -32
- package/dist/node_modules/ramda/es/dissocPath.js +0 -53
- package/dist/node_modules/ramda/es/divide.js +0 -31
- package/dist/node_modules/ramda/es/drop.js +0 -38
- package/dist/node_modules/ramda/es/dropLast.js +0 -35
- package/dist/node_modules/ramda/es/dropLastWhile.js +0 -39
- package/dist/node_modules/ramda/es/dropRepeats.js +0 -35
- package/dist/node_modules/ramda/es/dropRepeatsWith.js +0 -51
- package/dist/node_modules/ramda/es/dropWhile.js +0 -49
- package/dist/node_modules/ramda/es/either.js +0 -44
- package/dist/node_modules/ramda/es/empty.js +0 -39
- package/dist/node_modules/ramda/es/endsWith.js +0 -33
- package/dist/node_modules/ramda/es/eqBy.js +0 -27
- package/dist/node_modules/ramda/es/eqProps.js +0 -31
- package/dist/node_modules/ramda/es/equals.js +0 -35
- package/dist/node_modules/ramda/es/evolve.js +0 -45
- package/dist/node_modules/ramda/es/filter.js +0 -51
- package/dist/node_modules/ramda/es/find.js +0 -46
- package/dist/node_modules/ramda/es/findIndex.js +0 -46
- package/dist/node_modules/ramda/es/findLast.js +0 -43
- package/dist/node_modules/ramda/es/findLastIndex.js +0 -45
- package/dist/node_modules/ramda/es/flatten.js +0 -27
- package/dist/node_modules/ramda/es/flip.js +0 -35
- package/dist/node_modules/ramda/es/forEach.js +0 -54
- package/dist/node_modules/ramda/es/forEachObjIndexed.js +0 -41
- package/dist/node_modules/ramda/es/fromPairs.js +0 -33
- package/dist/node_modules/ramda/es/groupBy.js +0 -60
- package/dist/node_modules/ramda/es/groupWith.js +0 -54
- package/dist/node_modules/ramda/es/gt.js +0 -30
- package/dist/node_modules/ramda/es/gte.js +0 -30
- package/dist/node_modules/ramda/es/has.js +0 -34
- package/dist/node_modules/ramda/es/hasIn.js +0 -35
- package/dist/node_modules/ramda/es/hasPath.js +0 -48
- package/dist/node_modules/ramda/es/head.js +0 -27
- package/dist/node_modules/ramda/es/identical.js +0 -33
- package/dist/node_modules/ramda/es/identity.js +0 -27
- package/dist/node_modules/ramda/es/ifElse.js +0 -37
- package/dist/node_modules/ramda/es/inc.js +0 -21
- package/dist/node_modules/ramda/es/includes.js +0 -30
- package/dist/node_modules/ramda/es/index.js +0 -257
- package/dist/node_modules/ramda/es/indexBy.js +0 -30
- package/dist/node_modules/ramda/es/indexOf.js +0 -30
- package/dist/node_modules/ramda/es/init.js +0 -30
- package/dist/node_modules/ramda/es/innerJoin.js +0 -48
- package/dist/node_modules/ramda/es/insert.js +0 -31
- package/dist/node_modules/ramda/es/insertAll.js +0 -28
- package/dist/node_modules/ramda/es/internal/_Set.js +0 -201
- package/dist/node_modules/ramda/es/internal/_aperture.js +0 -12
- package/dist/node_modules/ramda/es/internal/_arity.js +0 -62
- package/dist/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -10
- package/dist/node_modules/ramda/es/internal/_assertPromise.js +0 -7
- package/dist/node_modules/ramda/es/internal/_checkForMethod.js +0 -24
- package/dist/node_modules/ramda/es/internal/_clone.js +0 -53
- package/dist/node_modules/ramda/es/internal/_cloneRegExp.js +0 -3
- package/dist/node_modules/ramda/es/internal/_complement.js +0 -5
- package/dist/node_modules/ramda/es/internal/_concat.js +0 -34
- package/dist/node_modules/ramda/es/internal/_createPartialApplicator.js +0 -9
- package/dist/node_modules/ramda/es/internal/_curry1.js +0 -19
- package/dist/node_modules/ramda/es/internal/_curry2.js +0 -31
- package/dist/node_modules/ramda/es/internal/_curry3.js +0 -49
- package/dist/node_modules/ramda/es/internal/_curryN.js +0 -42
- package/dist/node_modules/ramda/es/internal/_dispatchable.js +0 -46
- package/dist/node_modules/ramda/es/internal/_dropLast.js +0 -4
- package/dist/node_modules/ramda/es/internal/_dropLastWhile.js +0 -10
- package/dist/node_modules/ramda/es/internal/_equals.js +0 -166
- package/dist/node_modules/ramda/es/internal/_filter.js +0 -15
- package/dist/node_modules/ramda/es/internal/_flatCat.js +0 -32
- package/dist/node_modules/ramda/es/internal/_forceReduced.js +0 -6
- package/dist/node_modules/ramda/es/internal/_functionName.js +0 -5
- package/dist/node_modules/ramda/es/internal/_functionsWith.js +0 -14
- package/dist/node_modules/ramda/es/internal/_has.js +0 -3
- package/dist/node_modules/ramda/es/internal/_identity.js +0 -3
- package/dist/node_modules/ramda/es/internal/_includes.js +0 -4
- package/dist/node_modules/ramda/es/internal/_includesWith.js +0 -14
- package/dist/node_modules/ramda/es/internal/_indexOf.js +0 -67
- package/dist/node_modules/ramda/es/internal/_isArguments.js +0 -14
- package/dist/node_modules/ramda/es/internal/_isArray.js +0 -15
- package/dist/node_modules/ramda/es/internal/_isArrayLike.js +0 -56
- package/dist/node_modules/ramda/es/internal/_isFunction.js +0 -4
- package/dist/node_modules/ramda/es/internal/_isInteger.js +0 -11
- package/dist/node_modules/ramda/es/internal/_isNumber.js +0 -3
- package/dist/node_modules/ramda/es/internal/_isObject.js +0 -3
- package/dist/node_modules/ramda/es/internal/_isPlaceholder.js +0 -3
- package/dist/node_modules/ramda/es/internal/_isRegExp.js +0 -3
- package/dist/node_modules/ramda/es/internal/_isString.js +0 -3
- package/dist/node_modules/ramda/es/internal/_isTransformer.js +0 -3
- package/dist/node_modules/ramda/es/internal/_makeFlat.js +0 -35
- package/dist/node_modules/ramda/es/internal/_map.js +0 -12
- package/dist/node_modules/ramda/es/internal/_objectAssign.js +0 -29
- package/dist/node_modules/ramda/es/internal/_objectIs.js +0 -14
- package/dist/node_modules/ramda/es/internal/_of.js +0 -3
- package/dist/node_modules/ramda/es/internal/_pipe.js +0 -5
- package/dist/node_modules/ramda/es/internal/_pipeP.js +0 -8
- package/dist/node_modules/ramda/es/internal/_quote.js +0 -5
- package/dist/node_modules/ramda/es/internal/_reduce.js +0 -71
- package/dist/node_modules/ramda/es/internal/_reduced.js +0 -6
- package/dist/node_modules/ramda/es/internal/_stepCat.js +0 -46
- package/dist/node_modules/ramda/es/internal/_toISOString.js +0 -14
- package/dist/node_modules/ramda/es/internal/_toString.js +0 -58
- package/dist/node_modules/ramda/es/internal/_xall.js +0 -42
- package/dist/node_modules/ramda/es/internal/_xany.js +0 -42
- package/dist/node_modules/ramda/es/internal/_xaperture.js +0 -50
- package/dist/node_modules/ramda/es/internal/_xchain.js +0 -11
- package/dist/node_modules/ramda/es/internal/_xdrop.js +0 -33
- package/dist/node_modules/ramda/es/internal/_xdropLast.js +0 -49
- package/dist/node_modules/ramda/es/internal/_xdropLastWhile.js +0 -45
- package/dist/node_modules/ramda/es/internal/_xdropRepeatsWith.js +0 -39
- package/dist/node_modules/ramda/es/internal/_xdropWhile.js +0 -36
- package/dist/node_modules/ramda/es/internal/_xfBase.js +0 -8
- package/dist/node_modules/ramda/es/internal/_xfilter.js +0 -28
- package/dist/node_modules/ramda/es/internal/_xfind.js +0 -42
- package/dist/node_modules/ramda/es/internal/_xfindIndex.js +0 -45
- package/dist/node_modules/ramda/es/internal/_xfindLast.js +0 -35
- package/dist/node_modules/ramda/es/internal/_xfindLastIndex.js +0 -39
- package/dist/node_modules/ramda/es/internal/_xmap.js +0 -28
- package/dist/node_modules/ramda/es/internal/_xreduceBy.js +0 -52
- package/dist/node_modules/ramda/es/internal/_xtake.js +0 -32
- package/dist/node_modules/ramda/es/internal/_xtakeWhile.js +0 -29
- package/dist/node_modules/ramda/es/internal/_xtap.js +0 -29
- package/dist/node_modules/ramda/es/internal/_xwrap.js +0 -25
- package/dist/node_modules/ramda/es/intersection.js +0 -40
- package/dist/node_modules/ramda/es/intersperse.js +0 -43
- package/dist/node_modules/ramda/es/into.js +0 -52
- package/dist/node_modules/ramda/es/invert.js +0 -46
- package/dist/node_modules/ramda/es/invertObj.js +0 -48
- package/dist/node_modules/ramda/es/invoker.js +0 -54
- package/dist/node_modules/ramda/es/is.js +0 -32
- package/dist/node_modules/ramda/es/isEmpty.js +0 -32
- package/dist/node_modules/ramda/es/isNil.js +0 -26
- package/dist/node_modules/ramda/es/join.js +0 -25
- package/dist/node_modules/ramda/es/juxt.js +0 -29
- package/dist/node_modules/ramda/es/keys.js +0 -91
- package/dist/node_modules/ramda/es/keysIn.js +0 -37
- package/dist/node_modules/ramda/es/last.js +0 -26
- package/dist/node_modules/ramda/es/lastIndexOf.js +0 -44
- package/dist/node_modules/ramda/es/length.js +0 -25
- package/dist/node_modules/ramda/es/lens.js +0 -39
- package/dist/node_modules/ramda/es/lensIndex.js +0 -32
- package/dist/node_modules/ramda/es/lensPath.js +0 -36
- package/dist/node_modules/ramda/es/lensProp.js +0 -32
- package/dist/node_modules/ramda/es/lift.js +0 -32
- package/dist/node_modules/ramda/es/liftN.js +0 -33
- package/dist/node_modules/ramda/es/lt.js +0 -30
- package/dist/node_modules/ramda/es/lte.js +0 -30
- package/dist/node_modules/ramda/es/map.js +0 -66
- package/dist/node_modules/ramda/es/mapAccum.js +0 -54
- package/dist/node_modules/ramda/es/mapAccumRight.js +0 -56
- package/dist/node_modules/ramda/es/mapObjIndexed.js +0 -35
- package/dist/node_modules/ramda/es/match.js +0 -30
- package/dist/node_modules/ramda/es/mathMod.js +0 -51
- package/dist/node_modules/ramda/es/max.js +0 -26
- package/dist/node_modules/ramda/es/maxBy.js +0 -33
- package/dist/node_modules/ramda/es/mean.js +0 -26
- package/dist/node_modules/ramda/es/median.js +0 -37
- package/dist/node_modules/ramda/es/memoizeWith.js +0 -48
- package/dist/node_modules/ramda/es/merge.js +0 -34
- package/dist/node_modules/ramda/es/mergeAll.js +0 -27
- package/dist/node_modules/ramda/es/mergeDeepLeft.js +0 -33
- package/dist/node_modules/ramda/es/mergeDeepRight.js +0 -33
- package/dist/node_modules/ramda/es/mergeDeepWith.js +0 -39
- package/dist/node_modules/ramda/es/mergeDeepWithKey.js +0 -45
- package/dist/node_modules/ramda/es/mergeLeft.js +0 -33
- package/dist/node_modules/ramda/es/mergeRight.js +0 -33
- package/dist/node_modules/ramda/es/mergeWith.js +0 -35
- package/dist/node_modules/ramda/es/mergeWithKey.js +0 -50
- package/dist/node_modules/ramda/es/min.js +0 -26
- package/dist/node_modules/ramda/es/minBy.js +0 -33
- package/dist/node_modules/ramda/es/modulo.js +0 -34
- package/dist/node_modules/ramda/es/move.js +0 -32
- package/dist/node_modules/ramda/es/multiply.js +0 -29
- package/dist/node_modules/ramda/es/nAry.js +0 -97
- package/dist/node_modules/ramda/es/negate.js +0 -23
- package/dist/node_modules/ramda/es/none.js +0 -36
- package/dist/node_modules/ramda/es/not.js +0 -28
- package/dist/node_modules/ramda/es/nth.js +0 -37
- package/dist/node_modules/ramda/es/nthArg.js +0 -32
- package/dist/node_modules/ramda/es/o.js +0 -36
- package/dist/node_modules/ramda/es/objOf.js +0 -31
- package/dist/node_modules/ramda/es/of.js +0 -26
- package/dist/node_modules/ramda/es/omit.js +0 -41
- package/dist/node_modules/ramda/es/once.js +0 -39
- package/dist/node_modules/ramda/es/or.js +0 -29
- package/dist/node_modules/ramda/es/otherwise.js +0 -40
- package/dist/node_modules/ramda/es/over.js +0 -47
- package/dist/node_modules/ramda/es/pair.js +0 -25
- package/dist/node_modules/ramda/es/partial.js +0 -36
- package/dist/node_modules/ramda/es/partialRight.js +0 -35
- package/dist/node_modules/ramda/es/partition.js +0 -32
- package/dist/node_modules/ramda/es/path.js +0 -30
- package/dist/node_modules/ramda/es/pathEq.js +0 -35
- package/dist/node_modules/ramda/es/pathOr.js +0 -30
- package/dist/node_modules/ramda/es/pathSatisfies.js +0 -30
- package/dist/node_modules/ramda/es/paths.js +0 -45
- package/dist/node_modules/ramda/es/pick.js +0 -38
- package/dist/node_modules/ramda/es/pickAll.js +0 -37
- package/dist/node_modules/ramda/es/pickBy.js +0 -37
- package/dist/node_modules/ramda/es/pipe.js +0 -35
- package/dist/node_modules/ramda/es/pipeK.js +0 -45
- package/dist/node_modules/ramda/es/pipeP.js +0 -31
- package/dist/node_modules/ramda/es/pipeWith.js +0 -47
- package/dist/node_modules/ramda/es/pluck.js +0 -38
- package/dist/node_modules/ramda/es/prepend.js +0 -27
- package/dist/node_modules/ramda/es/product.js +0 -22
- package/dist/node_modules/ramda/es/project.js +0 -29
- package/dist/node_modules/ramda/es/prop.js +0 -31
- package/dist/node_modules/ramda/es/propEq.js +0 -35
- package/dist/node_modules/ramda/es/propIs.js +0 -30
- package/dist/node_modules/ramda/es/propOr.js +0 -36
- package/dist/node_modules/ramda/es/propSatisfies.js +0 -28
- package/dist/node_modules/ramda/es/props.js +0 -32
- package/dist/node_modules/ramda/es/range.js +0 -38
- package/dist/node_modules/ramda/es/reduce.js +0 -54
- package/dist/node_modules/ramda/es/reduceBy.js +0 -61
- package/dist/node_modules/ramda/es/reduceRight.js +0 -58
- package/dist/node_modules/ramda/es/reduceWhile.js +0 -42
- package/dist/node_modules/ramda/es/reduced.js +0 -33
- package/dist/node_modules/ramda/es/reject.js +0 -35
- package/dist/node_modules/ramda/es/remove.js +0 -31
- package/dist/node_modules/ramda/es/repeat.js +0 -34
- package/dist/node_modules/ramda/es/replace.js +0 -33
- package/dist/node_modules/ramda/es/reverse.js +0 -34
- package/dist/node_modules/ramda/es/scan.js +0 -40
- package/dist/node_modules/ramda/es/sequence.js +0 -39
- package/dist/node_modules/ramda/es/set.js +0 -33
- package/dist/node_modules/ramda/es/slice.js +0 -36
- package/dist/node_modules/ramda/es/sort.js +0 -29
- package/dist/node_modules/ramda/es/sortBy.js +0 -46
- package/dist/node_modules/ramda/es/sortWith.js +0 -51
- package/dist/node_modules/ramda/es/split.js +0 -26
- package/dist/node_modules/ramda/es/splitAt.js +0 -29
- package/dist/node_modules/ramda/es/splitEvery.js +0 -38
- package/dist/node_modules/ramda/es/splitWhen.js +0 -37
- package/dist/node_modules/ramda/es/startsWith.js +0 -33
- package/dist/node_modules/ramda/es/subtract.js +0 -32
- package/dist/node_modules/ramda/es/sum.js +0 -22
- package/dist/node_modules/ramda/es/symmetricDifference.js +0 -29
- package/dist/node_modules/ramda/es/symmetricDifferenceWith.js +0 -33
- package/dist/node_modules/ramda/es/tail.js +0 -40
- package/dist/node_modules/ramda/es/take.js +0 -57
- package/dist/node_modules/ramda/es/takeLast.js +0 -32
- package/dist/node_modules/ramda/es/takeLastWhile.js +0 -41
- package/dist/node_modules/ramda/es/takeWhile.js +0 -50
- package/dist/node_modules/ramda/es/tap.js +0 -34
- package/dist/node_modules/ramda/es/test.js +0 -33
- package/dist/node_modules/ramda/es/thunkify.js +0 -33
- package/dist/node_modules/ramda/es/times.js +0 -47
- package/dist/node_modules/ramda/es/toLower.js +0 -21
- package/dist/node_modules/ramda/es/toPairs.js +0 -36
- package/dist/node_modules/ramda/es/toPairsIn.js +0 -36
- package/dist/node_modules/ramda/es/toString.js +0 -46
- package/dist/node_modules/ramda/es/toUpper.js +0 -21
- package/dist/node_modules/ramda/es/transduce.js +0 -57
- package/dist/node_modules/ramda/es/transpose.js +0 -52
- package/dist/node_modules/ramda/es/traverse.js +0 -37
- package/dist/node_modules/ramda/es/trim.js +0 -36
- package/dist/node_modules/ramda/es/tryCatch.js +0 -40
- package/dist/node_modules/ramda/es/type.js +0 -34
- package/dist/node_modules/ramda/es/unapply.js +0 -35
- package/dist/node_modules/ramda/es/unary.js +0 -38
- package/dist/node_modules/ramda/es/uncurryN.js +0 -43
- package/dist/node_modules/ramda/es/unfold.js +0 -42
- package/dist/node_modules/ramda/es/union.js +0 -29
- package/dist/node_modules/ramda/es/unionWith.js +0 -33
- package/dist/node_modules/ramda/es/uniq.js +0 -24
- package/dist/node_modules/ramda/es/uniqBy.js +0 -44
- package/dist/node_modules/ramda/es/uniqWith.js +0 -47
- package/dist/node_modules/ramda/es/unless.js +0 -33
- package/dist/node_modules/ramda/es/unnest.js +0 -24
- package/dist/node_modules/ramda/es/until.js +0 -34
- package/dist/node_modules/ramda/es/update.js +0 -33
- package/dist/node_modules/ramda/es/useWith.js +0 -49
- package/dist/node_modules/ramda/es/values.js +0 -37
- package/dist/node_modules/ramda/es/valuesIn.js +0 -37
- package/dist/node_modules/ramda/es/view.js +0 -42
- package/dist/node_modules/ramda/es/when.js +0 -37
- package/dist/node_modules/ramda/es/where.js +0 -51
- package/dist/node_modules/ramda/es/whereEq.js +0 -40
- package/dist/node_modules/ramda/es/without.js +0 -31
- package/dist/node_modules/ramda/es/xor.js +0 -30
- package/dist/node_modules/ramda/es/xprod.js +0 -45
- package/dist/node_modules/ramda/es/zip.js +0 -37
- package/dist/node_modules/ramda/es/zipObj.js +0 -35
- package/dist/node_modules/ramda/es/zipWith.js +0 -42
- package/dist/node_modules/ramda/package.json +0 -105
- package/dist/node_modules/ramda/src/F.js +0 -20
- package/dist/node_modules/ramda/src/T.js +0 -20
- package/dist/node_modules/ramda/src/__.js +0 -30
- package/dist/node_modules/ramda/src/add.js +0 -29
- package/dist/node_modules/ramda/src/addIndex.js +0 -57
- package/dist/node_modules/ramda/src/adjust.js +0 -52
- package/dist/node_modules/ramda/src/all.js +0 -56
- package/dist/node_modules/ramda/src/allPass.js +0 -66
- package/dist/node_modules/ramda/src/always.js +0 -33
- package/dist/node_modules/ramda/src/and.js +0 -31
- package/dist/node_modules/ramda/src/andThen.js +0 -44
- package/dist/node_modules/ramda/src/any.js +0 -57
- package/dist/node_modules/ramda/src/anyPass.js +0 -67
- package/dist/node_modules/ramda/src/ap.js +0 -54
- package/dist/node_modules/ramda/src/aperture.js +0 -45
- package/dist/node_modules/ramda/src/append.js +0 -36
- package/dist/node_modules/ramda/src/apply.js +0 -32
- package/dist/node_modules/ramda/src/applySpec.js +0 -82
- package/dist/node_modules/ramda/src/applyTo.js +0 -31
- package/dist/node_modules/ramda/src/ascend.js +0 -39
- package/dist/node_modules/ramda/src/assoc.js +0 -39
- package/dist/node_modules/ramda/src/assocPath.js +0 -73
- package/dist/node_modules/ramda/src/binary.js +0 -44
- package/dist/node_modules/ramda/src/bind.js +0 -40
- package/dist/node_modules/ramda/src/both.js +0 -57
- package/dist/node_modules/ramda/src/call.js +0 -43
- package/dist/node_modules/ramda/src/chain.js +0 -62
- package/dist/node_modules/ramda/src/clamp.js +0 -36
- package/dist/node_modules/ramda/src/clone.js +0 -37
- package/dist/node_modules/ramda/src/comparator.js +0 -37
- package/dist/node_modules/ramda/src/complement.js +0 -35
- package/dist/node_modules/ramda/src/compose.js +0 -42
- package/dist/node_modules/ramda/src/composeK.js +0 -55
- package/dist/node_modules/ramda/src/composeP.js +0 -53
- package/dist/node_modules/ramda/src/composeWith.js +0 -44
- package/dist/node_modules/ramda/src/concat.js +0 -80
- package/dist/node_modules/ramda/src/cond.js +0 -68
- package/dist/node_modules/ramda/src/construct.js +0 -48
- package/dist/node_modules/ramda/src/constructN.js +0 -97
- package/dist/node_modules/ramda/src/contains.js +0 -37
- package/dist/node_modules/ramda/src/converge.js +0 -66
- package/dist/node_modules/ramda/src/countBy.js +0 -35
- package/dist/node_modules/ramda/src/curry.js +0 -57
- package/dist/node_modules/ramda/src/curryN.js +0 -70
- package/dist/node_modules/ramda/src/dec.js +0 -24
- package/dist/node_modules/ramda/src/defaultTo.js +0 -35
- package/dist/node_modules/ramda/src/descend.js +0 -39
- package/dist/node_modules/ramda/src/difference.js +0 -54
- package/dist/node_modules/ramda/src/differenceWith.js +0 -50
- package/dist/node_modules/ramda/src/dissoc.js +0 -35
- package/dist/node_modules/ramda/src/dissocPath.js +0 -74
- package/dist/node_modules/ramda/src/divide.js +0 -34
- package/dist/node_modules/ramda/src/drop.js +0 -50
- package/dist/node_modules/ramda/src/dropLast.js +0 -47
- package/dist/node_modules/ramda/src/dropLastWhile.js +0 -51
- package/dist/node_modules/ramda/src/dropRepeats.js +0 -50
- package/dist/node_modules/ramda/src/dropRepeatsWith.js +0 -63
- package/dist/node_modules/ramda/src/dropWhile.js +0 -61
- package/dist/node_modules/ramda/src/either.js +0 -56
- package/dist/node_modules/ramda/src/empty.js +0 -54
- package/dist/node_modules/ramda/src/endsWith.js +0 -42
- package/dist/node_modules/ramda/src/eqBy.js +0 -33
- package/dist/node_modules/ramda/src/eqProps.js +0 -37
- package/dist/node_modules/ramda/src/equals.js +0 -41
- package/dist/node_modules/ramda/src/evolve.js +0 -48
- package/dist/node_modules/ramda/src/filter.js +0 -72
- package/dist/node_modules/ramda/src/find.js +0 -55
- package/dist/node_modules/ramda/src/findIndex.js +0 -55
- package/dist/node_modules/ramda/src/findLast.js +0 -52
- package/dist/node_modules/ramda/src/findLastIndex.js +0 -54
- package/dist/node_modules/ramda/src/flatten.js +0 -33
- package/dist/node_modules/ramda/src/flip.js +0 -41
- package/dist/node_modules/ramda/src/forEach.js +0 -60
- package/dist/node_modules/ramda/src/forEachObjIndexed.js +0 -47
- package/dist/node_modules/ramda/src/fromPairs.js +0 -36
- package/dist/node_modules/ramda/src/groupBy.js +0 -69
- package/dist/node_modules/ramda/src/groupWith.js +0 -57
- package/dist/node_modules/ramda/src/gt.js +0 -33
- package/dist/node_modules/ramda/src/gte.js +0 -33
- package/dist/node_modules/ramda/src/has.js +0 -40
- package/dist/node_modules/ramda/src/hasIn.js +0 -38
- package/dist/node_modules/ramda/src/hasPath.js +0 -57
- package/dist/node_modules/ramda/src/head.js +0 -30
- package/dist/node_modules/ramda/src/identical.js +0 -39
- package/dist/node_modules/ramda/src/identity.js +0 -33
- package/dist/node_modules/ramda/src/ifElse.js +0 -43
- package/dist/node_modules/ramda/src/inc.js +0 -24
- package/dist/node_modules/ramda/src/includes.js +0 -36
- package/dist/node_modules/ramda/src/index.js +0 -772
- package/dist/node_modules/ramda/src/index.mjs +0 -257
- package/dist/node_modules/ramda/src/indexBy.js +0 -33
- package/dist/node_modules/ramda/src/indexOf.js +0 -39
- package/dist/node_modules/ramda/src/init.js +0 -33
- package/dist/node_modules/ramda/src/innerJoin.js +0 -57
- package/dist/node_modules/ramda/src/insert.js +0 -34
- package/dist/node_modules/ramda/src/insertAll.js +0 -31
- package/dist/node_modules/ramda/src/internal/_Set.js +0 -203
- package/dist/node_modules/ramda/src/internal/_aperture.js +0 -14
- package/dist/node_modules/ramda/src/internal/_arity.js +0 -64
- package/dist/node_modules/ramda/src/internal/_arrayFromIterator.js +0 -12
- package/dist/node_modules/ramda/src/internal/_assertPromise.js +0 -15
- package/dist/node_modules/ramda/src/internal/_checkForMethod.js +0 -29
- package/dist/node_modules/ramda/src/internal/_clone.js +0 -61
- package/dist/node_modules/ramda/src/internal/_cloneRegExp.js +0 -5
- package/dist/node_modules/ramda/src/internal/_complement.js +0 -7
- package/dist/node_modules/ramda/src/internal/_concat.js +0 -36
- package/dist/node_modules/ramda/src/internal/_createPartialApplicator.js +0 -17
- package/dist/node_modules/ramda/src/internal/_curry1.js +0 -24
- package/dist/node_modules/ramda/src/internal/_curry2.js +0 -39
- package/dist/node_modules/ramda/src/internal/_curry3.js +0 -60
- package/dist/node_modules/ramda/src/internal/_curryN.js +0 -50
- package/dist/node_modules/ramda/src/internal/_dispatchable.js +0 -54
- package/dist/node_modules/ramda/src/internal/_dropLast.js +0 -9
- package/dist/node_modules/ramda/src/internal/_dropLastWhile.js +0 -15
- package/dist/node_modules/ramda/src/internal/_equals.js +0 -189
- package/dist/node_modules/ramda/src/internal/_filter.js +0 -17
- package/dist/node_modules/ramda/src/internal/_flatCat.js +0 -43
- package/dist/node_modules/ramda/src/internal/_forceReduced.js +0 -8
- package/dist/node_modules/ramda/src/internal/_functionName.js +0 -7
- package/dist/node_modules/ramda/src/internal/_functionsWith.js +0 -19
- package/dist/node_modules/ramda/src/internal/_has.js +0 -5
- package/dist/node_modules/ramda/src/internal/_identity.js +0 -5
- package/dist/node_modules/ramda/src/internal/_includes.js +0 -9
- package/dist/node_modules/ramda/src/internal/_includesWith.js +0 -16
- package/dist/node_modules/ramda/src/internal/_indexOf.js +0 -72
- package/dist/node_modules/ramda/src/internal/_isArguments.js +0 -17
- package/dist/node_modules/ramda/src/internal/_isArray.js +0 -15
- package/dist/node_modules/ramda/src/internal/_isArrayLike.js +0 -65
- package/dist/node_modules/ramda/src/internal/_isFunction.js +0 -6
- package/dist/node_modules/ramda/src/internal/_isInteger.js +0 -11
- package/dist/node_modules/ramda/src/internal/_isNumber.js +0 -5
- package/dist/node_modules/ramda/src/internal/_isObject.js +0 -5
- package/dist/node_modules/ramda/src/internal/_isPlaceholder.js +0 -5
- package/dist/node_modules/ramda/src/internal/_isRegExp.js +0 -5
- package/dist/node_modules/ramda/src/internal/_isString.js +0 -5
- package/dist/node_modules/ramda/src/internal/_isTransformer.js +0 -5
- package/dist/node_modules/ramda/src/internal/_makeFlat.js +0 -40
- package/dist/node_modules/ramda/src/internal/_map.js +0 -14
- package/dist/node_modules/ramda/src/internal/_objectAssign.js +0 -32
- package/dist/node_modules/ramda/src/internal/_objectIs.js +0 -14
- package/dist/node_modules/ramda/src/internal/_of.js +0 -5
- package/dist/node_modules/ramda/src/internal/_pipe.js +0 -7
- package/dist/node_modules/ramda/src/internal/_pipeP.js +0 -10
- package/dist/node_modules/ramda/src/internal/_quote.js +0 -7
- package/dist/node_modules/ramda/src/internal/_reduce.js +0 -82
- package/dist/node_modules/ramda/src/internal/_reduced.js +0 -8
- package/dist/node_modules/ramda/src/internal/_stepCat.js +0 -64
- package/dist/node_modules/ramda/src/internal/_toISOString.js +0 -14
- package/dist/node_modules/ramda/src/internal/_toString.js +0 -78
- package/dist/node_modules/ramda/src/internal/_xall.js +0 -50
- package/dist/node_modules/ramda/src/internal/_xany.js +0 -50
- package/dist/node_modules/ramda/src/internal/_xaperture.js +0 -58
- package/dist/node_modules/ramda/src/internal/_xchain.js +0 -19
- package/dist/node_modules/ramda/src/internal/_xdrop.js +0 -38
- package/dist/node_modules/ramda/src/internal/_xdropLast.js +0 -54
- package/dist/node_modules/ramda/src/internal/_xdropLastWhile.js +0 -53
- package/dist/node_modules/ramda/src/internal/_xdropRepeatsWith.js +0 -44
- package/dist/node_modules/ramda/src/internal/_xdropWhile.js +0 -41
- package/dist/node_modules/ramda/src/internal/_xfBase.js +0 -8
- package/dist/node_modules/ramda/src/internal/_xfilter.js +0 -33
- package/dist/node_modules/ramda/src/internal/_xfind.js +0 -50
- package/dist/node_modules/ramda/src/internal/_xfindIndex.js +0 -53
- package/dist/node_modules/ramda/src/internal/_xfindLast.js +0 -40
- package/dist/node_modules/ramda/src/internal/_xfindLastIndex.js +0 -44
- package/dist/node_modules/ramda/src/internal/_xmap.js +0 -33
- package/dist/node_modules/ramda/src/internal/_xreduceBy.js +0 -60
- package/dist/node_modules/ramda/src/internal/_xtake.js +0 -40
- package/dist/node_modules/ramda/src/internal/_xtakeWhile.js +0 -37
- package/dist/node_modules/ramda/src/internal/_xtap.js +0 -34
- package/dist/node_modules/ramda/src/internal/_xwrap.js +0 -27
- package/dist/node_modules/ramda/src/intersection.js +0 -55
- package/dist/node_modules/ramda/src/intersperse.js +0 -49
- package/dist/node_modules/ramda/src/into.js +0 -67
- package/dist/node_modules/ramda/src/invert.js +0 -55
- package/dist/node_modules/ramda/src/invertObj.js +0 -54
- package/dist/node_modules/ramda/src/invoker.js +0 -66
- package/dist/node_modules/ramda/src/is.js +0 -35
- package/dist/node_modules/ramda/src/isEmpty.js +0 -41
- package/dist/node_modules/ramda/src/isNil.js +0 -29
- package/dist/node_modules/ramda/src/join.js +0 -28
- package/dist/node_modules/ramda/src/juxt.js +0 -35
- package/dist/node_modules/ramda/src/keys.js +0 -100
- package/dist/node_modules/ramda/src/keysIn.js +0 -40
- package/dist/node_modules/ramda/src/last.js +0 -29
- package/dist/node_modules/ramda/src/lastIndexOf.js +0 -53
- package/dist/node_modules/ramda/src/length.js +0 -31
- package/dist/node_modules/ramda/src/lens.js +0 -45
- package/dist/node_modules/ramda/src/lensIndex.js +0 -44
- package/dist/node_modules/ramda/src/lensPath.js +0 -48
- package/dist/node_modules/ramda/src/lensProp.js +0 -44
- package/dist/node_modules/ramda/src/lift.js +0 -38
- package/dist/node_modules/ramda/src/liftN.js +0 -48
- package/dist/node_modules/ramda/src/lt.js +0 -33
- package/dist/node_modules/ramda/src/lte.js +0 -33
- package/dist/node_modules/ramda/src/map.js +0 -87
- package/dist/node_modules/ramda/src/mapAccum.js +0 -57
- package/dist/node_modules/ramda/src/mapAccumRight.js +0 -59
- package/dist/node_modules/ramda/src/mapObjIndexed.js +0 -44
- package/dist/node_modules/ramda/src/match.js +0 -33
- package/dist/node_modules/ramda/src/mathMod.js +0 -57
- package/dist/node_modules/ramda/src/max.js +0 -29
- package/dist/node_modules/ramda/src/maxBy.js +0 -36
- package/dist/node_modules/ramda/src/mean.js +0 -32
- package/dist/node_modules/ramda/src/median.js +0 -43
- package/dist/node_modules/ramda/src/memoizeWith.js +0 -57
- package/dist/node_modules/ramda/src/merge.js +0 -40
- package/dist/node_modules/ramda/src/mergeAll.js +0 -33
- package/dist/node_modules/ramda/src/mergeDeepLeft.js +0 -39
- package/dist/node_modules/ramda/src/mergeDeepRight.js +0 -39
- package/dist/node_modules/ramda/src/mergeDeepWith.js +0 -45
- package/dist/node_modules/ramda/src/mergeDeepWithKey.js +0 -54
- package/dist/node_modules/ramda/src/mergeLeft.js +0 -39
- package/dist/node_modules/ramda/src/mergeRight.js +0 -39
- package/dist/node_modules/ramda/src/mergeWith.js +0 -41
- package/dist/node_modules/ramda/src/mergeWithKey.js +0 -56
- package/dist/node_modules/ramda/src/min.js +0 -29
- package/dist/node_modules/ramda/src/minBy.js +0 -36
- package/dist/node_modules/ramda/src/modulo.js +0 -37
- package/dist/node_modules/ramda/src/move.js +0 -35
- package/dist/node_modules/ramda/src/multiply.js +0 -32
- package/dist/node_modules/ramda/src/nAry.js +0 -100
- package/dist/node_modules/ramda/src/negate.js +0 -26
- package/dist/node_modules/ramda/src/none.js +0 -45
- package/dist/node_modules/ramda/src/not.js +0 -31
- package/dist/node_modules/ramda/src/nth.js +0 -43
- package/dist/node_modules/ramda/src/nthArg.js +0 -41
- package/dist/node_modules/ramda/src/o.js +0 -39
- package/dist/node_modules/ramda/src/objOf.js +0 -34
- package/dist/node_modules/ramda/src/of.js +0 -32
- package/dist/node_modules/ramda/src/omit.js +0 -44
- package/dist/node_modules/ramda/src/once.js +0 -45
- package/dist/node_modules/ramda/src/or.js +0 -32
- package/dist/node_modules/ramda/src/otherwise.js +0 -46
- package/dist/node_modules/ramda/src/over.js +0 -50
- package/dist/node_modules/ramda/src/pair.js +0 -28
- package/dist/node_modules/ramda/src/partial.js +0 -42
- package/dist/node_modules/ramda/src/partialRight.js +0 -44
- package/dist/node_modules/ramda/src/partition.js +0 -41
- package/dist/node_modules/ramda/src/path.js +0 -36
- package/dist/node_modules/ramda/src/pathEq.js +0 -44
- package/dist/node_modules/ramda/src/pathOr.js +0 -39
- package/dist/node_modules/ramda/src/pathSatisfies.js +0 -36
- package/dist/node_modules/ramda/src/paths.js +0 -54
- package/dist/node_modules/ramda/src/pick.js +0 -41
- package/dist/node_modules/ramda/src/pickAll.js +0 -40
- package/dist/node_modules/ramda/src/pickBy.js +0 -40
- package/dist/node_modules/ramda/src/pipe.js +0 -49
- package/dist/node_modules/ramda/src/pipeK.js +0 -53
- package/dist/node_modules/ramda/src/pipeP.js +0 -45
- package/dist/node_modules/ramda/src/pipeWith.js +0 -65
- package/dist/node_modules/ramda/src/pluck.js +0 -47
- package/dist/node_modules/ramda/src/prepend.js +0 -33
- package/dist/node_modules/ramda/src/product.js +0 -28
- package/dist/node_modules/ramda/src/project.js +0 -41
- package/dist/node_modules/ramda/src/prop.js +0 -37
- package/dist/node_modules/ramda/src/propEq.js +0 -41
- package/dist/node_modules/ramda/src/propIs.js +0 -36
- package/dist/node_modules/ramda/src/propOr.js +0 -42
- package/dist/node_modules/ramda/src/propSatisfies.js +0 -31
- package/dist/node_modules/ramda/src/props.js +0 -38
- package/dist/node_modules/ramda/src/range.js +0 -44
- package/dist/node_modules/ramda/src/reduce.js +0 -60
- package/dist/node_modules/ramda/src/reduceBy.js +0 -79
- package/dist/node_modules/ramda/src/reduceRight.js +0 -61
- package/dist/node_modules/ramda/src/reduceWhile.js +0 -51
- package/dist/node_modules/ramda/src/reduced.js +0 -39
- package/dist/node_modules/ramda/src/reject.js +0 -44
- package/dist/node_modules/ramda/src/remove.js +0 -34
- package/dist/node_modules/ramda/src/repeat.js +0 -43
- package/dist/node_modules/ramda/src/replace.js +0 -36
- package/dist/node_modules/ramda/src/reverse.js +0 -40
- package/dist/node_modules/ramda/src/scan.js +0 -43
- package/dist/node_modules/ramda/src/sequence.js +0 -54
- package/dist/node_modules/ramda/src/set.js +0 -42
- package/dist/node_modules/ramda/src/slice.js +0 -42
- package/dist/node_modules/ramda/src/sort.js +0 -32
- package/dist/node_modules/ramda/src/sortBy.js +0 -49
- package/dist/node_modules/ramda/src/sortWith.js +0 -54
- package/dist/node_modules/ramda/src/split.js +0 -29
- package/dist/node_modules/ramda/src/splitAt.js +0 -38
- package/dist/node_modules/ramda/src/splitEvery.js +0 -44
- package/dist/node_modules/ramda/src/splitWhen.js +0 -40
- package/dist/node_modules/ramda/src/startsWith.js +0 -42
- package/dist/node_modules/ramda/src/subtract.js +0 -35
- package/dist/node_modules/ramda/src/sum.js +0 -28
- package/dist/node_modules/ramda/src/symmetricDifference.js +0 -38
- package/dist/node_modules/ramda/src/symmetricDifferenceWith.js +0 -42
- package/dist/node_modules/ramda/src/tail.js +0 -49
- package/dist/node_modules/ramda/src/take.js +0 -69
- package/dist/node_modules/ramda/src/takeLast.js +0 -38
- package/dist/node_modules/ramda/src/takeLastWhile.js +0 -47
- package/dist/node_modules/ramda/src/takeWhile.js +0 -62
- package/dist/node_modules/ramda/src/tap.js +0 -43
- package/dist/node_modules/ramda/src/test.js +0 -45
- package/dist/node_modules/ramda/src/thunkify.js +0 -39
- package/dist/node_modules/ramda/src/times.js +0 -50
- package/dist/node_modules/ramda/src/toLower.js +0 -24
- package/dist/node_modules/ramda/src/toPairs.js +0 -42
- package/dist/node_modules/ramda/src/toPairsIn.js +0 -39
- package/dist/node_modules/ramda/src/toString.js +0 -52
- package/dist/node_modules/ramda/src/toUpper.js +0 -24
- package/dist/node_modules/ramda/src/transduce.js +0 -66
- package/dist/node_modules/ramda/src/transpose.js +0 -55
- package/dist/node_modules/ramda/src/traverse.js +0 -46
- package/dist/node_modules/ramda/src/trim.js +0 -39
- package/dist/node_modules/ramda/src/tryCatch.js +0 -49
- package/dist/node_modules/ramda/src/type.js +0 -37
- package/dist/node_modules/ramda/src/unapply.js +0 -38
- package/dist/node_modules/ramda/src/unary.js +0 -44
- package/dist/node_modules/ramda/src/uncurryN.js +0 -49
- package/dist/node_modules/ramda/src/unfold.js +0 -45
- package/dist/node_modules/ramda/src/union.js +0 -41
- package/dist/node_modules/ramda/src/unionWith.js +0 -42
- package/dist/node_modules/ramda/src/uniq.js +0 -30
- package/dist/node_modules/ramda/src/uniqBy.js +0 -50
- package/dist/node_modules/ramda/src/uniqWith.js +0 -53
- package/dist/node_modules/ramda/src/unless.js +0 -36
- package/dist/node_modules/ramda/src/unnest.js +0 -30
- package/dist/node_modules/ramda/src/until.js +0 -37
- package/dist/node_modules/ramda/src/update.js +0 -42
- package/dist/node_modules/ramda/src/useWith.js +0 -55
- package/dist/node_modules/ramda/src/values.js +0 -43
- package/dist/node_modules/ramda/src/valuesIn.js +0 -40
- package/dist/node_modules/ramda/src/view.js +0 -45
- package/dist/node_modules/ramda/src/when.js +0 -40
- package/dist/node_modules/ramda/src/where.js +0 -57
- package/dist/node_modules/ramda/src/whereEq.js +0 -52
- package/dist/node_modules/ramda/src/without.js +0 -43
- package/dist/node_modules/ramda/src/xor.js +0 -33
- package/dist/node_modules/ramda/src/xprod.js +0 -48
- package/dist/node_modules/ramda/src/zip.js +0 -40
- package/dist/node_modules/ramda/src/zipObj.js +0 -38
- package/dist/node_modules/ramda/src/zipWith.js +0 -45
- package/dist/node_modules/simple-git/dist/src/lib/args/pathspec.d.ts +0 -3
- package/dist/node_modules/supports-color/browser.js +0 -5
- package/dist/node_modules/supports-color/index.js +0 -135
- package/dist/node_modules/supports-color/package.json +0 -53
- package/dist/node_modules/supports-color/readme.md +0 -76
- package/dist/node_modules/undici-types/file.d.ts +0 -39
- package/dist/node_modules/undici-types/filereader.d.ts +0 -54
- package/dist/node_modules/uri-js/LICENSE +0 -11
- package/dist/node_modules/uri-js/README.md +0 -203
- package/dist/node_modules/uri-js/dist/es5/uri.all.d.ts +0 -59
- package/dist/node_modules/uri-js/dist/es5/uri.all.js +0 -1443
- package/dist/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
- package/dist/node_modules/uri-js/dist/es5/uri.all.min.d.ts +0 -59
- package/dist/node_modules/uri-js/dist/es5/uri.all.min.js +0 -3
- package/dist/node_modules/uri-js/dist/es5/uri.all.min.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/index.d.ts +0 -1
- package/dist/node_modules/uri-js/dist/esnext/index.js +0 -17
- package/dist/node_modules/uri-js/dist/esnext/index.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +0 -3
- package/dist/node_modules/uri-js/dist/esnext/regexps-iri.js +0 -3
- package/dist/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +0 -4
- package/dist/node_modules/uri-js/dist/esnext/regexps-uri.js +0 -42
- package/dist/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/http.d.ts +0 -3
- package/dist/node_modules/uri-js/dist/esnext/schemes/http.js +0 -28
- package/dist/node_modules/uri-js/dist/esnext/schemes/http.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/https.d.ts +0 -3
- package/dist/node_modules/uri-js/dist/esnext/schemes/https.js +0 -9
- package/dist/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +0 -12
- package/dist/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -148
- package/dist/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +0 -7
- package/dist/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +0 -23
- package/dist/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +0 -10
- package/dist/node_modules/uri-js/dist/esnext/schemes/urn.js +0 -49
- package/dist/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +0 -7
- package/dist/node_modules/uri-js/dist/esnext/schemes/ws.js +0 -41
- package/dist/node_modules/uri-js/dist/esnext/schemes/ws.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +0 -3
- package/dist/node_modules/uri-js/dist/esnext/schemes/wss.js +0 -9
- package/dist/node_modules/uri-js/dist/esnext/schemes/wss.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/uri.d.ts +0 -59
- package/dist/node_modules/uri-js/dist/esnext/uri.js +0 -480
- package/dist/node_modules/uri-js/dist/esnext/uri.js.map +0 -1
- package/dist/node_modules/uri-js/dist/esnext/util.d.ts +0 -6
- package/dist/node_modules/uri-js/dist/esnext/util.js +0 -36
- package/dist/node_modules/uri-js/dist/esnext/util.js.map +0 -1
- package/dist/node_modules/uri-js/package.json +0 -77
- package/dist/node_modules/uri-js/yarn.lock +0 -2558
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/.runkit_example.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/2020.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/2020.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/2020.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/compile/ref_error.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/compile/ref_error.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/compile/ref_error.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/compile/validate/subschema.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/compile/validate/subschema.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/compile/validate/subschema.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/index.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/index.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/index.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/applicator.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/content.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/core.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/meta/validation.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/refs/json-schema-2020-12/schema.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/equal.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/equal.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/equal.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/re2.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/re2.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/re2.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/timestamp.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/timestamp.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/timestamp.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/ucs2length.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/ucs2length.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/ucs2length.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/uri.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/uri.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/uri.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/validation_error.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/validation_error.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/runtime/validation_error.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/applicator/items2020.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/applicator/items2020.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/applicator/items2020.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/applicator/prefixItems.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/applicator/prefixItems.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/applicator/prefixItems.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/discriminator/index.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/discriminator/index.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/discriminator/index.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/discriminator/types.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/discriminator/types.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/discriminator/types.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/draft2020.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/draft2020.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/draft2020.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/jtd/error.d.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/jtd/error.js +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/dist/vocabularies/jtd/error.js.map +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/2020.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/compile/ref_error.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/compile/validate/subschema.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/index.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/applicator.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/content.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/core.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/meta/validation.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/refs/json-schema-2020-12/schema.json +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/runtime/equal.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/runtime/re2.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/runtime/timestamp.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/runtime/ucs2length.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/runtime/uri.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/runtime/validation_error.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/vocabularies/applicator/items2020.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/vocabularies/applicator/prefixItems.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/vocabularies/discriminator/index.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/vocabularies/discriminator/types.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/vocabularies/draft2020.ts +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv → ajv}/lib/vocabularies/jtd/error.ts +0 -0
- /package/dist/node_modules/{ansi-styles → ansi-align/node_modules/ansi-regex}/license +0 -0
- /package/dist/node_modules/{punycode → ansi-align/node_modules/emoji-regex}/LICENSE-MIT.txt +0 -0
- /package/dist/node_modules/{has-flag → ansi-align/node_modules/is-fullwidth-code-point}/license +0 -0
- /package/dist/node_modules/{supports-color → ansi-align/node_modules/string-width}/license +0 -0
- /package/dist/node_modules/{ajv-formats/node_modules/ajv/dist/types → chardet/lib/encoding}/index.js +0 -0
|
@@ -1,15 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
declare module "node:util" {
|
|
2
|
+
export * as types from "node:util/types";
|
|
3
|
+
export type InspectStyle =
|
|
4
|
+
| "special"
|
|
5
|
+
| "number"
|
|
6
|
+
| "bigint"
|
|
7
|
+
| "boolean"
|
|
8
|
+
| "undefined"
|
|
9
|
+
| "null"
|
|
10
|
+
| "string"
|
|
11
|
+
| "symbol"
|
|
12
|
+
| "date"
|
|
13
|
+
| "name"
|
|
14
|
+
| "regexp"
|
|
15
|
+
| "module";
|
|
16
|
+
export interface InspectStyles extends Record<InspectStyle, InspectColor | ((value: string) => string)> {
|
|
17
|
+
regexp: {
|
|
18
|
+
(value: string): string;
|
|
19
|
+
colors: InspectColor[];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export type InspectColorModifier =
|
|
23
|
+
| "reset"
|
|
24
|
+
| "bold"
|
|
25
|
+
| "dim"
|
|
26
|
+
| "italic"
|
|
27
|
+
| "underline"
|
|
28
|
+
| "blink"
|
|
29
|
+
| "inverse"
|
|
30
|
+
| "hidden"
|
|
31
|
+
| "strikethrough"
|
|
32
|
+
| "doubleunderline";
|
|
33
|
+
export type InspectColorForeground =
|
|
34
|
+
| "black"
|
|
35
|
+
| "red"
|
|
36
|
+
| "green"
|
|
37
|
+
| "yellow"
|
|
38
|
+
| "blue"
|
|
39
|
+
| "magenta"
|
|
40
|
+
| "cyan"
|
|
41
|
+
| "white"
|
|
42
|
+
| "gray"
|
|
43
|
+
| "redBright"
|
|
44
|
+
| "greenBright"
|
|
45
|
+
| "yellowBright"
|
|
46
|
+
| "blueBright"
|
|
47
|
+
| "magentaBright"
|
|
48
|
+
| "cyanBright"
|
|
49
|
+
| "whiteBright";
|
|
50
|
+
export type InspectColorBackground = `bg${Capitalize<InspectColorForeground>}`;
|
|
51
|
+
export type InspectColor = InspectColorModifier | InspectColorForeground | InspectColorBackground;
|
|
52
|
+
export interface InspectColors extends Record<InspectColor, [number, number]> {}
|
|
13
53
|
export interface InspectOptions {
|
|
14
54
|
/**
|
|
15
55
|
* If `true`, object's non-enumerable symbols and properties are included in the formatted result.
|
|
@@ -92,22 +132,103 @@ declare module "util" {
|
|
|
92
132
|
*/
|
|
93
133
|
numericSeparator?: boolean | undefined;
|
|
94
134
|
}
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
| "number"
|
|
98
|
-
| "bigint"
|
|
99
|
-
| "boolean"
|
|
100
|
-
| "undefined"
|
|
101
|
-
| "null"
|
|
102
|
-
| "string"
|
|
103
|
-
| "symbol"
|
|
104
|
-
| "date"
|
|
105
|
-
| "regexp"
|
|
106
|
-
| "module";
|
|
107
|
-
export type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => any; // TODO: , inspect: inspect
|
|
108
|
-
export interface InspectOptionsStylized extends InspectOptions {
|
|
109
|
-
stylize(text: string, styleType: Style): string;
|
|
135
|
+
export interface InspectContext extends Required<InspectOptions> {
|
|
136
|
+
stylize(text: string, styleType: InspectStyle): string;
|
|
110
137
|
}
|
|
138
|
+
import _inspect = inspect;
|
|
139
|
+
export interface Inspectable {
|
|
140
|
+
[inspect.custom](depth: number, options: InspectContext, inspect: typeof _inspect): any;
|
|
141
|
+
}
|
|
142
|
+
// TODO: Remove these in a future major
|
|
143
|
+
/** @deprecated Use `InspectStyle` instead. */
|
|
144
|
+
export type Style = Exclude<InspectStyle, "name">;
|
|
145
|
+
/** @deprecated Use the `Inspectable` interface instead. */
|
|
146
|
+
export type CustomInspectFunction = (depth: number, options: InspectContext) => any;
|
|
147
|
+
/** @deprecated Use `InspectContext` instead. */
|
|
148
|
+
export interface InspectOptionsStylized extends InspectContext {}
|
|
149
|
+
/** @deprecated Use `InspectColorModifier` instead. */
|
|
150
|
+
export type Modifiers = InspectColorModifier;
|
|
151
|
+
/** @deprecated Use `InspectColorForeground` instead. */
|
|
152
|
+
export type ForegroundColors = InspectColorForeground;
|
|
153
|
+
/** @deprecated Use `InspectColorBackground` instead. */
|
|
154
|
+
export type BackgroundColors = InspectColorBackground;
|
|
155
|
+
export interface CallSiteObject {
|
|
156
|
+
/**
|
|
157
|
+
* Returns the name of the function associated with this call site.
|
|
158
|
+
*/
|
|
159
|
+
functionName: string;
|
|
160
|
+
/**
|
|
161
|
+
* Returns the name of the resource that contains the script for the
|
|
162
|
+
* function for this call site.
|
|
163
|
+
*/
|
|
164
|
+
scriptName: string;
|
|
165
|
+
/**
|
|
166
|
+
* Returns the unique id of the script, as in Chrome DevTools protocol
|
|
167
|
+
* [`Runtime.ScriptId`](https://chromedevtools.github.io/devtools-protocol/1-3/Runtime/#type-ScriptId).
|
|
168
|
+
* @since v22.14.0
|
|
169
|
+
*/
|
|
170
|
+
scriptId: string;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the number, 1-based, of the line for the associate function call.
|
|
173
|
+
*/
|
|
174
|
+
lineNumber: number;
|
|
175
|
+
/**
|
|
176
|
+
* Returns the 1-based column offset on the line for the associated function call.
|
|
177
|
+
*/
|
|
178
|
+
columnNumber: number;
|
|
179
|
+
}
|
|
180
|
+
export type DiffEntry = [operation: -1 | 0 | 1, value: string];
|
|
181
|
+
/**
|
|
182
|
+
* `util.diff()` compares two string or array values and returns an array of difference entries.
|
|
183
|
+
* It uses the Myers diff algorithm to compute minimal differences, which is the same algorithm
|
|
184
|
+
* used internally by assertion error messages.
|
|
185
|
+
*
|
|
186
|
+
* If the values are equal, an empty array is returned.
|
|
187
|
+
*
|
|
188
|
+
* ```js
|
|
189
|
+
* const { diff } = require('node:util');
|
|
190
|
+
*
|
|
191
|
+
* // Comparing strings
|
|
192
|
+
* const actualString = '12345678';
|
|
193
|
+
* const expectedString = '12!!5!7!';
|
|
194
|
+
* console.log(diff(actualString, expectedString));
|
|
195
|
+
* // [
|
|
196
|
+
* // [0, '1'],
|
|
197
|
+
* // [0, '2'],
|
|
198
|
+
* // [1, '3'],
|
|
199
|
+
* // [1, '4'],
|
|
200
|
+
* // [-1, '!'],
|
|
201
|
+
* // [-1, '!'],
|
|
202
|
+
* // [0, '5'],
|
|
203
|
+
* // [1, '6'],
|
|
204
|
+
* // [-1, '!'],
|
|
205
|
+
* // [0, '7'],
|
|
206
|
+
* // [1, '8'],
|
|
207
|
+
* // [-1, '!'],
|
|
208
|
+
* // ]
|
|
209
|
+
* // Comparing arrays
|
|
210
|
+
* const actualArray = ['1', '2', '3'];
|
|
211
|
+
* const expectedArray = ['1', '3', '4'];
|
|
212
|
+
* console.log(diff(actualArray, expectedArray));
|
|
213
|
+
* // [
|
|
214
|
+
* // [0, '1'],
|
|
215
|
+
* // [1, '2'],
|
|
216
|
+
* // [0, '3'],
|
|
217
|
+
* // [-1, '4'],
|
|
218
|
+
* // ]
|
|
219
|
+
* // Equal values return empty array
|
|
220
|
+
* console.log(diff('same', 'same'));
|
|
221
|
+
* // []
|
|
222
|
+
* ```
|
|
223
|
+
* @since v22.15.0
|
|
224
|
+
* @experimental
|
|
225
|
+
* @param actual The first value to compare
|
|
226
|
+
* @param expected The second value to compare
|
|
227
|
+
* @returns An array of difference entries. Each entry is an array with two elements:
|
|
228
|
+
* * Index 0: `number` Operation code: `-1` for delete, `0` for no-op/unchanged, `1` for insert
|
|
229
|
+
* * Index 1: `string` The value associated with the operation
|
|
230
|
+
*/
|
|
231
|
+
export function diff(actual: string | readonly string[], expected: string | readonly string[]): DiffEntry[];
|
|
111
232
|
/**
|
|
112
233
|
* The `util.format()` method returns a formatted string using the first argument
|
|
113
234
|
* as a `printf`-like format string which can contain zero or more format
|
|
@@ -166,6 +287,90 @@ declare module "util" {
|
|
|
166
287
|
* @since v10.0.0
|
|
167
288
|
*/
|
|
168
289
|
export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
|
|
290
|
+
export interface GetCallSitesOptions {
|
|
291
|
+
/**
|
|
292
|
+
* Reconstruct the original location in the stacktrace from the source-map.
|
|
293
|
+
* Enabled by default with the flag `--enable-source-maps`.
|
|
294
|
+
*/
|
|
295
|
+
sourceMap?: boolean | undefined;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Returns an array of call site objects containing the stack of
|
|
299
|
+
* the caller function.
|
|
300
|
+
*
|
|
301
|
+
* Unlike accessing an `error.stack`, the result returned from this API is not
|
|
302
|
+
* interfered with `Error.prepareStackTrace`.
|
|
303
|
+
*
|
|
304
|
+
* ```js
|
|
305
|
+
* import { getCallSites } from 'node:util';
|
|
306
|
+
*
|
|
307
|
+
* function exampleFunction() {
|
|
308
|
+
* const callSites = getCallSites();
|
|
309
|
+
*
|
|
310
|
+
* console.log('Call Sites:');
|
|
311
|
+
* callSites.forEach((callSite, index) => {
|
|
312
|
+
* console.log(`CallSite ${index + 1}:`);
|
|
313
|
+
* console.log(`Function Name: ${callSite.functionName}`);
|
|
314
|
+
* console.log(`Script Name: ${callSite.scriptName}`);
|
|
315
|
+
* console.log(`Line Number: ${callSite.lineNumber}`);
|
|
316
|
+
* console.log(`Column Number: ${callSite.columnNumber}`);
|
|
317
|
+
* });
|
|
318
|
+
* // CallSite 1:
|
|
319
|
+
* // Function Name: exampleFunction
|
|
320
|
+
* // Script Name: /home/example.js
|
|
321
|
+
* // Line Number: 5
|
|
322
|
+
* // Column Number: 26
|
|
323
|
+
*
|
|
324
|
+
* // CallSite 2:
|
|
325
|
+
* // Function Name: anotherFunction
|
|
326
|
+
* // Script Name: /home/example.js
|
|
327
|
+
* // Line Number: 22
|
|
328
|
+
* // Column Number: 3
|
|
329
|
+
*
|
|
330
|
+
* // ...
|
|
331
|
+
* }
|
|
332
|
+
*
|
|
333
|
+
* // A function to simulate another stack layer
|
|
334
|
+
* function anotherFunction() {
|
|
335
|
+
* exampleFunction();
|
|
336
|
+
* }
|
|
337
|
+
*
|
|
338
|
+
* anotherFunction();
|
|
339
|
+
* ```
|
|
340
|
+
*
|
|
341
|
+
* It is possible to reconstruct the original locations by setting the option `sourceMap` to `true`.
|
|
342
|
+
* If the source map is not available, the original location will be the same as the current location.
|
|
343
|
+
* When the `--enable-source-maps` flag is enabled, for example when using `--experimental-transform-types`,
|
|
344
|
+
* `sourceMap` will be true by default.
|
|
345
|
+
*
|
|
346
|
+
* ```ts
|
|
347
|
+
* import { getCallSites } from 'node:util';
|
|
348
|
+
*
|
|
349
|
+
* interface Foo {
|
|
350
|
+
* foo: string;
|
|
351
|
+
* }
|
|
352
|
+
*
|
|
353
|
+
* const callSites = getCallSites({ sourceMap: true });
|
|
354
|
+
*
|
|
355
|
+
* // With sourceMap:
|
|
356
|
+
* // Function Name: ''
|
|
357
|
+
* // Script Name: example.js
|
|
358
|
+
* // Line Number: 7
|
|
359
|
+
* // Column Number: 26
|
|
360
|
+
*
|
|
361
|
+
* // Without sourceMap:
|
|
362
|
+
* // Function Name: ''
|
|
363
|
+
* // Script Name: example.js
|
|
364
|
+
* // Line Number: 2
|
|
365
|
+
* // Column Number: 26
|
|
366
|
+
* ```
|
|
367
|
+
* @param frameCount Number of frames to capture as call site objects.
|
|
368
|
+
* **Default:** `10`. Allowable range is between 1 and 200.
|
|
369
|
+
* @return An array of call site objects
|
|
370
|
+
* @since v22.9.0
|
|
371
|
+
*/
|
|
372
|
+
export function getCallSites(frameCount?: number, options?: GetCallSitesOptions): CallSiteObject[];
|
|
373
|
+
export function getCallSites(options: GetCallSitesOptions): CallSiteObject[];
|
|
169
374
|
/**
|
|
170
375
|
* Returns the string name for a numeric error code that comes from a Node.js API.
|
|
171
376
|
* The mapping between error codes and error names is platform-dependent.
|
|
@@ -180,6 +385,11 @@ declare module "util" {
|
|
|
180
385
|
* @since v9.7.0
|
|
181
386
|
*/
|
|
182
387
|
export function getSystemErrorName(err: number): string;
|
|
388
|
+
/**
|
|
389
|
+
* Enable or disable printing a stack trace on `SIGINT`. The API is only available on the main thread.
|
|
390
|
+
* @since 24.6.0
|
|
391
|
+
*/
|
|
392
|
+
export function setTraceSigInt(enable: boolean): void;
|
|
183
393
|
/**
|
|
184
394
|
* Returns a Map of all system error codes available from the Node.js API.
|
|
185
395
|
* The mapping between error codes and error names is platform-dependent.
|
|
@@ -196,18 +406,19 @@ declare module "util" {
|
|
|
196
406
|
*/
|
|
197
407
|
export function getSystemErrorMap(): Map<number, [string, string]>;
|
|
198
408
|
/**
|
|
199
|
-
*
|
|
200
|
-
*
|
|
409
|
+
* Returns the string message for a numeric error code that comes from a Node.js
|
|
410
|
+
* API.
|
|
411
|
+
* The mapping between error codes and string messages is platform-dependent.
|
|
201
412
|
*
|
|
202
413
|
* ```js
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
414
|
+
* fs.access('file/that/does/not/exist', (err) => {
|
|
415
|
+
* const message = util.getSystemErrorMessage(err.errno);
|
|
416
|
+
* console.error(message); // no such file or directory
|
|
417
|
+
* });
|
|
206
418
|
* ```
|
|
207
|
-
* @since
|
|
208
|
-
* @deprecated Since v6.0.0 - Use a third party module instead.
|
|
419
|
+
* @since v22.12.0
|
|
209
420
|
*/
|
|
210
|
-
export function
|
|
421
|
+
export function getSystemErrorMessage(err: number): string;
|
|
211
422
|
/**
|
|
212
423
|
* Returns the `string` after replacing any surrogate code points
|
|
213
424
|
* (or equivalently, any unpaired surrogate code units) with the
|
|
@@ -219,7 +430,6 @@ declare module "util" {
|
|
|
219
430
|
* Creates and returns an `AbortController` instance whose `AbortSignal` is marked
|
|
220
431
|
* as transferable and can be used with `structuredClone()` or `postMessage()`.
|
|
221
432
|
* @since v18.11.0
|
|
222
|
-
* @experimental
|
|
223
433
|
* @returns A transferable AbortController
|
|
224
434
|
*/
|
|
225
435
|
export function transferableAbortController(): AbortController;
|
|
@@ -232,41 +442,49 @@ declare module "util" {
|
|
|
232
442
|
* channel.port2.postMessage(signal, [signal]);
|
|
233
443
|
* ```
|
|
234
444
|
* @since v18.11.0
|
|
235
|
-
* @experimental
|
|
236
445
|
* @param signal The AbortSignal
|
|
237
446
|
* @returns The same AbortSignal
|
|
238
447
|
*/
|
|
239
448
|
export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
|
|
240
449
|
/**
|
|
241
|
-
* Listens to abort event on the provided `signal` and
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
450
|
+
* Listens to abort event on the provided `signal` and returns a promise that resolves when the `signal` is aborted.
|
|
451
|
+
* If `resource` is provided, it weakly references the operation's associated object,
|
|
452
|
+
* so if `resource` is garbage collected before the `signal` aborts,
|
|
453
|
+
* then returned promise shall remain pending.
|
|
454
|
+
* This prevents memory leaks in long-running or non-cancelable operations.
|
|
245
455
|
*
|
|
246
456
|
* ```js
|
|
247
457
|
* import { aborted } from 'node:util';
|
|
248
458
|
*
|
|
459
|
+
* // Obtain an object with an abortable signal, like a custom resource or operation.
|
|
249
460
|
* const dependent = obtainSomethingAbortable();
|
|
250
461
|
*
|
|
462
|
+
* // Pass `dependent` as the resource, indicating the promise should only resolve
|
|
463
|
+
* // if `dependent` is still in memory when the signal is aborted.
|
|
251
464
|
* aborted(dependent.signal, dependent).then(() => {
|
|
252
|
-
* //
|
|
465
|
+
* // This code runs when `dependent` is aborted.
|
|
466
|
+
* console.log('Dependent resource was aborted.');
|
|
253
467
|
* });
|
|
254
468
|
*
|
|
469
|
+
* // Simulate an event that triggers the abort.
|
|
255
470
|
* dependent.on('event', () => {
|
|
256
|
-
* dependent.abort();
|
|
471
|
+
* dependent.abort(); // This will cause the `aborted` promise to resolve.
|
|
257
472
|
* });
|
|
258
473
|
* ```
|
|
259
474
|
* @since v19.7.0
|
|
260
|
-
* @
|
|
261
|
-
*
|
|
475
|
+
* @param resource Any non-null object tied to the abortable operation and held weakly.
|
|
476
|
+
* If `resource` is garbage collected before the `signal` aborts, the promise remains pending,
|
|
477
|
+
* allowing Node.js to stop tracking it.
|
|
478
|
+
* This helps prevent memory leaks in long-running or non-cancelable operations.
|
|
262
479
|
*/
|
|
263
480
|
export function aborted(signal: AbortSignal, resource: any): Promise<void>;
|
|
264
481
|
/**
|
|
265
482
|
* The `util.inspect()` method returns a string representation of `object` that is
|
|
266
483
|
* intended for debugging. The output of `util.inspect` may change at any time
|
|
267
484
|
* and should not be depended upon programmatically. Additional `options` may be
|
|
268
|
-
* passed that alter the result.
|
|
269
|
-
*
|
|
485
|
+
* passed that alter the result.
|
|
486
|
+
* `util.inspect()` will use the constructor's name and/or `Symbol.toStringTag`
|
|
487
|
+
* property to make an identifiable tag for an inspected value.
|
|
270
488
|
*
|
|
271
489
|
* ```js
|
|
272
490
|
* class Foo {
|
|
@@ -313,7 +531,7 @@ declare module "util" {
|
|
|
313
531
|
* The following example highlights the effect of the `compact` option:
|
|
314
532
|
*
|
|
315
533
|
* ```js
|
|
316
|
-
* import
|
|
534
|
+
* import { inspect } from 'node:util';
|
|
317
535
|
*
|
|
318
536
|
* const o = {
|
|
319
537
|
* a: [1, 2, [[
|
|
@@ -323,7 +541,7 @@ declare module "util" {
|
|
|
323
541
|
* 'foo']], 4],
|
|
324
542
|
* b: new Map([['za', 1], ['zb', 'test']]),
|
|
325
543
|
* };
|
|
326
|
-
* console.log(
|
|
544
|
+
* console.log(inspect(o, { compact: true, depth: 5, breakLength: 80 }));
|
|
327
545
|
*
|
|
328
546
|
* // { a:
|
|
329
547
|
* // [ 1,
|
|
@@ -335,7 +553,7 @@ declare module "util" {
|
|
|
335
553
|
* // b: Map(2) { 'za' => 1, 'zb' => 'test' } }
|
|
336
554
|
*
|
|
337
555
|
* // Setting `compact` to false or an integer creates more reader friendly output.
|
|
338
|
-
* console.log(
|
|
556
|
+
* console.log(inspect(o, { compact: false, depth: 5, breakLength: 80 }));
|
|
339
557
|
*
|
|
340
558
|
* // {
|
|
341
559
|
* // a: [
|
|
@@ -362,11 +580,10 @@ declare module "util" {
|
|
|
362
580
|
* // single line.
|
|
363
581
|
* ```
|
|
364
582
|
*
|
|
365
|
-
* The `showHidden` option allows
|
|
366
|
-
* [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries to be
|
|
583
|
+
* The `showHidden` option allows `WeakMap` and `WeakSet` entries to be
|
|
367
584
|
* inspected. If there are more entries than `maxArrayLength`, there is no
|
|
368
|
-
* guarantee which entries are displayed. That means retrieving the same
|
|
369
|
-
* result in different output. Furthermore, entries
|
|
585
|
+
* guarantee which entries are displayed. That means retrieving the same
|
|
586
|
+
* `WeakSet` entries twice may result in different output. Furthermore, entries
|
|
370
587
|
* with no remaining strong references may be garbage collected at any time.
|
|
371
588
|
*
|
|
372
589
|
* ```js
|
|
@@ -414,10 +631,10 @@ declare module "util" {
|
|
|
414
631
|
* ```js
|
|
415
632
|
* import { inspect } from 'node:util';
|
|
416
633
|
*
|
|
417
|
-
* const thousand =
|
|
418
|
-
* const million =
|
|
419
|
-
* const bigNumber =
|
|
420
|
-
* const bigDecimal =
|
|
634
|
+
* const thousand = 1000;
|
|
635
|
+
* const million = 1000000;
|
|
636
|
+
* const bigNumber = 123456789n;
|
|
637
|
+
* const bigDecimal = 1234.12345;
|
|
421
638
|
*
|
|
422
639
|
* console.log(inspect(thousand, { numericSeparator: true }));
|
|
423
640
|
* // 1_000
|
|
@@ -439,19 +656,11 @@ declare module "util" {
|
|
|
439
656
|
export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
440
657
|
export function inspect(object: any, options?: InspectOptions): string;
|
|
441
658
|
export namespace inspect {
|
|
442
|
-
|
|
443
|
-
let
|
|
444
|
-
|
|
445
|
-
};
|
|
659
|
+
const custom: unique symbol;
|
|
660
|
+
let colors: InspectColors;
|
|
661
|
+
let styles: InspectStyles;
|
|
446
662
|
let defaultOptions: InspectOptions;
|
|
447
|
-
/**
|
|
448
|
-
* Allows changing inspect settings from the repl.
|
|
449
|
-
*/
|
|
450
663
|
let replDefaults: InspectOptions;
|
|
451
|
-
/**
|
|
452
|
-
* That can be used to declare custom inspect functions.
|
|
453
|
-
*/
|
|
454
|
-
const custom: unique symbol;
|
|
455
664
|
}
|
|
456
665
|
/**
|
|
457
666
|
* Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray).
|
|
@@ -473,84 +682,23 @@ declare module "util" {
|
|
|
473
682
|
*/
|
|
474
683
|
export function isArray(object: unknown): object is unknown[];
|
|
475
684
|
/**
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
* ```js
|
|
479
|
-
* import util from 'node:util';
|
|
480
|
-
*
|
|
481
|
-
* util.isRegExp(/some regexp/);
|
|
482
|
-
* // Returns: true
|
|
483
|
-
* util.isRegExp(new RegExp('another regexp'));
|
|
484
|
-
* // Returns: true
|
|
485
|
-
* util.isRegExp({});
|
|
486
|
-
* // Returns: false
|
|
487
|
-
* ```
|
|
488
|
-
* @since v0.6.0
|
|
489
|
-
* @deprecated Since v4.0.0 - Deprecated
|
|
490
|
-
*/
|
|
491
|
-
export function isRegExp(object: unknown): object is RegExp;
|
|
492
|
-
/**
|
|
493
|
-
* Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`.
|
|
494
|
-
*
|
|
495
|
-
* ```js
|
|
496
|
-
* import util from 'node:util';
|
|
497
|
-
*
|
|
498
|
-
* util.isDate(new Date());
|
|
499
|
-
* // Returns: true
|
|
500
|
-
* util.isDate(Date());
|
|
501
|
-
* // false (without 'new' returns a String)
|
|
502
|
-
* util.isDate({});
|
|
503
|
-
* // Returns: false
|
|
504
|
-
* ```
|
|
505
|
-
* @since v0.6.0
|
|
506
|
-
* @deprecated Since v4.0.0 - Use {@link types.isDate} instead.
|
|
507
|
-
*/
|
|
508
|
-
export function isDate(object: unknown): object is Date;
|
|
509
|
-
/**
|
|
510
|
-
* Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`.
|
|
511
|
-
*
|
|
512
|
-
* ```js
|
|
513
|
-
* import util from 'node:util';
|
|
514
|
-
*
|
|
515
|
-
* util.isError(new Error());
|
|
516
|
-
* // Returns: true
|
|
517
|
-
* util.isError(new TypeError());
|
|
518
|
-
* // Returns: true
|
|
519
|
-
* util.isError({ name: 'Error', message: 'an error occurred' });
|
|
520
|
-
* // Returns: false
|
|
521
|
-
* ```
|
|
522
|
-
*
|
|
523
|
-
* This method relies on `Object.prototype.toString()` behavior. It is
|
|
524
|
-
* possible to obtain an incorrect result when the `object` argument manipulates `@@toStringTag`.
|
|
525
|
-
*
|
|
526
|
-
* ```js
|
|
527
|
-
* import util from 'node:util';
|
|
528
|
-
* const obj = { name: 'Error', message: 'an error occurred' };
|
|
529
|
-
*
|
|
530
|
-
* util.isError(obj);
|
|
531
|
-
* // Returns: false
|
|
532
|
-
* obj[Symbol.toStringTag] = 'Error';
|
|
533
|
-
* util.isError(obj);
|
|
534
|
-
* // Returns: true
|
|
535
|
-
* ```
|
|
536
|
-
* @since v0.6.0
|
|
537
|
-
* @deprecated Since v4.0.0 - Use {@link types.isNativeError} instead.
|
|
538
|
-
*/
|
|
539
|
-
export function isError(object: unknown): object is Error;
|
|
540
|
-
/**
|
|
541
|
-
* Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and `extends` keywords to get language level inheritance support. Also note
|
|
685
|
+
* Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and
|
|
686
|
+
* `extends` keywords to get language level inheritance support. Also note
|
|
542
687
|
* that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179).
|
|
543
688
|
*
|
|
544
|
-
* Inherit the prototype methods from one
|
|
545
|
-
*
|
|
689
|
+
* Inherit the prototype methods from one
|
|
690
|
+
* [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The
|
|
691
|
+
* prototype of `constructor` will be set to a new object created from
|
|
692
|
+
* `superConstructor`.
|
|
546
693
|
*
|
|
547
|
-
* This mainly adds some input validation on top of
|
|
694
|
+
* This mainly adds some input validation on top of
|
|
695
|
+
* `Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
|
|
548
696
|
* As an additional convenience, `superConstructor` will be accessible
|
|
549
697
|
* through the `constructor.super_` property.
|
|
550
698
|
*
|
|
551
699
|
* ```js
|
|
552
|
-
*
|
|
553
|
-
*
|
|
700
|
+
* const util = require('node:util');
|
|
701
|
+
* const EventEmitter = require('node:events');
|
|
554
702
|
*
|
|
555
703
|
* function MyStream() {
|
|
556
704
|
* EventEmitter.call(this);
|
|
@@ -595,20 +743,66 @@ declare module "util" {
|
|
|
595
743
|
* @legacy Use ES2015 class syntax and `extends` keyword instead.
|
|
596
744
|
*/
|
|
597
745
|
export function inherits(constructor: unknown, superConstructor: unknown): void;
|
|
746
|
+
/**
|
|
747
|
+
* The `util.convertProcessSignalToExitCode()` method converts a signal name to its
|
|
748
|
+
* corresponding POSIX exit code. Following the POSIX standard, the exit code
|
|
749
|
+
* for a process terminated by a signal is calculated as `128 + signal number`.
|
|
750
|
+
*
|
|
751
|
+
* If `signal` is not a valid signal name, then an error will be thrown. See
|
|
752
|
+
* [`signal(7)`](https://man7.org/linux/man-pages/man7/signal.7.html) for a list of valid signals.
|
|
753
|
+
*
|
|
754
|
+
* ```js
|
|
755
|
+
* import { convertProcessSignalToExitCode } from 'node:util';
|
|
756
|
+
*
|
|
757
|
+
* console.log(convertProcessSignalToExitCode('SIGTERM')); // 143 (128 + 15)
|
|
758
|
+
* console.log(convertProcessSignalToExitCode('SIGKILL')); // 137 (128 + 9)
|
|
759
|
+
* ```
|
|
760
|
+
*
|
|
761
|
+
* This is particularly useful when working with processes to determine
|
|
762
|
+
* the exit code based on the signal that terminated the process.
|
|
763
|
+
* @since v25.4.0
|
|
764
|
+
* @param signal A signal name (e.g. `'SIGTERM'`)
|
|
765
|
+
* @returns The exit code corresponding to `signal`
|
|
766
|
+
*/
|
|
767
|
+
export function convertProcessSignalToExitCode(signal: NodeJS.Signals): number;
|
|
598
768
|
export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void;
|
|
599
769
|
export interface DebugLogger extends DebugLoggerFunction {
|
|
770
|
+
/**
|
|
771
|
+
* The `util.debuglog().enabled` getter is used to create a test that can be used
|
|
772
|
+
* in conditionals based on the existence of the `NODE_DEBUG` environment variable.
|
|
773
|
+
* If the `section` name appears within the value of that environment variable,
|
|
774
|
+
* then the returned value will be `true`. If not, then the returned value will be
|
|
775
|
+
* `false`.
|
|
776
|
+
*
|
|
777
|
+
* ```js
|
|
778
|
+
* import { debuglog } from 'node:util';
|
|
779
|
+
* const enabled = debuglog('foo').enabled;
|
|
780
|
+
* if (enabled) {
|
|
781
|
+
* console.log('hello from foo [%d]', 123);
|
|
782
|
+
* }
|
|
783
|
+
* ```
|
|
784
|
+
*
|
|
785
|
+
* If this program is run with `NODE_DEBUG=foo` in the environment, then it will
|
|
786
|
+
* output something like:
|
|
787
|
+
*
|
|
788
|
+
* ```console
|
|
789
|
+
* hello from foo [123]
|
|
790
|
+
* ```
|
|
791
|
+
*/
|
|
600
792
|
enabled: boolean;
|
|
601
793
|
}
|
|
602
794
|
/**
|
|
603
795
|
* The `util.debuglog()` method is used to create a function that conditionally
|
|
604
|
-
* writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`
|
|
605
|
-
* environment variable
|
|
796
|
+
* writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`
|
|
797
|
+
* environment variable. If the `section` name appears within the value of that
|
|
798
|
+
* environment variable, then the returned function operates similar to
|
|
799
|
+
* `console.error()`. If not, then the returned function is a no-op.
|
|
606
800
|
*
|
|
607
801
|
* ```js
|
|
608
|
-
* import
|
|
609
|
-
* const
|
|
802
|
+
* import { debuglog } from 'node:util';
|
|
803
|
+
* const log = debuglog('foo');
|
|
610
804
|
*
|
|
611
|
-
*
|
|
805
|
+
* log('hello from foo [%d]', 123);
|
|
612
806
|
* ```
|
|
613
807
|
*
|
|
614
808
|
* If this program is run with `NODE_DEBUG=foo` in the environment, then
|
|
@@ -624,10 +818,10 @@ declare module "util" {
|
|
|
624
818
|
* The `section` supports wildcard also:
|
|
625
819
|
*
|
|
626
820
|
* ```js
|
|
627
|
-
* import
|
|
628
|
-
* const
|
|
821
|
+
* import { debuglog } from 'node:util';
|
|
822
|
+
* const log = debuglog('foo-bar');
|
|
629
823
|
*
|
|
630
|
-
*
|
|
824
|
+
* log('hi there, it\'s foo-bar [%d]', 2333);
|
|
631
825
|
* ```
|
|
632
826
|
*
|
|
633
827
|
* if it is run with `NODE_DEBUG=foo*` in the environment, then it will output
|
|
@@ -637,18 +831,19 @@ declare module "util" {
|
|
|
637
831
|
* FOO-BAR 3257: hi there, it's foo-bar [2333]
|
|
638
832
|
* ```
|
|
639
833
|
*
|
|
640
|
-
* Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`
|
|
834
|
+
* Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`
|
|
835
|
+
* environment variable: `NODE_DEBUG=fs,net,tls`.
|
|
641
836
|
*
|
|
642
837
|
* The optional `callback` argument can be used to replace the logging function
|
|
643
838
|
* with a different function that doesn't have any initialization or
|
|
644
839
|
* unnecessary wrapping.
|
|
645
840
|
*
|
|
646
841
|
* ```js
|
|
647
|
-
* import
|
|
648
|
-
* let
|
|
842
|
+
* import { debuglog } from 'node:util';
|
|
843
|
+
* let log = debuglog('internals', (debug) => {
|
|
649
844
|
* // Replace with a logging function that optimizes out
|
|
650
845
|
* // testing if the section is enabled
|
|
651
|
-
*
|
|
846
|
+
* log = debug;
|
|
652
847
|
* });
|
|
653
848
|
* ```
|
|
654
849
|
* @since v0.11.3
|
|
@@ -657,299 +852,119 @@ declare module "util" {
|
|
|
657
852
|
* @return The logging function
|
|
658
853
|
*/
|
|
659
854
|
export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
|
|
660
|
-
export
|
|
855
|
+
export { debuglog as debug };
|
|
856
|
+
export interface DeprecateOptions {
|
|
857
|
+
/**
|
|
858
|
+
* When false do not change the prototype of object
|
|
859
|
+
* while emitting the deprecation warning.
|
|
860
|
+
* @since v25.2.0
|
|
861
|
+
* @default true
|
|
862
|
+
*/
|
|
863
|
+
modifyPrototype?: boolean | undefined;
|
|
864
|
+
}
|
|
661
865
|
/**
|
|
662
|
-
*
|
|
866
|
+
* The `util.deprecate()` method wraps `fn` (which may be a function or class) in
|
|
867
|
+
* such a way that it is marked as deprecated.
|
|
663
868
|
*
|
|
664
869
|
* ```js
|
|
665
|
-
* import
|
|
870
|
+
* import { deprecate } from 'node:util';
|
|
666
871
|
*
|
|
667
|
-
*
|
|
668
|
-
*
|
|
669
|
-
*
|
|
670
|
-
* // Returns: false
|
|
671
|
-
* util.isBoolean(false);
|
|
672
|
-
* // Returns: true
|
|
872
|
+
* export const obsoleteFunction = deprecate(() => {
|
|
873
|
+
* // Do something here.
|
|
874
|
+
* }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
|
|
673
875
|
* ```
|
|
674
|
-
*
|
|
675
|
-
*
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
*
|
|
876
|
+
*
|
|
877
|
+
* When called, `util.deprecate()` will return a function that will emit a
|
|
878
|
+
* `DeprecationWarning` using the `'warning'` event. The warning will
|
|
879
|
+
* be emitted and printed to `stderr` the first time the returned function is
|
|
880
|
+
* called. After the warning is emitted, the wrapped function is called without
|
|
881
|
+
* emitting a warning.
|
|
882
|
+
*
|
|
883
|
+
* If the same optional `code` is supplied in multiple calls to `util.deprecate()`,
|
|
884
|
+
* the warning will be emitted only once for that `code`.
|
|
680
885
|
*
|
|
681
886
|
* ```js
|
|
682
|
-
* import
|
|
887
|
+
* import { deprecate } from 'node:util';
|
|
683
888
|
*
|
|
684
|
-
*
|
|
685
|
-
*
|
|
686
|
-
*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
*
|
|
889
|
+
* const fn1 = deprecate(
|
|
890
|
+
* () => 'a value',
|
|
891
|
+
* 'deprecation message',
|
|
892
|
+
* 'DEP0001',
|
|
893
|
+
* );
|
|
894
|
+
* const fn2 = deprecate(
|
|
895
|
+
* () => 'a different value',
|
|
896
|
+
* 'other dep message',
|
|
897
|
+
* 'DEP0001',
|
|
898
|
+
* );
|
|
899
|
+
* fn1(); // Emits a deprecation warning with code DEP0001
|
|
900
|
+
* fn2(); // Does not emit a deprecation warning because it has the same code
|
|
690
901
|
* ```
|
|
691
|
-
* @since v0.11.5
|
|
692
|
-
* @deprecated Since v4.0.0 - Use `isBuffer` instead.
|
|
693
|
-
*/
|
|
694
|
-
export function isBuffer(object: unknown): object is Buffer;
|
|
695
|
-
/**
|
|
696
|
-
* Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`.
|
|
697
902
|
*
|
|
698
|
-
*
|
|
699
|
-
*
|
|
903
|
+
* If either the `--no-deprecation` or `--no-warnings` command-line flags are
|
|
904
|
+
* used, or if the `process.noDeprecation` property is set to `true` _prior_ to
|
|
905
|
+
* the first deprecation warning, the `util.deprecate()` method does nothing.
|
|
700
906
|
*
|
|
701
|
-
*
|
|
702
|
-
*
|
|
907
|
+
* If the `--trace-deprecation` or `--trace-warnings` command-line flags are set,
|
|
908
|
+
* or the `process.traceDeprecation` property is set to `true`, a warning and a
|
|
909
|
+
* stack trace are printed to `stderr` the first time the deprecated function is
|
|
910
|
+
* called.
|
|
703
911
|
*
|
|
704
|
-
*
|
|
705
|
-
*
|
|
706
|
-
*
|
|
707
|
-
*
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
*
|
|
711
|
-
* @since v0.
|
|
712
|
-
* @
|
|
912
|
+
* If the `--throw-deprecation` command-line flag is set, or the
|
|
913
|
+
* `process.throwDeprecation` property is set to `true`, then an exception will be
|
|
914
|
+
* thrown when the deprecated function is called.
|
|
915
|
+
*
|
|
916
|
+
* The `--throw-deprecation` command-line flag and `process.throwDeprecation`
|
|
917
|
+
* property take precedence over `--trace-deprecation` and
|
|
918
|
+
* `process.traceDeprecation`.
|
|
919
|
+
* @since v0.8.0
|
|
920
|
+
* @param fn The function that is being deprecated.
|
|
921
|
+
* @param msg A warning message to display when the deprecated function is invoked.
|
|
922
|
+
* @param code A deprecation code. See the `list of deprecated APIs` for a list of codes.
|
|
923
|
+
* @return The deprecated function wrapped to emit a warning.
|
|
713
924
|
*/
|
|
714
|
-
export function
|
|
925
|
+
export function deprecate<T extends Function>(fn: T, msg: string, code?: string, options?: DeprecateOptions): T;
|
|
926
|
+
export interface IsDeepStrictEqualOptions {
|
|
927
|
+
/**
|
|
928
|
+
* If `true`, prototype and constructor
|
|
929
|
+
* comparison is skipped during deep strict equality check.
|
|
930
|
+
* @since v24.9.0
|
|
931
|
+
* @default false
|
|
932
|
+
*/
|
|
933
|
+
skipPrototype?: boolean | undefined;
|
|
934
|
+
}
|
|
715
935
|
/**
|
|
716
|
-
* Returns `true` if
|
|
717
|
-
*
|
|
718
|
-
* ```js
|
|
719
|
-
* import util from 'node:util';
|
|
936
|
+
* Returns `true` if there is deep strict equality between `val1` and `val2`.
|
|
937
|
+
* Otherwise, returns `false`.
|
|
720
938
|
*
|
|
721
|
-
*
|
|
722
|
-
*
|
|
723
|
-
*
|
|
724
|
-
* // Returns: false
|
|
725
|
-
* util.isNull(null);
|
|
726
|
-
* // Returns: true
|
|
727
|
-
* ```
|
|
728
|
-
* @since v0.11.5
|
|
729
|
-
* @deprecated Since v4.0.0 - Use `value === null` instead.
|
|
939
|
+
* See `assert.deepStrictEqual()` for more information about deep strict
|
|
940
|
+
* equality.
|
|
941
|
+
* @since v9.0.0
|
|
730
942
|
*/
|
|
731
|
-
export function
|
|
943
|
+
export function isDeepStrictEqual(val1: unknown, val2: unknown, options?: IsDeepStrictEqualOptions): boolean;
|
|
732
944
|
/**
|
|
733
|
-
* Returns `
|
|
734
|
-
* returns `false`.
|
|
945
|
+
* Returns `str` with any ANSI escape codes removed.
|
|
735
946
|
*
|
|
736
947
|
* ```js
|
|
737
|
-
*
|
|
738
|
-
*
|
|
739
|
-
* util.isNullOrUndefined(0);
|
|
740
|
-
* // Returns: false
|
|
741
|
-
* util.isNullOrUndefined(undefined);
|
|
742
|
-
* // Returns: true
|
|
743
|
-
* util.isNullOrUndefined(null);
|
|
744
|
-
* // Returns: true
|
|
948
|
+
* console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
|
|
949
|
+
* // Prints "value"
|
|
745
950
|
* ```
|
|
746
|
-
* @since
|
|
747
|
-
* @deprecated Since v4.0.0 - Use `value === undefined || value === null` instead.
|
|
951
|
+
* @since v16.11.0
|
|
748
952
|
*/
|
|
749
|
-
export function
|
|
953
|
+
export function stripVTControlCharacters(str: string): string;
|
|
750
954
|
/**
|
|
751
|
-
*
|
|
955
|
+
* Takes an `async` function (or a function that returns a `Promise`) and returns a
|
|
956
|
+
* function following the error-first callback style, i.e. taking
|
|
957
|
+
* an `(err, value) => ...` callback as the last argument. In the callback, the
|
|
958
|
+
* first argument will be the rejection reason (or `null` if the `Promise`
|
|
959
|
+
* resolved), and the second argument will be the resolved value.
|
|
752
960
|
*
|
|
753
961
|
* ```js
|
|
754
|
-
* import
|
|
755
|
-
*
|
|
756
|
-
* util.isNumber(false);
|
|
757
|
-
* // Returns: false
|
|
758
|
-
* util.isNumber(Infinity);
|
|
759
|
-
* // Returns: true
|
|
760
|
-
* util.isNumber(0);
|
|
761
|
-
* // Returns: true
|
|
762
|
-
* util.isNumber(NaN);
|
|
763
|
-
* // Returns: true
|
|
764
|
-
* ```
|
|
765
|
-
* @since v0.11.5
|
|
766
|
-
* @deprecated Since v4.0.0 - Use `typeof value === 'number'` instead.
|
|
767
|
-
*/
|
|
768
|
-
export function isNumber(object: unknown): object is number;
|
|
769
|
-
/**
|
|
770
|
-
* Returns `true` if the given `object` is strictly an `Object`**and** not a`Function` (even though functions are objects in JavaScript).
|
|
771
|
-
* Otherwise, returns `false`.
|
|
772
|
-
*
|
|
773
|
-
* ```js
|
|
774
|
-
* import util from 'node:util';
|
|
775
|
-
*
|
|
776
|
-
* util.isObject(5);
|
|
777
|
-
* // Returns: false
|
|
778
|
-
* util.isObject(null);
|
|
779
|
-
* // Returns: false
|
|
780
|
-
* util.isObject({});
|
|
781
|
-
* // Returns: true
|
|
782
|
-
* util.isObject(() => {});
|
|
783
|
-
* // Returns: false
|
|
784
|
-
* ```
|
|
785
|
-
* @since v0.11.5
|
|
786
|
-
* @deprecated Since v4.0.0 - Use `value !== null && typeof value === 'object'` instead.
|
|
787
|
-
*/
|
|
788
|
-
export function isObject(object: unknown): boolean;
|
|
789
|
-
/**
|
|
790
|
-
* Returns `true` if the given `object` is a primitive type. Otherwise, returns`false`.
|
|
791
|
-
*
|
|
792
|
-
* ```js
|
|
793
|
-
* import util from 'node:util';
|
|
794
|
-
*
|
|
795
|
-
* util.isPrimitive(5);
|
|
796
|
-
* // Returns: true
|
|
797
|
-
* util.isPrimitive('foo');
|
|
798
|
-
* // Returns: true
|
|
799
|
-
* util.isPrimitive(false);
|
|
800
|
-
* // Returns: true
|
|
801
|
-
* util.isPrimitive(null);
|
|
802
|
-
* // Returns: true
|
|
803
|
-
* util.isPrimitive(undefined);
|
|
804
|
-
* // Returns: true
|
|
805
|
-
* util.isPrimitive({});
|
|
806
|
-
* // Returns: false
|
|
807
|
-
* util.isPrimitive(() => {});
|
|
808
|
-
* // Returns: false
|
|
809
|
-
* util.isPrimitive(/^$/);
|
|
810
|
-
* // Returns: false
|
|
811
|
-
* util.isPrimitive(new Date());
|
|
812
|
-
* // Returns: false
|
|
813
|
-
* ```
|
|
814
|
-
* @since v0.11.5
|
|
815
|
-
* @deprecated Since v4.0.0 - Use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead.
|
|
816
|
-
*/
|
|
817
|
-
export function isPrimitive(object: unknown): boolean;
|
|
818
|
-
/**
|
|
819
|
-
* Returns `true` if the given `object` is a `string`. Otherwise, returns `false`.
|
|
820
|
-
*
|
|
821
|
-
* ```js
|
|
822
|
-
* import util from 'node:util';
|
|
823
|
-
*
|
|
824
|
-
* util.isString('');
|
|
825
|
-
* // Returns: true
|
|
826
|
-
* util.isString('foo');
|
|
827
|
-
* // Returns: true
|
|
828
|
-
* util.isString(String('foo'));
|
|
829
|
-
* // Returns: true
|
|
830
|
-
* util.isString(5);
|
|
831
|
-
* // Returns: false
|
|
832
|
-
* ```
|
|
833
|
-
* @since v0.11.5
|
|
834
|
-
* @deprecated Since v4.0.0 - Use `typeof value === 'string'` instead.
|
|
835
|
-
*/
|
|
836
|
-
export function isString(object: unknown): object is string;
|
|
837
|
-
/**
|
|
838
|
-
* Returns `true` if the given `object` is a `Symbol`. Otherwise, returns `false`.
|
|
839
|
-
*
|
|
840
|
-
* ```js
|
|
841
|
-
* import util from 'node:util';
|
|
842
|
-
*
|
|
843
|
-
* util.isSymbol(5);
|
|
844
|
-
* // Returns: false
|
|
845
|
-
* util.isSymbol('foo');
|
|
846
|
-
* // Returns: false
|
|
847
|
-
* util.isSymbol(Symbol('foo'));
|
|
848
|
-
* // Returns: true
|
|
849
|
-
* ```
|
|
850
|
-
* @since v0.11.5
|
|
851
|
-
* @deprecated Since v4.0.0 - Use `typeof value === 'symbol'` instead.
|
|
852
|
-
*/
|
|
853
|
-
export function isSymbol(object: unknown): object is symbol;
|
|
854
|
-
/**
|
|
855
|
-
* Returns `true` if the given `object` is `undefined`. Otherwise, returns `false`.
|
|
856
|
-
*
|
|
857
|
-
* ```js
|
|
858
|
-
* import util from 'node:util';
|
|
859
|
-
*
|
|
860
|
-
* const foo = undefined;
|
|
861
|
-
* util.isUndefined(5);
|
|
862
|
-
* // Returns: false
|
|
863
|
-
* util.isUndefined(foo);
|
|
864
|
-
* // Returns: true
|
|
865
|
-
* util.isUndefined(null);
|
|
866
|
-
* // Returns: false
|
|
867
|
-
* ```
|
|
868
|
-
* @since v0.11.5
|
|
869
|
-
* @deprecated Since v4.0.0 - Use `value === undefined` instead.
|
|
870
|
-
*/
|
|
871
|
-
export function isUndefined(object: unknown): object is undefined;
|
|
872
|
-
/**
|
|
873
|
-
* The `util.deprecate()` method wraps `fn` (which may be a function or class) in
|
|
874
|
-
* such a way that it is marked as deprecated.
|
|
875
|
-
*
|
|
876
|
-
* ```js
|
|
877
|
-
* import util from 'node:util';
|
|
878
|
-
*
|
|
879
|
-
* exports.obsoleteFunction = util.deprecate(() => {
|
|
880
|
-
* // Do something here.
|
|
881
|
-
* }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
|
|
882
|
-
* ```
|
|
883
|
-
*
|
|
884
|
-
* When called, `util.deprecate()` will return a function that will emit a `DeprecationWarning` using the `'warning'` event. The warning will
|
|
885
|
-
* be emitted and printed to `stderr` the first time the returned function is
|
|
886
|
-
* called. After the warning is emitted, the wrapped function is called without
|
|
887
|
-
* emitting a warning.
|
|
888
|
-
*
|
|
889
|
-
* If the same optional `code` is supplied in multiple calls to `util.deprecate()`,
|
|
890
|
-
* the warning will be emitted only once for that `code`.
|
|
891
|
-
*
|
|
892
|
-
* ```js
|
|
893
|
-
* import util from 'node:util';
|
|
894
|
-
*
|
|
895
|
-
* const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001');
|
|
896
|
-
* const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001');
|
|
897
|
-
* fn1(); // Emits a deprecation warning with code DEP0001
|
|
898
|
-
* fn2(); // Does not emit a deprecation warning because it has the same code
|
|
899
|
-
* ```
|
|
900
|
-
*
|
|
901
|
-
* If either the `--no-deprecation` or `--no-warnings` command-line flags are
|
|
902
|
-
* used, or if the `process.noDeprecation` property is set to `true`_prior_ to
|
|
903
|
-
* the first deprecation warning, the `util.deprecate()` method does nothing.
|
|
904
|
-
*
|
|
905
|
-
* If the `--trace-deprecation` or `--trace-warnings` command-line flags are set,
|
|
906
|
-
* or the `process.traceDeprecation` property is set to `true`, a warning and a
|
|
907
|
-
* stack trace are printed to `stderr` the first time the deprecated function is
|
|
908
|
-
* called.
|
|
909
|
-
*
|
|
910
|
-
* If the `--throw-deprecation` command-line flag is set, or the `process.throwDeprecation` property is set to `true`, then an exception will be
|
|
911
|
-
* thrown when the deprecated function is called.
|
|
912
|
-
*
|
|
913
|
-
* The `--throw-deprecation` command-line flag and `process.throwDeprecation` property take precedence over `--trace-deprecation` and `process.traceDeprecation`.
|
|
914
|
-
* @since v0.8.0
|
|
915
|
-
* @param fn The function that is being deprecated.
|
|
916
|
-
* @param msg A warning message to display when the deprecated function is invoked.
|
|
917
|
-
* @param code A deprecation code. See the `list of deprecated APIs` for a list of codes.
|
|
918
|
-
* @return The deprecated function wrapped to emit a warning.
|
|
919
|
-
*/
|
|
920
|
-
export function deprecate<T extends Function>(fn: T, msg: string, code?: string): T;
|
|
921
|
-
/**
|
|
922
|
-
* Returns `true` if there is deep strict equality between `val1` and `val2`.
|
|
923
|
-
* Otherwise, returns `false`.
|
|
924
|
-
*
|
|
925
|
-
* See `assert.deepStrictEqual()` for more information about deep strict
|
|
926
|
-
* equality.
|
|
927
|
-
* @since v9.0.0
|
|
928
|
-
*/
|
|
929
|
-
export function isDeepStrictEqual(val1: unknown, val2: unknown): boolean;
|
|
930
|
-
/**
|
|
931
|
-
* Returns `str` with any ANSI escape codes removed.
|
|
932
|
-
*
|
|
933
|
-
* ```js
|
|
934
|
-
* console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
|
|
935
|
-
* // Prints "value"
|
|
936
|
-
* ```
|
|
937
|
-
* @since v16.11.0
|
|
938
|
-
*/
|
|
939
|
-
export function stripVTControlCharacters(str: string): string;
|
|
940
|
-
/**
|
|
941
|
-
* Takes an `async` function (or a function that returns a `Promise`) and returns a
|
|
942
|
-
* function following the error-first callback style, i.e. taking
|
|
943
|
-
* an `(err, value) => ...` callback as the last argument. In the callback, the
|
|
944
|
-
* first argument will be the rejection reason (or `null` if the `Promise` resolved), and the second argument will be the resolved value.
|
|
945
|
-
*
|
|
946
|
-
* ```js
|
|
947
|
-
* import util from 'node:util';
|
|
962
|
+
* import { callbackify } from 'node:util';
|
|
948
963
|
*
|
|
949
964
|
* async function fn() {
|
|
950
965
|
* return 'hello world';
|
|
951
966
|
* }
|
|
952
|
-
* const callbackFunction =
|
|
967
|
+
* const callbackFunction = callbackify(fn);
|
|
953
968
|
*
|
|
954
969
|
* callbackFunction((err, ret) => {
|
|
955
970
|
* if (err) throw err;
|
|
@@ -964,11 +979,13 @@ declare module "util" {
|
|
|
964
979
|
* ```
|
|
965
980
|
*
|
|
966
981
|
* The callback is executed asynchronously, and will have a limited stack trace.
|
|
967
|
-
* If the callback throws, the process will emit an `'uncaughtException'`
|
|
982
|
+
* If the callback throws, the process will emit an `'uncaughtException'`
|
|
983
|
+
* event, and if not handled will exit.
|
|
968
984
|
*
|
|
969
985
|
* Since `null` has a special meaning as the first argument to a callback, if a
|
|
970
986
|
* wrapped function rejects a `Promise` with a falsy value as a reason, the value
|
|
971
|
-
* is wrapped in an `Error` with the original value stored in a field named
|
|
987
|
+
* is wrapped in an `Error` with the original value stored in a field named
|
|
988
|
+
* `reason`.
|
|
972
989
|
*
|
|
973
990
|
* ```js
|
|
974
991
|
* function fn() {
|
|
@@ -979,7 +996,7 @@ declare module "util" {
|
|
|
979
996
|
* callbackFunction((err, ret) => {
|
|
980
997
|
* // When the Promise was rejected with `null` it is wrapped with an Error and
|
|
981
998
|
* // the original value is stored in `reason`.
|
|
982
|
-
* err
|
|
999
|
+
* err && Object.hasOwn(err, 'reason') && err.reason === null; // true
|
|
983
1000
|
* });
|
|
984
1001
|
* ```
|
|
985
1002
|
* @since v8.2.0
|
|
@@ -1070,11 +1087,11 @@ declare module "util" {
|
|
|
1070
1087
|
* that returns promises.
|
|
1071
1088
|
*
|
|
1072
1089
|
* ```js
|
|
1073
|
-
* import
|
|
1074
|
-
* import
|
|
1090
|
+
* import { promisify } from 'node:util';
|
|
1091
|
+
* import { stat } from 'node:fs';
|
|
1075
1092
|
*
|
|
1076
|
-
* const
|
|
1077
|
-
*
|
|
1093
|
+
* const promisifiedStat = promisify(stat);
|
|
1094
|
+
* promisifiedStat('.').then((stats) => {
|
|
1078
1095
|
* // Do something with `stats`
|
|
1079
1096
|
* }).catch((error) => {
|
|
1080
1097
|
* // Handle the error.
|
|
@@ -1084,23 +1101,25 @@ declare module "util" {
|
|
|
1084
1101
|
* Or, equivalently using `async function`s:
|
|
1085
1102
|
*
|
|
1086
1103
|
* ```js
|
|
1087
|
-
* import
|
|
1088
|
-
* import
|
|
1104
|
+
* import { promisify } from 'node:util';
|
|
1105
|
+
* import { stat } from 'node:fs';
|
|
1089
1106
|
*
|
|
1090
|
-
* const
|
|
1107
|
+
* const promisifiedStat = promisify(stat);
|
|
1091
1108
|
*
|
|
1092
1109
|
* async function callStat() {
|
|
1093
|
-
* const stats = await
|
|
1110
|
+
* const stats = await promisifiedStat('.');
|
|
1094
1111
|
* console.log(`This directory is owned by ${stats.uid}`);
|
|
1095
1112
|
* }
|
|
1096
1113
|
*
|
|
1097
1114
|
* callStat();
|
|
1098
1115
|
* ```
|
|
1099
1116
|
*
|
|
1100
|
-
* If there is an `original[util.promisify.custom]` property present, `promisify`
|
|
1117
|
+
* If there is an `original[util.promisify.custom]` property present, `promisify`
|
|
1118
|
+
* will return its value, see [Custom promisified functions](https://nodejs.org/docs/latest-v25.x/api/util.html#custom-promisified-functions).
|
|
1101
1119
|
*
|
|
1102
1120
|
* `promisify()` assumes that `original` is a function taking a callback as its
|
|
1103
|
-
* final argument in all cases. If `original` is not a function, `promisify()`
|
|
1121
|
+
* final argument in all cases. If `original` is not a function, `promisify()`
|
|
1122
|
+
* will throw an error. If `original` is a function but its last argument is not
|
|
1104
1123
|
* an error-first callback, it will still be passed an error-first
|
|
1105
1124
|
* callback as its last argument.
|
|
1106
1125
|
*
|
|
@@ -1108,7 +1127,7 @@ declare module "util" {
|
|
|
1108
1127
|
* work as expected unless handled specially:
|
|
1109
1128
|
*
|
|
1110
1129
|
* ```js
|
|
1111
|
-
* import
|
|
1130
|
+
* import { promisify } from 'node:util';
|
|
1112
1131
|
*
|
|
1113
1132
|
* class Foo {
|
|
1114
1133
|
* constructor() {
|
|
@@ -1122,8 +1141,8 @@ declare module "util" {
|
|
|
1122
1141
|
*
|
|
1123
1142
|
* const foo = new Foo();
|
|
1124
1143
|
*
|
|
1125
|
-
* const naiveBar =
|
|
1126
|
-
* // TypeError: Cannot read
|
|
1144
|
+
* const naiveBar = promisify(foo.bar);
|
|
1145
|
+
* // TypeError: Cannot read properties of undefined (reading 'a')
|
|
1127
1146
|
* // naiveBar().then(a => console.log(a));
|
|
1128
1147
|
*
|
|
1129
1148
|
* naiveBar.call(foo).then((a) => console.log(a)); // '42'
|
|
@@ -1187,60 +1206,6 @@ declare module "util" {
|
|
|
1187
1206
|
* @since v20.12.0
|
|
1188
1207
|
*/
|
|
1189
1208
|
export function parseEnv(content: string): NodeJS.Dict<string>;
|
|
1190
|
-
// https://nodejs.org/docs/latest/api/util.html#foreground-colors
|
|
1191
|
-
type ForegroundColors =
|
|
1192
|
-
| "black"
|
|
1193
|
-
| "blackBright"
|
|
1194
|
-
| "blue"
|
|
1195
|
-
| "blueBright"
|
|
1196
|
-
| "cyan"
|
|
1197
|
-
| "cyanBright"
|
|
1198
|
-
| "gray"
|
|
1199
|
-
| "green"
|
|
1200
|
-
| "greenBright"
|
|
1201
|
-
| "grey"
|
|
1202
|
-
| "magenta"
|
|
1203
|
-
| "magentaBright"
|
|
1204
|
-
| "red"
|
|
1205
|
-
| "redBright"
|
|
1206
|
-
| "white"
|
|
1207
|
-
| "whiteBright"
|
|
1208
|
-
| "yellow"
|
|
1209
|
-
| "yellowBright";
|
|
1210
|
-
// https://nodejs.org/docs/latest/api/util.html#background-colors
|
|
1211
|
-
type BackgroundColors =
|
|
1212
|
-
| "bgBlack"
|
|
1213
|
-
| "bgBlackBright"
|
|
1214
|
-
| "bgBlue"
|
|
1215
|
-
| "bgBlueBright"
|
|
1216
|
-
| "bgCyan"
|
|
1217
|
-
| "bgCyanBright"
|
|
1218
|
-
| "bgGray"
|
|
1219
|
-
| "bgGreen"
|
|
1220
|
-
| "bgGreenBright"
|
|
1221
|
-
| "bgGrey"
|
|
1222
|
-
| "bgMagenta"
|
|
1223
|
-
| "bgMagentaBright"
|
|
1224
|
-
| "bgRed"
|
|
1225
|
-
| "bgRedBright"
|
|
1226
|
-
| "bgWhite"
|
|
1227
|
-
| "bgWhiteBright"
|
|
1228
|
-
| "bgYellow"
|
|
1229
|
-
| "bgYellowBright";
|
|
1230
|
-
// https://nodejs.org/docs/latest/api/util.html#modifiers
|
|
1231
|
-
type Modifiers =
|
|
1232
|
-
| "blink"
|
|
1233
|
-
| "bold"
|
|
1234
|
-
| "dim"
|
|
1235
|
-
| "doubleunderline"
|
|
1236
|
-
| "framed"
|
|
1237
|
-
| "hidden"
|
|
1238
|
-
| "inverse"
|
|
1239
|
-
| "italic"
|
|
1240
|
-
| "overlined"
|
|
1241
|
-
| "reset"
|
|
1242
|
-
| "strikethrough"
|
|
1243
|
-
| "underline";
|
|
1244
1209
|
export interface StyleTextOptions {
|
|
1245
1210
|
/**
|
|
1246
1211
|
* When true, `stream` is checked to see if it can handle colors.
|
|
@@ -1254,17 +1219,29 @@ declare module "util" {
|
|
|
1254
1219
|
stream?: NodeJS.WritableStream | undefined;
|
|
1255
1220
|
}
|
|
1256
1221
|
/**
|
|
1257
|
-
*
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1222
|
+
* This function returns a formatted text considering the `format` passed
|
|
1223
|
+
* for printing in a terminal. It is aware of the terminal's capabilities
|
|
1224
|
+
* and acts according to the configuration set via `NO_COLOR`,
|
|
1225
|
+
* `NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables.
|
|
1260
1226
|
*
|
|
1261
1227
|
* ```js
|
|
1262
1228
|
* import { styleText } from 'node:util';
|
|
1263
|
-
*
|
|
1264
|
-
*
|
|
1229
|
+
* import { stderr } from 'node:process';
|
|
1230
|
+
*
|
|
1231
|
+
* const successMessage = styleText('green', 'Success!');
|
|
1232
|
+
* console.log(successMessage);
|
|
1233
|
+
*
|
|
1234
|
+
* const errorMessage = styleText(
|
|
1235
|
+
* 'red',
|
|
1236
|
+
* 'Error! Error!',
|
|
1237
|
+
* // Validate if process.stderr has TTY
|
|
1238
|
+
* { stream: stderr },
|
|
1239
|
+
* );
|
|
1240
|
+
* console.error(errorMessage);
|
|
1265
1241
|
* ```
|
|
1266
1242
|
*
|
|
1267
|
-
* `util.inspect.colors` also provides text formats such as `italic`, and
|
|
1243
|
+
* `util.inspect.colors` also provides text formats such as `italic`, and
|
|
1244
|
+
* `underline` and you can combine both:
|
|
1268
1245
|
*
|
|
1269
1246
|
* ```js
|
|
1270
1247
|
* console.log(
|
|
@@ -1272,8 +1249,8 @@ declare module "util" {
|
|
|
1272
1249
|
* );
|
|
1273
1250
|
* ```
|
|
1274
1251
|
*
|
|
1275
|
-
* When passing an array of formats, the order of the format applied
|
|
1276
|
-
* might overwrite the previous one.
|
|
1252
|
+
* When passing an array of formats, the order of the format applied
|
|
1253
|
+
* is left to right so the following style might overwrite the previous one.
|
|
1277
1254
|
*
|
|
1278
1255
|
* ```js
|
|
1279
1256
|
* console.log(
|
|
@@ -1281,142 +1258,21 @@ declare module "util" {
|
|
|
1281
1258
|
* );
|
|
1282
1259
|
* ```
|
|
1283
1260
|
*
|
|
1284
|
-
* The
|
|
1261
|
+
* The special format value `none` applies no additional styling to the text.
|
|
1262
|
+
*
|
|
1263
|
+
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v25.x/api/util.html#modifiers).
|
|
1285
1264
|
* @param format A text format or an Array of text formats defined in `util.inspect.colors`.
|
|
1286
1265
|
* @param text The text to to be formatted.
|
|
1287
1266
|
* @since v20.12.0
|
|
1288
1267
|
*/
|
|
1289
1268
|
export function styleText(
|
|
1290
|
-
format:
|
|
1291
|
-
| ForegroundColors
|
|
1292
|
-
| BackgroundColors
|
|
1293
|
-
| Modifiers
|
|
1294
|
-
| Array<ForegroundColors | BackgroundColors | Modifiers>,
|
|
1269
|
+
format: InspectColor | readonly InspectColor[],
|
|
1295
1270
|
text: string,
|
|
1296
1271
|
options?: StyleTextOptions,
|
|
1297
1272
|
): string;
|
|
1298
|
-
/**
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
* ```js
|
|
1302
|
-
* const decoder = new TextDecoder();
|
|
1303
|
-
* const u8arr = new Uint8Array([72, 101, 108, 108, 111]);
|
|
1304
|
-
* console.log(decoder.decode(u8arr)); // Hello
|
|
1305
|
-
* ```
|
|
1306
|
-
* @since v8.3.0
|
|
1307
|
-
*/
|
|
1308
|
-
export class TextDecoder {
|
|
1309
|
-
/**
|
|
1310
|
-
* The encoding supported by the `TextDecoder` instance.
|
|
1311
|
-
*/
|
|
1312
|
-
readonly encoding: string;
|
|
1313
|
-
/**
|
|
1314
|
-
* The value will be `true` if decoding errors result in a `TypeError` being
|
|
1315
|
-
* thrown.
|
|
1316
|
-
*/
|
|
1317
|
-
readonly fatal: boolean;
|
|
1318
|
-
/**
|
|
1319
|
-
* The value will be `true` if the decoding result will include the byte order
|
|
1320
|
-
* mark.
|
|
1321
|
-
*/
|
|
1322
|
-
readonly ignoreBOM: boolean;
|
|
1323
|
-
constructor(
|
|
1324
|
-
encoding?: string,
|
|
1325
|
-
options?: {
|
|
1326
|
-
fatal?: boolean | undefined;
|
|
1327
|
-
ignoreBOM?: boolean | undefined;
|
|
1328
|
-
},
|
|
1329
|
-
);
|
|
1330
|
-
/**
|
|
1331
|
-
* Decodes the `input` and returns a string. If `options.stream` is `true`, any
|
|
1332
|
-
* incomplete byte sequences occurring at the end of the `input` are buffered
|
|
1333
|
-
* internally and emitted after the next call to `textDecoder.decode()`.
|
|
1334
|
-
*
|
|
1335
|
-
* If `textDecoder.fatal` is `true`, decoding errors that occur will result in a `TypeError` being thrown.
|
|
1336
|
-
* @param input An `ArrayBuffer`, `DataView`, or `TypedArray` instance containing the encoded data.
|
|
1337
|
-
*/
|
|
1338
|
-
decode(
|
|
1339
|
-
input?: NodeJS.ArrayBufferView | ArrayBuffer | null,
|
|
1340
|
-
options?: {
|
|
1341
|
-
stream?: boolean | undefined;
|
|
1342
|
-
},
|
|
1343
|
-
): string;
|
|
1344
|
-
}
|
|
1345
|
-
export interface EncodeIntoResult {
|
|
1346
|
-
/**
|
|
1347
|
-
* The read Unicode code units of input.
|
|
1348
|
-
*/
|
|
1349
|
-
read: number;
|
|
1350
|
-
/**
|
|
1351
|
-
* The written UTF-8 bytes of output.
|
|
1352
|
-
*/
|
|
1353
|
-
written: number;
|
|
1354
|
-
}
|
|
1355
|
-
export { types };
|
|
1356
|
-
|
|
1357
|
-
//// TextEncoder/Decoder
|
|
1358
|
-
/**
|
|
1359
|
-
* An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextEncoder` API. All
|
|
1360
|
-
* instances of `TextEncoder` only support UTF-8 encoding.
|
|
1361
|
-
*
|
|
1362
|
-
* ```js
|
|
1363
|
-
* const encoder = new TextEncoder();
|
|
1364
|
-
* const uint8array = encoder.encode('this is some data');
|
|
1365
|
-
* ```
|
|
1366
|
-
*
|
|
1367
|
-
* The `TextEncoder` class is also available on the global object.
|
|
1368
|
-
* @since v8.3.0
|
|
1369
|
-
*/
|
|
1370
|
-
export class TextEncoder {
|
|
1371
|
-
/**
|
|
1372
|
-
* The encoding supported by the `TextEncoder` instance. Always set to `'utf-8'`.
|
|
1373
|
-
*/
|
|
1374
|
-
readonly encoding: string;
|
|
1375
|
-
/**
|
|
1376
|
-
* UTF-8 encodes the `input` string and returns a `Uint8Array` containing the
|
|
1377
|
-
* encoded bytes.
|
|
1378
|
-
* @param [input='an empty string'] The text to encode.
|
|
1379
|
-
*/
|
|
1380
|
-
encode(input?: string): NodeJS.NonSharedUint8Array;
|
|
1381
|
-
/**
|
|
1382
|
-
* UTF-8 encodes the `src` string to the `dest` Uint8Array and returns an object
|
|
1383
|
-
* containing the read Unicode code units and written UTF-8 bytes.
|
|
1384
|
-
*
|
|
1385
|
-
* ```js
|
|
1386
|
-
* const encoder = new TextEncoder();
|
|
1387
|
-
* const src = 'this is some data';
|
|
1388
|
-
* const dest = new Uint8Array(10);
|
|
1389
|
-
* const { read, written } = encoder.encodeInto(src, dest);
|
|
1390
|
-
* ```
|
|
1391
|
-
* @param src The text to encode.
|
|
1392
|
-
* @param dest The array to hold the encode result.
|
|
1393
|
-
*/
|
|
1394
|
-
encodeInto(src: string, dest: Uint8Array): EncodeIntoResult;
|
|
1395
|
-
}
|
|
1396
|
-
import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from "util";
|
|
1397
|
-
global {
|
|
1398
|
-
/**
|
|
1399
|
-
* `TextDecoder` class is a global reference for `import { TextDecoder } from 'node:util'`
|
|
1400
|
-
* https://nodejs.org/api/globals.html#textdecoder
|
|
1401
|
-
* @since v11.0.0
|
|
1402
|
-
*/
|
|
1403
|
-
var TextDecoder: typeof globalThis extends {
|
|
1404
|
-
onmessage: any;
|
|
1405
|
-
TextDecoder: infer TextDecoder;
|
|
1406
|
-
} ? TextDecoder
|
|
1407
|
-
: typeof _TextDecoder;
|
|
1408
|
-
/**
|
|
1409
|
-
* `TextEncoder` class is a global reference for `import { TextEncoder } from 'node:util'`
|
|
1410
|
-
* https://nodejs.org/api/globals.html#textencoder
|
|
1411
|
-
* @since v11.0.0
|
|
1412
|
-
*/
|
|
1413
|
-
var TextEncoder: typeof globalThis extends {
|
|
1414
|
-
onmessage: any;
|
|
1415
|
-
TextEncoder: infer TextEncoder;
|
|
1416
|
-
} ? TextEncoder
|
|
1417
|
-
: typeof _TextEncoder;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1273
|
+
/** @deprecated This alias will be removed in a future version. Use the canonical `TextEncoderEncodeIntoResult` instead. */
|
|
1274
|
+
// TODO: remove in future major
|
|
1275
|
+
export interface EncodeIntoResult extends TextEncoderEncodeIntoResult {}
|
|
1420
1276
|
//// parseArgs
|
|
1421
1277
|
/**
|
|
1422
1278
|
* Provides a higher level API for command-line argument parsing than interacting
|
|
@@ -1447,11 +1303,15 @@ declare module "util" {
|
|
|
1447
1303
|
* @return The parsed command line arguments:
|
|
1448
1304
|
*/
|
|
1449
1305
|
export function parseArgs<T extends ParseArgsConfig>(config?: T): ParsedResults<T>;
|
|
1450
|
-
|
|
1306
|
+
/**
|
|
1307
|
+
* Type of argument used in {@link parseArgs}.
|
|
1308
|
+
*/
|
|
1309
|
+
export type ParseArgsOptionsType = "boolean" | "string";
|
|
1310
|
+
export interface ParseArgsOptionDescriptor {
|
|
1451
1311
|
/**
|
|
1452
1312
|
* Type of argument.
|
|
1453
1313
|
*/
|
|
1454
|
-
type:
|
|
1314
|
+
type: ParseArgsOptionsType;
|
|
1455
1315
|
/**
|
|
1456
1316
|
* Whether this option can be provided multiple times.
|
|
1457
1317
|
* If `true`, all values will be collected in an array.
|
|
@@ -1464,15 +1324,18 @@ declare module "util" {
|
|
|
1464
1324
|
*/
|
|
1465
1325
|
short?: string | undefined;
|
|
1466
1326
|
/**
|
|
1467
|
-
* The
|
|
1468
|
-
*
|
|
1469
|
-
*
|
|
1327
|
+
* The value to assign to
|
|
1328
|
+
* the option if it does not appear in the arguments to be parsed. The value
|
|
1329
|
+
* must match the type specified by the `type` property. If `multiple` is
|
|
1330
|
+
* `true`, it must be an array. No default value is applied when the option
|
|
1331
|
+
* does appear in the arguments to be parsed, even if the provided value
|
|
1332
|
+
* is falsy.
|
|
1470
1333
|
* @since v18.11.0
|
|
1471
1334
|
*/
|
|
1472
1335
|
default?: string | boolean | string[] | boolean[] | undefined;
|
|
1473
1336
|
}
|
|
1474
|
-
interface ParseArgsOptionsConfig {
|
|
1475
|
-
[longOption: string]:
|
|
1337
|
+
export interface ParseArgsOptionsConfig {
|
|
1338
|
+
[longOption: string]: ParseArgsOptionDescriptor;
|
|
1476
1339
|
}
|
|
1477
1340
|
export interface ParseArgsConfig {
|
|
1478
1341
|
/**
|
|
@@ -1496,7 +1359,7 @@ declare module "util" {
|
|
|
1496
1359
|
/**
|
|
1497
1360
|
* If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
|
|
1498
1361
|
* @default false
|
|
1499
|
-
* @since
|
|
1362
|
+
* @since v22.4.0
|
|
1500
1363
|
*/
|
|
1501
1364
|
allowNegative?: boolean | undefined;
|
|
1502
1365
|
/**
|
|
@@ -1518,23 +1381,19 @@ declare module "util" {
|
|
|
1518
1381
|
type IfDefaultsTrue<T, IfTrue, IfFalse> = T extends true ? IfTrue
|
|
1519
1382
|
: T extends false ? IfFalse
|
|
1520
1383
|
: IfTrue;
|
|
1521
|
-
|
|
1522
1384
|
// we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false`
|
|
1523
1385
|
type IfDefaultsFalse<T, IfTrue, IfFalse> = T extends false ? IfFalse
|
|
1524
1386
|
: T extends true ? IfTrue
|
|
1525
1387
|
: IfFalse;
|
|
1526
|
-
|
|
1527
|
-
type ExtractOptionValue<T extends ParseArgsConfig, O extends ParseArgsOptionConfig> = IfDefaultsTrue<
|
|
1388
|
+
type ExtractOptionValue<T extends ParseArgsConfig, O extends ParseArgsOptionDescriptor> = IfDefaultsTrue<
|
|
1528
1389
|
T["strict"],
|
|
1529
1390
|
O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean,
|
|
1530
1391
|
string | boolean
|
|
1531
1392
|
>;
|
|
1532
|
-
|
|
1533
1393
|
type ApplyOptionalModifiers<O extends ParseArgsOptionsConfig, V extends Record<keyof O, unknown>> = (
|
|
1534
1394
|
& { -readonly [LongOption in keyof O]?: V[LongOption] }
|
|
1535
1395
|
& { [LongOption in keyof O as O[LongOption]["default"] extends {} ? LongOption : never]: V[LongOption] }
|
|
1536
1396
|
) extends infer P ? { [K in keyof P]: P[K] } : never; // resolve intersection to object
|
|
1537
|
-
|
|
1538
1397
|
type ParsedValues<T extends ParseArgsConfig> =
|
|
1539
1398
|
& IfDefaultsTrue<T["strict"], unknown, { [longOption: string]: undefined | string | boolean }>
|
|
1540
1399
|
& (T["options"] extends ParseArgsOptionsConfig ? ApplyOptionalModifiers<
|
|
@@ -1548,16 +1407,14 @@ declare module "util" {
|
|
|
1548
1407
|
}
|
|
1549
1408
|
>
|
|
1550
1409
|
: {});
|
|
1551
|
-
|
|
1552
1410
|
type ParsedPositionals<T extends ParseArgsConfig> = IfDefaultsTrue<
|
|
1553
1411
|
T["strict"],
|
|
1554
1412
|
IfDefaultsFalse<T["allowPositionals"], string[], []>,
|
|
1555
1413
|
IfDefaultsTrue<T["allowPositionals"], string[], []>
|
|
1556
1414
|
>;
|
|
1557
|
-
|
|
1558
1415
|
type PreciseTokenForOptions<
|
|
1559
1416
|
K extends string,
|
|
1560
|
-
O extends
|
|
1417
|
+
O extends ParseArgsOptionDescriptor,
|
|
1561
1418
|
> = O["type"] extends "string" ? {
|
|
1562
1419
|
kind: "option";
|
|
1563
1420
|
index: number;
|
|
@@ -1575,7 +1432,6 @@ declare module "util" {
|
|
|
1575
1432
|
inlineValue: undefined;
|
|
1576
1433
|
}
|
|
1577
1434
|
: OptionToken & { name: K };
|
|
1578
|
-
|
|
1579
1435
|
type TokenForOptions<
|
|
1580
1436
|
T extends ParseArgsConfig,
|
|
1581
1437
|
K extends keyof T["options"] = keyof T["options"],
|
|
@@ -1583,19 +1439,15 @@ declare module "util" {
|
|
|
1583
1439
|
? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions<K & string, T["options"][K]>
|
|
1584
1440
|
: OptionToken
|
|
1585
1441
|
: never;
|
|
1586
|
-
|
|
1587
1442
|
type ParsedOptionToken<T extends ParseArgsConfig> = IfDefaultsTrue<T["strict"], TokenForOptions<T>, OptionToken>;
|
|
1588
|
-
|
|
1589
1443
|
type ParsedPositionalToken<T extends ParseArgsConfig> = IfDefaultsTrue<
|
|
1590
1444
|
T["strict"],
|
|
1591
1445
|
IfDefaultsFalse<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>,
|
|
1592
1446
|
IfDefaultsTrue<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>
|
|
1593
1447
|
>;
|
|
1594
|
-
|
|
1595
1448
|
type ParsedTokens<T extends ParseArgsConfig> = Array<
|
|
1596
1449
|
ParsedOptionToken<T> | ParsedPositionalToken<T> | { kind: "option-terminator"; index: number }
|
|
1597
1450
|
>;
|
|
1598
|
-
|
|
1599
1451
|
type PreciseParsedResults<T extends ParseArgsConfig> = IfDefaultsFalse<
|
|
1600
1452
|
T["tokens"],
|
|
1601
1453
|
{
|
|
@@ -1608,7 +1460,6 @@ declare module "util" {
|
|
|
1608
1460
|
positionals: ParsedPositionals<T>;
|
|
1609
1461
|
}
|
|
1610
1462
|
>;
|
|
1611
|
-
|
|
1612
1463
|
type OptionToken =
|
|
1613
1464
|
| { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean }
|
|
1614
1465
|
| {
|
|
@@ -1619,12 +1470,10 @@ declare module "util" {
|
|
|
1619
1470
|
value: undefined;
|
|
1620
1471
|
inlineValue: undefined;
|
|
1621
1472
|
};
|
|
1622
|
-
|
|
1623
1473
|
type Token =
|
|
1624
1474
|
| OptionToken
|
|
1625
1475
|
| { kind: "positional"; index: number; value: string }
|
|
1626
1476
|
| { kind: "option-terminator"; index: number };
|
|
1627
|
-
|
|
1628
1477
|
// If ParseArgsConfig extends T, then the user passed config constructed elsewhere.
|
|
1629
1478
|
// So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above.
|
|
1630
1479
|
type ParsedResults<T extends ParseArgsConfig> = ParseArgsConfig extends T ? {
|
|
@@ -1635,7 +1484,6 @@ declare module "util" {
|
|
|
1635
1484
|
tokens?: Token[];
|
|
1636
1485
|
}
|
|
1637
1486
|
: PreciseParsedResults<T>;
|
|
1638
|
-
|
|
1639
1487
|
/**
|
|
1640
1488
|
* An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/).
|
|
1641
1489
|
*
|
|
@@ -1647,7 +1495,6 @@ declare module "util" {
|
|
|
1647
1495
|
* components. When parsed, a `MIMEType` object is returned containing
|
|
1648
1496
|
* properties for each of these components.
|
|
1649
1497
|
* @since v19.1.0, v18.13.0
|
|
1650
|
-
* @experimental
|
|
1651
1498
|
*/
|
|
1652
1499
|
export class MIMEType {
|
|
1653
1500
|
/**
|
|
@@ -1658,7 +1505,6 @@ declare module "util" {
|
|
|
1658
1505
|
* @param input The input MIME to parse.
|
|
1659
1506
|
*/
|
|
1660
1507
|
constructor(input: string | { toString: () => string });
|
|
1661
|
-
|
|
1662
1508
|
/**
|
|
1663
1509
|
* Gets and sets the type portion of the MIME.
|
|
1664
1510
|
*
|
|
@@ -1789,543 +1635,43 @@ declare module "util" {
|
|
|
1789
1635
|
*/
|
|
1790
1636
|
[Symbol.iterator](): NodeJS.Iterator<[name: string, value: string]>;
|
|
1791
1637
|
}
|
|
1638
|
+
// #region web types
|
|
1639
|
+
export interface TextDecodeOptions {
|
|
1640
|
+
stream?: boolean;
|
|
1641
|
+
}
|
|
1642
|
+
export interface TextDecoderCommon {
|
|
1643
|
+
readonly encoding: string;
|
|
1644
|
+
readonly fatal: boolean;
|
|
1645
|
+
readonly ignoreBOM: boolean;
|
|
1646
|
+
}
|
|
1647
|
+
export interface TextDecoderOptions {
|
|
1648
|
+
fatal?: boolean;
|
|
1649
|
+
ignoreBOM?: boolean;
|
|
1650
|
+
}
|
|
1651
|
+
export interface TextEncoderCommon {
|
|
1652
|
+
readonly encoding: string;
|
|
1653
|
+
}
|
|
1654
|
+
export interface TextEncoderEncodeIntoResult {
|
|
1655
|
+
read: number;
|
|
1656
|
+
written: number;
|
|
1657
|
+
}
|
|
1658
|
+
export interface TextDecoder extends TextDecoderCommon {
|
|
1659
|
+
decode(input?: NodeJS.AllowSharedBufferSource, options?: TextDecodeOptions): string;
|
|
1660
|
+
}
|
|
1661
|
+
export var TextDecoder: {
|
|
1662
|
+
prototype: TextDecoder;
|
|
1663
|
+
new(label?: string, options?: TextDecoderOptions): TextDecoder;
|
|
1664
|
+
};
|
|
1665
|
+
export interface TextEncoder extends TextEncoderCommon {
|
|
1666
|
+
encode(input?: string): NodeJS.NonSharedUint8Array;
|
|
1667
|
+
encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;
|
|
1668
|
+
}
|
|
1669
|
+
export var TextEncoder: {
|
|
1670
|
+
prototype: TextEncoder;
|
|
1671
|
+
new(): TextEncoder;
|
|
1672
|
+
};
|
|
1673
|
+
// #endregion
|
|
1792
1674
|
}
|
|
1793
|
-
declare module "util
|
|
1794
|
-
|
|
1795
|
-
/**
|
|
1796
|
-
* Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or
|
|
1797
|
-
* [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance.
|
|
1798
|
-
*
|
|
1799
|
-
* See also `util.types.isArrayBuffer()` and `util.types.isSharedArrayBuffer()`.
|
|
1800
|
-
*
|
|
1801
|
-
* ```js
|
|
1802
|
-
* util.types.isAnyArrayBuffer(new ArrayBuffer()); // Returns true
|
|
1803
|
-
* util.types.isAnyArrayBuffer(new SharedArrayBuffer()); // Returns true
|
|
1804
|
-
* ```
|
|
1805
|
-
* @since v10.0.0
|
|
1806
|
-
*/
|
|
1807
|
-
function isAnyArrayBuffer(object: unknown): object is ArrayBufferLike;
|
|
1808
|
-
/**
|
|
1809
|
-
* Returns `true` if the value is an `arguments` object.
|
|
1810
|
-
*
|
|
1811
|
-
* ```js
|
|
1812
|
-
* function foo() {
|
|
1813
|
-
* util.types.isArgumentsObject(arguments); // Returns true
|
|
1814
|
-
* }
|
|
1815
|
-
* ```
|
|
1816
|
-
* @since v10.0.0
|
|
1817
|
-
*/
|
|
1818
|
-
function isArgumentsObject(object: unknown): object is IArguments;
|
|
1819
|
-
/**
|
|
1820
|
-
* Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instance.
|
|
1821
|
-
* This does _not_ include [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances. Usually, it is
|
|
1822
|
-
* desirable to test for both; See `util.types.isAnyArrayBuffer()` for that.
|
|
1823
|
-
*
|
|
1824
|
-
* ```js
|
|
1825
|
-
* util.types.isArrayBuffer(new ArrayBuffer()); // Returns true
|
|
1826
|
-
* util.types.isArrayBuffer(new SharedArrayBuffer()); // Returns false
|
|
1827
|
-
* ```
|
|
1828
|
-
* @since v10.0.0
|
|
1829
|
-
*/
|
|
1830
|
-
function isArrayBuffer(object: unknown): object is ArrayBuffer;
|
|
1831
|
-
/**
|
|
1832
|
-
* Returns `true` if the value is an instance of one of the [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) views, such as typed
|
|
1833
|
-
* array objects or [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView). Equivalent to
|
|
1834
|
-
* [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
|
|
1835
|
-
*
|
|
1836
|
-
* ```js
|
|
1837
|
-
* util.types.isArrayBufferView(new Int8Array()); // true
|
|
1838
|
-
* util.types.isArrayBufferView(Buffer.from('hello world')); // true
|
|
1839
|
-
* util.types.isArrayBufferView(new DataView(new ArrayBuffer(16))); // true
|
|
1840
|
-
* util.types.isArrayBufferView(new ArrayBuffer()); // false
|
|
1841
|
-
* ```
|
|
1842
|
-
* @since v10.0.0
|
|
1843
|
-
*/
|
|
1844
|
-
function isArrayBufferView(object: unknown): object is NodeJS.ArrayBufferView;
|
|
1845
|
-
/**
|
|
1846
|
-
* Returns `true` if the value is an [async function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function).
|
|
1847
|
-
* This only reports back what the JavaScript engine is seeing;
|
|
1848
|
-
* in particular, the return value may not match the original source code if
|
|
1849
|
-
* a transpilation tool was used.
|
|
1850
|
-
*
|
|
1851
|
-
* ```js
|
|
1852
|
-
* util.types.isAsyncFunction(function foo() {}); // Returns false
|
|
1853
|
-
* util.types.isAsyncFunction(async function foo() {}); // Returns true
|
|
1854
|
-
* ```
|
|
1855
|
-
* @since v10.0.0
|
|
1856
|
-
*/
|
|
1857
|
-
function isAsyncFunction(object: unknown): boolean;
|
|
1858
|
-
/**
|
|
1859
|
-
* Returns `true` if the value is a `BigInt64Array` instance.
|
|
1860
|
-
*
|
|
1861
|
-
* ```js
|
|
1862
|
-
* util.types.isBigInt64Array(new BigInt64Array()); // Returns true
|
|
1863
|
-
* util.types.isBigInt64Array(new BigUint64Array()); // Returns false
|
|
1864
|
-
* ```
|
|
1865
|
-
* @since v10.0.0
|
|
1866
|
-
*/
|
|
1867
|
-
function isBigInt64Array(value: unknown): value is BigInt64Array;
|
|
1868
|
-
/**
|
|
1869
|
-
* Returns `true` if the value is a BigInt object, e.g. created
|
|
1870
|
-
* by `Object(BigInt(123))`.
|
|
1871
|
-
*
|
|
1872
|
-
* ```js
|
|
1873
|
-
* util.types.isBigIntObject(Object(BigInt(123))); // Returns true
|
|
1874
|
-
* util.types.isBigIntObject(BigInt(123)); // Returns false
|
|
1875
|
-
* util.types.isBigIntObject(123); // Returns false
|
|
1876
|
-
* ```
|
|
1877
|
-
* @since v10.4.0
|
|
1878
|
-
*/
|
|
1879
|
-
function isBigIntObject(object: unknown): object is BigInt;
|
|
1880
|
-
/**
|
|
1881
|
-
* Returns `true` if the value is a `BigUint64Array` instance.
|
|
1882
|
-
*
|
|
1883
|
-
* ```js
|
|
1884
|
-
* util.types.isBigUint64Array(new BigInt64Array()); // Returns false
|
|
1885
|
-
* util.types.isBigUint64Array(new BigUint64Array()); // Returns true
|
|
1886
|
-
* ```
|
|
1887
|
-
* @since v10.0.0
|
|
1888
|
-
*/
|
|
1889
|
-
function isBigUint64Array(value: unknown): value is BigUint64Array;
|
|
1890
|
-
/**
|
|
1891
|
-
* Returns `true` if the value is a boolean object, e.g. created
|
|
1892
|
-
* by `new Boolean()`.
|
|
1893
|
-
*
|
|
1894
|
-
* ```js
|
|
1895
|
-
* util.types.isBooleanObject(false); // Returns false
|
|
1896
|
-
* util.types.isBooleanObject(true); // Returns false
|
|
1897
|
-
* util.types.isBooleanObject(new Boolean(false)); // Returns true
|
|
1898
|
-
* util.types.isBooleanObject(new Boolean(true)); // Returns true
|
|
1899
|
-
* util.types.isBooleanObject(Boolean(false)); // Returns false
|
|
1900
|
-
* util.types.isBooleanObject(Boolean(true)); // Returns false
|
|
1901
|
-
* ```
|
|
1902
|
-
* @since v10.0.0
|
|
1903
|
-
*/
|
|
1904
|
-
function isBooleanObject(object: unknown): object is Boolean;
|
|
1905
|
-
/**
|
|
1906
|
-
* Returns `true` if the value is any boxed primitive object, e.g. created
|
|
1907
|
-
* by `new Boolean()`, `new String()` or `Object(Symbol())`.
|
|
1908
|
-
*
|
|
1909
|
-
* For example:
|
|
1910
|
-
*
|
|
1911
|
-
* ```js
|
|
1912
|
-
* util.types.isBoxedPrimitive(false); // Returns false
|
|
1913
|
-
* util.types.isBoxedPrimitive(new Boolean(false)); // Returns true
|
|
1914
|
-
* util.types.isBoxedPrimitive(Symbol('foo')); // Returns false
|
|
1915
|
-
* util.types.isBoxedPrimitive(Object(Symbol('foo'))); // Returns true
|
|
1916
|
-
* util.types.isBoxedPrimitive(Object(BigInt(5))); // Returns true
|
|
1917
|
-
* ```
|
|
1918
|
-
* @since v10.11.0
|
|
1919
|
-
*/
|
|
1920
|
-
function isBoxedPrimitive(object: unknown): object is String | Number | BigInt | Boolean | Symbol;
|
|
1921
|
-
/**
|
|
1922
|
-
* Returns `true` if the value is a built-in [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) instance.
|
|
1923
|
-
*
|
|
1924
|
-
* ```js
|
|
1925
|
-
* const ab = new ArrayBuffer(20);
|
|
1926
|
-
* util.types.isDataView(new DataView(ab)); // Returns true
|
|
1927
|
-
* util.types.isDataView(new Float64Array()); // Returns false
|
|
1928
|
-
* ```
|
|
1929
|
-
*
|
|
1930
|
-
* See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
|
|
1931
|
-
* @since v10.0.0
|
|
1932
|
-
*/
|
|
1933
|
-
function isDataView(object: unknown): object is DataView;
|
|
1934
|
-
/**
|
|
1935
|
-
* Returns `true` if the value is a built-in [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
|
|
1936
|
-
*
|
|
1937
|
-
* ```js
|
|
1938
|
-
* util.types.isDate(new Date()); // Returns true
|
|
1939
|
-
* ```
|
|
1940
|
-
* @since v10.0.0
|
|
1941
|
-
*/
|
|
1942
|
-
function isDate(object: unknown): object is Date;
|
|
1943
|
-
/**
|
|
1944
|
-
* Returns `true` if the value is a native `External` value.
|
|
1945
|
-
*
|
|
1946
|
-
* A native `External` value is a special type of object that contains a
|
|
1947
|
-
* raw C++ pointer (`void*`) for access from native code, and has no other
|
|
1948
|
-
* properties. Such objects are created either by Node.js internals or native
|
|
1949
|
-
* addons. In JavaScript, they are [frozen](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) objects with a`null` prototype.
|
|
1950
|
-
*
|
|
1951
|
-
* ```c
|
|
1952
|
-
* #include <js_native_api.h>
|
|
1953
|
-
* #include <stdlib.h>
|
|
1954
|
-
* napi_value result;
|
|
1955
|
-
* static napi_value MyNapi(napi_env env, napi_callback_info info) {
|
|
1956
|
-
* int* raw = (int*) malloc(1024);
|
|
1957
|
-
* napi_status status = napi_create_external(env, (void*) raw, NULL, NULL, &result);
|
|
1958
|
-
* if (status != napi_ok) {
|
|
1959
|
-
* napi_throw_error(env, NULL, "napi_create_external failed");
|
|
1960
|
-
* return NULL;
|
|
1961
|
-
* }
|
|
1962
|
-
* return result;
|
|
1963
|
-
* }
|
|
1964
|
-
* ...
|
|
1965
|
-
* DECLARE_NAPI_PROPERTY("myNapi", MyNapi)
|
|
1966
|
-
* ...
|
|
1967
|
-
* ```
|
|
1968
|
-
*
|
|
1969
|
-
* ```js
|
|
1970
|
-
* const native =require('napi_addon.node');
|
|
1971
|
-
* const data = native.myNapi();
|
|
1972
|
-
* util.types.isExternal(data); // returns true
|
|
1973
|
-
* util.types.isExternal(0); // returns false
|
|
1974
|
-
* util.types.isExternal(new String('foo')); // returns false
|
|
1975
|
-
* ```
|
|
1976
|
-
*
|
|
1977
|
-
* For further information on `napi_create_external`, refer to `napi_create_external()`.
|
|
1978
|
-
* @since v10.0.0
|
|
1979
|
-
*/
|
|
1980
|
-
function isExternal(object: unknown): boolean;
|
|
1981
|
-
/**
|
|
1982
|
-
* Returns `true` if the value is a built-in [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) instance.
|
|
1983
|
-
*
|
|
1984
|
-
* ```js
|
|
1985
|
-
* util.types.isFloat32Array(new ArrayBuffer()); // Returns false
|
|
1986
|
-
* util.types.isFloat32Array(new Float32Array()); // Returns true
|
|
1987
|
-
* util.types.isFloat32Array(new Float64Array()); // Returns false
|
|
1988
|
-
* ```
|
|
1989
|
-
* @since v10.0.0
|
|
1990
|
-
*/
|
|
1991
|
-
function isFloat32Array(object: unknown): object is Float32Array;
|
|
1992
|
-
/**
|
|
1993
|
-
* Returns `true` if the value is a built-in [`Float64Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array) instance.
|
|
1994
|
-
*
|
|
1995
|
-
* ```js
|
|
1996
|
-
* util.types.isFloat64Array(new ArrayBuffer()); // Returns false
|
|
1997
|
-
* util.types.isFloat64Array(new Uint8Array()); // Returns false
|
|
1998
|
-
* util.types.isFloat64Array(new Float64Array()); // Returns true
|
|
1999
|
-
* ```
|
|
2000
|
-
* @since v10.0.0
|
|
2001
|
-
*/
|
|
2002
|
-
function isFloat64Array(object: unknown): object is Float64Array;
|
|
2003
|
-
/**
|
|
2004
|
-
* Returns `true` if the value is a generator function.
|
|
2005
|
-
* This only reports back what the JavaScript engine is seeing;
|
|
2006
|
-
* in particular, the return value may not match the original source code if
|
|
2007
|
-
* a transpilation tool was used.
|
|
2008
|
-
*
|
|
2009
|
-
* ```js
|
|
2010
|
-
* util.types.isGeneratorFunction(function foo() {}); // Returns false
|
|
2011
|
-
* util.types.isGeneratorFunction(function* foo() {}); // Returns true
|
|
2012
|
-
* ```
|
|
2013
|
-
* @since v10.0.0
|
|
2014
|
-
*/
|
|
2015
|
-
function isGeneratorFunction(object: unknown): object is GeneratorFunction;
|
|
2016
|
-
/**
|
|
2017
|
-
* Returns `true` if the value is a generator object as returned from a
|
|
2018
|
-
* built-in generator function.
|
|
2019
|
-
* This only reports back what the JavaScript engine is seeing;
|
|
2020
|
-
* in particular, the return value may not match the original source code if
|
|
2021
|
-
* a transpilation tool was used.
|
|
2022
|
-
*
|
|
2023
|
-
* ```js
|
|
2024
|
-
* function* foo() {}
|
|
2025
|
-
* const generator = foo();
|
|
2026
|
-
* util.types.isGeneratorObject(generator); // Returns true
|
|
2027
|
-
* ```
|
|
2028
|
-
* @since v10.0.0
|
|
2029
|
-
*/
|
|
2030
|
-
function isGeneratorObject(object: unknown): object is Generator;
|
|
2031
|
-
/**
|
|
2032
|
-
* Returns `true` if the value is a built-in [`Int8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array) instance.
|
|
2033
|
-
*
|
|
2034
|
-
* ```js
|
|
2035
|
-
* util.types.isInt8Array(new ArrayBuffer()); // Returns false
|
|
2036
|
-
* util.types.isInt8Array(new Int8Array()); // Returns true
|
|
2037
|
-
* util.types.isInt8Array(new Float64Array()); // Returns false
|
|
2038
|
-
* ```
|
|
2039
|
-
* @since v10.0.0
|
|
2040
|
-
*/
|
|
2041
|
-
function isInt8Array(object: unknown): object is Int8Array;
|
|
2042
|
-
/**
|
|
2043
|
-
* Returns `true` if the value is a built-in [`Int16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array) instance.
|
|
2044
|
-
*
|
|
2045
|
-
* ```js
|
|
2046
|
-
* util.types.isInt16Array(new ArrayBuffer()); // Returns false
|
|
2047
|
-
* util.types.isInt16Array(new Int16Array()); // Returns true
|
|
2048
|
-
* util.types.isInt16Array(new Float64Array()); // Returns false
|
|
2049
|
-
* ```
|
|
2050
|
-
* @since v10.0.0
|
|
2051
|
-
*/
|
|
2052
|
-
function isInt16Array(object: unknown): object is Int16Array;
|
|
2053
|
-
/**
|
|
2054
|
-
* Returns `true` if the value is a built-in [`Int32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array) instance.
|
|
2055
|
-
*
|
|
2056
|
-
* ```js
|
|
2057
|
-
* util.types.isInt32Array(new ArrayBuffer()); // Returns false
|
|
2058
|
-
* util.types.isInt32Array(new Int32Array()); // Returns true
|
|
2059
|
-
* util.types.isInt32Array(new Float64Array()); // Returns false
|
|
2060
|
-
* ```
|
|
2061
|
-
* @since v10.0.0
|
|
2062
|
-
*/
|
|
2063
|
-
function isInt32Array(object: unknown): object is Int32Array;
|
|
2064
|
-
/**
|
|
2065
|
-
* Returns `true` if the value is a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance.
|
|
2066
|
-
*
|
|
2067
|
-
* ```js
|
|
2068
|
-
* util.types.isMap(new Map()); // Returns true
|
|
2069
|
-
* ```
|
|
2070
|
-
* @since v10.0.0
|
|
2071
|
-
*/
|
|
2072
|
-
function isMap<T>(
|
|
2073
|
-
object: T | {},
|
|
2074
|
-
): object is T extends ReadonlyMap<any, any> ? (unknown extends T ? never : ReadonlyMap<any, any>)
|
|
2075
|
-
: Map<unknown, unknown>;
|
|
2076
|
-
/**
|
|
2077
|
-
* Returns `true` if the value is an iterator returned for a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance.
|
|
2078
|
-
*
|
|
2079
|
-
* ```js
|
|
2080
|
-
* const map = new Map();
|
|
2081
|
-
* util.types.isMapIterator(map.keys()); // Returns true
|
|
2082
|
-
* util.types.isMapIterator(map.values()); // Returns true
|
|
2083
|
-
* util.types.isMapIterator(map.entries()); // Returns true
|
|
2084
|
-
* util.types.isMapIterator(map[Symbol.iterator]()); // Returns true
|
|
2085
|
-
* ```
|
|
2086
|
-
* @since v10.0.0
|
|
2087
|
-
*/
|
|
2088
|
-
function isMapIterator(object: unknown): boolean;
|
|
2089
|
-
/**
|
|
2090
|
-
* Returns `true` if the value is an instance of a [Module Namespace Object](https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects).
|
|
2091
|
-
*
|
|
2092
|
-
* ```js
|
|
2093
|
-
* import * as ns from './a.js';
|
|
2094
|
-
*
|
|
2095
|
-
* util.types.isModuleNamespaceObject(ns); // Returns true
|
|
2096
|
-
* ```
|
|
2097
|
-
* @since v10.0.0
|
|
2098
|
-
*/
|
|
2099
|
-
function isModuleNamespaceObject(value: unknown): boolean;
|
|
2100
|
-
/**
|
|
2101
|
-
* Returns `true` if the value was returned by the constructor of a [built-in `Error` type](https://tc39.es/ecma262/#sec-error-objects).
|
|
2102
|
-
*
|
|
2103
|
-
* ```js
|
|
2104
|
-
* console.log(util.types.isNativeError(new Error())); // true
|
|
2105
|
-
* console.log(util.types.isNativeError(new TypeError())); // true
|
|
2106
|
-
* console.log(util.types.isNativeError(new RangeError())); // true
|
|
2107
|
-
* ```
|
|
2108
|
-
*
|
|
2109
|
-
* Subclasses of the native error types are also native errors:
|
|
2110
|
-
*
|
|
2111
|
-
* ```js
|
|
2112
|
-
* class MyError extends Error {}
|
|
2113
|
-
* console.log(util.types.isNativeError(new MyError())); // true
|
|
2114
|
-
* ```
|
|
2115
|
-
*
|
|
2116
|
-
* A value being `instanceof` a native error class is not equivalent to `isNativeError()` returning `true` for that value. `isNativeError()` returns `true` for errors
|
|
2117
|
-
* which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false` for these errors:
|
|
2118
|
-
*
|
|
2119
|
-
* ```js
|
|
2120
|
-
* import vm from 'node:vm';
|
|
2121
|
-
* const context = vm.createContext({});
|
|
2122
|
-
* const myError = vm.runInContext('new Error()', context);
|
|
2123
|
-
* console.log(util.types.isNativeError(myError)); // true
|
|
2124
|
-
* console.log(myError instanceof Error); // false
|
|
2125
|
-
* ```
|
|
2126
|
-
*
|
|
2127
|
-
* Conversely, `isNativeError()` returns `false` for all objects which were not
|
|
2128
|
-
* returned by the constructor of a native error. That includes values
|
|
2129
|
-
* which are `instanceof` native errors:
|
|
2130
|
-
*
|
|
2131
|
-
* ```js
|
|
2132
|
-
* const myError = { __proto__: Error.prototype };
|
|
2133
|
-
* console.log(util.types.isNativeError(myError)); // false
|
|
2134
|
-
* console.log(myError instanceof Error); // true
|
|
2135
|
-
* ```
|
|
2136
|
-
* @since v10.0.0
|
|
2137
|
-
*/
|
|
2138
|
-
function isNativeError(object: unknown): object is Error;
|
|
2139
|
-
/**
|
|
2140
|
-
* Returns `true` if the value is a number object, e.g. created
|
|
2141
|
-
* by `new Number()`.
|
|
2142
|
-
*
|
|
2143
|
-
* ```js
|
|
2144
|
-
* util.types.isNumberObject(0); // Returns false
|
|
2145
|
-
* util.types.isNumberObject(new Number(0)); // Returns true
|
|
2146
|
-
* ```
|
|
2147
|
-
* @since v10.0.0
|
|
2148
|
-
*/
|
|
2149
|
-
function isNumberObject(object: unknown): object is Number;
|
|
2150
|
-
/**
|
|
2151
|
-
* Returns `true` if the value is a built-in [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).
|
|
2152
|
-
*
|
|
2153
|
-
* ```js
|
|
2154
|
-
* util.types.isPromise(Promise.resolve(42)); // Returns true
|
|
2155
|
-
* ```
|
|
2156
|
-
* @since v10.0.0
|
|
2157
|
-
*/
|
|
2158
|
-
function isPromise(object: unknown): object is Promise<unknown>;
|
|
2159
|
-
/**
|
|
2160
|
-
* Returns `true` if the value is a [`Proxy`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instance.
|
|
2161
|
-
*
|
|
2162
|
-
* ```js
|
|
2163
|
-
* const target = {};
|
|
2164
|
-
* const proxy = new Proxy(target, {});
|
|
2165
|
-
* util.types.isProxy(target); // Returns false
|
|
2166
|
-
* util.types.isProxy(proxy); // Returns true
|
|
2167
|
-
* ```
|
|
2168
|
-
* @since v10.0.0
|
|
2169
|
-
*/
|
|
2170
|
-
function isProxy(object: unknown): boolean;
|
|
2171
|
-
/**
|
|
2172
|
-
* Returns `true` if the value is a regular expression object.
|
|
2173
|
-
*
|
|
2174
|
-
* ```js
|
|
2175
|
-
* util.types.isRegExp(/abc/); // Returns true
|
|
2176
|
-
* util.types.isRegExp(new RegExp('abc')); // Returns true
|
|
2177
|
-
* ```
|
|
2178
|
-
* @since v10.0.0
|
|
2179
|
-
*/
|
|
2180
|
-
function isRegExp(object: unknown): object is RegExp;
|
|
2181
|
-
/**
|
|
2182
|
-
* Returns `true` if the value is a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance.
|
|
2183
|
-
*
|
|
2184
|
-
* ```js
|
|
2185
|
-
* util.types.isSet(new Set()); // Returns true
|
|
2186
|
-
* ```
|
|
2187
|
-
* @since v10.0.0
|
|
2188
|
-
*/
|
|
2189
|
-
function isSet<T>(
|
|
2190
|
-
object: T | {},
|
|
2191
|
-
): object is T extends ReadonlySet<any> ? (unknown extends T ? never : ReadonlySet<any>) : Set<unknown>;
|
|
2192
|
-
/**
|
|
2193
|
-
* Returns `true` if the value is an iterator returned for a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance.
|
|
2194
|
-
*
|
|
2195
|
-
* ```js
|
|
2196
|
-
* const set = new Set();
|
|
2197
|
-
* util.types.isSetIterator(set.keys()); // Returns true
|
|
2198
|
-
* util.types.isSetIterator(set.values()); // Returns true
|
|
2199
|
-
* util.types.isSetIterator(set.entries()); // Returns true
|
|
2200
|
-
* util.types.isSetIterator(set[Symbol.iterator]()); // Returns true
|
|
2201
|
-
* ```
|
|
2202
|
-
* @since v10.0.0
|
|
2203
|
-
*/
|
|
2204
|
-
function isSetIterator(object: unknown): boolean;
|
|
2205
|
-
/**
|
|
2206
|
-
* Returns `true` if the value is a built-in [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance.
|
|
2207
|
-
* This does _not_ include [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instances. Usually, it is
|
|
2208
|
-
* desirable to test for both; See `util.types.isAnyArrayBuffer()` for that.
|
|
2209
|
-
*
|
|
2210
|
-
* ```js
|
|
2211
|
-
* util.types.isSharedArrayBuffer(new ArrayBuffer()); // Returns false
|
|
2212
|
-
* util.types.isSharedArrayBuffer(new SharedArrayBuffer()); // Returns true
|
|
2213
|
-
* ```
|
|
2214
|
-
* @since v10.0.0
|
|
2215
|
-
*/
|
|
2216
|
-
function isSharedArrayBuffer(object: unknown): object is SharedArrayBuffer;
|
|
2217
|
-
/**
|
|
2218
|
-
* Returns `true` if the value is a string object, e.g. created
|
|
2219
|
-
* by `new String()`.
|
|
2220
|
-
*
|
|
2221
|
-
* ```js
|
|
2222
|
-
* util.types.isStringObject('foo'); // Returns false
|
|
2223
|
-
* util.types.isStringObject(new String('foo')); // Returns true
|
|
2224
|
-
* ```
|
|
2225
|
-
* @since v10.0.0
|
|
2226
|
-
*/
|
|
2227
|
-
function isStringObject(object: unknown): object is String;
|
|
2228
|
-
/**
|
|
2229
|
-
* Returns `true` if the value is a symbol object, created
|
|
2230
|
-
* by calling `Object()` on a `Symbol` primitive.
|
|
2231
|
-
*
|
|
2232
|
-
* ```js
|
|
2233
|
-
* const symbol = Symbol('foo');
|
|
2234
|
-
* util.types.isSymbolObject(symbol); // Returns false
|
|
2235
|
-
* util.types.isSymbolObject(Object(symbol)); // Returns true
|
|
2236
|
-
* ```
|
|
2237
|
-
* @since v10.0.0
|
|
2238
|
-
*/
|
|
2239
|
-
function isSymbolObject(object: unknown): object is Symbol;
|
|
2240
|
-
/**
|
|
2241
|
-
* Returns `true` if the value is a built-in [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) instance.
|
|
2242
|
-
*
|
|
2243
|
-
* ```js
|
|
2244
|
-
* util.types.isTypedArray(new ArrayBuffer()); // Returns false
|
|
2245
|
-
* util.types.isTypedArray(new Uint8Array()); // Returns true
|
|
2246
|
-
* util.types.isTypedArray(new Float64Array()); // Returns true
|
|
2247
|
-
* ```
|
|
2248
|
-
*
|
|
2249
|
-
* See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
|
|
2250
|
-
* @since v10.0.0
|
|
2251
|
-
*/
|
|
2252
|
-
function isTypedArray(object: unknown): object is NodeJS.TypedArray;
|
|
2253
|
-
/**
|
|
2254
|
-
* Returns `true` if the value is a built-in [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) instance.
|
|
2255
|
-
*
|
|
2256
|
-
* ```js
|
|
2257
|
-
* util.types.isUint8Array(new ArrayBuffer()); // Returns false
|
|
2258
|
-
* util.types.isUint8Array(new Uint8Array()); // Returns true
|
|
2259
|
-
* util.types.isUint8Array(new Float64Array()); // Returns false
|
|
2260
|
-
* ```
|
|
2261
|
-
* @since v10.0.0
|
|
2262
|
-
*/
|
|
2263
|
-
function isUint8Array(object: unknown): object is Uint8Array;
|
|
2264
|
-
/**
|
|
2265
|
-
* Returns `true` if the value is a built-in [`Uint8ClampedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray) instance.
|
|
2266
|
-
*
|
|
2267
|
-
* ```js
|
|
2268
|
-
* util.types.isUint8ClampedArray(new ArrayBuffer()); // Returns false
|
|
2269
|
-
* util.types.isUint8ClampedArray(new Uint8ClampedArray()); // Returns true
|
|
2270
|
-
* util.types.isUint8ClampedArray(new Float64Array()); // Returns false
|
|
2271
|
-
* ```
|
|
2272
|
-
* @since v10.0.0
|
|
2273
|
-
*/
|
|
2274
|
-
function isUint8ClampedArray(object: unknown): object is Uint8ClampedArray;
|
|
2275
|
-
/**
|
|
2276
|
-
* Returns `true` if the value is a built-in [`Uint16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array) instance.
|
|
2277
|
-
*
|
|
2278
|
-
* ```js
|
|
2279
|
-
* util.types.isUint16Array(new ArrayBuffer()); // Returns false
|
|
2280
|
-
* util.types.isUint16Array(new Uint16Array()); // Returns true
|
|
2281
|
-
* util.types.isUint16Array(new Float64Array()); // Returns false
|
|
2282
|
-
* ```
|
|
2283
|
-
* @since v10.0.0
|
|
2284
|
-
*/
|
|
2285
|
-
function isUint16Array(object: unknown): object is Uint16Array;
|
|
2286
|
-
/**
|
|
2287
|
-
* Returns `true` if the value is a built-in [`Uint32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array) instance.
|
|
2288
|
-
*
|
|
2289
|
-
* ```js
|
|
2290
|
-
* util.types.isUint32Array(new ArrayBuffer()); // Returns false
|
|
2291
|
-
* util.types.isUint32Array(new Uint32Array()); // Returns true
|
|
2292
|
-
* util.types.isUint32Array(new Float64Array()); // Returns false
|
|
2293
|
-
* ```
|
|
2294
|
-
* @since v10.0.0
|
|
2295
|
-
*/
|
|
2296
|
-
function isUint32Array(object: unknown): object is Uint32Array;
|
|
2297
|
-
/**
|
|
2298
|
-
* Returns `true` if the value is a built-in [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) instance.
|
|
2299
|
-
*
|
|
2300
|
-
* ```js
|
|
2301
|
-
* util.types.isWeakMap(new WeakMap()); // Returns true
|
|
2302
|
-
* ```
|
|
2303
|
-
* @since v10.0.0
|
|
2304
|
-
*/
|
|
2305
|
-
function isWeakMap(object: unknown): object is WeakMap<object, unknown>;
|
|
2306
|
-
/**
|
|
2307
|
-
* Returns `true` if the value is a built-in [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) instance.
|
|
2308
|
-
*
|
|
2309
|
-
* ```js
|
|
2310
|
-
* util.types.isWeakSet(new WeakSet()); // Returns true
|
|
2311
|
-
* ```
|
|
2312
|
-
* @since v10.0.0
|
|
2313
|
-
*/
|
|
2314
|
-
function isWeakSet(object: unknown): object is WeakSet<object>;
|
|
2315
|
-
/**
|
|
2316
|
-
* Returns `true` if `value` is a `KeyObject`, `false` otherwise.
|
|
2317
|
-
* @since v16.2.0
|
|
2318
|
-
*/
|
|
2319
|
-
function isKeyObject(object: unknown): object is KeyObject;
|
|
2320
|
-
/**
|
|
2321
|
-
* Returns `true` if `value` is a `CryptoKey`, `false` otherwise.
|
|
2322
|
-
* @since v16.2.0
|
|
2323
|
-
*/
|
|
2324
|
-
function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
|
|
2325
|
-
}
|
|
2326
|
-
declare module "node:util" {
|
|
2327
|
-
export * from "util";
|
|
2328
|
-
}
|
|
2329
|
-
declare module "node:util/types" {
|
|
2330
|
-
export * from "util/types";
|
|
1675
|
+
declare module "util" {
|
|
1676
|
+
export * from "node:util";
|
|
2331
1677
|
}
|