@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,22 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* The `node:crypto` module provides cryptographic functionality that includes a
|
|
3
|
-
* set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify
|
|
4
|
-
* functions.
|
|
5
|
-
*
|
|
6
|
-
* ```js
|
|
7
|
-
* const { createHmac } = await import('node:crypto');
|
|
8
|
-
*
|
|
9
|
-
* const secret = 'abcdefg';
|
|
10
|
-
* const hash = createHmac('sha256', secret)
|
|
11
|
-
* .update('I love cupcakes')
|
|
12
|
-
* .digest('hex');
|
|
13
|
-
* console.log(hash);
|
|
14
|
-
* // Prints:
|
|
15
|
-
* // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e
|
|
16
|
-
* ```
|
|
17
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/crypto.js)
|
|
18
|
-
*/
|
|
19
|
-
declare module "crypto" {
|
|
1
|
+
declare module "node:crypto" {
|
|
20
2
|
import { NonSharedBuffer } from "node:buffer";
|
|
21
3
|
import * as stream from "node:stream";
|
|
22
4
|
import { PeerCertificate } from "node:tls";
|
|
@@ -97,7 +79,7 @@ declare module "crypto" {
|
|
|
97
79
|
verifySpkac(spkac: NodeJS.ArrayBufferView): boolean;
|
|
98
80
|
}
|
|
99
81
|
namespace constants {
|
|
100
|
-
// https://nodejs.org/dist/latest-
|
|
82
|
+
// https://nodejs.org/dist/latest-v25.x/docs/api/crypto.html#crypto-constants
|
|
101
83
|
const OPENSSL_VERSION_NUMBER: number;
|
|
102
84
|
/** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */
|
|
103
85
|
const SSL_OP_ALL: number;
|
|
@@ -471,7 +453,6 @@ declare module "crypto" {
|
|
|
471
453
|
* // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e
|
|
472
454
|
* ```
|
|
473
455
|
* @since v0.1.94
|
|
474
|
-
* @deprecated Since v20.13.0 Calling `Hmac` class directly with `Hmac()` or `new Hmac()` is deprecated due to being internals, not intended for public use. Please use the {@link createHmac} method to create Hmac instances.
|
|
475
456
|
*/
|
|
476
457
|
class Hmac extends stream.Transform {
|
|
477
458
|
private constructor();
|
|
@@ -500,32 +481,66 @@ declare module "crypto" {
|
|
|
500
481
|
digest(): NonSharedBuffer;
|
|
501
482
|
digest(encoding: BinaryToTextEncoding): string;
|
|
502
483
|
}
|
|
484
|
+
type KeyFormat = "pem" | "der" | "jwk";
|
|
503
485
|
type KeyObjectType = "secret" | "public" | "private";
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
486
|
+
type PublicKeyExportType = "pkcs1" | "spki";
|
|
487
|
+
type PrivateKeyExportType = "pkcs1" | "pkcs8" | "sec1";
|
|
488
|
+
type KeyExportOptions =
|
|
489
|
+
| SymmetricKeyExportOptions
|
|
490
|
+
| PublicKeyExportOptions
|
|
491
|
+
| PrivateKeyExportOptions
|
|
492
|
+
| JwkKeyExportOptions;
|
|
493
|
+
interface SymmetricKeyExportOptions {
|
|
494
|
+
format?: "buffer" | undefined;
|
|
495
|
+
}
|
|
496
|
+
interface PublicKeyExportOptions<T extends PublicKeyExportType = PublicKeyExportType> {
|
|
497
|
+
type: T;
|
|
498
|
+
format: Exclude<KeyFormat, "jwk">;
|
|
499
|
+
}
|
|
500
|
+
interface PrivateKeyExportOptions<T extends PrivateKeyExportType = PrivateKeyExportType> {
|
|
501
|
+
type: T;
|
|
502
|
+
format: Exclude<KeyFormat, "jwk">;
|
|
507
503
|
cipher?: string | undefined;
|
|
508
504
|
passphrase?: string | Buffer | undefined;
|
|
509
505
|
}
|
|
510
506
|
interface JwkKeyExportOptions {
|
|
511
507
|
format: "jwk";
|
|
512
508
|
}
|
|
513
|
-
interface
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
509
|
+
interface KeyPairExportOptions<
|
|
510
|
+
TPublic extends PublicKeyExportType = PublicKeyExportType,
|
|
511
|
+
TPrivate extends PrivateKeyExportType = PrivateKeyExportType,
|
|
512
|
+
> {
|
|
513
|
+
publicKeyEncoding?: PublicKeyExportOptions<TPublic> | JwkKeyExportOptions | undefined;
|
|
514
|
+
privateKeyEncoding?: PrivateKeyExportOptions<TPrivate> | JwkKeyExportOptions | undefined;
|
|
515
|
+
}
|
|
516
|
+
type KeyExportResult<T, Default> = T extends { format: infer F extends KeyFormat }
|
|
517
|
+
? { der: NonSharedBuffer; jwk: webcrypto.JsonWebKey; pem: string }[F]
|
|
518
|
+
: Default;
|
|
519
|
+
interface KeyPairExportResult<T extends KeyPairExportOptions> {
|
|
520
|
+
publicKey: KeyExportResult<T["publicKeyEncoding"], KeyObject>;
|
|
521
|
+
privateKey: KeyExportResult<T["privateKeyEncoding"], KeyObject>;
|
|
522
|
+
}
|
|
523
|
+
type KeyPairExportCallback<T extends KeyPairExportOptions> = (
|
|
524
|
+
err: Error | null,
|
|
525
|
+
publicKey: KeyExportResult<T["publicKeyEncoding"], KeyObject>,
|
|
526
|
+
privateKey: KeyExportResult<T["privateKeyEncoding"], KeyObject>,
|
|
527
|
+
) => void;
|
|
528
|
+
type MLDSAKeyType = `ml-dsa-${44 | 65 | 87}`;
|
|
529
|
+
type MLKEMKeyType = `ml-kem-${1024 | 512 | 768}`;
|
|
530
|
+
type SLHDSAKeyType = `slh-dsa-${"sha2" | "shake"}-${128 | 192 | 256}${"f" | "s"}`;
|
|
531
|
+
type AsymmetricKeyType =
|
|
532
|
+
| "dh"
|
|
533
|
+
| "dsa"
|
|
534
|
+
| "ec"
|
|
535
|
+
| "ed25519"
|
|
536
|
+
| "ed448"
|
|
537
|
+
| MLDSAKeyType
|
|
538
|
+
| MLKEMKeyType
|
|
539
|
+
| "rsa-pss"
|
|
540
|
+
| "rsa"
|
|
541
|
+
| SLHDSAKeyType
|
|
542
|
+
| "x25519"
|
|
543
|
+
| "x448";
|
|
529
544
|
interface AsymmetricKeyDetails {
|
|
530
545
|
/**
|
|
531
546
|
* Key size in bits (RSA, DSA).
|
|
@@ -592,24 +607,14 @@ declare module "crypto" {
|
|
|
592
607
|
*/
|
|
593
608
|
static from(key: webcrypto.CryptoKey): KeyObject;
|
|
594
609
|
/**
|
|
595
|
-
* For asymmetric keys, this property represents the type of the key.
|
|
596
|
-
* types
|
|
597
|
-
*
|
|
598
|
-
* * `'rsa'` (OID 1.2.840.113549.1.1.1)
|
|
599
|
-
* * `'rsa-pss'` (OID 1.2.840.113549.1.1.10)
|
|
600
|
-
* * `'dsa'` (OID 1.2.840.10040.4.1)
|
|
601
|
-
* * `'ec'` (OID 1.2.840.10045.2.1)
|
|
602
|
-
* * `'x25519'` (OID 1.3.101.110)
|
|
603
|
-
* * `'x448'` (OID 1.3.101.111)
|
|
604
|
-
* * `'ed25519'` (OID 1.3.101.112)
|
|
605
|
-
* * `'ed448'` (OID 1.3.101.113)
|
|
606
|
-
* * `'dh'` (OID 1.2.840.113549.1.3.1)
|
|
610
|
+
* For asymmetric keys, this property represents the type of the key. See the
|
|
611
|
+
* supported [asymmetric key types](https://nodejs.org/docs/latest-v25.x/api/crypto.html#asymmetric-key-types).
|
|
607
612
|
*
|
|
608
613
|
* This property is `undefined` for unrecognized `KeyObject` types and symmetric
|
|
609
614
|
* keys.
|
|
610
615
|
* @since v11.6.0
|
|
611
616
|
*/
|
|
612
|
-
asymmetricKeyType?:
|
|
617
|
+
asymmetricKeyType?: AsymmetricKeyType;
|
|
613
618
|
/**
|
|
614
619
|
* This property exists only on asymmetric keys. Depending on the type of the key,
|
|
615
620
|
* this object contains information about the key. None of the information obtained
|
|
@@ -647,9 +652,7 @@ declare module "crypto" {
|
|
|
647
652
|
* PKCS#1 and SEC1 encryption.
|
|
648
653
|
* @since v11.6.0
|
|
649
654
|
*/
|
|
650
|
-
export(options
|
|
651
|
-
export(options?: KeyExportOptions<"der">): NonSharedBuffer;
|
|
652
|
-
export(options?: JwkKeyExportOptions): JsonWebKey;
|
|
655
|
+
export<T extends KeyExportOptions = {}>(options?: T): KeyExportResult<T, NonSharedBuffer>;
|
|
653
656
|
/**
|
|
654
657
|
* Returns `true` or `false` depending on whether the keys have exactly the same
|
|
655
658
|
* type, value, and parameters. This method is not [constant time](https://en.wikipedia.org/wiki/Timing_attack).
|
|
@@ -663,6 +666,19 @@ declare module "crypto" {
|
|
|
663
666
|
* @since v11.6.0
|
|
664
667
|
*/
|
|
665
668
|
symmetricKeySize?: number;
|
|
669
|
+
/**
|
|
670
|
+
* Converts a `KeyObject` instance to a `CryptoKey`.
|
|
671
|
+
* @since 22.10.0
|
|
672
|
+
*/
|
|
673
|
+
toCryptoKey(
|
|
674
|
+
algorithm:
|
|
675
|
+
| webcrypto.AlgorithmIdentifier
|
|
676
|
+
| webcrypto.RsaHashedImportParams
|
|
677
|
+
| webcrypto.EcKeyImportParams
|
|
678
|
+
| webcrypto.HmacImportParams,
|
|
679
|
+
extractable: boolean,
|
|
680
|
+
keyUsages: readonly webcrypto.KeyUsage[],
|
|
681
|
+
): webcrypto.CryptoKey;
|
|
666
682
|
/**
|
|
667
683
|
* Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys
|
|
668
684
|
* or `'private'` for private (asymmetric) keys.
|
|
@@ -689,56 +705,6 @@ declare module "crypto" {
|
|
|
689
705
|
/** @default 16 */
|
|
690
706
|
authTagLength?: number | undefined;
|
|
691
707
|
}
|
|
692
|
-
/**
|
|
693
|
-
* Creates and returns a `Cipher` object that uses the given `algorithm` and `password`.
|
|
694
|
-
*
|
|
695
|
-
* The `options` argument controls stream behavior and is optional except when a
|
|
696
|
-
* cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the
|
|
697
|
-
* authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication
|
|
698
|
-
* tag that will be returned by `getAuthTag()` and defaults to 16 bytes.
|
|
699
|
-
* For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes.
|
|
700
|
-
*
|
|
701
|
-
* The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On
|
|
702
|
-
* recent OpenSSL releases, `openssl list -cipher-algorithms` will
|
|
703
|
-
* display the available cipher algorithms.
|
|
704
|
-
*
|
|
705
|
-
* The `password` is used to derive the cipher key and initialization vector (IV).
|
|
706
|
-
* The value must be either a `'latin1'` encoded string, a `Buffer`, a`TypedArray`, or a `DataView`.
|
|
707
|
-
*
|
|
708
|
-
* **This function is semantically insecure for all**
|
|
709
|
-
* **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,**
|
|
710
|
-
* **GCM, or CCM).**
|
|
711
|
-
*
|
|
712
|
-
* The implementation of `crypto.createCipher()` derives keys using the OpenSSL
|
|
713
|
-
* function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one
|
|
714
|
-
* iteration, and no salt. The lack of salt allows dictionary attacks as the same
|
|
715
|
-
* password always creates the same key. The low iteration count and
|
|
716
|
-
* non-cryptographically secure hash algorithm allow passwords to be tested very
|
|
717
|
-
* rapidly.
|
|
718
|
-
*
|
|
719
|
-
* In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that
|
|
720
|
-
* developers derive a key and IV on
|
|
721
|
-
* their own using {@link scrypt} and to use {@link createCipheriv} to create the `Cipher` object. Users should not use ciphers with counter mode
|
|
722
|
-
* (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when
|
|
723
|
-
* they are used in order to avoid the risk of IV reuse that causes
|
|
724
|
-
* vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting Adversaries](https://github.com/nonce-disrespect/nonce-disrespect) for details.
|
|
725
|
-
* @since v0.1.94
|
|
726
|
-
* @deprecated Since v10.0.0 - Use {@link createCipheriv} instead.
|
|
727
|
-
* @param options `stream.transform` options
|
|
728
|
-
*/
|
|
729
|
-
function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM;
|
|
730
|
-
/** @deprecated since v10.0.0 use `createCipheriv()` */
|
|
731
|
-
function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM;
|
|
732
|
-
/** @deprecated since v10.0.0 use `createCipheriv()` */
|
|
733
|
-
function createCipher(algorithm: CipherOCBTypes, password: BinaryLike, options: CipherOCBOptions): CipherOCB;
|
|
734
|
-
/** @deprecated since v10.0.0 use `createCipheriv()` */
|
|
735
|
-
function createCipher(
|
|
736
|
-
algorithm: CipherChaCha20Poly1305Types,
|
|
737
|
-
password: BinaryLike,
|
|
738
|
-
options?: CipherChaCha20Poly1305Options,
|
|
739
|
-
): CipherChaCha20Poly1305;
|
|
740
|
-
/** @deprecated since v10.0.0 use `createCipheriv()` */
|
|
741
|
-
function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher;
|
|
742
708
|
/**
|
|
743
709
|
* Creates and returns a `Cipher` object, with the given `algorithm`, `key` and
|
|
744
710
|
* initialization vector (`iv`).
|
|
@@ -798,9 +764,9 @@ declare module "crypto" {
|
|
|
798
764
|
key: CipherKey,
|
|
799
765
|
iv: BinaryLike | null,
|
|
800
766
|
options?: stream.TransformOptions,
|
|
801
|
-
):
|
|
767
|
+
): Cipheriv;
|
|
802
768
|
/**
|
|
803
|
-
* Instances of the `
|
|
769
|
+
* Instances of the `Cipheriv` class are used to encrypt data. The class can be
|
|
804
770
|
* used in one of two ways:
|
|
805
771
|
*
|
|
806
772
|
* * As a `stream` that is both readable and writable, where plain unencrypted
|
|
@@ -808,11 +774,11 @@ declare module "crypto" {
|
|
|
808
774
|
* * Using the `cipher.update()` and `cipher.final()` methods to produce
|
|
809
775
|
* the encrypted data.
|
|
810
776
|
*
|
|
811
|
-
* The {@link
|
|
812
|
-
* used to create `
|
|
777
|
+
* The {@link createCipheriv} method is
|
|
778
|
+
* used to create `Cipheriv` instances. `Cipheriv` objects are not to be created
|
|
813
779
|
* directly using the `new` keyword.
|
|
814
780
|
*
|
|
815
|
-
* Example: Using `
|
|
781
|
+
* Example: Using `Cipheriv` objects as streams:
|
|
816
782
|
*
|
|
817
783
|
* ```js
|
|
818
784
|
* const {
|
|
@@ -847,7 +813,7 @@ declare module "crypto" {
|
|
|
847
813
|
* });
|
|
848
814
|
* ```
|
|
849
815
|
*
|
|
850
|
-
* Example: Using `
|
|
816
|
+
* Example: Using `Cipheriv` and piped streams:
|
|
851
817
|
*
|
|
852
818
|
* ```js
|
|
853
819
|
* import {
|
|
@@ -918,7 +884,7 @@ declare module "crypto" {
|
|
|
918
884
|
* ```
|
|
919
885
|
* @since v0.1.94
|
|
920
886
|
*/
|
|
921
|
-
class
|
|
887
|
+
class Cipheriv extends stream.Transform {
|
|
922
888
|
private constructor();
|
|
923
889
|
/**
|
|
924
890
|
* Updates the cipher with `data`. If the `inputEncoding` argument is given,
|
|
@@ -939,7 +905,7 @@ declare module "crypto" {
|
|
|
939
905
|
update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string;
|
|
940
906
|
update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string;
|
|
941
907
|
/**
|
|
942
|
-
* Once the `cipher.final()` method has been called, the `
|
|
908
|
+
* Once the `cipher.final()` method has been called, the `Cipheriv` object can no
|
|
943
909
|
* longer be used to encrypt data. Attempts to call `cipher.final()` more than
|
|
944
910
|
* once will result in an error being thrown.
|
|
945
911
|
* @since v0.1.94
|
|
@@ -949,7 +915,7 @@ declare module "crypto" {
|
|
|
949
915
|
final(): NonSharedBuffer;
|
|
950
916
|
final(outputEncoding: BufferEncoding): string;
|
|
951
917
|
/**
|
|
952
|
-
* When using block encryption algorithms, the `
|
|
918
|
+
* When using block encryption algorithms, the `Cipheriv` class will automatically
|
|
953
919
|
* add padding to the input data to the appropriate block size. To disable the
|
|
954
920
|
* default padding call `cipher.setAutoPadding(false)`.
|
|
955
921
|
*
|
|
@@ -965,7 +931,7 @@ declare module "crypto" {
|
|
|
965
931
|
*/
|
|
966
932
|
setAutoPadding(autoPadding?: boolean): this;
|
|
967
933
|
}
|
|
968
|
-
interface CipherCCM extends
|
|
934
|
+
interface CipherCCM extends Cipheriv {
|
|
969
935
|
setAAD(
|
|
970
936
|
buffer: NodeJS.ArrayBufferView,
|
|
971
937
|
options: {
|
|
@@ -974,7 +940,7 @@ declare module "crypto" {
|
|
|
974
940
|
): this;
|
|
975
941
|
getAuthTag(): NonSharedBuffer;
|
|
976
942
|
}
|
|
977
|
-
interface CipherGCM extends
|
|
943
|
+
interface CipherGCM extends Cipheriv {
|
|
978
944
|
setAAD(
|
|
979
945
|
buffer: NodeJS.ArrayBufferView,
|
|
980
946
|
options?: {
|
|
@@ -983,7 +949,7 @@ declare module "crypto" {
|
|
|
983
949
|
): this;
|
|
984
950
|
getAuthTag(): NonSharedBuffer;
|
|
985
951
|
}
|
|
986
|
-
interface CipherOCB extends
|
|
952
|
+
interface CipherOCB extends Cipheriv {
|
|
987
953
|
setAAD(
|
|
988
954
|
buffer: NodeJS.ArrayBufferView,
|
|
989
955
|
options?: {
|
|
@@ -992,7 +958,7 @@ declare module "crypto" {
|
|
|
992
958
|
): this;
|
|
993
959
|
getAuthTag(): NonSharedBuffer;
|
|
994
960
|
}
|
|
995
|
-
interface CipherChaCha20Poly1305 extends
|
|
961
|
+
interface CipherChaCha20Poly1305 extends Cipheriv {
|
|
996
962
|
setAAD(
|
|
997
963
|
buffer: NodeJS.ArrayBufferView,
|
|
998
964
|
options: {
|
|
@@ -1002,46 +968,7 @@ declare module "crypto" {
|
|
|
1002
968
|
getAuthTag(): NonSharedBuffer;
|
|
1003
969
|
}
|
|
1004
970
|
/**
|
|
1005
|
-
* Creates and returns a `
|
|
1006
|
-
*
|
|
1007
|
-
* The `options` argument controls stream behavior and is optional except when a
|
|
1008
|
-
* cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the `authTagLength` option is required and specifies the length of the
|
|
1009
|
-
* authentication tag in bytes, see `CCM mode`.
|
|
1010
|
-
* For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes.
|
|
1011
|
-
*
|
|
1012
|
-
* **This function is semantically insecure for all**
|
|
1013
|
-
* **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,**
|
|
1014
|
-
* **GCM, or CCM).**
|
|
1015
|
-
*
|
|
1016
|
-
* The implementation of `crypto.createDecipher()` derives keys using the OpenSSL
|
|
1017
|
-
* function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one
|
|
1018
|
-
* iteration, and no salt. The lack of salt allows dictionary attacks as the same
|
|
1019
|
-
* password always creates the same key. The low iteration count and
|
|
1020
|
-
* non-cryptographically secure hash algorithm allow passwords to be tested very
|
|
1021
|
-
* rapidly.
|
|
1022
|
-
*
|
|
1023
|
-
* In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that
|
|
1024
|
-
* developers derive a key and IV on
|
|
1025
|
-
* their own using {@link scrypt} and to use {@link createDecipheriv} to create the `Decipher` object.
|
|
1026
|
-
* @since v0.1.94
|
|
1027
|
-
* @deprecated Since v10.0.0 - Use {@link createDecipheriv} instead.
|
|
1028
|
-
* @param options `stream.transform` options
|
|
1029
|
-
*/
|
|
1030
|
-
function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM;
|
|
1031
|
-
/** @deprecated since v10.0.0 use `createDecipheriv()` */
|
|
1032
|
-
function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
|
|
1033
|
-
/** @deprecated since v10.0.0 use `createDecipheriv()` */
|
|
1034
|
-
function createDecipher(algorithm: CipherOCBTypes, password: BinaryLike, options: CipherOCBOptions): DecipherOCB;
|
|
1035
|
-
/** @deprecated since v10.0.0 use `createDecipheriv()` */
|
|
1036
|
-
function createDecipher(
|
|
1037
|
-
algorithm: CipherChaCha20Poly1305Types,
|
|
1038
|
-
password: BinaryLike,
|
|
1039
|
-
options?: CipherChaCha20Poly1305Options,
|
|
1040
|
-
): DecipherChaCha20Poly1305;
|
|
1041
|
-
/** @deprecated since v10.0.0 use `createDecipheriv()` */
|
|
1042
|
-
function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher;
|
|
1043
|
-
/**
|
|
1044
|
-
* Creates and returns a `Decipher` object that uses the given `algorithm`, `key` and initialization vector (`iv`).
|
|
971
|
+
* Creates and returns a `Decipheriv` object that uses the given `algorithm`, `key` and initialization vector (`iv`).
|
|
1045
972
|
*
|
|
1046
973
|
* The `options` argument controls stream behavior and is optional except when a
|
|
1047
974
|
* cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the `authTagLength` option is required and specifies the length of the
|
|
@@ -1098,9 +1025,9 @@ declare module "crypto" {
|
|
|
1098
1025
|
key: CipherKey,
|
|
1099
1026
|
iv: BinaryLike | null,
|
|
1100
1027
|
options?: stream.TransformOptions,
|
|
1101
|
-
):
|
|
1028
|
+
): Decipheriv;
|
|
1102
1029
|
/**
|
|
1103
|
-
* Instances of the `
|
|
1030
|
+
* Instances of the `Decipheriv` class are used to decrypt data. The class can be
|
|
1104
1031
|
* used in one of two ways:
|
|
1105
1032
|
*
|
|
1106
1033
|
* * As a `stream` that is both readable and writable, where plain encrypted
|
|
@@ -1108,11 +1035,11 @@ declare module "crypto" {
|
|
|
1108
1035
|
* * Using the `decipher.update()` and `decipher.final()` methods to
|
|
1109
1036
|
* produce the unencrypted data.
|
|
1110
1037
|
*
|
|
1111
|
-
* The {@link
|
|
1112
|
-
* used to create `
|
|
1038
|
+
* The {@link createDecipheriv} method is
|
|
1039
|
+
* used to create `Decipheriv` instances. `Decipheriv` objects are not to be created
|
|
1113
1040
|
* directly using the `new` keyword.
|
|
1114
1041
|
*
|
|
1115
|
-
* Example: Using `
|
|
1042
|
+
* Example: Using `Decipheriv` objects as streams:
|
|
1116
1043
|
*
|
|
1117
1044
|
* ```js
|
|
1118
1045
|
* import { Buffer } from 'node:buffer';
|
|
@@ -1151,7 +1078,7 @@ declare module "crypto" {
|
|
|
1151
1078
|
* decipher.end();
|
|
1152
1079
|
* ```
|
|
1153
1080
|
*
|
|
1154
|
-
* Example: Using `
|
|
1081
|
+
* Example: Using `Decipheriv` and piped streams:
|
|
1155
1082
|
*
|
|
1156
1083
|
* ```js
|
|
1157
1084
|
* import {
|
|
@@ -1207,7 +1134,7 @@ declare module "crypto" {
|
|
|
1207
1134
|
* ```
|
|
1208
1135
|
* @since v0.1.94
|
|
1209
1136
|
*/
|
|
1210
|
-
class
|
|
1137
|
+
class Decipheriv extends stream.Transform {
|
|
1211
1138
|
private constructor();
|
|
1212
1139
|
/**
|
|
1213
1140
|
* Updates the decipher with `data`. If the `inputEncoding` argument is given,
|
|
@@ -1228,7 +1155,7 @@ declare module "crypto" {
|
|
|
1228
1155
|
update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string;
|
|
1229
1156
|
update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string;
|
|
1230
1157
|
/**
|
|
1231
|
-
* Once the `decipher.final()` method has been called, the `
|
|
1158
|
+
* Once the `decipher.final()` method has been called, the `Decipheriv` object can
|
|
1232
1159
|
* no longer be used to decrypt data. Attempts to call `decipher.final()` more
|
|
1233
1160
|
* than once will result in an error being thrown.
|
|
1234
1161
|
* @since v0.1.94
|
|
@@ -1251,7 +1178,7 @@ declare module "crypto" {
|
|
|
1251
1178
|
*/
|
|
1252
1179
|
setAutoPadding(auto_padding?: boolean): this;
|
|
1253
1180
|
}
|
|
1254
|
-
interface DecipherCCM extends
|
|
1181
|
+
interface DecipherCCM extends Decipheriv {
|
|
1255
1182
|
setAuthTag(buffer: NodeJS.ArrayBufferView): this;
|
|
1256
1183
|
setAAD(
|
|
1257
1184
|
buffer: NodeJS.ArrayBufferView,
|
|
@@ -1260,7 +1187,7 @@ declare module "crypto" {
|
|
|
1260
1187
|
},
|
|
1261
1188
|
): this;
|
|
1262
1189
|
}
|
|
1263
|
-
interface DecipherGCM extends
|
|
1190
|
+
interface DecipherGCM extends Decipheriv {
|
|
1264
1191
|
setAuthTag(buffer: NodeJS.ArrayBufferView): this;
|
|
1265
1192
|
setAAD(
|
|
1266
1193
|
buffer: NodeJS.ArrayBufferView,
|
|
@@ -1269,7 +1196,7 @@ declare module "crypto" {
|
|
|
1269
1196
|
},
|
|
1270
1197
|
): this;
|
|
1271
1198
|
}
|
|
1272
|
-
interface DecipherOCB extends
|
|
1199
|
+
interface DecipherOCB extends Decipheriv {
|
|
1273
1200
|
setAuthTag(buffer: NodeJS.ArrayBufferView): this;
|
|
1274
1201
|
setAAD(
|
|
1275
1202
|
buffer: NodeJS.ArrayBufferView,
|
|
@@ -1278,7 +1205,7 @@ declare module "crypto" {
|
|
|
1278
1205
|
},
|
|
1279
1206
|
): this;
|
|
1280
1207
|
}
|
|
1281
|
-
interface DecipherChaCha20Poly1305 extends
|
|
1208
|
+
interface DecipherChaCha20Poly1305 extends Decipheriv {
|
|
1282
1209
|
setAuthTag(buffer: NodeJS.ArrayBufferView): this;
|
|
1283
1210
|
setAAD(
|
|
1284
1211
|
buffer: NodeJS.ArrayBufferView,
|
|
@@ -1290,14 +1217,14 @@ declare module "crypto" {
|
|
|
1290
1217
|
interface PrivateKeyInput {
|
|
1291
1218
|
key: string | Buffer;
|
|
1292
1219
|
format?: KeyFormat | undefined;
|
|
1293
|
-
type?:
|
|
1220
|
+
type?: PrivateKeyExportType | undefined;
|
|
1294
1221
|
passphrase?: string | Buffer | undefined;
|
|
1295
1222
|
encoding?: string | undefined;
|
|
1296
1223
|
}
|
|
1297
1224
|
interface PublicKeyInput {
|
|
1298
1225
|
key: string | Buffer;
|
|
1299
1226
|
format?: KeyFormat | undefined;
|
|
1300
|
-
type?:
|
|
1227
|
+
type?: PublicKeyExportType | undefined;
|
|
1301
1228
|
encoding?: string | undefined;
|
|
1302
1229
|
}
|
|
1303
1230
|
/**
|
|
@@ -1350,7 +1277,7 @@ declare module "crypto" {
|
|
|
1350
1277
|
},
|
|
1351
1278
|
): KeyObject;
|
|
1352
1279
|
interface JsonWebKeyInput {
|
|
1353
|
-
key: JsonWebKey;
|
|
1280
|
+
key: webcrypto.JsonWebKey;
|
|
1354
1281
|
format: "jwk";
|
|
1355
1282
|
}
|
|
1356
1283
|
/**
|
|
@@ -1397,6 +1324,7 @@ declare module "crypto" {
|
|
|
1397
1324
|
* @since v0.1.92
|
|
1398
1325
|
* @param options `stream.Writable` options
|
|
1399
1326
|
*/
|
|
1327
|
+
// TODO: signing algorithm type
|
|
1400
1328
|
function createSign(algorithm: string, options?: stream.WritableOptions): Sign;
|
|
1401
1329
|
type DSAEncoding = "der" | "ieee-p1363";
|
|
1402
1330
|
interface SigningOptions {
|
|
@@ -1406,6 +1334,7 @@ declare module "crypto" {
|
|
|
1406
1334
|
padding?: number | undefined;
|
|
1407
1335
|
saltLength?: number | undefined;
|
|
1408
1336
|
dsaEncoding?: DSAEncoding | undefined;
|
|
1337
|
+
context?: ArrayBuffer | NodeJS.ArrayBufferView | undefined;
|
|
1409
1338
|
}
|
|
1410
1339
|
interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions {}
|
|
1411
1340
|
interface SignKeyObjectInput extends SigningOptions {
|
|
@@ -2274,7 +2203,7 @@ declare module "crypto" {
|
|
|
2274
2203
|
*/
|
|
2275
2204
|
function publicEncrypt(
|
|
2276
2205
|
key: RsaPublicKey | RsaPrivateKey | KeyLike,
|
|
2277
|
-
buffer: NodeJS.ArrayBufferView,
|
|
2206
|
+
buffer: NodeJS.ArrayBufferView | string,
|
|
2278
2207
|
): NonSharedBuffer;
|
|
2279
2208
|
/**
|
|
2280
2209
|
* Decrypts `buffer` with `key`.`buffer` was previously encrypted using
|
|
@@ -2289,7 +2218,7 @@ declare module "crypto" {
|
|
|
2289
2218
|
*/
|
|
2290
2219
|
function publicDecrypt(
|
|
2291
2220
|
key: RsaPublicKey | RsaPrivateKey | KeyLike,
|
|
2292
|
-
buffer: NodeJS.ArrayBufferView,
|
|
2221
|
+
buffer: NodeJS.ArrayBufferView | string,
|
|
2293
2222
|
): NonSharedBuffer;
|
|
2294
2223
|
/**
|
|
2295
2224
|
* Decrypts `buffer` with `privateKey`. `buffer` was previously encrypted using
|
|
@@ -2299,7 +2228,10 @@ declare module "crypto" {
|
|
|
2299
2228
|
* object, the `padding` property can be passed. Otherwise, this function uses `RSA_PKCS1_OAEP_PADDING`.
|
|
2300
2229
|
* @since v0.11.14
|
|
2301
2230
|
*/
|
|
2302
|
-
function privateDecrypt(
|
|
2231
|
+
function privateDecrypt(
|
|
2232
|
+
privateKey: RsaPrivateKey | KeyLike,
|
|
2233
|
+
buffer: NodeJS.ArrayBufferView | string,
|
|
2234
|
+
): NonSharedBuffer;
|
|
2303
2235
|
/**
|
|
2304
2236
|
* Encrypts `buffer` with `privateKey`. The returned data can be decrypted using
|
|
2305
2237
|
* the corresponding public key, for example using {@link publicDecrypt}.
|
|
@@ -2308,7 +2240,10 @@ declare module "crypto" {
|
|
|
2308
2240
|
* object, the `padding` property can be passed. Otherwise, this function uses `RSA_PKCS1_PADDING`.
|
|
2309
2241
|
* @since v1.1.0
|
|
2310
2242
|
*/
|
|
2311
|
-
function privateEncrypt(
|
|
2243
|
+
function privateEncrypt(
|
|
2244
|
+
privateKey: RsaPrivateKey | KeyLike,
|
|
2245
|
+
buffer: NodeJS.ArrayBufferView | string,
|
|
2246
|
+
): NonSharedBuffer;
|
|
2312
2247
|
/**
|
|
2313
2248
|
* ```js
|
|
2314
2249
|
* const {
|
|
@@ -2546,66 +2481,27 @@ declare module "crypto" {
|
|
|
2546
2481
|
* @since v6.6.0
|
|
2547
2482
|
*/
|
|
2548
2483
|
function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean;
|
|
2549
|
-
|
|
2550
|
-
type KeyFormat = "pem" | "der" | "jwk";
|
|
2551
|
-
interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
|
|
2552
|
-
format: T;
|
|
2553
|
-
cipher?: string | undefined;
|
|
2554
|
-
passphrase?: string | undefined;
|
|
2555
|
-
}
|
|
2556
|
-
interface KeyPairKeyObjectResult {
|
|
2557
|
-
publicKey: KeyObject;
|
|
2558
|
-
privateKey: KeyObject;
|
|
2559
|
-
}
|
|
2560
|
-
interface ED25519KeyPairKeyObjectOptions {}
|
|
2561
|
-
interface ED448KeyPairKeyObjectOptions {}
|
|
2562
|
-
interface X25519KeyPairKeyObjectOptions {}
|
|
2563
|
-
interface X448KeyPairKeyObjectOptions {}
|
|
2564
|
-
interface ECKeyPairKeyObjectOptions {
|
|
2484
|
+
interface DHKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {
|
|
2565
2485
|
/**
|
|
2566
|
-
*
|
|
2486
|
+
* The prime parameter
|
|
2567
2487
|
*/
|
|
2568
|
-
|
|
2488
|
+
prime?: Buffer | undefined;
|
|
2569
2489
|
/**
|
|
2570
|
-
*
|
|
2490
|
+
* Prime length in bits
|
|
2571
2491
|
*/
|
|
2572
|
-
|
|
2573
|
-
}
|
|
2574
|
-
interface RSAKeyPairKeyObjectOptions {
|
|
2492
|
+
primeLength?: number | undefined;
|
|
2575
2493
|
/**
|
|
2576
|
-
*
|
|
2494
|
+
* Custom generator
|
|
2495
|
+
* @default 2
|
|
2577
2496
|
*/
|
|
2578
|
-
|
|
2497
|
+
generator?: number | undefined;
|
|
2579
2498
|
/**
|
|
2580
|
-
*
|
|
2581
|
-
* @
|
|
2499
|
+
* Diffie-Hellman group name
|
|
2500
|
+
* @see {@link getDiffieHellman}
|
|
2582
2501
|
*/
|
|
2583
|
-
|
|
2502
|
+
groupName?: string | undefined;
|
|
2584
2503
|
}
|
|
2585
|
-
interface
|
|
2586
|
-
/**
|
|
2587
|
-
* Key size in bits
|
|
2588
|
-
*/
|
|
2589
|
-
modulusLength: number;
|
|
2590
|
-
/**
|
|
2591
|
-
* Public exponent
|
|
2592
|
-
* @default 0x10001
|
|
2593
|
-
*/
|
|
2594
|
-
publicExponent?: number | undefined;
|
|
2595
|
-
/**
|
|
2596
|
-
* Name of the message digest
|
|
2597
|
-
*/
|
|
2598
|
-
hashAlgorithm?: string | undefined;
|
|
2599
|
-
/**
|
|
2600
|
-
* Name of the message digest used by MGF1
|
|
2601
|
-
*/
|
|
2602
|
-
mgf1HashAlgorithm?: string | undefined;
|
|
2603
|
-
/**
|
|
2604
|
-
* Minimal salt length in bytes
|
|
2605
|
-
*/
|
|
2606
|
-
saltLength?: string | undefined;
|
|
2607
|
-
}
|
|
2608
|
-
interface DSAKeyPairKeyObjectOptions {
|
|
2504
|
+
interface DSAKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {
|
|
2609
2505
|
/**
|
|
2610
2506
|
* Key size in bits
|
|
2611
2507
|
*/
|
|
@@ -2615,25 +2511,22 @@ declare module "crypto" {
|
|
|
2615
2511
|
*/
|
|
2616
2512
|
divisorLength: number;
|
|
2617
2513
|
}
|
|
2618
|
-
interface
|
|
2514
|
+
interface ECKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8" | "sec1"> {
|
|
2619
2515
|
/**
|
|
2620
|
-
*
|
|
2516
|
+
* Name of the curve to use
|
|
2621
2517
|
*/
|
|
2622
|
-
|
|
2518
|
+
namedCurve: string;
|
|
2623
2519
|
/**
|
|
2624
|
-
*
|
|
2625
|
-
* @default
|
|
2520
|
+
* Must be `'named'` or `'explicit'`
|
|
2521
|
+
* @default 'named'
|
|
2626
2522
|
*/
|
|
2627
|
-
|
|
2628
|
-
publicKeyEncoding: {
|
|
2629
|
-
type: "pkcs1" | "spki";
|
|
2630
|
-
format: PubF;
|
|
2631
|
-
};
|
|
2632
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2633
|
-
type: "pkcs1" | "pkcs8";
|
|
2634
|
-
};
|
|
2523
|
+
paramEncoding?: "explicit" | "named" | undefined;
|
|
2635
2524
|
}
|
|
2636
|
-
interface
|
|
2525
|
+
interface ED25519KeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2526
|
+
interface ED448KeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2527
|
+
interface MLDSAKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2528
|
+
interface MLKEMKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2529
|
+
interface RSAPSSKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {
|
|
2637
2530
|
/**
|
|
2638
2531
|
* Key size in bits
|
|
2639
2532
|
*/
|
|
@@ -2655,83 +2548,24 @@ declare module "crypto" {
|
|
|
2655
2548
|
* Minimal salt length in bytes
|
|
2656
2549
|
*/
|
|
2657
2550
|
saltLength?: string | undefined;
|
|
2658
|
-
publicKeyEncoding: {
|
|
2659
|
-
type: "spki";
|
|
2660
|
-
format: PubF;
|
|
2661
|
-
};
|
|
2662
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2663
|
-
type: "pkcs8";
|
|
2664
|
-
};
|
|
2665
2551
|
}
|
|
2666
|
-
interface
|
|
2552
|
+
interface RSAKeyPairOptions extends KeyPairExportOptions<"pkcs1" | "spki", "pkcs1" | "pkcs8"> {
|
|
2667
2553
|
/**
|
|
2668
2554
|
* Key size in bits
|
|
2669
2555
|
*/
|
|
2670
2556
|
modulusLength: number;
|
|
2671
2557
|
/**
|
|
2672
|
-
*
|
|
2558
|
+
* Public exponent
|
|
2559
|
+
* @default 0x10001
|
|
2673
2560
|
*/
|
|
2674
|
-
|
|
2675
|
-
publicKeyEncoding: {
|
|
2676
|
-
type: "spki";
|
|
2677
|
-
format: PubF;
|
|
2678
|
-
};
|
|
2679
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2680
|
-
type: "pkcs8";
|
|
2681
|
-
};
|
|
2682
|
-
}
|
|
2683
|
-
interface ECKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> extends ECKeyPairKeyObjectOptions {
|
|
2684
|
-
publicKeyEncoding: {
|
|
2685
|
-
type: "pkcs1" | "spki";
|
|
2686
|
-
format: PubF;
|
|
2687
|
-
};
|
|
2688
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2689
|
-
type: "sec1" | "pkcs8";
|
|
2690
|
-
};
|
|
2691
|
-
}
|
|
2692
|
-
interface ED25519KeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
|
2693
|
-
publicKeyEncoding: {
|
|
2694
|
-
type: "spki";
|
|
2695
|
-
format: PubF;
|
|
2696
|
-
};
|
|
2697
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2698
|
-
type: "pkcs8";
|
|
2699
|
-
};
|
|
2700
|
-
}
|
|
2701
|
-
interface ED448KeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
|
2702
|
-
publicKeyEncoding: {
|
|
2703
|
-
type: "spki";
|
|
2704
|
-
format: PubF;
|
|
2705
|
-
};
|
|
2706
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2707
|
-
type: "pkcs8";
|
|
2708
|
-
};
|
|
2709
|
-
}
|
|
2710
|
-
interface X25519KeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
|
2711
|
-
publicKeyEncoding: {
|
|
2712
|
-
type: "spki";
|
|
2713
|
-
format: PubF;
|
|
2714
|
-
};
|
|
2715
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2716
|
-
type: "pkcs8";
|
|
2717
|
-
};
|
|
2718
|
-
}
|
|
2719
|
-
interface X448KeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
|
2720
|
-
publicKeyEncoding: {
|
|
2721
|
-
type: "spki";
|
|
2722
|
-
format: PubF;
|
|
2723
|
-
};
|
|
2724
|
-
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2725
|
-
type: "pkcs8";
|
|
2726
|
-
};
|
|
2727
|
-
}
|
|
2728
|
-
interface KeyPairSyncResult<T1 extends string | Buffer, T2 extends string | Buffer> {
|
|
2729
|
-
publicKey: T1;
|
|
2730
|
-
privateKey: T2;
|
|
2561
|
+
publicExponent?: number | undefined;
|
|
2731
2562
|
}
|
|
2563
|
+
interface SLHDSAKeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2564
|
+
interface X25519KeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2565
|
+
interface X448KeyPairOptions extends KeyPairExportOptions<"spki", "pkcs8"> {}
|
|
2732
2566
|
/**
|
|
2733
|
-
* Generates a new asymmetric key pair of the given `type`.
|
|
2734
|
-
*
|
|
2567
|
+
* Generates a new asymmetric key pair of the given `type`. See the
|
|
2568
|
+
* supported [asymmetric key types](https://nodejs.org/docs/latest-v25.x/api/crypto.html#asymmetric-key-types).
|
|
2735
2569
|
*
|
|
2736
2570
|
* If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
|
|
2737
2571
|
* behaves as if `keyObject.export()` had been called on its result. Otherwise,
|
|
@@ -2768,147 +2602,60 @@ declare module "crypto" {
|
|
|
2768
2602
|
* When PEM encoding was selected, the respective key will be a string, otherwise
|
|
2769
2603
|
* it will be a buffer containing the data encoded as DER.
|
|
2770
2604
|
* @since v10.12.0
|
|
2771
|
-
* @param type
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
options: RSAKeyPairOptions<"pem", "der">,
|
|
2780
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2781
|
-
function generateKeyPairSync(
|
|
2782
|
-
type: "rsa",
|
|
2783
|
-
options: RSAKeyPairOptions<"der", "pem">,
|
|
2784
|
-
): KeyPairSyncResult<NonSharedBuffer, string>;
|
|
2785
|
-
function generateKeyPairSync(
|
|
2786
|
-
type: "rsa",
|
|
2787
|
-
options: RSAKeyPairOptions<"der", "der">,
|
|
2788
|
-
): KeyPairSyncResult<NonSharedBuffer, NonSharedBuffer>;
|
|
2789
|
-
function generateKeyPairSync(type: "rsa", options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2790
|
-
function generateKeyPairSync(
|
|
2791
|
-
type: "rsa-pss",
|
|
2792
|
-
options: RSAPSSKeyPairOptions<"pem", "pem">,
|
|
2793
|
-
): KeyPairSyncResult<string, string>;
|
|
2794
|
-
function generateKeyPairSync(
|
|
2795
|
-
type: "rsa-pss",
|
|
2796
|
-
options: RSAPSSKeyPairOptions<"pem", "der">,
|
|
2797
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2798
|
-
function generateKeyPairSync(
|
|
2799
|
-
type: "rsa-pss",
|
|
2800
|
-
options: RSAPSSKeyPairOptions<"der", "pem">,
|
|
2801
|
-
): KeyPairSyncResult<NonSharedBuffer, string>;
|
|
2802
|
-
function generateKeyPairSync(
|
|
2803
|
-
type: "rsa-pss",
|
|
2804
|
-
options: RSAPSSKeyPairOptions<"der", "der">,
|
|
2805
|
-
): KeyPairSyncResult<NonSharedBuffer, NonSharedBuffer>;
|
|
2806
|
-
function generateKeyPairSync(type: "rsa-pss", options: RSAPSSKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2807
|
-
function generateKeyPairSync(
|
|
2808
|
-
type: "dsa",
|
|
2809
|
-
options: DSAKeyPairOptions<"pem", "pem">,
|
|
2810
|
-
): KeyPairSyncResult<string, string>;
|
|
2811
|
-
function generateKeyPairSync(
|
|
2812
|
-
type: "dsa",
|
|
2813
|
-
options: DSAKeyPairOptions<"pem", "der">,
|
|
2814
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2815
|
-
function generateKeyPairSync(
|
|
2605
|
+
* @param type The asymmetric key type to generate. See the
|
|
2606
|
+
* supported [asymmetric key types](https://nodejs.org/docs/latest-v25.x/api/crypto.html#asymmetric-key-types).
|
|
2607
|
+
*/
|
|
2608
|
+
function generateKeyPairSync<T extends DHKeyPairOptions>(
|
|
2609
|
+
type: "dh",
|
|
2610
|
+
options: T,
|
|
2611
|
+
): KeyPairExportResult<T>;
|
|
2612
|
+
function generateKeyPairSync<T extends DSAKeyPairOptions>(
|
|
2816
2613
|
type: "dsa",
|
|
2817
|
-
options:
|
|
2818
|
-
):
|
|
2819
|
-
function generateKeyPairSync(
|
|
2820
|
-
type: "dsa",
|
|
2821
|
-
options: DSAKeyPairOptions<"der", "der">,
|
|
2822
|
-
): KeyPairSyncResult<NonSharedBuffer, NonSharedBuffer>;
|
|
2823
|
-
function generateKeyPairSync(type: "dsa", options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2824
|
-
function generateKeyPairSync(
|
|
2825
|
-
type: "ec",
|
|
2826
|
-
options: ECKeyPairOptions<"pem", "pem">,
|
|
2827
|
-
): KeyPairSyncResult<string, string>;
|
|
2828
|
-
function generateKeyPairSync(
|
|
2829
|
-
type: "ec",
|
|
2830
|
-
options: ECKeyPairOptions<"pem", "der">,
|
|
2831
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2832
|
-
function generateKeyPairSync(
|
|
2614
|
+
options: T,
|
|
2615
|
+
): KeyPairExportResult<T>;
|
|
2616
|
+
function generateKeyPairSync<T extends ECKeyPairOptions>(
|
|
2833
2617
|
type: "ec",
|
|
2834
|
-
options:
|
|
2835
|
-
):
|
|
2836
|
-
function generateKeyPairSync(
|
|
2837
|
-
type: "ec",
|
|
2838
|
-
options: ECKeyPairOptions<"der", "der">,
|
|
2839
|
-
): KeyPairSyncResult<NonSharedBuffer, NonSharedBuffer>;
|
|
2840
|
-
function generateKeyPairSync(type: "ec", options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2841
|
-
function generateKeyPairSync(
|
|
2842
|
-
type: "ed25519",
|
|
2843
|
-
options: ED25519KeyPairOptions<"pem", "pem">,
|
|
2844
|
-
): KeyPairSyncResult<string, string>;
|
|
2845
|
-
function generateKeyPairSync(
|
|
2846
|
-
type: "ed25519",
|
|
2847
|
-
options: ED25519KeyPairOptions<"pem", "der">,
|
|
2848
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2849
|
-
function generateKeyPairSync(
|
|
2618
|
+
options: T,
|
|
2619
|
+
): KeyPairExportResult<T>;
|
|
2620
|
+
function generateKeyPairSync<T extends ED25519KeyPairOptions = {}>(
|
|
2850
2621
|
type: "ed25519",
|
|
2851
|
-
options
|
|
2852
|
-
):
|
|
2853
|
-
function generateKeyPairSync(
|
|
2854
|
-
type: "ed25519",
|
|
2855
|
-
options: ED25519KeyPairOptions<"der", "der">,
|
|
2856
|
-
): KeyPairSyncResult<NonSharedBuffer, NonSharedBuffer>;
|
|
2857
|
-
function generateKeyPairSync(type: "ed25519", options?: ED25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2858
|
-
function generateKeyPairSync(
|
|
2859
|
-
type: "ed448",
|
|
2860
|
-
options: ED448KeyPairOptions<"pem", "pem">,
|
|
2861
|
-
): KeyPairSyncResult<string, string>;
|
|
2862
|
-
function generateKeyPairSync(
|
|
2863
|
-
type: "ed448",
|
|
2864
|
-
options: ED448KeyPairOptions<"pem", "der">,
|
|
2865
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2866
|
-
function generateKeyPairSync(
|
|
2622
|
+
options?: T,
|
|
2623
|
+
): KeyPairExportResult<T>;
|
|
2624
|
+
function generateKeyPairSync<T extends ED448KeyPairOptions = {}>(
|
|
2867
2625
|
type: "ed448",
|
|
2868
|
-
options
|
|
2869
|
-
):
|
|
2870
|
-
function generateKeyPairSync(
|
|
2871
|
-
type:
|
|
2872
|
-
options
|
|
2873
|
-
):
|
|
2874
|
-
function generateKeyPairSync
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2626
|
+
options?: T,
|
|
2627
|
+
): KeyPairExportResult<T>;
|
|
2628
|
+
function generateKeyPairSync<T extends MLDSAKeyPairOptions = {}>(
|
|
2629
|
+
type: MLDSAKeyType,
|
|
2630
|
+
options?: T,
|
|
2631
|
+
): KeyPairExportResult<T>;
|
|
2632
|
+
function generateKeyPairSync<T extends MLKEMKeyPairOptions = {}>(
|
|
2633
|
+
type: MLKEMKeyType,
|
|
2634
|
+
options?: T,
|
|
2635
|
+
): KeyPairExportResult<T>;
|
|
2636
|
+
function generateKeyPairSync<T extends RSAPSSKeyPairOptions>(
|
|
2637
|
+
type: "rsa-pss",
|
|
2638
|
+
options: T,
|
|
2639
|
+
): KeyPairExportResult<T>;
|
|
2640
|
+
function generateKeyPairSync<T extends RSAKeyPairOptions>(
|
|
2641
|
+
type: "rsa",
|
|
2642
|
+
options: T,
|
|
2643
|
+
): KeyPairExportResult<T>;
|
|
2644
|
+
function generateKeyPairSync<T extends SLHDSAKeyPairOptions = {}>(
|
|
2645
|
+
type: SLHDSAKeyType,
|
|
2646
|
+
options?: T,
|
|
2647
|
+
): KeyPairExportResult<T>;
|
|
2648
|
+
function generateKeyPairSync<T extends X25519KeyPairOptions = {}>(
|
|
2888
2649
|
type: "x25519",
|
|
2889
|
-
options
|
|
2890
|
-
):
|
|
2891
|
-
function generateKeyPairSync
|
|
2892
|
-
function generateKeyPairSync(
|
|
2650
|
+
options?: T,
|
|
2651
|
+
): KeyPairExportResult<T>;
|
|
2652
|
+
function generateKeyPairSync<T extends X448KeyPairOptions = {}>(
|
|
2893
2653
|
type: "x448",
|
|
2894
|
-
options
|
|
2895
|
-
):
|
|
2896
|
-
function generateKeyPairSync(
|
|
2897
|
-
type: "x448",
|
|
2898
|
-
options: X448KeyPairOptions<"pem", "der">,
|
|
2899
|
-
): KeyPairSyncResult<string, NonSharedBuffer>;
|
|
2900
|
-
function generateKeyPairSync(
|
|
2901
|
-
type: "x448",
|
|
2902
|
-
options: X448KeyPairOptions<"der", "pem">,
|
|
2903
|
-
): KeyPairSyncResult<NonSharedBuffer, string>;
|
|
2904
|
-
function generateKeyPairSync(
|
|
2905
|
-
type: "x448",
|
|
2906
|
-
options: X448KeyPairOptions<"der", "der">,
|
|
2907
|
-
): KeyPairSyncResult<NonSharedBuffer, NonSharedBuffer>;
|
|
2908
|
-
function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2654
|
+
options?: T,
|
|
2655
|
+
): KeyPairExportResult<T>;
|
|
2909
2656
|
/**
|
|
2910
|
-
* Generates a new asymmetric key pair of the given `type`.
|
|
2911
|
-
*
|
|
2657
|
+
* Generates a new asymmetric key pair of the given `type`. See the
|
|
2658
|
+
* supported [asymmetric key types](https://nodejs.org/docs/latest-v25.x/api/crypto.html#asymmetric-key-types).
|
|
2912
2659
|
*
|
|
2913
2660
|
* If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
|
|
2914
2661
|
* behaves as if `keyObject.export()` had been called on its result. Otherwise,
|
|
@@ -2943,455 +2690,126 @@ declare module "crypto" {
|
|
|
2943
2690
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
2944
2691
|
* a `Promise` for an `Object` with `publicKey` and `privateKey` properties.
|
|
2945
2692
|
* @since v10.12.0
|
|
2946
|
-
* @param type
|
|
2693
|
+
* @param type The asymmetric key type to generate. See the
|
|
2694
|
+
* supported [asymmetric key types](https://nodejs.org/docs/latest-v25.x/api/crypto.html#asymmetric-key-types).
|
|
2947
2695
|
*/
|
|
2948
|
-
function generateKeyPair(
|
|
2949
|
-
type: "
|
|
2950
|
-
options:
|
|
2951
|
-
callback:
|
|
2952
|
-
): void;
|
|
2953
|
-
function generateKeyPair(
|
|
2954
|
-
type: "rsa",
|
|
2955
|
-
options: RSAKeyPairOptions<"pem", "der">,
|
|
2956
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
2957
|
-
): void;
|
|
2958
|
-
function generateKeyPair(
|
|
2959
|
-
type: "rsa",
|
|
2960
|
-
options: RSAKeyPairOptions<"der", "pem">,
|
|
2961
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: string) => void,
|
|
2962
|
-
): void;
|
|
2963
|
-
function generateKeyPair(
|
|
2964
|
-
type: "rsa",
|
|
2965
|
-
options: RSAKeyPairOptions<"der", "der">,
|
|
2966
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: NonSharedBuffer) => void,
|
|
2967
|
-
): void;
|
|
2968
|
-
function generateKeyPair(
|
|
2969
|
-
type: "rsa",
|
|
2970
|
-
options: RSAKeyPairKeyObjectOptions,
|
|
2971
|
-
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
2972
|
-
): void;
|
|
2973
|
-
function generateKeyPair(
|
|
2974
|
-
type: "rsa-pss",
|
|
2975
|
-
options: RSAPSSKeyPairOptions<"pem", "pem">,
|
|
2976
|
-
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
2977
|
-
): void;
|
|
2978
|
-
function generateKeyPair(
|
|
2979
|
-
type: "rsa-pss",
|
|
2980
|
-
options: RSAPSSKeyPairOptions<"pem", "der">,
|
|
2981
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
2982
|
-
): void;
|
|
2983
|
-
function generateKeyPair(
|
|
2984
|
-
type: "rsa-pss",
|
|
2985
|
-
options: RSAPSSKeyPairOptions<"der", "pem">,
|
|
2986
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: string) => void,
|
|
2987
|
-
): void;
|
|
2988
|
-
function generateKeyPair(
|
|
2989
|
-
type: "rsa-pss",
|
|
2990
|
-
options: RSAPSSKeyPairOptions<"der", "der">,
|
|
2991
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: NonSharedBuffer) => void,
|
|
2992
|
-
): void;
|
|
2993
|
-
function generateKeyPair(
|
|
2994
|
-
type: "rsa-pss",
|
|
2995
|
-
options: RSAPSSKeyPairKeyObjectOptions,
|
|
2996
|
-
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
2997
|
-
): void;
|
|
2998
|
-
function generateKeyPair(
|
|
2999
|
-
type: "dsa",
|
|
3000
|
-
options: DSAKeyPairOptions<"pem", "pem">,
|
|
3001
|
-
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
3002
|
-
): void;
|
|
3003
|
-
function generateKeyPair(
|
|
3004
|
-
type: "dsa",
|
|
3005
|
-
options: DSAKeyPairOptions<"pem", "der">,
|
|
3006
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
3007
|
-
): void;
|
|
3008
|
-
function generateKeyPair(
|
|
3009
|
-
type: "dsa",
|
|
3010
|
-
options: DSAKeyPairOptions<"der", "pem">,
|
|
3011
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: string) => void,
|
|
3012
|
-
): void;
|
|
3013
|
-
function generateKeyPair(
|
|
3014
|
-
type: "dsa",
|
|
3015
|
-
options: DSAKeyPairOptions<"der", "der">,
|
|
3016
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: NonSharedBuffer) => void,
|
|
2696
|
+
function generateKeyPair<T extends DHKeyPairOptions>(
|
|
2697
|
+
type: "dh",
|
|
2698
|
+
options: T,
|
|
2699
|
+
callback: KeyPairExportCallback<T>,
|
|
3017
2700
|
): void;
|
|
3018
|
-
function generateKeyPair(
|
|
2701
|
+
function generateKeyPair<T extends DSAKeyPairOptions>(
|
|
3019
2702
|
type: "dsa",
|
|
3020
|
-
options:
|
|
3021
|
-
callback:
|
|
3022
|
-
): void;
|
|
3023
|
-
function generateKeyPair(
|
|
3024
|
-
type: "ec",
|
|
3025
|
-
options: ECKeyPairOptions<"pem", "pem">,
|
|
3026
|
-
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
3027
|
-
): void;
|
|
3028
|
-
function generateKeyPair(
|
|
3029
|
-
type: "ec",
|
|
3030
|
-
options: ECKeyPairOptions<"pem", "der">,
|
|
3031
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
3032
|
-
): void;
|
|
3033
|
-
function generateKeyPair(
|
|
3034
|
-
type: "ec",
|
|
3035
|
-
options: ECKeyPairOptions<"der", "pem">,
|
|
3036
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: string) => void,
|
|
3037
|
-
): void;
|
|
3038
|
-
function generateKeyPair(
|
|
3039
|
-
type: "ec",
|
|
3040
|
-
options: ECKeyPairOptions<"der", "der">,
|
|
3041
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: NonSharedBuffer) => void,
|
|
2703
|
+
options: T,
|
|
2704
|
+
callback: KeyPairExportCallback<T>,
|
|
3042
2705
|
): void;
|
|
3043
|
-
function generateKeyPair(
|
|
2706
|
+
function generateKeyPair<T extends ECKeyPairOptions>(
|
|
3044
2707
|
type: "ec",
|
|
3045
|
-
options:
|
|
3046
|
-
callback:
|
|
2708
|
+
options: T,
|
|
2709
|
+
callback: KeyPairExportCallback<T>,
|
|
3047
2710
|
): void;
|
|
3048
|
-
function generateKeyPair(
|
|
2711
|
+
function generateKeyPair<T extends ED25519KeyPairOptions = {}>(
|
|
3049
2712
|
type: "ed25519",
|
|
3050
|
-
options:
|
|
3051
|
-
callback:
|
|
2713
|
+
options: T | undefined,
|
|
2714
|
+
callback: KeyPairExportCallback<T>,
|
|
3052
2715
|
): void;
|
|
3053
|
-
function generateKeyPair(
|
|
3054
|
-
type: "ed25519",
|
|
3055
|
-
options: ED25519KeyPairOptions<"pem", "der">,
|
|
3056
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
3057
|
-
): void;
|
|
3058
|
-
function generateKeyPair(
|
|
3059
|
-
type: "ed25519",
|
|
3060
|
-
options: ED25519KeyPairOptions<"der", "pem">,
|
|
3061
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: string) => void,
|
|
3062
|
-
): void;
|
|
3063
|
-
function generateKeyPair(
|
|
3064
|
-
type: "ed25519",
|
|
3065
|
-
options: ED25519KeyPairOptions<"der", "der">,
|
|
3066
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: NonSharedBuffer) => void,
|
|
3067
|
-
): void;
|
|
3068
|
-
function generateKeyPair(
|
|
3069
|
-
type: "ed25519",
|
|
3070
|
-
options: ED25519KeyPairKeyObjectOptions | undefined,
|
|
3071
|
-
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
3072
|
-
): void;
|
|
3073
|
-
function generateKeyPair(
|
|
3074
|
-
type: "ed448",
|
|
3075
|
-
options: ED448KeyPairOptions<"pem", "pem">,
|
|
3076
|
-
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
3077
|
-
): void;
|
|
3078
|
-
function generateKeyPair(
|
|
3079
|
-
type: "ed448",
|
|
3080
|
-
options: ED448KeyPairOptions<"pem", "der">,
|
|
3081
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
3082
|
-
): void;
|
|
3083
|
-
function generateKeyPair(
|
|
2716
|
+
function generateKeyPair<T extends ED448KeyPairOptions = {}>(
|
|
3084
2717
|
type: "ed448",
|
|
3085
|
-
options:
|
|
3086
|
-
callback:
|
|
2718
|
+
options: T | undefined,
|
|
2719
|
+
callback: KeyPairExportCallback<T>,
|
|
3087
2720
|
): void;
|
|
3088
|
-
function generateKeyPair(
|
|
3089
|
-
type:
|
|
3090
|
-
options:
|
|
3091
|
-
callback:
|
|
2721
|
+
function generateKeyPair<T extends MLDSAKeyPairOptions = {}>(
|
|
2722
|
+
type: MLDSAKeyType,
|
|
2723
|
+
options: T | undefined,
|
|
2724
|
+
callback: KeyPairExportCallback<T>,
|
|
3092
2725
|
): void;
|
|
3093
|
-
function generateKeyPair(
|
|
3094
|
-
type:
|
|
3095
|
-
options:
|
|
3096
|
-
callback:
|
|
2726
|
+
function generateKeyPair<T extends MLKEMKeyPairOptions = {}>(
|
|
2727
|
+
type: MLKEMKeyType,
|
|
2728
|
+
options: T | undefined,
|
|
2729
|
+
callback: KeyPairExportCallback<T>,
|
|
3097
2730
|
): void;
|
|
3098
|
-
function generateKeyPair(
|
|
3099
|
-
type: "
|
|
3100
|
-
options:
|
|
3101
|
-
callback:
|
|
3102
|
-
): void;
|
|
3103
|
-
function generateKeyPair(
|
|
3104
|
-
type: "x25519",
|
|
3105
|
-
options: X25519KeyPairOptions<"pem", "der">,
|
|
3106
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
2731
|
+
function generateKeyPair<T extends RSAPSSKeyPairOptions>(
|
|
2732
|
+
type: "rsa-pss",
|
|
2733
|
+
options: T,
|
|
2734
|
+
callback: KeyPairExportCallback<T>,
|
|
3107
2735
|
): void;
|
|
3108
|
-
function generateKeyPair(
|
|
3109
|
-
type: "
|
|
3110
|
-
options:
|
|
3111
|
-
callback:
|
|
2736
|
+
function generateKeyPair<T extends RSAKeyPairOptions>(
|
|
2737
|
+
type: "rsa",
|
|
2738
|
+
options: T,
|
|
2739
|
+
callback: KeyPairExportCallback<T>,
|
|
3112
2740
|
): void;
|
|
3113
|
-
function generateKeyPair(
|
|
3114
|
-
type:
|
|
3115
|
-
options:
|
|
3116
|
-
callback:
|
|
2741
|
+
function generateKeyPair<T extends SLHDSAKeyPairOptions = {}>(
|
|
2742
|
+
type: SLHDSAKeyType,
|
|
2743
|
+
options: T | undefined,
|
|
2744
|
+
callback: KeyPairExportCallback<T>,
|
|
3117
2745
|
): void;
|
|
3118
|
-
function generateKeyPair(
|
|
2746
|
+
function generateKeyPair<T extends X25519KeyPairOptions = {}>(
|
|
3119
2747
|
type: "x25519",
|
|
3120
|
-
options:
|
|
3121
|
-
callback:
|
|
3122
|
-
): void;
|
|
3123
|
-
function generateKeyPair(
|
|
3124
|
-
type: "x448",
|
|
3125
|
-
options: X448KeyPairOptions<"pem", "pem">,
|
|
3126
|
-
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
3127
|
-
): void;
|
|
3128
|
-
function generateKeyPair(
|
|
3129
|
-
type: "x448",
|
|
3130
|
-
options: X448KeyPairOptions<"pem", "der">,
|
|
3131
|
-
callback: (err: Error | null, publicKey: string, privateKey: NonSharedBuffer) => void,
|
|
3132
|
-
): void;
|
|
3133
|
-
function generateKeyPair(
|
|
3134
|
-
type: "x448",
|
|
3135
|
-
options: X448KeyPairOptions<"der", "pem">,
|
|
3136
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: string) => void,
|
|
3137
|
-
): void;
|
|
3138
|
-
function generateKeyPair(
|
|
3139
|
-
type: "x448",
|
|
3140
|
-
options: X448KeyPairOptions<"der", "der">,
|
|
3141
|
-
callback: (err: Error | null, publicKey: NonSharedBuffer, privateKey: NonSharedBuffer) => void,
|
|
2748
|
+
options: T | undefined,
|
|
2749
|
+
callback: KeyPairExportCallback<T>,
|
|
3142
2750
|
): void;
|
|
3143
|
-
function generateKeyPair(
|
|
2751
|
+
function generateKeyPair<T extends X448KeyPairOptions = {}>(
|
|
3144
2752
|
type: "x448",
|
|
3145
|
-
options:
|
|
3146
|
-
callback:
|
|
2753
|
+
options: T | undefined,
|
|
2754
|
+
callback: KeyPairExportCallback<T>,
|
|
3147
2755
|
): void;
|
|
3148
2756
|
namespace generateKeyPair {
|
|
3149
|
-
function __promisify__(
|
|
3150
|
-
type: "
|
|
3151
|
-
options:
|
|
3152
|
-
): Promise<
|
|
3153
|
-
|
|
3154
|
-
privateKey: string;
|
|
3155
|
-
}>;
|
|
3156
|
-
function __promisify__(
|
|
3157
|
-
type: "rsa",
|
|
3158
|
-
options: RSAKeyPairOptions<"pem", "der">,
|
|
3159
|
-
): Promise<{
|
|
3160
|
-
publicKey: string;
|
|
3161
|
-
privateKey: NonSharedBuffer;
|
|
3162
|
-
}>;
|
|
3163
|
-
function __promisify__(
|
|
3164
|
-
type: "rsa",
|
|
3165
|
-
options: RSAKeyPairOptions<"der", "pem">,
|
|
3166
|
-
): Promise<{
|
|
3167
|
-
publicKey: NonSharedBuffer;
|
|
3168
|
-
privateKey: string;
|
|
3169
|
-
}>;
|
|
3170
|
-
function __promisify__(
|
|
3171
|
-
type: "rsa",
|
|
3172
|
-
options: RSAKeyPairOptions<"der", "der">,
|
|
3173
|
-
): Promise<{
|
|
3174
|
-
publicKey: NonSharedBuffer;
|
|
3175
|
-
privateKey: NonSharedBuffer;
|
|
3176
|
-
}>;
|
|
3177
|
-
function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
|
|
3178
|
-
function __promisify__(
|
|
3179
|
-
type: "rsa-pss",
|
|
3180
|
-
options: RSAPSSKeyPairOptions<"pem", "pem">,
|
|
3181
|
-
): Promise<{
|
|
3182
|
-
publicKey: string;
|
|
3183
|
-
privateKey: string;
|
|
3184
|
-
}>;
|
|
3185
|
-
function __promisify__(
|
|
3186
|
-
type: "rsa-pss",
|
|
3187
|
-
options: RSAPSSKeyPairOptions<"pem", "der">,
|
|
3188
|
-
): Promise<{
|
|
3189
|
-
publicKey: string;
|
|
3190
|
-
privateKey: NonSharedBuffer;
|
|
3191
|
-
}>;
|
|
3192
|
-
function __promisify__(
|
|
3193
|
-
type: "rsa-pss",
|
|
3194
|
-
options: RSAPSSKeyPairOptions<"der", "pem">,
|
|
3195
|
-
): Promise<{
|
|
3196
|
-
publicKey: NonSharedBuffer;
|
|
3197
|
-
privateKey: string;
|
|
3198
|
-
}>;
|
|
3199
|
-
function __promisify__(
|
|
3200
|
-
type: "rsa-pss",
|
|
3201
|
-
options: RSAPSSKeyPairOptions<"der", "der">,
|
|
3202
|
-
): Promise<{
|
|
3203
|
-
publicKey: NonSharedBuffer;
|
|
3204
|
-
privateKey: NonSharedBuffer;
|
|
3205
|
-
}>;
|
|
3206
|
-
function __promisify__(
|
|
3207
|
-
type: "rsa-pss",
|
|
3208
|
-
options: RSAPSSKeyPairKeyObjectOptions,
|
|
3209
|
-
): Promise<KeyPairKeyObjectResult>;
|
|
3210
|
-
function __promisify__(
|
|
2757
|
+
function __promisify__<T extends DHKeyPairOptions>(
|
|
2758
|
+
type: "dh",
|
|
2759
|
+
options: T,
|
|
2760
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2761
|
+
function __promisify__<T extends DSAKeyPairOptions>(
|
|
3211
2762
|
type: "dsa",
|
|
3212
|
-
options:
|
|
3213
|
-
): Promise<
|
|
3214
|
-
|
|
3215
|
-
privateKey: string;
|
|
3216
|
-
}>;
|
|
3217
|
-
function __promisify__(
|
|
3218
|
-
type: "dsa",
|
|
3219
|
-
options: DSAKeyPairOptions<"pem", "der">,
|
|
3220
|
-
): Promise<{
|
|
3221
|
-
publicKey: string;
|
|
3222
|
-
privateKey: NonSharedBuffer;
|
|
3223
|
-
}>;
|
|
3224
|
-
function __promisify__(
|
|
3225
|
-
type: "dsa",
|
|
3226
|
-
options: DSAKeyPairOptions<"der", "pem">,
|
|
3227
|
-
): Promise<{
|
|
3228
|
-
publicKey: NonSharedBuffer;
|
|
3229
|
-
privateKey: string;
|
|
3230
|
-
}>;
|
|
3231
|
-
function __promisify__(
|
|
3232
|
-
type: "dsa",
|
|
3233
|
-
options: DSAKeyPairOptions<"der", "der">,
|
|
3234
|
-
): Promise<{
|
|
3235
|
-
publicKey: NonSharedBuffer;
|
|
3236
|
-
privateKey: NonSharedBuffer;
|
|
3237
|
-
}>;
|
|
3238
|
-
function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
|
|
3239
|
-
function __promisify__(
|
|
3240
|
-
type: "ec",
|
|
3241
|
-
options: ECKeyPairOptions<"pem", "pem">,
|
|
3242
|
-
): Promise<{
|
|
3243
|
-
publicKey: string;
|
|
3244
|
-
privateKey: string;
|
|
3245
|
-
}>;
|
|
3246
|
-
function __promisify__(
|
|
3247
|
-
type: "ec",
|
|
3248
|
-
options: ECKeyPairOptions<"pem", "der">,
|
|
3249
|
-
): Promise<{
|
|
3250
|
-
publicKey: string;
|
|
3251
|
-
privateKey: NonSharedBuffer;
|
|
3252
|
-
}>;
|
|
3253
|
-
function __promisify__(
|
|
3254
|
-
type: "ec",
|
|
3255
|
-
options: ECKeyPairOptions<"der", "pem">,
|
|
3256
|
-
): Promise<{
|
|
3257
|
-
publicKey: NonSharedBuffer;
|
|
3258
|
-
privateKey: string;
|
|
3259
|
-
}>;
|
|
3260
|
-
function __promisify__(
|
|
2763
|
+
options: T,
|
|
2764
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2765
|
+
function __promisify__<T extends ECKeyPairOptions>(
|
|
3261
2766
|
type: "ec",
|
|
3262
|
-
options:
|
|
3263
|
-
): Promise<
|
|
3264
|
-
|
|
3265
|
-
privateKey: NonSharedBuffer;
|
|
3266
|
-
}>;
|
|
3267
|
-
function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
|
|
3268
|
-
function __promisify__(
|
|
2767
|
+
options: T,
|
|
2768
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2769
|
+
function __promisify__<T extends ED25519KeyPairOptions = {}>(
|
|
3269
2770
|
type: "ed25519",
|
|
3270
|
-
options
|
|
3271
|
-
): Promise<
|
|
3272
|
-
|
|
3273
|
-
privateKey: string;
|
|
3274
|
-
}>;
|
|
3275
|
-
function __promisify__(
|
|
3276
|
-
type: "ed25519",
|
|
3277
|
-
options: ED25519KeyPairOptions<"pem", "der">,
|
|
3278
|
-
): Promise<{
|
|
3279
|
-
publicKey: string;
|
|
3280
|
-
privateKey: NonSharedBuffer;
|
|
3281
|
-
}>;
|
|
3282
|
-
function __promisify__(
|
|
3283
|
-
type: "ed25519",
|
|
3284
|
-
options: ED25519KeyPairOptions<"der", "pem">,
|
|
3285
|
-
): Promise<{
|
|
3286
|
-
publicKey: NonSharedBuffer;
|
|
3287
|
-
privateKey: string;
|
|
3288
|
-
}>;
|
|
3289
|
-
function __promisify__(
|
|
3290
|
-
type: "ed25519",
|
|
3291
|
-
options: ED25519KeyPairOptions<"der", "der">,
|
|
3292
|
-
): Promise<{
|
|
3293
|
-
publicKey: NonSharedBuffer;
|
|
3294
|
-
privateKey: NonSharedBuffer;
|
|
3295
|
-
}>;
|
|
3296
|
-
function __promisify__(
|
|
3297
|
-
type: "ed25519",
|
|
3298
|
-
options?: ED25519KeyPairKeyObjectOptions,
|
|
3299
|
-
): Promise<KeyPairKeyObjectResult>;
|
|
3300
|
-
function __promisify__(
|
|
3301
|
-
type: "ed448",
|
|
3302
|
-
options: ED448KeyPairOptions<"pem", "pem">,
|
|
3303
|
-
): Promise<{
|
|
3304
|
-
publicKey: string;
|
|
3305
|
-
privateKey: string;
|
|
3306
|
-
}>;
|
|
3307
|
-
function __promisify__(
|
|
3308
|
-
type: "ed448",
|
|
3309
|
-
options: ED448KeyPairOptions<"pem", "der">,
|
|
3310
|
-
): Promise<{
|
|
3311
|
-
publicKey: string;
|
|
3312
|
-
privateKey: NonSharedBuffer;
|
|
3313
|
-
}>;
|
|
3314
|
-
function __promisify__(
|
|
2771
|
+
options?: T,
|
|
2772
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2773
|
+
function __promisify__<T extends ED448KeyPairOptions = {}>(
|
|
3315
2774
|
type: "ed448",
|
|
3316
|
-
options
|
|
3317
|
-
): Promise<
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
): Promise<{
|
|
3340
|
-
publicKey: string;
|
|
3341
|
-
privateKey: NonSharedBuffer;
|
|
3342
|
-
}>;
|
|
3343
|
-
function __promisify__(
|
|
3344
|
-
type: "x25519",
|
|
3345
|
-
options: X25519KeyPairOptions<"der", "pem">,
|
|
3346
|
-
): Promise<{
|
|
3347
|
-
publicKey: NonSharedBuffer;
|
|
3348
|
-
privateKey: string;
|
|
3349
|
-
}>;
|
|
3350
|
-
function __promisify__(
|
|
3351
|
-
type: "x25519",
|
|
3352
|
-
options: X25519KeyPairOptions<"der", "der">,
|
|
3353
|
-
): Promise<{
|
|
3354
|
-
publicKey: NonSharedBuffer;
|
|
3355
|
-
privateKey: NonSharedBuffer;
|
|
3356
|
-
}>;
|
|
3357
|
-
function __promisify__(
|
|
2775
|
+
options?: T,
|
|
2776
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2777
|
+
function __promisify__<T extends MLDSAKeyPairOptions = {}>(
|
|
2778
|
+
type: MLDSAKeyType,
|
|
2779
|
+
options?: T,
|
|
2780
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2781
|
+
function __promisify__<T extends MLKEMKeyPairOptions = {}>(
|
|
2782
|
+
type: MLKEMKeyType,
|
|
2783
|
+
options?: T,
|
|
2784
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2785
|
+
function __promisify__<T extends RSAPSSKeyPairOptions>(
|
|
2786
|
+
type: "rsa-pss",
|
|
2787
|
+
options: T,
|
|
2788
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2789
|
+
function __promisify__<T extends RSAKeyPairOptions>(
|
|
2790
|
+
type: "rsa",
|
|
2791
|
+
options: T,
|
|
2792
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2793
|
+
function __promisify__<T extends SLHDSAKeyPairOptions = {}>(
|
|
2794
|
+
type: SLHDSAKeyType,
|
|
2795
|
+
options?: T,
|
|
2796
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2797
|
+
function __promisify__<T extends X25519KeyPairOptions = {}>(
|
|
3358
2798
|
type: "x25519",
|
|
3359
|
-
options?:
|
|
3360
|
-
): Promise<
|
|
3361
|
-
function __promisify__(
|
|
3362
|
-
type: "x448",
|
|
3363
|
-
options: X448KeyPairOptions<"pem", "pem">,
|
|
3364
|
-
): Promise<{
|
|
3365
|
-
publicKey: string;
|
|
3366
|
-
privateKey: string;
|
|
3367
|
-
}>;
|
|
3368
|
-
function __promisify__(
|
|
3369
|
-
type: "x448",
|
|
3370
|
-
options: X448KeyPairOptions<"pem", "der">,
|
|
3371
|
-
): Promise<{
|
|
3372
|
-
publicKey: string;
|
|
3373
|
-
privateKey: NonSharedBuffer;
|
|
3374
|
-
}>;
|
|
3375
|
-
function __promisify__(
|
|
2799
|
+
options?: T,
|
|
2800
|
+
): Promise<KeyPairExportResult<T>>;
|
|
2801
|
+
function __promisify__<T extends X448KeyPairOptions = {}>(
|
|
3376
2802
|
type: "x448",
|
|
3377
|
-
options
|
|
3378
|
-
): Promise<
|
|
3379
|
-
publicKey: NonSharedBuffer;
|
|
3380
|
-
privateKey: string;
|
|
3381
|
-
}>;
|
|
3382
|
-
function __promisify__(
|
|
3383
|
-
type: "x448",
|
|
3384
|
-
options: X448KeyPairOptions<"der", "der">,
|
|
3385
|
-
): Promise<{
|
|
3386
|
-
publicKey: NonSharedBuffer;
|
|
3387
|
-
privateKey: NonSharedBuffer;
|
|
3388
|
-
}>;
|
|
3389
|
-
function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
|
|
2803
|
+
options?: T,
|
|
2804
|
+
): Promise<KeyPairExportResult<T>>;
|
|
3390
2805
|
}
|
|
3391
2806
|
/**
|
|
3392
2807
|
* Calculates and returns the signature for `data` using the given private key and
|
|
3393
2808
|
* algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is
|
|
3394
|
-
* dependent upon the key type
|
|
2809
|
+
* dependent upon the key type.
|
|
2810
|
+
*
|
|
2811
|
+
* `algorithm` is required to be `null` or `undefined` for Ed25519, Ed448, and
|
|
2812
|
+
* ML-DSA.
|
|
3395
2813
|
*
|
|
3396
2814
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
3397
2815
|
* passed to {@link createPrivateKey}. If it is an object, the following
|
|
@@ -3412,8 +2830,12 @@ declare module "crypto" {
|
|
|
3412
2830
|
callback: (error: Error | null, data: NonSharedBuffer) => void,
|
|
3413
2831
|
): void;
|
|
3414
2832
|
/**
|
|
3415
|
-
* Verifies the given signature for `data` using the given key and algorithm. If
|
|
3416
|
-
*
|
|
2833
|
+
* Verifies the given signature for `data` using the given key and algorithm. If
|
|
2834
|
+
* `algorithm` is `null` or `undefined`, then the algorithm is dependent upon the
|
|
2835
|
+
* key type.
|
|
2836
|
+
*
|
|
2837
|
+
* `algorithm` is required to be `null` or `undefined` for Ed25519, Ed448, and
|
|
2838
|
+
* ML-DSA.
|
|
3417
2839
|
*
|
|
3418
2840
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
3419
2841
|
* passed to {@link createPublicKey}. If it is an object, the following
|
|
@@ -3441,16 +2863,102 @@ declare module "crypto" {
|
|
|
3441
2863
|
callback: (error: Error | null, result: boolean) => void,
|
|
3442
2864
|
): void;
|
|
3443
2865
|
/**
|
|
3444
|
-
*
|
|
3445
|
-
*
|
|
2866
|
+
* Key decapsulation using a KEM algorithm with a private key.
|
|
2867
|
+
*
|
|
2868
|
+
* Supported key types and their KEM algorithms are:
|
|
2869
|
+
*
|
|
2870
|
+
* * `'rsa'` RSA Secret Value Encapsulation
|
|
2871
|
+
* * `'ec'` DHKEM(P-256, HKDF-SHA256), DHKEM(P-384, HKDF-SHA256), DHKEM(P-521, HKDF-SHA256)
|
|
2872
|
+
* * `'x25519'` DHKEM(X25519, HKDF-SHA256)
|
|
2873
|
+
* * `'x448'` DHKEM(X448, HKDF-SHA512)
|
|
2874
|
+
* * `'ml-kem-512'` ML-KEM
|
|
2875
|
+
* * `'ml-kem-768'` ML-KEM
|
|
2876
|
+
* * `'ml-kem-1024'` ML-KEM
|
|
2877
|
+
*
|
|
2878
|
+
* If `key` is not a {@link KeyObject}, this function behaves as if `key` had been
|
|
2879
|
+
* passed to `crypto.createPrivateKey()`.
|
|
2880
|
+
*
|
|
2881
|
+
* If the `callback` function is provided this function uses libuv's threadpool.
|
|
2882
|
+
* @since v24.7.0
|
|
2883
|
+
*/
|
|
2884
|
+
function decapsulate(
|
|
2885
|
+
key: KeyLike | PrivateKeyInput | JsonWebKeyInput,
|
|
2886
|
+
ciphertext: ArrayBuffer | NodeJS.ArrayBufferView,
|
|
2887
|
+
): NonSharedBuffer;
|
|
2888
|
+
function decapsulate(
|
|
2889
|
+
key: KeyLike | PrivateKeyInput | JsonWebKeyInput,
|
|
2890
|
+
ciphertext: ArrayBuffer | NodeJS.ArrayBufferView,
|
|
2891
|
+
callback: (err: Error, sharedKey: NonSharedBuffer) => void,
|
|
2892
|
+
): void;
|
|
2893
|
+
/**
|
|
2894
|
+
* Computes the Diffie-Hellman shared secret based on a `privateKey` and a `publicKey`.
|
|
2895
|
+
* Both keys must have the same `asymmetricKeyType` and must support either the DH or
|
|
2896
|
+
* ECDH operation.
|
|
2897
|
+
*
|
|
2898
|
+
* If the `callback` function is provided this function uses libuv's threadpool.
|
|
3446
2899
|
* @since v13.9.0, v12.17.0
|
|
3447
2900
|
*/
|
|
3448
2901
|
function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): NonSharedBuffer;
|
|
2902
|
+
function diffieHellman(
|
|
2903
|
+
options: { privateKey: KeyObject; publicKey: KeyObject },
|
|
2904
|
+
callback: (err: Error | null, secret: NonSharedBuffer) => void,
|
|
2905
|
+
): void;
|
|
2906
|
+
/**
|
|
2907
|
+
* Key encapsulation using a KEM algorithm with a public key.
|
|
2908
|
+
*
|
|
2909
|
+
* Supported key types and their KEM algorithms are:
|
|
2910
|
+
*
|
|
2911
|
+
* * `'rsa'` RSA Secret Value Encapsulation
|
|
2912
|
+
* * `'ec'` DHKEM(P-256, HKDF-SHA256), DHKEM(P-384, HKDF-SHA256), DHKEM(P-521, HKDF-SHA256)
|
|
2913
|
+
* * `'x25519'` DHKEM(X25519, HKDF-SHA256)
|
|
2914
|
+
* * `'x448'` DHKEM(X448, HKDF-SHA512)
|
|
2915
|
+
* * `'ml-kem-512'` ML-KEM
|
|
2916
|
+
* * `'ml-kem-768'` ML-KEM
|
|
2917
|
+
* * `'ml-kem-1024'` ML-KEM
|
|
2918
|
+
*
|
|
2919
|
+
* If `key` is not a {@link KeyObject}, this function behaves as if `key` had been
|
|
2920
|
+
* passed to `crypto.createPublicKey()`.
|
|
2921
|
+
*
|
|
2922
|
+
* If the `callback` function is provided this function uses libuv's threadpool.
|
|
2923
|
+
* @since v24.7.0
|
|
2924
|
+
*/
|
|
2925
|
+
function encapsulate(
|
|
2926
|
+
key: KeyLike | PublicKeyInput | JsonWebKeyInput,
|
|
2927
|
+
): { sharedKey: NonSharedBuffer; ciphertext: NonSharedBuffer };
|
|
2928
|
+
function encapsulate(
|
|
2929
|
+
key: KeyLike | PublicKeyInput | JsonWebKeyInput,
|
|
2930
|
+
callback: (err: Error, result: { sharedKey: NonSharedBuffer; ciphertext: NonSharedBuffer }) => void,
|
|
2931
|
+
): void;
|
|
2932
|
+
interface OneShotDigestOptions {
|
|
2933
|
+
/**
|
|
2934
|
+
* Encoding used to encode the returned digest.
|
|
2935
|
+
* @default 'hex'
|
|
2936
|
+
*/
|
|
2937
|
+
outputEncoding?: BinaryToTextEncoding | "buffer" | undefined;
|
|
2938
|
+
/**
|
|
2939
|
+
* For XOF hash functions such as 'shake256', the outputLength option
|
|
2940
|
+
* can be used to specify the desired output length in bytes.
|
|
2941
|
+
*/
|
|
2942
|
+
outputLength?: number | undefined;
|
|
2943
|
+
}
|
|
2944
|
+
interface OneShotDigestOptionsWithStringEncoding extends OneShotDigestOptions {
|
|
2945
|
+
outputEncoding?: BinaryToTextEncoding | undefined;
|
|
2946
|
+
}
|
|
2947
|
+
interface OneShotDigestOptionsWithBufferEncoding extends OneShotDigestOptions {
|
|
2948
|
+
outputEncoding: "buffer";
|
|
2949
|
+
}
|
|
3449
2950
|
/**
|
|
3450
|
-
* A utility for creating one-shot hash digests of data. It can be faster than
|
|
3451
|
-
*
|
|
3452
|
-
*
|
|
3453
|
-
*
|
|
2951
|
+
* A utility for creating one-shot hash digests of data. It can be faster than
|
|
2952
|
+
* the object-based `crypto.createHash()` when hashing a smaller amount of data
|
|
2953
|
+
* (<= 5MB) that's readily available. If the data can be big or if it is streamed,
|
|
2954
|
+
* it's still recommended to use `crypto.createHash()` instead.
|
|
2955
|
+
*
|
|
2956
|
+
* The `algorithm` is dependent on the available algorithms supported by the
|
|
2957
|
+
* version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.
|
|
2958
|
+
* On recent releases of OpenSSL, `openssl list -digest-algorithms` will
|
|
2959
|
+
* display the available digest algorithms.
|
|
2960
|
+
*
|
|
2961
|
+
* If `options` is a string, then it specifies the `outputEncoding`.
|
|
3454
2962
|
*
|
|
3455
2963
|
* Example:
|
|
3456
2964
|
*
|
|
@@ -3470,16 +2978,25 @@ declare module "crypto" {
|
|
|
3470
2978
|
* console.log(crypto.hash('sha1', Buffer.from(base64, 'base64'), 'buffer'));
|
|
3471
2979
|
* ```
|
|
3472
2980
|
* @since v21.7.0, v20.12.0
|
|
3473
|
-
* @param data When `data` is a string, it will be encoded as UTF-8 before being hashed. If a different
|
|
3474
|
-
*
|
|
3475
|
-
*
|
|
2981
|
+
* @param data When `data` is a string, it will be encoded as UTF-8 before being hashed. If a different
|
|
2982
|
+
* input encoding is desired for a string input, user could encode the string
|
|
2983
|
+
* into a `TypedArray` using either `TextEncoder` or `Buffer.from()` and passing
|
|
2984
|
+
* the encoded `TypedArray` into this API instead.
|
|
3476
2985
|
*/
|
|
3477
|
-
function hash(algorithm: string, data: BinaryLike, outputEncoding?: BinaryToTextEncoding): string;
|
|
3478
|
-
function hash(algorithm: string, data: BinaryLike, outputEncoding: "buffer"): NonSharedBuffer;
|
|
3479
2986
|
function hash(
|
|
3480
2987
|
algorithm: string,
|
|
3481
2988
|
data: BinaryLike,
|
|
3482
|
-
|
|
2989
|
+
options?: OneShotDigestOptionsWithStringEncoding | BinaryToTextEncoding,
|
|
2990
|
+
): string;
|
|
2991
|
+
function hash(
|
|
2992
|
+
algorithm: string,
|
|
2993
|
+
data: BinaryLike,
|
|
2994
|
+
options: OneShotDigestOptionsWithBufferEncoding | "buffer",
|
|
2995
|
+
): NonSharedBuffer;
|
|
2996
|
+
function hash(
|
|
2997
|
+
algorithm: string,
|
|
2998
|
+
data: BinaryLike,
|
|
2999
|
+
options: OneShotDigestOptions | BinaryToTextEncoding | "buffer",
|
|
3483
3000
|
): string | NonSharedBuffer;
|
|
3484
3001
|
type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts";
|
|
3485
3002
|
interface CipherInfoOptions {
|
|
@@ -3782,16 +3299,36 @@ declare module "crypto" {
|
|
|
3782
3299
|
* @since v15.6.0
|
|
3783
3300
|
*/
|
|
3784
3301
|
readonly serialNumber: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* The algorithm used to sign the certificate or `undefined` if the signature algorithm is unknown by OpenSSL.
|
|
3304
|
+
* @since v24.9.0
|
|
3305
|
+
*/
|
|
3306
|
+
readonly signatureAlgorithm: string | undefined;
|
|
3307
|
+
/**
|
|
3308
|
+
* The OID of the algorithm used to sign the certificate.
|
|
3309
|
+
* @since v24.9.0
|
|
3310
|
+
*/
|
|
3311
|
+
readonly signatureAlgorithmOid: string;
|
|
3785
3312
|
/**
|
|
3786
3313
|
* The date/time from which this certificate is considered valid.
|
|
3787
3314
|
* @since v15.6.0
|
|
3788
3315
|
*/
|
|
3789
3316
|
readonly validFrom: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* The date/time from which this certificate is valid, encapsulated in a `Date` object.
|
|
3319
|
+
* @since v22.10.0
|
|
3320
|
+
*/
|
|
3321
|
+
readonly validFromDate: Date;
|
|
3790
3322
|
/**
|
|
3791
3323
|
* The date/time until which this certificate is considered valid.
|
|
3792
3324
|
* @since v15.6.0
|
|
3793
3325
|
*/
|
|
3794
3326
|
readonly validTo: string;
|
|
3327
|
+
/**
|
|
3328
|
+
* The date/time until which this certificate is valid, encapsulated in a `Date` object.
|
|
3329
|
+
* @since v22.10.0
|
|
3330
|
+
*/
|
|
3331
|
+
readonly validToDate: Date;
|
|
3795
3332
|
constructor(buffer: BinaryLike);
|
|
3796
3333
|
/**
|
|
3797
3334
|
* Checks whether the certificate matches the given email address.
|
|
@@ -3844,7 +3381,23 @@ declare module "crypto" {
|
|
|
3844
3381
|
*/
|
|
3845
3382
|
checkIP(ip: string): string | undefined;
|
|
3846
3383
|
/**
|
|
3847
|
-
* Checks whether this certificate was issued by the given `otherCert
|
|
3384
|
+
* Checks whether this certificate was potentially issued by the given `otherCert`
|
|
3385
|
+
* by comparing the certificate metadata.
|
|
3386
|
+
*
|
|
3387
|
+
* This is useful for pruning a list of possible issuer certificates which have been
|
|
3388
|
+
* selected using a more rudimentary filtering routine, i.e. just based on subject
|
|
3389
|
+
* and issuer names.
|
|
3390
|
+
*
|
|
3391
|
+
* Finally, to verify that this certificate's signature was produced by a private key
|
|
3392
|
+
* corresponding to `otherCert`'s public key use `x509.verify(publicKey)`
|
|
3393
|
+
* with `otherCert`'s public key represented as a `KeyObject`
|
|
3394
|
+
* like so
|
|
3395
|
+
*
|
|
3396
|
+
* ```js
|
|
3397
|
+
* if (!x509.verify(otherCert.publicKey)) {
|
|
3398
|
+
* throw new Error('otherCert did not issue x509');
|
|
3399
|
+
* }
|
|
3400
|
+
* ```
|
|
3848
3401
|
* @since v15.6.0
|
|
3849
3402
|
*/
|
|
3850
3403
|
checkIssued(otherCert: X509Certificate): boolean;
|
|
@@ -4027,7 +3580,136 @@ declare module "crypto" {
|
|
|
4027
3580
|
* @since v17.4.0
|
|
4028
3581
|
* @return Returns `typedArray`.
|
|
4029
3582
|
*/
|
|
4030
|
-
function getRandomValues<
|
|
3583
|
+
function getRandomValues<
|
|
3584
|
+
T extends Exclude<
|
|
3585
|
+
NodeJS.NonSharedTypedArray,
|
|
3586
|
+
NodeJS.NonSharedFloat16Array | NodeJS.NonSharedFloat32Array | NodeJS.NonSharedFloat64Array
|
|
3587
|
+
>,
|
|
3588
|
+
>(typedArray: T): T;
|
|
3589
|
+
type Argon2Algorithm = "argon2d" | "argon2i" | "argon2id";
|
|
3590
|
+
interface Argon2Parameters {
|
|
3591
|
+
/**
|
|
3592
|
+
* REQUIRED, this is the password for password hashing applications of Argon2.
|
|
3593
|
+
*/
|
|
3594
|
+
message: string | ArrayBuffer | NodeJS.ArrayBufferView;
|
|
3595
|
+
/**
|
|
3596
|
+
* REQUIRED, must be at least 8 bytes long. This is the salt for password hashing applications of Argon2.
|
|
3597
|
+
*/
|
|
3598
|
+
nonce: string | ArrayBuffer | NodeJS.ArrayBufferView;
|
|
3599
|
+
/**
|
|
3600
|
+
* REQUIRED, degree of parallelism determines how many computational chains (lanes)
|
|
3601
|
+
* can be run. Must be greater than 1 and less than `2**24-1`.
|
|
3602
|
+
*/
|
|
3603
|
+
parallelism: number;
|
|
3604
|
+
/**
|
|
3605
|
+
* REQUIRED, the length of the key to generate. Must be greater than 4 and
|
|
3606
|
+
* less than `2**32-1`.
|
|
3607
|
+
*/
|
|
3608
|
+
tagLength: number;
|
|
3609
|
+
/**
|
|
3610
|
+
* REQUIRED, memory cost in 1KiB blocks. Must be greater than
|
|
3611
|
+
* `8 * parallelism` and less than `2**32-1`. The actual number of blocks is rounded
|
|
3612
|
+
* down to the nearest multiple of `4 * parallelism`.
|
|
3613
|
+
*/
|
|
3614
|
+
memory: number;
|
|
3615
|
+
/**
|
|
3616
|
+
* REQUIRED, number of passes (iterations). Must be greater than 1 and less
|
|
3617
|
+
* than `2**32-1`.
|
|
3618
|
+
*/
|
|
3619
|
+
passes: number;
|
|
3620
|
+
/**
|
|
3621
|
+
* OPTIONAL, Random additional input,
|
|
3622
|
+
* similar to the salt, that should **NOT** be stored with the derived key. This is known as pepper in
|
|
3623
|
+
* password hashing applications. If used, must have a length not greater than `2**32-1` bytes.
|
|
3624
|
+
*/
|
|
3625
|
+
secret?: string | ArrayBuffer | NodeJS.ArrayBufferView | undefined;
|
|
3626
|
+
/**
|
|
3627
|
+
* OPTIONAL, Additional data to
|
|
3628
|
+
* be added to the hash, functionally equivalent to salt or secret, but meant for
|
|
3629
|
+
* non-random data. If used, must have a length not greater than `2**32-1` bytes.
|
|
3630
|
+
*/
|
|
3631
|
+
associatedData?: string | ArrayBuffer | NodeJS.ArrayBufferView | undefined;
|
|
3632
|
+
}
|
|
3633
|
+
/**
|
|
3634
|
+
* Provides an asynchronous [Argon2](https://www.rfc-editor.org/rfc/rfc9106.html) implementation. Argon2 is a password-based
|
|
3635
|
+
* key derivation function that is designed to be expensive computationally and
|
|
3636
|
+
* memory-wise in order to make brute-force attacks unrewarding.
|
|
3637
|
+
*
|
|
3638
|
+
* The `nonce` should be as unique as possible. It is recommended that a nonce is
|
|
3639
|
+
* random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details.
|
|
3640
|
+
*
|
|
3641
|
+
* When passing strings for `message`, `nonce`, `secret` or `associatedData`, please
|
|
3642
|
+
* consider [caveats when using strings as inputs to cryptographic APIs](https://nodejs.org/docs/latest-v25.x/api/crypto.html#using-strings-as-inputs-to-cryptographic-apis).
|
|
3643
|
+
*
|
|
3644
|
+
* The `callback` function is called with two arguments: `err` and `derivedKey`.
|
|
3645
|
+
* `err` is an exception object when key derivation fails, otherwise `err` is
|
|
3646
|
+
* `null`. `derivedKey` is passed to the callback as a `Buffer`.
|
|
3647
|
+
*
|
|
3648
|
+
* An exception is thrown when any of the input arguments specify invalid values
|
|
3649
|
+
* or types.
|
|
3650
|
+
*
|
|
3651
|
+
* ```js
|
|
3652
|
+
* const { argon2, randomBytes } = await import('node:crypto');
|
|
3653
|
+
*
|
|
3654
|
+
* const parameters = {
|
|
3655
|
+
* message: 'password',
|
|
3656
|
+
* nonce: randomBytes(16),
|
|
3657
|
+
* parallelism: 4,
|
|
3658
|
+
* tagLength: 64,
|
|
3659
|
+
* memory: 65536,
|
|
3660
|
+
* passes: 3,
|
|
3661
|
+
* };
|
|
3662
|
+
*
|
|
3663
|
+
* argon2('argon2id', parameters, (err, derivedKey) => {
|
|
3664
|
+
* if (err) throw err;
|
|
3665
|
+
* console.log(derivedKey.toString('hex')); // 'af91dad...9520f15'
|
|
3666
|
+
* });
|
|
3667
|
+
* ```
|
|
3668
|
+
* @since v24.7.0
|
|
3669
|
+
* @param algorithm Variant of Argon2, one of `"argon2d"`, `"argon2i"` or `"argon2id"`.
|
|
3670
|
+
* @experimental
|
|
3671
|
+
*/
|
|
3672
|
+
function argon2(
|
|
3673
|
+
algorithm: Argon2Algorithm,
|
|
3674
|
+
parameters: Argon2Parameters,
|
|
3675
|
+
callback: (err: Error | null, derivedKey: NonSharedBuffer) => void,
|
|
3676
|
+
): void;
|
|
3677
|
+
/**
|
|
3678
|
+
* Provides a synchronous [Argon2][] implementation. Argon2 is a password-based
|
|
3679
|
+
* key derivation function that is designed to be expensive computationally and
|
|
3680
|
+
* memory-wise in order to make brute-force attacks unrewarding.
|
|
3681
|
+
*
|
|
3682
|
+
* The `nonce` should be as unique as possible. It is recommended that a nonce is
|
|
3683
|
+
* random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details.
|
|
3684
|
+
*
|
|
3685
|
+
* When passing strings for `message`, `nonce`, `secret` or `associatedData`, please
|
|
3686
|
+
* consider [caveats when using strings as inputs to cryptographic APIs](https://nodejs.org/docs/latest-v25.x/api/crypto.html#using-strings-as-inputs-to-cryptographic-apis).
|
|
3687
|
+
*
|
|
3688
|
+
* An exception is thrown when key derivation fails, otherwise the derived key is
|
|
3689
|
+
* returned as a `Buffer`.
|
|
3690
|
+
*
|
|
3691
|
+
* An exception is thrown when any of the input arguments specify invalid values
|
|
3692
|
+
* or types.
|
|
3693
|
+
*
|
|
3694
|
+
* ```js
|
|
3695
|
+
* const { argon2Sync, randomBytes } = await import('node:crypto');
|
|
3696
|
+
*
|
|
3697
|
+
* const parameters = {
|
|
3698
|
+
* message: 'password',
|
|
3699
|
+
* nonce: randomBytes(16),
|
|
3700
|
+
* parallelism: 4,
|
|
3701
|
+
* tagLength: 64,
|
|
3702
|
+
* memory: 65536,
|
|
3703
|
+
* passes: 3,
|
|
3704
|
+
* };
|
|
3705
|
+
*
|
|
3706
|
+
* const derivedKey = argon2Sync('argon2id', parameters);
|
|
3707
|
+
* console.log(derivedKey.toString('hex')); // 'af91dad...9520f15'
|
|
3708
|
+
* ```
|
|
3709
|
+
* @since v24.7.0
|
|
3710
|
+
* @experimental
|
|
3711
|
+
*/
|
|
3712
|
+
function argon2Sync(algorithm: Argon2Algorithm, parameters: Argon2Parameters): NonSharedBuffer;
|
|
4031
3713
|
/**
|
|
4032
3714
|
* A convenient alias for `crypto.webcrypto.subtle`.
|
|
4033
3715
|
* @since v17.4.0
|
|
@@ -4041,37 +3723,40 @@ declare module "crypto" {
|
|
|
4041
3723
|
*/
|
|
4042
3724
|
const webcrypto: webcrypto.Crypto;
|
|
4043
3725
|
namespace webcrypto {
|
|
4044
|
-
type
|
|
4045
|
-
type
|
|
3726
|
+
type AlgorithmIdentifier = Algorithm | string;
|
|
3727
|
+
type BigInteger = NodeJS.NonSharedUint8Array;
|
|
3728
|
+
type KeyFormat = "jwk" | "pkcs8" | "raw" | "raw-public" | "raw-secret" | "raw-seed" | "spki";
|
|
4046
3729
|
type KeyType = "private" | "public" | "secret";
|
|
4047
3730
|
type KeyUsage =
|
|
3731
|
+
| "decapsulateBits"
|
|
3732
|
+
| "decapsulateKey"
|
|
4048
3733
|
| "decrypt"
|
|
4049
3734
|
| "deriveBits"
|
|
4050
3735
|
| "deriveKey"
|
|
3736
|
+
| "encapsulateBits"
|
|
3737
|
+
| "encapsulateKey"
|
|
4051
3738
|
| "encrypt"
|
|
4052
3739
|
| "sign"
|
|
4053
3740
|
| "unwrapKey"
|
|
4054
3741
|
| "verify"
|
|
4055
3742
|
| "wrapKey";
|
|
4056
|
-
type AlgorithmIdentifier = Algorithm | string;
|
|
4057
3743
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
4058
3744
|
type NamedCurve = string;
|
|
4059
|
-
|
|
3745
|
+
interface AeadParams extends Algorithm {
|
|
3746
|
+
additionalData?: NodeJS.BufferSource;
|
|
3747
|
+
iv: NodeJS.BufferSource;
|
|
3748
|
+
tagLength: number;
|
|
3749
|
+
}
|
|
4060
3750
|
interface AesCbcParams extends Algorithm {
|
|
4061
|
-
iv: BufferSource;
|
|
3751
|
+
iv: NodeJS.BufferSource;
|
|
4062
3752
|
}
|
|
4063
3753
|
interface AesCtrParams extends Algorithm {
|
|
4064
|
-
counter: BufferSource;
|
|
3754
|
+
counter: NodeJS.BufferSource;
|
|
4065
3755
|
length: number;
|
|
4066
3756
|
}
|
|
4067
3757
|
interface AesDerivedKeyParams extends Algorithm {
|
|
4068
3758
|
length: number;
|
|
4069
3759
|
}
|
|
4070
|
-
interface AesGcmParams extends Algorithm {
|
|
4071
|
-
additionalData?: BufferSource;
|
|
4072
|
-
iv: BufferSource;
|
|
4073
|
-
tagLength?: number;
|
|
4074
|
-
}
|
|
4075
3760
|
interface AesKeyAlgorithm extends KeyAlgorithm {
|
|
4076
3761
|
length: number;
|
|
4077
3762
|
}
|
|
@@ -4081,6 +3766,23 @@ declare module "crypto" {
|
|
|
4081
3766
|
interface Algorithm {
|
|
4082
3767
|
name: string;
|
|
4083
3768
|
}
|
|
3769
|
+
interface Argon2Params extends Algorithm {
|
|
3770
|
+
associatedData?: NodeJS.BufferSource;
|
|
3771
|
+
memory: number;
|
|
3772
|
+
nonce: NodeJS.BufferSource;
|
|
3773
|
+
parallelism: number;
|
|
3774
|
+
passes: number;
|
|
3775
|
+
secretValue?: NodeJS.BufferSource;
|
|
3776
|
+
version?: number;
|
|
3777
|
+
}
|
|
3778
|
+
interface CShakeParams extends Algorithm {
|
|
3779
|
+
customization?: NodeJS.BufferSource;
|
|
3780
|
+
functionName?: NodeJS.BufferSource;
|
|
3781
|
+
outputLength: number;
|
|
3782
|
+
}
|
|
3783
|
+
interface ContextParams extends Algorithm {
|
|
3784
|
+
context?: NodeJS.BufferSource;
|
|
3785
|
+
}
|
|
4084
3786
|
interface EcKeyAlgorithm extends KeyAlgorithm {
|
|
4085
3787
|
namedCurve: NamedCurve;
|
|
4086
3788
|
}
|
|
@@ -4096,13 +3798,10 @@ declare module "crypto" {
|
|
|
4096
3798
|
interface EcdsaParams extends Algorithm {
|
|
4097
3799
|
hash: HashAlgorithmIdentifier;
|
|
4098
3800
|
}
|
|
4099
|
-
interface Ed448Params extends Algorithm {
|
|
4100
|
-
context?: BufferSource;
|
|
4101
|
-
}
|
|
4102
3801
|
interface HkdfParams extends Algorithm {
|
|
4103
3802
|
hash: HashAlgorithmIdentifier;
|
|
4104
|
-
info: BufferSource;
|
|
4105
|
-
salt: BufferSource;
|
|
3803
|
+
info: NodeJS.BufferSource;
|
|
3804
|
+
salt: NodeJS.BufferSource;
|
|
4106
3805
|
}
|
|
4107
3806
|
interface HmacImportParams extends Algorithm {
|
|
4108
3807
|
hash: HashAlgorithmIdentifier;
|
|
@@ -4116,6 +3815,10 @@ declare module "crypto" {
|
|
|
4116
3815
|
hash: HashAlgorithmIdentifier;
|
|
4117
3816
|
length?: number;
|
|
4118
3817
|
}
|
|
3818
|
+
interface KangarooTwelveParams {
|
|
3819
|
+
customization?: NodeJS.BufferSource;
|
|
3820
|
+
outputLength: number;
|
|
3821
|
+
}
|
|
4119
3822
|
interface JsonWebKey {
|
|
4120
3823
|
alg?: string;
|
|
4121
3824
|
crv?: string;
|
|
@@ -4139,10 +3842,23 @@ declare module "crypto" {
|
|
|
4139
3842
|
interface KeyAlgorithm {
|
|
4140
3843
|
name: string;
|
|
4141
3844
|
}
|
|
3845
|
+
interface KmacImportParams extends Algorithm {
|
|
3846
|
+
length?: number;
|
|
3847
|
+
}
|
|
3848
|
+
interface KmacKeyAlgorithm extends KeyAlgorithm {
|
|
3849
|
+
length: number;
|
|
3850
|
+
}
|
|
3851
|
+
interface KmacKeyGenParams extends Algorithm {
|
|
3852
|
+
length?: number;
|
|
3853
|
+
}
|
|
3854
|
+
interface KmacParams extends Algorithm {
|
|
3855
|
+
customization?: NodeJS.BufferSource;
|
|
3856
|
+
outputLength: number;
|
|
3857
|
+
}
|
|
4142
3858
|
interface Pbkdf2Params extends Algorithm {
|
|
4143
3859
|
hash: HashAlgorithmIdentifier;
|
|
4144
3860
|
iterations: number;
|
|
4145
|
-
salt: BufferSource;
|
|
3861
|
+
salt: NodeJS.BufferSource;
|
|
4146
3862
|
}
|
|
4147
3863
|
interface RsaHashedImportParams extends Algorithm {
|
|
4148
3864
|
hash: HashAlgorithmIdentifier;
|
|
@@ -4162,7 +3878,7 @@ declare module "crypto" {
|
|
|
4162
3878
|
publicExponent: BigInteger;
|
|
4163
3879
|
}
|
|
4164
3880
|
interface RsaOaepParams extends Algorithm {
|
|
4165
|
-
label?: BufferSource;
|
|
3881
|
+
label?: NodeJS.BufferSource;
|
|
4166
3882
|
}
|
|
4167
3883
|
interface RsaOtherPrimesInfo {
|
|
4168
3884
|
d?: string;
|
|
@@ -4172,270 +3888,110 @@ declare module "crypto" {
|
|
|
4172
3888
|
interface RsaPssParams extends Algorithm {
|
|
4173
3889
|
saltLength: number;
|
|
4174
3890
|
}
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
*/
|
|
3891
|
+
interface TurboShakeParams {
|
|
3892
|
+
domainSeparation?: number;
|
|
3893
|
+
outputLength: number;
|
|
3894
|
+
}
|
|
4180
3895
|
interface Crypto {
|
|
4181
|
-
/**
|
|
4182
|
-
* Provides access to the `SubtleCrypto` API.
|
|
4183
|
-
* @since v15.0.0
|
|
4184
|
-
*/
|
|
4185
3896
|
readonly subtle: SubtleCrypto;
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
*/
|
|
4195
|
-
getRandomValues<T extends Exclude<NodeJS.TypedArray, Float32Array | Float64Array>>(typedArray: T): T;
|
|
4196
|
-
/**
|
|
4197
|
-
* Generates a random {@link https://www.rfc-editor.org/rfc/rfc4122.txt RFC 4122} version 4 UUID.
|
|
4198
|
-
* The UUID is generated using a cryptographic pseudorandom number generator.
|
|
4199
|
-
* @since v16.7.0
|
|
4200
|
-
*/
|
|
3897
|
+
getRandomValues<
|
|
3898
|
+
T extends Exclude<
|
|
3899
|
+
NodeJS.NonSharedTypedArray,
|
|
3900
|
+
NodeJS.NonSharedFloat16Array | NodeJS.NonSharedFloat32Array | NodeJS.NonSharedFloat64Array
|
|
3901
|
+
>,
|
|
3902
|
+
>(
|
|
3903
|
+
typedArray: T,
|
|
3904
|
+
): T;
|
|
4201
3905
|
randomUUID(): UUID;
|
|
4202
|
-
CryptoKey: CryptoKeyConstructor;
|
|
4203
|
-
}
|
|
4204
|
-
// This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable.
|
|
4205
|
-
interface CryptoKeyConstructor {
|
|
4206
|
-
/** Illegal constructor */
|
|
4207
|
-
(_: { readonly _: unique symbol }): never; // Allows instanceof to work but not be callable by the user.
|
|
4208
|
-
readonly length: 0;
|
|
4209
|
-
readonly name: "CryptoKey";
|
|
4210
|
-
readonly prototype: CryptoKey;
|
|
4211
3906
|
}
|
|
4212
|
-
/**
|
|
4213
|
-
* @since v15.0.0
|
|
4214
|
-
*/
|
|
4215
3907
|
interface CryptoKey {
|
|
4216
|
-
/**
|
|
4217
|
-
* An object detailing the algorithm for which the key can be used along with additional algorithm-specific parameters.
|
|
4218
|
-
* @since v15.0.0
|
|
4219
|
-
*/
|
|
4220
3908
|
readonly algorithm: KeyAlgorithm;
|
|
4221
|
-
/**
|
|
4222
|
-
* When `true`, the {@link CryptoKey} can be extracted using either `subtleCrypto.exportKey()` or `subtleCrypto.wrapKey()`.
|
|
4223
|
-
* @since v15.0.0
|
|
4224
|
-
*/
|
|
4225
3909
|
readonly extractable: boolean;
|
|
4226
|
-
/**
|
|
4227
|
-
* A string identifying whether the key is a symmetric (`'secret'`) or asymmetric (`'private'` or `'public'`) key.
|
|
4228
|
-
* @since v15.0.0
|
|
4229
|
-
*/
|
|
4230
3910
|
readonly type: KeyType;
|
|
4231
|
-
/**
|
|
4232
|
-
* An array of strings identifying the operations for which the key may be used.
|
|
4233
|
-
*
|
|
4234
|
-
* The possible usages are:
|
|
4235
|
-
* - `'encrypt'` - The key may be used to encrypt data.
|
|
4236
|
-
* - `'decrypt'` - The key may be used to decrypt data.
|
|
4237
|
-
* - `'sign'` - The key may be used to generate digital signatures.
|
|
4238
|
-
* - `'verify'` - The key may be used to verify digital signatures.
|
|
4239
|
-
* - `'deriveKey'` - The key may be used to derive a new key.
|
|
4240
|
-
* - `'deriveBits'` - The key may be used to derive bits.
|
|
4241
|
-
* - `'wrapKey'` - The key may be used to wrap another key.
|
|
4242
|
-
* - `'unwrapKey'` - The key may be used to unwrap another key.
|
|
4243
|
-
*
|
|
4244
|
-
* Valid key usages depend on the key algorithm (identified by `cryptokey.algorithm.name`).
|
|
4245
|
-
* @since v15.0.0
|
|
4246
|
-
*/
|
|
4247
3911
|
readonly usages: KeyUsage[];
|
|
4248
3912
|
}
|
|
4249
|
-
/**
|
|
4250
|
-
* The `CryptoKeyPair` is a simple dictionary object with `publicKey` and `privateKey` properties, representing an asymmetric key pair.
|
|
4251
|
-
* @since v15.0.0
|
|
4252
|
-
*/
|
|
4253
3913
|
interface CryptoKeyPair {
|
|
4254
|
-
/**
|
|
4255
|
-
* A {@link CryptoKey} whose type will be `'private'`.
|
|
4256
|
-
* @since v15.0.0
|
|
4257
|
-
*/
|
|
4258
3914
|
privateKey: CryptoKey;
|
|
4259
|
-
/**
|
|
4260
|
-
* A {@link CryptoKey} whose type will be `'public'`.
|
|
4261
|
-
* @since v15.0.0
|
|
4262
|
-
*/
|
|
4263
3915
|
publicKey: CryptoKey;
|
|
4264
3916
|
}
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
3917
|
+
interface EncapsulatedBits {
|
|
3918
|
+
sharedKey: ArrayBuffer;
|
|
3919
|
+
ciphertext: ArrayBuffer;
|
|
3920
|
+
}
|
|
3921
|
+
interface EncapsulatedKey {
|
|
3922
|
+
sharedKey: CryptoKey;
|
|
3923
|
+
ciphertext: ArrayBuffer;
|
|
3924
|
+
}
|
|
4268
3925
|
interface SubtleCrypto {
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
3926
|
+
decapsulateBits(
|
|
3927
|
+
decapsulationAlgorithm: AlgorithmIdentifier,
|
|
3928
|
+
decapsulationKey: CryptoKey,
|
|
3929
|
+
ciphertext: NodeJS.BufferSource,
|
|
3930
|
+
): Promise<ArrayBuffer>;
|
|
3931
|
+
decapsulateKey(
|
|
3932
|
+
decapsulationAlgorithm: AlgorithmIdentifier,
|
|
3933
|
+
decapsulationKey: CryptoKey,
|
|
3934
|
+
ciphertext: NodeJS.BufferSource,
|
|
3935
|
+
sharedKeyAlgorithm: AlgorithmIdentifier | HmacImportParams | AesDerivedKeyParams | KmacImportParams,
|
|
3936
|
+
extractable: boolean,
|
|
3937
|
+
usages: KeyUsage[],
|
|
3938
|
+
): Promise<CryptoKey>;
|
|
4282
3939
|
decrypt(
|
|
4283
|
-
algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams |
|
|
3940
|
+
algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AeadParams,
|
|
4284
3941
|
key: CryptoKey,
|
|
4285
|
-
data: BufferSource,
|
|
3942
|
+
data: NodeJS.BufferSource,
|
|
4286
3943
|
): Promise<ArrayBuffer>;
|
|
4287
|
-
/**
|
|
4288
|
-
* Using the method and parameters specified in `algorithm` and the keying material provided by `baseKey`,
|
|
4289
|
-
* `subtle.deriveBits()` attempts to generate `length` bits.
|
|
4290
|
-
* The Node.js implementation requires that when `length` is a number it must be multiple of `8`.
|
|
4291
|
-
* When `length` is `null` the maximum number of bits for a given algorithm is generated. This is allowed
|
|
4292
|
-
* for the `'ECDH'`, `'X25519'`, and `'X448'` algorithms.
|
|
4293
|
-
* If successful, the returned promise will be resolved with an `<ArrayBuffer>` containing the generated data.
|
|
4294
|
-
*
|
|
4295
|
-
* The algorithms currently supported include:
|
|
4296
|
-
*
|
|
4297
|
-
* - `'ECDH'`
|
|
4298
|
-
* - `'X25519'`
|
|
4299
|
-
* - `'X448'`
|
|
4300
|
-
* - `'HKDF'`
|
|
4301
|
-
* - `'PBKDF2'`
|
|
4302
|
-
* @since v15.0.0
|
|
4303
|
-
*/
|
|
4304
|
-
deriveBits(algorithm: EcdhKeyDeriveParams, baseKey: CryptoKey, length: number | null): Promise<ArrayBuffer>;
|
|
4305
3944
|
deriveBits(
|
|
4306
|
-
algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params,
|
|
3945
|
+
algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params | Argon2Params,
|
|
4307
3946
|
baseKey: CryptoKey,
|
|
4308
|
-
length
|
|
3947
|
+
length?: number | null,
|
|
4309
3948
|
): Promise<ArrayBuffer>;
|
|
4310
|
-
/**
|
|
4311
|
-
* Using the method and parameters specified in `algorithm`, and the keying material provided by `baseKey`,
|
|
4312
|
-
* `subtle.deriveKey()` attempts to generate a new <CryptoKey>` based on the method and parameters in `derivedKeyAlgorithm`.
|
|
4313
|
-
*
|
|
4314
|
-
* Calling `subtle.deriveKey()` is equivalent to calling `subtle.deriveBits()` to generate raw keying material,
|
|
4315
|
-
* then passing the result into the `subtle.importKey()` method using the `deriveKeyAlgorithm`, `extractable`, and `keyUsages` parameters as input.
|
|
4316
|
-
*
|
|
4317
|
-
* The algorithms currently supported include:
|
|
4318
|
-
*
|
|
4319
|
-
* - `'ECDH'`
|
|
4320
|
-
* - `'X25519'`
|
|
4321
|
-
* - `'X448'`
|
|
4322
|
-
* - `'HKDF'`
|
|
4323
|
-
* - `'PBKDF2'`
|
|
4324
|
-
* @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}.
|
|
4325
|
-
* @since v15.0.0
|
|
4326
|
-
*/
|
|
4327
3949
|
deriveKey(
|
|
4328
|
-
algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params,
|
|
3950
|
+
algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params | Argon2Params,
|
|
4329
3951
|
baseKey: CryptoKey,
|
|
4330
|
-
|
|
4331
|
-
| AlgorithmIdentifier
|
|
4332
|
-
| AesDerivedKeyParams
|
|
4333
|
-
| HmacImportParams
|
|
4334
|
-
| HkdfParams
|
|
4335
|
-
| Pbkdf2Params,
|
|
3952
|
+
derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | KmacImportParams,
|
|
4336
3953
|
extractable: boolean,
|
|
4337
3954
|
keyUsages: readonly KeyUsage[],
|
|
4338
3955
|
): Promise<CryptoKey>;
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
/**
|
|
4355
|
-
* Using the method and parameters specified by `algorithm` and the keying material provided by `key`,
|
|
4356
|
-
* `subtle.encrypt()` attempts to encipher `data`. If successful,
|
|
4357
|
-
* the returned promise is resolved with an `<ArrayBuffer>` containing the encrypted result.
|
|
4358
|
-
*
|
|
4359
|
-
* The algorithms currently supported include:
|
|
4360
|
-
*
|
|
4361
|
-
* - `'RSA-OAEP'`
|
|
4362
|
-
* - `'AES-CTR'`
|
|
4363
|
-
* - `'AES-CBC'`
|
|
4364
|
-
* - `'AES-GCM'`
|
|
4365
|
-
* @since v15.0.0
|
|
4366
|
-
*/
|
|
3956
|
+
digest(
|
|
3957
|
+
algorithm: AlgorithmIdentifier | CShakeParams | TurboShakeParams | KangarooTwelveParams,
|
|
3958
|
+
data: NodeJS.BufferSource,
|
|
3959
|
+
): Promise<ArrayBuffer>;
|
|
3960
|
+
encapsulateBits(
|
|
3961
|
+
encapsulationAlgorithm: AlgorithmIdentifier,
|
|
3962
|
+
encapsulationKey: CryptoKey,
|
|
3963
|
+
): Promise<EncapsulatedBits>;
|
|
3964
|
+
encapsulateKey(
|
|
3965
|
+
encapsulationAlgorithm: AlgorithmIdentifier,
|
|
3966
|
+
encapsulationKey: CryptoKey,
|
|
3967
|
+
sharedKeyAlgorithm: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | KmacImportParams,
|
|
3968
|
+
extractable: boolean,
|
|
3969
|
+
usages: KeyUsage[],
|
|
3970
|
+
): Promise<EncapsulatedKey>;
|
|
4367
3971
|
encrypt(
|
|
4368
|
-
algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams |
|
|
3972
|
+
algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AeadParams,
|
|
4369
3973
|
key: CryptoKey,
|
|
4370
|
-
data: BufferSource,
|
|
3974
|
+
data: NodeJS.BufferSource,
|
|
4371
3975
|
): Promise<ArrayBuffer>;
|
|
4372
|
-
/**
|
|
4373
|
-
* Exports the given key into the specified format, if supported.
|
|
4374
|
-
*
|
|
4375
|
-
* If the `<CryptoKey>` is not extractable, the returned promise will reject.
|
|
4376
|
-
*
|
|
4377
|
-
* When `format` is either `'pkcs8'` or `'spki'` and the export is successful,
|
|
4378
|
-
* the returned promise will be resolved with an `<ArrayBuffer>` containing the exported key data.
|
|
4379
|
-
*
|
|
4380
|
-
* When `format` is `'jwk'` and the export is successful, the returned promise will be resolved with a
|
|
4381
|
-
* JavaScript object conforming to the {@link https://tools.ietf.org/html/rfc7517 JSON Web Key} specification.
|
|
4382
|
-
* @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
|
|
4383
|
-
* @returns `<Promise>` containing `<ArrayBuffer>`.
|
|
4384
|
-
* @since v15.0.0
|
|
4385
|
-
*/
|
|
4386
3976
|
exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;
|
|
4387
3977
|
exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;
|
|
4388
|
-
|
|
4389
|
-
* Using the method and parameters provided in `algorithm`,
|
|
4390
|
-
* `subtle.generateKey()` attempts to generate new keying material.
|
|
4391
|
-
* Depending the method used, the method may generate either a single `<CryptoKey>` or a `<CryptoKeyPair>`.
|
|
4392
|
-
*
|
|
4393
|
-
* The `<CryptoKeyPair>` (public and private key) generating algorithms supported include:
|
|
4394
|
-
*
|
|
4395
|
-
* - `'RSASSA-PKCS1-v1_5'`
|
|
4396
|
-
* - `'RSA-PSS'`
|
|
4397
|
-
* - `'RSA-OAEP'`
|
|
4398
|
-
* - `'ECDSA'`
|
|
4399
|
-
* - `'Ed25519'`
|
|
4400
|
-
* - `'Ed448'`
|
|
4401
|
-
* - `'ECDH'`
|
|
4402
|
-
* - `'X25519'`
|
|
4403
|
-
* - `'X448'`
|
|
4404
|
-
* The `<CryptoKey>` (secret key) generating algorithms supported include:
|
|
4405
|
-
*
|
|
4406
|
-
* - `'HMAC'`
|
|
4407
|
-
* - `'AES-CTR'`
|
|
4408
|
-
* - `'AES-CBC'`
|
|
4409
|
-
* - `'AES-GCM'`
|
|
4410
|
-
* - `'AES-KW'`
|
|
4411
|
-
* @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}.
|
|
4412
|
-
* @since v15.0.0
|
|
4413
|
-
*/
|
|
3978
|
+
exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
|
|
4414
3979
|
generateKey(
|
|
4415
3980
|
algorithm: RsaHashedKeyGenParams | EcKeyGenParams,
|
|
4416
3981
|
extractable: boolean,
|
|
4417
|
-
keyUsages:
|
|
3982
|
+
keyUsages: KeyUsage[],
|
|
4418
3983
|
): Promise<CryptoKeyPair>;
|
|
4419
3984
|
generateKey(
|
|
4420
|
-
algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params,
|
|
3985
|
+
algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params | KmacKeyGenParams,
|
|
4421
3986
|
extractable: boolean,
|
|
4422
|
-
keyUsages:
|
|
3987
|
+
keyUsages: KeyUsage[],
|
|
4423
3988
|
): Promise<CryptoKey>;
|
|
4424
3989
|
generateKey(
|
|
4425
3990
|
algorithm: AlgorithmIdentifier,
|
|
4426
3991
|
extractable: boolean,
|
|
4427
3992
|
keyUsages: KeyUsage[],
|
|
4428
3993
|
): Promise<CryptoKeyPair | CryptoKey>;
|
|
4429
|
-
|
|
4430
|
-
* The `subtle.importKey()` method attempts to interpret the provided `keyData` as the given `format`
|
|
4431
|
-
* to create a `<CryptoKey>` instance using the provided `algorithm`, `extractable`, and `keyUsages` arguments.
|
|
4432
|
-
* If the import is successful, the returned promise will be resolved with the created `<CryptoKey>`.
|
|
4433
|
-
*
|
|
4434
|
-
* If importing a `'PBKDF2'` key, `extractable` must be `false`.
|
|
4435
|
-
* @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
|
|
4436
|
-
* @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}.
|
|
4437
|
-
* @since v15.0.0
|
|
4438
|
-
*/
|
|
3994
|
+
getPublicKey(key: CryptoKey, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
4439
3995
|
importKey(
|
|
4440
3996
|
format: "jwk",
|
|
4441
3997
|
keyData: JsonWebKey,
|
|
@@ -4444,147 +4000,59 @@ declare module "crypto" {
|
|
|
4444
4000
|
| RsaHashedImportParams
|
|
4445
4001
|
| EcKeyImportParams
|
|
4446
4002
|
| HmacImportParams
|
|
4447
|
-
| AesKeyAlgorithm
|
|
4003
|
+
| AesKeyAlgorithm
|
|
4004
|
+
| KmacImportParams,
|
|
4448
4005
|
extractable: boolean,
|
|
4449
|
-
keyUsages:
|
|
4006
|
+
keyUsages: KeyUsage[],
|
|
4450
4007
|
): Promise<CryptoKey>;
|
|
4451
4008
|
importKey(
|
|
4452
4009
|
format: Exclude<KeyFormat, "jwk">,
|
|
4453
|
-
keyData: BufferSource,
|
|
4010
|
+
keyData: NodeJS.BufferSource,
|
|
4454
4011
|
algorithm:
|
|
4455
4012
|
| AlgorithmIdentifier
|
|
4456
4013
|
| RsaHashedImportParams
|
|
4457
4014
|
| EcKeyImportParams
|
|
4458
4015
|
| HmacImportParams
|
|
4459
|
-
| AesKeyAlgorithm
|
|
4016
|
+
| AesKeyAlgorithm
|
|
4017
|
+
| KmacImportParams,
|
|
4460
4018
|
extractable: boolean,
|
|
4461
4019
|
keyUsages: KeyUsage[],
|
|
4462
4020
|
): Promise<CryptoKey>;
|
|
4463
|
-
/**
|
|
4464
|
-
* Using the method and parameters given by `algorithm` and the keying material provided by `key`,
|
|
4465
|
-
* `subtle.sign()` attempts to generate a cryptographic signature of `data`. If successful,
|
|
4466
|
-
* the returned promise is resolved with an `<ArrayBuffer>` containing the generated signature.
|
|
4467
|
-
*
|
|
4468
|
-
* The algorithms currently supported include:
|
|
4469
|
-
*
|
|
4470
|
-
* - `'RSASSA-PKCS1-v1_5'`
|
|
4471
|
-
* - `'RSA-PSS'`
|
|
4472
|
-
* - `'ECDSA'`
|
|
4473
|
-
* - `'Ed25519'`
|
|
4474
|
-
* - `'Ed448'`
|
|
4475
|
-
* - `'HMAC'`
|
|
4476
|
-
* @since v15.0.0
|
|
4477
|
-
*/
|
|
4478
4021
|
sign(
|
|
4479
|
-
algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams |
|
|
4022
|
+
algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | ContextParams | KmacParams,
|
|
4480
4023
|
key: CryptoKey,
|
|
4481
|
-
data: BufferSource,
|
|
4024
|
+
data: NodeJS.BufferSource,
|
|
4482
4025
|
): Promise<ArrayBuffer>;
|
|
4483
|
-
/**
|
|
4484
|
-
* In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material.
|
|
4485
|
-
* The `subtle.unwrapKey()` method attempts to decrypt a wrapped key and create a `<CryptoKey>` instance.
|
|
4486
|
-
* It is equivalent to calling `subtle.decrypt()` first on the encrypted key data (using the `wrappedKey`, `unwrapAlgo`, and `unwrappingKey` arguments as input)
|
|
4487
|
-
* then passing the results in to the `subtle.importKey()` method using the `unwrappedKeyAlgo`, `extractable`, and `keyUsages` arguments as inputs.
|
|
4488
|
-
* If successful, the returned promise is resolved with a `<CryptoKey>` object.
|
|
4489
|
-
*
|
|
4490
|
-
* The wrapping algorithms currently supported include:
|
|
4491
|
-
*
|
|
4492
|
-
* - `'RSA-OAEP'`
|
|
4493
|
-
* - `'AES-CTR'`
|
|
4494
|
-
* - `'AES-CBC'`
|
|
4495
|
-
* - `'AES-GCM'`
|
|
4496
|
-
* - `'AES-KW'`
|
|
4497
|
-
*
|
|
4498
|
-
* The unwrapped key algorithms supported include:
|
|
4499
|
-
*
|
|
4500
|
-
* - `'RSASSA-PKCS1-v1_5'`
|
|
4501
|
-
* - `'RSA-PSS'`
|
|
4502
|
-
* - `'RSA-OAEP'`
|
|
4503
|
-
* - `'ECDSA'`
|
|
4504
|
-
* - `'Ed25519'`
|
|
4505
|
-
* - `'Ed448'`
|
|
4506
|
-
* - `'ECDH'`
|
|
4507
|
-
* - `'X25519'`
|
|
4508
|
-
* - `'X448'`
|
|
4509
|
-
* - `'HMAC'`
|
|
4510
|
-
* - `'AES-CTR'`
|
|
4511
|
-
* - `'AES-CBC'`
|
|
4512
|
-
* - `'AES-GCM'`
|
|
4513
|
-
* - `'AES-KW'`
|
|
4514
|
-
* @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
|
|
4515
|
-
* @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}.
|
|
4516
|
-
* @since v15.0.0
|
|
4517
|
-
*/
|
|
4518
4026
|
unwrapKey(
|
|
4519
4027
|
format: KeyFormat,
|
|
4520
|
-
wrappedKey: BufferSource,
|
|
4028
|
+
wrappedKey: NodeJS.BufferSource,
|
|
4521
4029
|
unwrappingKey: CryptoKey,
|
|
4522
|
-
unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams |
|
|
4030
|
+
unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AeadParams,
|
|
4523
4031
|
unwrappedKeyAlgorithm:
|
|
4524
4032
|
| AlgorithmIdentifier
|
|
4525
4033
|
| RsaHashedImportParams
|
|
4526
4034
|
| EcKeyImportParams
|
|
4527
4035
|
| HmacImportParams
|
|
4528
|
-
| AesKeyAlgorithm
|
|
4036
|
+
| AesKeyAlgorithm
|
|
4037
|
+
| KmacImportParams,
|
|
4529
4038
|
extractable: boolean,
|
|
4530
4039
|
keyUsages: KeyUsage[],
|
|
4531
4040
|
): Promise<CryptoKey>;
|
|
4532
|
-
/**
|
|
4533
|
-
* Using the method and parameters given in `algorithm` and the keying material provided by `key`,
|
|
4534
|
-
* `subtle.verify()` attempts to verify that `signature` is a valid cryptographic signature of `data`.
|
|
4535
|
-
* The returned promise is resolved with either `true` or `false`.
|
|
4536
|
-
*
|
|
4537
|
-
* The algorithms currently supported include:
|
|
4538
|
-
*
|
|
4539
|
-
* - `'RSASSA-PKCS1-v1_5'`
|
|
4540
|
-
* - `'RSA-PSS'`
|
|
4541
|
-
* - `'ECDSA'`
|
|
4542
|
-
* - `'Ed25519'`
|
|
4543
|
-
* - `'Ed448'`
|
|
4544
|
-
* - `'HMAC'`
|
|
4545
|
-
* @since v15.0.0
|
|
4546
|
-
*/
|
|
4547
4041
|
verify(
|
|
4548
|
-
algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams |
|
|
4042
|
+
algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | ContextParams | KmacParams,
|
|
4549
4043
|
key: CryptoKey,
|
|
4550
|
-
signature: BufferSource,
|
|
4551
|
-
data: BufferSource,
|
|
4044
|
+
signature: NodeJS.BufferSource,
|
|
4045
|
+
data: NodeJS.BufferSource,
|
|
4552
4046
|
): Promise<boolean>;
|
|
4553
|
-
/**
|
|
4554
|
-
* In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material.
|
|
4555
|
-
* The `subtle.wrapKey()` method exports the keying material into the format identified by `format`,
|
|
4556
|
-
* then encrypts it using the method and parameters specified by `wrapAlgo` and the keying material provided by `wrappingKey`.
|
|
4557
|
-
* It is the equivalent to calling `subtle.exportKey()` using `format` and `key` as the arguments,
|
|
4558
|
-
* then passing the result to the `subtle.encrypt()` method using `wrappingKey` and `wrapAlgo` as inputs.
|
|
4559
|
-
* If successful, the returned promise will be resolved with an `<ArrayBuffer>` containing the encrypted key data.
|
|
4560
|
-
*
|
|
4561
|
-
* The wrapping algorithms currently supported include:
|
|
4562
|
-
*
|
|
4563
|
-
* - `'RSA-OAEP'`
|
|
4564
|
-
* - `'AES-CTR'`
|
|
4565
|
-
* - `'AES-CBC'`
|
|
4566
|
-
* - `'AES-GCM'`
|
|
4567
|
-
* - `'AES-KW'`
|
|
4568
|
-
* @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
|
|
4569
|
-
* @since v15.0.0
|
|
4570
|
-
*/
|
|
4571
4047
|
wrapKey(
|
|
4572
4048
|
format: KeyFormat,
|
|
4573
4049
|
key: CryptoKey,
|
|
4574
4050
|
wrappingKey: CryptoKey,
|
|
4575
|
-
wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams |
|
|
4051
|
+
wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AeadParams,
|
|
4576
4052
|
): Promise<ArrayBuffer>;
|
|
4577
4053
|
}
|
|
4578
4054
|
}
|
|
4579
|
-
|
|
4580
|
-
global {
|
|
4581
|
-
var crypto: typeof globalThis extends {
|
|
4582
|
-
crypto: infer T;
|
|
4583
|
-
onmessage: any;
|
|
4584
|
-
} ? T
|
|
4585
|
-
: webcrypto.Crypto;
|
|
4586
|
-
}
|
|
4587
4055
|
}
|
|
4588
|
-
declare module "
|
|
4589
|
-
export * from "crypto";
|
|
4056
|
+
declare module "crypto" {
|
|
4057
|
+
export * from "node:crypto";
|
|
4590
4058
|
}
|