@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,49 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
* The `node:fs` module enables interacting with the file system in a
|
|
3
|
-
* way modeled on standard POSIX functions.
|
|
4
|
-
*
|
|
5
|
-
* To use the promise-based APIs:
|
|
6
|
-
*
|
|
7
|
-
* ```js
|
|
8
|
-
* import * as fs from 'node:fs/promises';
|
|
9
|
-
* ```
|
|
10
|
-
*
|
|
11
|
-
* To use the callback and sync APIs:
|
|
12
|
-
*
|
|
13
|
-
* ```js
|
|
14
|
-
* import * as fs from 'node:fs';
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* All file system operations have synchronous, callback, and promise-based
|
|
18
|
-
* forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
|
|
19
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/fs.js)
|
|
20
|
-
*/
|
|
21
|
-
declare module "fs" {
|
|
1
|
+
declare module "node:fs" {
|
|
22
2
|
import { NonSharedBuffer } from "node:buffer";
|
|
3
|
+
import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
|
|
4
|
+
import { FileHandle } from "node:fs/promises";
|
|
23
5
|
import * as stream from "node:stream";
|
|
24
|
-
import { Abortable, EventEmitter } from "node:events";
|
|
25
6
|
import { URL } from "node:url";
|
|
26
|
-
import * as promises from "node:fs/promises";
|
|
27
|
-
export { promises };
|
|
28
7
|
/**
|
|
29
8
|
* Valid types for path values in "fs".
|
|
30
9
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
10
|
+
type PathLike = string | Buffer | URL;
|
|
11
|
+
type PathOrFileDescriptor = PathLike | number;
|
|
12
|
+
type TimeLike = string | number | Date;
|
|
13
|
+
type NoParamCallback = (err: NodeJS.ErrnoException | null) => void;
|
|
14
|
+
type BufferEncodingOption =
|
|
36
15
|
| "buffer"
|
|
37
16
|
| {
|
|
38
17
|
encoding: "buffer";
|
|
39
18
|
};
|
|
40
|
-
|
|
19
|
+
interface ObjectEncodingOptions {
|
|
41
20
|
encoding?: BufferEncoding | null | undefined;
|
|
42
21
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
22
|
+
type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null;
|
|
23
|
+
type OpenMode = number | string;
|
|
24
|
+
type Mode = number | string;
|
|
25
|
+
interface StatsBase<T> {
|
|
47
26
|
isFile(): boolean;
|
|
48
27
|
isDirectory(): boolean;
|
|
49
28
|
isBlockDevice(): boolean;
|
|
@@ -70,7 +49,7 @@ declare module "fs" {
|
|
|
70
49
|
ctime: Date;
|
|
71
50
|
birthtime: Date;
|
|
72
51
|
}
|
|
73
|
-
|
|
52
|
+
interface Stats extends StatsBase<number> {}
|
|
74
53
|
/**
|
|
75
54
|
* A `fs.Stats` object provides information about a file.
|
|
76
55
|
*
|
|
@@ -131,8 +110,10 @@ declare module "fs" {
|
|
|
131
110
|
* ```
|
|
132
111
|
* @since v0.1.21
|
|
133
112
|
*/
|
|
134
|
-
|
|
135
|
-
|
|
113
|
+
class Stats {
|
|
114
|
+
private constructor();
|
|
115
|
+
}
|
|
116
|
+
interface StatsFsBase<T> {
|
|
136
117
|
/** Type of file system. */
|
|
137
118
|
type: T;
|
|
138
119
|
/** Optimal transfer block size. */
|
|
@@ -148,7 +129,7 @@ declare module "fs" {
|
|
|
148
129
|
/** Free file nodes in file system. */
|
|
149
130
|
ffree: T;
|
|
150
131
|
}
|
|
151
|
-
|
|
132
|
+
interface StatsFs extends StatsFsBase<number> {}
|
|
152
133
|
/**
|
|
153
134
|
* Provides information about a mounted file system.
|
|
154
135
|
*
|
|
@@ -183,9 +164,9 @@ declare module "fs" {
|
|
|
183
164
|
* ```
|
|
184
165
|
* @since v19.6.0, v18.15.0
|
|
185
166
|
*/
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
167
|
+
class StatsFs {}
|
|
168
|
+
interface BigIntStatsFs extends StatsFsBase<bigint> {}
|
|
169
|
+
interface StatFsOptions {
|
|
189
170
|
bigint?: boolean | undefined;
|
|
190
171
|
}
|
|
191
172
|
/**
|
|
@@ -197,7 +178,7 @@ declare module "fs" {
|
|
|
197
178
|
* the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
|
|
198
179
|
* @since v10.10.0
|
|
199
180
|
*/
|
|
200
|
-
|
|
181
|
+
class Dirent<Name extends string | Buffer = string> {
|
|
201
182
|
/**
|
|
202
183
|
* Returns `true` if the `fs.Dirent` object describes a regular file.
|
|
203
184
|
* @since v10.10.0
|
|
@@ -242,16 +223,10 @@ declare module "fs" {
|
|
|
242
223
|
*/
|
|
243
224
|
name: Name;
|
|
244
225
|
/**
|
|
245
|
-
* The
|
|
246
|
-
* @since v20.12.0
|
|
226
|
+
* The path to the parent directory of the file this `fs.Dirent` object refers to.
|
|
227
|
+
* @since v20.12.0, v18.20.0
|
|
247
228
|
*/
|
|
248
229
|
parentPath: string;
|
|
249
|
-
/**
|
|
250
|
-
* Alias for `dirent.parentPath`.
|
|
251
|
-
* @since v20.1.0
|
|
252
|
-
* @deprecated Since v20.12.0
|
|
253
|
-
*/
|
|
254
|
-
path: string;
|
|
255
230
|
}
|
|
256
231
|
/**
|
|
257
232
|
* A class representing a directory stream.
|
|
@@ -274,7 +249,7 @@ declare module "fs" {
|
|
|
274
249
|
* closed after the iterator exits.
|
|
275
250
|
* @since v12.12.0
|
|
276
251
|
*/
|
|
277
|
-
|
|
252
|
+
class Dir implements AsyncIterable<Dirent> {
|
|
278
253
|
/**
|
|
279
254
|
* The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`.
|
|
280
255
|
* @since v12.12.0
|
|
@@ -327,6 +302,18 @@ declare module "fs" {
|
|
|
327
302
|
* @since v12.12.0
|
|
328
303
|
*/
|
|
329
304
|
readSync(): Dirent | null;
|
|
305
|
+
/**
|
|
306
|
+
* Calls `dir.close()` if the directory handle is open, and returns a promise that
|
|
307
|
+
* fulfills when disposal is complete.
|
|
308
|
+
* @since v24.1.0
|
|
309
|
+
*/
|
|
310
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
311
|
+
/**
|
|
312
|
+
* Calls `dir.closeSync()` if the directory handle is open, and returns
|
|
313
|
+
* `undefined`.
|
|
314
|
+
* @since v24.1.0
|
|
315
|
+
*/
|
|
316
|
+
[Symbol.dispose](): void;
|
|
330
317
|
}
|
|
331
318
|
/**
|
|
332
319
|
* Class: fs.StatWatcher
|
|
@@ -334,7 +321,7 @@ declare module "fs" {
|
|
|
334
321
|
* Extends `EventEmitter`
|
|
335
322
|
* A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
|
|
336
323
|
*/
|
|
337
|
-
|
|
324
|
+
interface StatWatcher extends EventEmitter {
|
|
338
325
|
/**
|
|
339
326
|
* When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have
|
|
340
327
|
* no effect.
|
|
@@ -355,7 +342,12 @@ declare module "fs" {
|
|
|
355
342
|
*/
|
|
356
343
|
unref(): this;
|
|
357
344
|
}
|
|
358
|
-
|
|
345
|
+
interface FSWatcherEventMap {
|
|
346
|
+
"change": [eventType: string, filename: string | NonSharedBuffer];
|
|
347
|
+
"close": [];
|
|
348
|
+
"error": [error: Error];
|
|
349
|
+
}
|
|
350
|
+
interface FSWatcher extends InternalEventEmitter<FSWatcherEventMap> {
|
|
359
351
|
/**
|
|
360
352
|
* Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
|
|
361
353
|
* @since v0.5.8
|
|
@@ -380,44 +372,19 @@ declare module "fs" {
|
|
|
380
372
|
* @since v14.3.0, v12.20.0
|
|
381
373
|
*/
|
|
382
374
|
unref(): this;
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
390
|
-
addListener(event: "change", listener: (eventType: string, filename: string | NonSharedBuffer) => void): this;
|
|
391
|
-
addListener(event: "close", listener: () => void): this;
|
|
392
|
-
addListener(event: "error", listener: (error: Error) => void): this;
|
|
393
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
394
|
-
on(event: "change", listener: (eventType: string, filename: string | NonSharedBuffer) => void): this;
|
|
395
|
-
on(event: "close", listener: () => void): this;
|
|
396
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
397
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
398
|
-
once(event: "change", listener: (eventType: string, filename: string | NonSharedBuffer) => void): this;
|
|
399
|
-
once(event: "close", listener: () => void): this;
|
|
400
|
-
once(event: "error", listener: (error: Error) => void): this;
|
|
401
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
402
|
-
prependListener(
|
|
403
|
-
event: "change",
|
|
404
|
-
listener: (eventType: string, filename: string | NonSharedBuffer) => void,
|
|
405
|
-
): this;
|
|
406
|
-
prependListener(event: "close", listener: () => void): this;
|
|
407
|
-
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
408
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
409
|
-
prependOnceListener(
|
|
410
|
-
event: "change",
|
|
411
|
-
listener: (eventType: string, filename: string | NonSharedBuffer) => void,
|
|
412
|
-
): this;
|
|
413
|
-
prependOnceListener(event: "close", listener: () => void): this;
|
|
414
|
-
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
375
|
+
}
|
|
376
|
+
interface ReadStreamEventMap extends stream.ReadableEventMap {
|
|
377
|
+
"close": [];
|
|
378
|
+
"data": [chunk: string | NonSharedBuffer];
|
|
379
|
+
"open": [fd: number];
|
|
380
|
+
"ready": [];
|
|
415
381
|
}
|
|
416
382
|
/**
|
|
417
|
-
* Instances of `fs.ReadStream`
|
|
383
|
+
* Instances of `fs.ReadStream` cannot be constructed directly. They are created and
|
|
384
|
+
* returned using the `fs.createReadStream()` function.
|
|
418
385
|
* @since v0.1.93
|
|
419
386
|
*/
|
|
420
|
-
|
|
387
|
+
class ReadStream extends stream.Readable {
|
|
421
388
|
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
422
389
|
/**
|
|
423
390
|
* The number of bytes that have been read so far.
|
|
@@ -437,60 +404,251 @@ declare module "fs" {
|
|
|
437
404
|
* @since v11.2.0, v10.16.0
|
|
438
405
|
*/
|
|
439
406
|
pending: boolean;
|
|
407
|
+
// #region InternalEventEmitter
|
|
408
|
+
addListener<E extends keyof ReadStreamEventMap>(
|
|
409
|
+
eventName: E,
|
|
410
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
411
|
+
): this;
|
|
412
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
413
|
+
emit<E extends keyof ReadStreamEventMap>(eventName: E, ...args: ReadStreamEventMap[E]): boolean;
|
|
414
|
+
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
415
|
+
listenerCount<E extends keyof ReadStreamEventMap>(
|
|
416
|
+
eventName: E,
|
|
417
|
+
listener?: (...args: ReadStreamEventMap[E]) => void,
|
|
418
|
+
): number;
|
|
419
|
+
listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
|
|
420
|
+
listeners<E extends keyof ReadStreamEventMap>(eventName: E): ((...args: ReadStreamEventMap[E]) => void)[];
|
|
421
|
+
listeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
422
|
+
off<E extends keyof ReadStreamEventMap>(eventName: E, listener: (...args: ReadStreamEventMap[E]) => void): this;
|
|
423
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
424
|
+
on<E extends keyof ReadStreamEventMap>(eventName: E, listener: (...args: ReadStreamEventMap[E]) => void): this;
|
|
425
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
426
|
+
once<E extends keyof ReadStreamEventMap>(
|
|
427
|
+
eventName: E,
|
|
428
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
429
|
+
): this;
|
|
430
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
431
|
+
prependListener<E extends keyof ReadStreamEventMap>(
|
|
432
|
+
eventName: E,
|
|
433
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
434
|
+
): this;
|
|
435
|
+
prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
436
|
+
prependOnceListener<E extends keyof ReadStreamEventMap>(
|
|
437
|
+
eventName: E,
|
|
438
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
439
|
+
): this;
|
|
440
|
+
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
441
|
+
rawListeners<E extends keyof ReadStreamEventMap>(eventName: E): ((...args: ReadStreamEventMap[E]) => void)[];
|
|
442
|
+
rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
443
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
444
|
+
removeAllListeners<E extends keyof ReadStreamEventMap>(eventName?: E): this;
|
|
445
|
+
removeAllListeners(eventName?: string | symbol): this;
|
|
446
|
+
removeListener<E extends keyof ReadStreamEventMap>(
|
|
447
|
+
eventName: E,
|
|
448
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
449
|
+
): this;
|
|
450
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
451
|
+
// #endregion
|
|
452
|
+
}
|
|
453
|
+
interface Utf8StreamOptions {
|
|
454
|
+
/**
|
|
455
|
+
* Appends writes to dest file instead of truncating it.
|
|
456
|
+
* @default true
|
|
457
|
+
*/
|
|
458
|
+
append?: boolean | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* Which type of data you can send to the write
|
|
461
|
+
* function, supported values are `'utf8'` or `'buffer'`.
|
|
462
|
+
* @default 'utf8'
|
|
463
|
+
*/
|
|
464
|
+
contentMode?: "utf8" | "buffer" | undefined;
|
|
440
465
|
/**
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
* 2. close
|
|
444
|
-
* 3. ready
|
|
466
|
+
* A path to a file to be written to (mode controlled by the
|
|
467
|
+
* append option).
|
|
445
468
|
*/
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
469
|
+
dest?: string | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* A file descriptor, something that is returned by `fs.open()`
|
|
472
|
+
* or `fs.openSync()`.
|
|
473
|
+
*/
|
|
474
|
+
fd?: number | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* An object that has the same API as the `fs` module, useful
|
|
477
|
+
* for mocking, testing, or customizing the behavior of the stream.
|
|
478
|
+
*/
|
|
479
|
+
fs?: object | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* Perform a `fs.fsyncSync()` every time a write is
|
|
482
|
+
* completed.
|
|
483
|
+
*/
|
|
484
|
+
fsync?: boolean | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* The maximum length of the internal buffer. If a write
|
|
487
|
+
* operation would cause the buffer to exceed `maxLength`, the data written is
|
|
488
|
+
* dropped and a drop event is emitted with the dropped data
|
|
489
|
+
*/
|
|
490
|
+
maxLength?: number | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* The maximum number of bytes that can be written;
|
|
493
|
+
* @default 16384
|
|
494
|
+
*/
|
|
495
|
+
maxWrite?: number | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* The minimum length of the internal buffer that is
|
|
498
|
+
* required to be full before flushing.
|
|
499
|
+
*/
|
|
500
|
+
minLength?: number | undefined;
|
|
501
|
+
/**
|
|
502
|
+
* Ensure directory for `dest` file exists when true.
|
|
503
|
+
* @default false
|
|
504
|
+
*/
|
|
505
|
+
mkdir?: boolean | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* Specify the creating file mode (see `fs.open()`).
|
|
508
|
+
*/
|
|
509
|
+
mode?: number | string | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* Calls flush every `periodicFlush` milliseconds.
|
|
512
|
+
*/
|
|
513
|
+
periodicFlush?: number | undefined;
|
|
514
|
+
/**
|
|
515
|
+
* A function that will be called when `write()`,
|
|
516
|
+
* `writeSync()`, or `flushSync()` encounters an `EAGAIN` or `EBUSY` error.
|
|
517
|
+
* If the return value is `true` the operation will be retried, otherwise it
|
|
518
|
+
* will bubble the error. The `err` is the error that caused this function to
|
|
519
|
+
* be called, `writeBufferLen` is the length of the buffer that was written,
|
|
520
|
+
* and `remainingBufferLen` is the length of the remaining buffer that the
|
|
521
|
+
* stream did not try to write.
|
|
522
|
+
*/
|
|
523
|
+
retryEAGAIN?: ((err: Error | null, writeBufferLen: number, remainingBufferLen: number) => boolean) | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* Perform writes synchronously.
|
|
526
|
+
*/
|
|
527
|
+
sync?: boolean | undefined;
|
|
528
|
+
}
|
|
529
|
+
interface Utf8StreamEventMap {
|
|
530
|
+
"close": [];
|
|
531
|
+
"drain": [];
|
|
532
|
+
"drop": [data: string | Buffer];
|
|
533
|
+
"error": [error: Error];
|
|
534
|
+
"finish": [];
|
|
535
|
+
"ready": [];
|
|
536
|
+
"write": [n: number];
|
|
451
537
|
}
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* The Keys are events of the ReadStream and the values are the functions that are called when the event is emitted.
|
|
455
|
-
*/
|
|
456
|
-
type ReadStreamEvents = {
|
|
457
|
-
close: () => void;
|
|
458
|
-
data: (chunk: Buffer | string) => void;
|
|
459
|
-
end: () => void;
|
|
460
|
-
error: (err: Error) => void;
|
|
461
|
-
open: (fd: number) => void;
|
|
462
|
-
pause: () => void;
|
|
463
|
-
readable: () => void;
|
|
464
|
-
ready: () => void;
|
|
465
|
-
resume: () => void;
|
|
466
|
-
} & CustomEvents;
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* string & {} allows to allow any kind of strings for the event
|
|
470
|
-
* but still allows to have auto completion for the normal events.
|
|
471
|
-
*/
|
|
472
|
-
type CustomEvents = { [Key in string & {} | symbol]: (...args: any[]) => void };
|
|
473
|
-
|
|
474
538
|
/**
|
|
475
|
-
*
|
|
539
|
+
* An optimized UTF-8 stream writer that allows for flushing all the internal
|
|
540
|
+
* buffering on demand. It handles `EAGAIN` errors correctly, allowing for
|
|
541
|
+
* customization, for example, by dropping content if the disk is busy.
|
|
542
|
+
* @since v24.6.0
|
|
543
|
+
* @experimental
|
|
476
544
|
*/
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
545
|
+
class Utf8Stream implements EventEmitter {
|
|
546
|
+
constructor(options: Utf8StreamOptions);
|
|
547
|
+
/**
|
|
548
|
+
* Whether the stream is appending to the file or truncating it.
|
|
549
|
+
*/
|
|
550
|
+
readonly append: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* The type of data that can be written to the stream. Supported
|
|
553
|
+
* values are `'utf8'` or `'buffer'`.
|
|
554
|
+
* @default 'utf8'
|
|
555
|
+
*/
|
|
556
|
+
readonly contentMode: "utf8" | "buffer";
|
|
557
|
+
/**
|
|
558
|
+
* Close the stream immediately, without flushing the internal buffer.
|
|
559
|
+
*/
|
|
560
|
+
destroy(): void;
|
|
561
|
+
/**
|
|
562
|
+
* Close the stream gracefully, flushing the internal buffer before closing.
|
|
563
|
+
*/
|
|
564
|
+
end(): void;
|
|
565
|
+
/**
|
|
566
|
+
* The file descriptor that is being written to.
|
|
567
|
+
*/
|
|
568
|
+
readonly fd: number;
|
|
569
|
+
/**
|
|
570
|
+
* The file that is being written to.
|
|
571
|
+
*/
|
|
572
|
+
readonly file: string;
|
|
573
|
+
/**
|
|
574
|
+
* Writes the current buffer to the file if a write was not in progress. Do
|
|
575
|
+
* nothing if `minLength` is zero or if it is already writing.
|
|
576
|
+
*/
|
|
577
|
+
flush(callback: (err: Error | null) => void): void;
|
|
578
|
+
/**
|
|
579
|
+
* Flushes the buffered data synchronously. This is a costly operation.
|
|
580
|
+
*/
|
|
581
|
+
flushSync(): void;
|
|
582
|
+
/**
|
|
583
|
+
* Whether the stream is performing a `fs.fsyncSync()` after every
|
|
584
|
+
* write operation.
|
|
585
|
+
*/
|
|
586
|
+
readonly fsync: boolean;
|
|
587
|
+
/**
|
|
588
|
+
* The maximum length of the internal buffer. If a write
|
|
589
|
+
* operation would cause the buffer to exceed `maxLength`, the data written is
|
|
590
|
+
* dropped and a drop event is emitted with the dropped data.
|
|
591
|
+
*/
|
|
592
|
+
readonly maxLength: number;
|
|
593
|
+
/**
|
|
594
|
+
* The minimum length of the internal buffer that is required to be
|
|
595
|
+
* full before flushing.
|
|
596
|
+
*/
|
|
597
|
+
readonly minLength: number;
|
|
598
|
+
/**
|
|
599
|
+
* Whether the stream should ensure that the directory for the
|
|
600
|
+
* `dest` file exists. If `true`, it will create the directory if it does not
|
|
601
|
+
* exist.
|
|
602
|
+
* @default false
|
|
603
|
+
*/
|
|
604
|
+
readonly mkdir: boolean;
|
|
605
|
+
/**
|
|
606
|
+
* The mode of the file that is being written to.
|
|
607
|
+
*/
|
|
608
|
+
readonly mode: number | string;
|
|
609
|
+
/**
|
|
610
|
+
* The number of milliseconds between flushes. If set to `0`, no
|
|
611
|
+
* periodic flushes will be performed.
|
|
612
|
+
*/
|
|
613
|
+
readonly periodicFlush: number;
|
|
614
|
+
/**
|
|
615
|
+
* Reopen the file in place, useful for log rotation.
|
|
616
|
+
* @param file A path to a file to be written to (mode
|
|
617
|
+
* controlled by the append option).
|
|
618
|
+
*/
|
|
619
|
+
reopen(file: PathLike): void;
|
|
620
|
+
/**
|
|
621
|
+
* Whether the stream is writing synchronously or asynchronously.
|
|
622
|
+
*/
|
|
623
|
+
readonly sync: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* When the `options.contentMode` is set to `'utf8'` when the stream is created,
|
|
626
|
+
* the `data` argument must be a string. If the `contentMode` is set to `'buffer'`,
|
|
627
|
+
* the `data` argument must be a `Buffer`.
|
|
628
|
+
* @param data The data to write.
|
|
629
|
+
*/
|
|
630
|
+
write(data: string | Buffer): boolean;
|
|
631
|
+
/**
|
|
632
|
+
* Whether the stream is currently writing data to the file.
|
|
633
|
+
*/
|
|
634
|
+
readonly writing: boolean;
|
|
635
|
+
/**
|
|
636
|
+
* Calls `utf8Stream.destroy()`.
|
|
637
|
+
*/
|
|
638
|
+
[Symbol.dispose](): void;
|
|
639
|
+
}
|
|
640
|
+
interface Utf8Stream extends InternalEventEmitter<Utf8StreamEventMap> {}
|
|
641
|
+
interface WriteStreamEventMap extends stream.WritableEventMap {
|
|
642
|
+
"close": [];
|
|
643
|
+
"open": [fd: number];
|
|
644
|
+
"ready": [];
|
|
645
|
+
}
|
|
487
646
|
/**
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
* Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function.
|
|
647
|
+
* Instances of `fs.WriteStream` cannot be constructed directly. They are created and
|
|
648
|
+
* returned using the `fs.createWriteStream()` function.
|
|
491
649
|
* @since v0.1.93
|
|
492
650
|
*/
|
|
493
|
-
|
|
651
|
+
class WriteStream extends stream.Writable {
|
|
494
652
|
/**
|
|
495
653
|
* Closes `writeStream`. Optionally accepts a
|
|
496
654
|
* callback that will be executed once the `writeStream`is closed.
|
|
@@ -516,17 +674,57 @@ declare module "fs" {
|
|
|
516
674
|
* @since v11.2.0
|
|
517
675
|
*/
|
|
518
676
|
pending: boolean;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
677
|
+
// #region InternalEventEmitter
|
|
678
|
+
addListener<E extends keyof WriteStreamEventMap>(
|
|
679
|
+
eventName: E,
|
|
680
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
681
|
+
): this;
|
|
682
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
683
|
+
emit<E extends keyof WriteStreamEventMap>(eventName: E, ...args: WriteStreamEventMap[E]): boolean;
|
|
684
|
+
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
685
|
+
listenerCount<E extends keyof WriteStreamEventMap>(
|
|
686
|
+
eventName: E,
|
|
687
|
+
listener?: (...args: WriteStreamEventMap[E]) => void,
|
|
688
|
+
): number;
|
|
689
|
+
listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
|
|
690
|
+
listeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
|
|
691
|
+
listeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
692
|
+
off<E extends keyof WriteStreamEventMap>(
|
|
693
|
+
eventName: E,
|
|
694
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
695
|
+
): this;
|
|
696
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
697
|
+
on<E extends keyof WriteStreamEventMap>(
|
|
698
|
+
eventName: E,
|
|
699
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
700
|
+
): this;
|
|
701
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
702
|
+
once<E extends keyof WriteStreamEventMap>(
|
|
703
|
+
eventName: E,
|
|
704
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
705
|
+
): this;
|
|
706
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
707
|
+
prependListener<E extends keyof WriteStreamEventMap>(
|
|
708
|
+
eventName: E,
|
|
709
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
710
|
+
): this;
|
|
711
|
+
prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
712
|
+
prependOnceListener<E extends keyof WriteStreamEventMap>(
|
|
713
|
+
eventName: E,
|
|
714
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
715
|
+
): this;
|
|
716
|
+
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
717
|
+
rawListeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
|
|
718
|
+
rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
719
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
720
|
+
removeAllListeners<E extends keyof WriteStreamEventMap>(eventName?: E): this;
|
|
721
|
+
removeAllListeners(eventName?: string | symbol): this;
|
|
722
|
+
removeListener<E extends keyof WriteStreamEventMap>(
|
|
723
|
+
eventName: E,
|
|
724
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
725
|
+
): this;
|
|
726
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
727
|
+
// #endregion
|
|
530
728
|
}
|
|
531
729
|
/**
|
|
532
730
|
* Asynchronously rename file at `oldPath` to the pathname provided
|
|
@@ -547,8 +745,8 @@ declare module "fs" {
|
|
|
547
745
|
* ```
|
|
548
746
|
* @since v0.0.2
|
|
549
747
|
*/
|
|
550
|
-
|
|
551
|
-
|
|
748
|
+
function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
|
|
749
|
+
namespace rename {
|
|
552
750
|
/**
|
|
553
751
|
* Asynchronous rename(2) - Change the name or location of a file or directory.
|
|
554
752
|
* @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -564,7 +762,7 @@ declare module "fs" {
|
|
|
564
762
|
* See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details.
|
|
565
763
|
* @since v0.1.21
|
|
566
764
|
*/
|
|
567
|
-
|
|
765
|
+
function renameSync(oldPath: PathLike, newPath: PathLike): void;
|
|
568
766
|
/**
|
|
569
767
|
* Truncates the file. No arguments other than a possible exception are
|
|
570
768
|
* given to the completion callback. A file descriptor can also be passed as the
|
|
@@ -586,13 +784,13 @@ declare module "fs" {
|
|
|
586
784
|
* @since v0.8.6
|
|
587
785
|
* @param [len=0]
|
|
588
786
|
*/
|
|
589
|
-
|
|
787
|
+
function truncate(path: PathLike, len: number | undefined, callback: NoParamCallback): void;
|
|
590
788
|
/**
|
|
591
789
|
* Asynchronous truncate(2) - Truncate a file to a specified length.
|
|
592
790
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
593
791
|
*/
|
|
594
|
-
|
|
595
|
-
|
|
792
|
+
function truncate(path: PathLike, callback: NoParamCallback): void;
|
|
793
|
+
namespace truncate {
|
|
596
794
|
/**
|
|
597
795
|
* Asynchronous truncate(2) - Truncate a file to a specified length.
|
|
598
796
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -609,7 +807,7 @@ declare module "fs" {
|
|
|
609
807
|
* @since v0.8.6
|
|
610
808
|
* @param [len=0]
|
|
611
809
|
*/
|
|
612
|
-
|
|
810
|
+
function truncateSync(path: PathLike, len?: number): void;
|
|
613
811
|
/**
|
|
614
812
|
* Truncates the file descriptor. No arguments other than a possible exception are
|
|
615
813
|
* given to the completion callback.
|
|
@@ -653,13 +851,13 @@ declare module "fs" {
|
|
|
653
851
|
* @since v0.8.6
|
|
654
852
|
* @param [len=0]
|
|
655
853
|
*/
|
|
656
|
-
|
|
854
|
+
function ftruncate(fd: number, len: number | undefined, callback: NoParamCallback): void;
|
|
657
855
|
/**
|
|
658
856
|
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
|
659
857
|
* @param fd A file descriptor.
|
|
660
858
|
*/
|
|
661
|
-
|
|
662
|
-
|
|
859
|
+
function ftruncate(fd: number, callback: NoParamCallback): void;
|
|
860
|
+
namespace ftruncate {
|
|
663
861
|
/**
|
|
664
862
|
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
|
665
863
|
* @param fd A file descriptor.
|
|
@@ -675,7 +873,7 @@ declare module "fs" {
|
|
|
675
873
|
* @since v0.8.6
|
|
676
874
|
* @param [len=0]
|
|
677
875
|
*/
|
|
678
|
-
|
|
876
|
+
function ftruncateSync(fd: number, len?: number): void;
|
|
679
877
|
/**
|
|
680
878
|
* Asynchronously changes owner and group of a file. No arguments other than a
|
|
681
879
|
* possible exception are given to the completion callback.
|
|
@@ -683,8 +881,8 @@ declare module "fs" {
|
|
|
683
881
|
* See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
|
|
684
882
|
* @since v0.1.97
|
|
685
883
|
*/
|
|
686
|
-
|
|
687
|
-
|
|
884
|
+
function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
|
|
885
|
+
namespace chown {
|
|
688
886
|
/**
|
|
689
887
|
* Asynchronous chown(2) - Change ownership of a file.
|
|
690
888
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -698,7 +896,7 @@ declare module "fs" {
|
|
|
698
896
|
* See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
|
|
699
897
|
* @since v0.1.97
|
|
700
898
|
*/
|
|
701
|
-
|
|
899
|
+
function chownSync(path: PathLike, uid: number, gid: number): void;
|
|
702
900
|
/**
|
|
703
901
|
* Sets the owner of the file. No arguments other than a possible exception are
|
|
704
902
|
* given to the completion callback.
|
|
@@ -706,8 +904,8 @@ declare module "fs" {
|
|
|
706
904
|
* See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
|
|
707
905
|
* @since v0.4.7
|
|
708
906
|
*/
|
|
709
|
-
|
|
710
|
-
|
|
907
|
+
function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void;
|
|
908
|
+
namespace fchown {
|
|
711
909
|
/**
|
|
712
910
|
* Asynchronous fchown(2) - Change ownership of a file.
|
|
713
911
|
* @param fd A file descriptor.
|
|
@@ -722,15 +920,15 @@ declare module "fs" {
|
|
|
722
920
|
* @param uid The file's new owner's user id.
|
|
723
921
|
* @param gid The file's new group's group id.
|
|
724
922
|
*/
|
|
725
|
-
|
|
923
|
+
function fchownSync(fd: number, uid: number, gid: number): void;
|
|
726
924
|
/**
|
|
727
925
|
* Set the owner of the symbolic link. No arguments other than a possible
|
|
728
926
|
* exception are given to the completion callback.
|
|
729
927
|
*
|
|
730
928
|
* See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail.
|
|
731
929
|
*/
|
|
732
|
-
|
|
733
|
-
|
|
930
|
+
function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
|
|
931
|
+
namespace lchown {
|
|
734
932
|
/**
|
|
735
933
|
* Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
|
|
736
934
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -744,7 +942,7 @@ declare module "fs" {
|
|
|
744
942
|
* @param uid The file's new owner's user id.
|
|
745
943
|
* @param gid The file's new group's group id.
|
|
746
944
|
*/
|
|
747
|
-
|
|
945
|
+
function lchownSync(path: PathLike, uid: number, gid: number): void;
|
|
748
946
|
/**
|
|
749
947
|
* Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic
|
|
750
948
|
* link, then the link is not dereferenced: instead, the timestamps of the
|
|
@@ -754,8 +952,8 @@ declare module "fs" {
|
|
|
754
952
|
* callback.
|
|
755
953
|
* @since v14.5.0, v12.19.0
|
|
756
954
|
*/
|
|
757
|
-
|
|
758
|
-
|
|
955
|
+
function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
956
|
+
namespace lutimes {
|
|
759
957
|
/**
|
|
760
958
|
* Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
|
|
761
959
|
* with the difference that if the path refers to a symbolic link, then the link is not
|
|
@@ -772,7 +970,7 @@ declare module "fs" {
|
|
|
772
970
|
* the operation fails. This is the synchronous version of {@link lutimes}.
|
|
773
971
|
* @since v14.5.0, v12.19.0
|
|
774
972
|
*/
|
|
775
|
-
|
|
973
|
+
function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
|
|
776
974
|
/**
|
|
777
975
|
* Asynchronously changes the permissions of a file. No arguments other than a
|
|
778
976
|
* possible exception are given to the completion callback.
|
|
@@ -789,8 +987,8 @@ declare module "fs" {
|
|
|
789
987
|
* ```
|
|
790
988
|
* @since v0.1.30
|
|
791
989
|
*/
|
|
792
|
-
|
|
793
|
-
|
|
990
|
+
function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
|
|
991
|
+
namespace chmod {
|
|
794
992
|
/**
|
|
795
993
|
* Asynchronous chmod(2) - Change permissions of a file.
|
|
796
994
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -805,7 +1003,7 @@ declare module "fs" {
|
|
|
805
1003
|
* See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
|
|
806
1004
|
* @since v0.6.7
|
|
807
1005
|
*/
|
|
808
|
-
|
|
1006
|
+
function chmodSync(path: PathLike, mode: Mode): void;
|
|
809
1007
|
/**
|
|
810
1008
|
* Sets the permissions on the file. No arguments other than a possible exception
|
|
811
1009
|
* are given to the completion callback.
|
|
@@ -813,8 +1011,8 @@ declare module "fs" {
|
|
|
813
1011
|
* See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
|
|
814
1012
|
* @since v0.4.7
|
|
815
1013
|
*/
|
|
816
|
-
|
|
817
|
-
|
|
1014
|
+
function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void;
|
|
1015
|
+
namespace fchmod {
|
|
818
1016
|
/**
|
|
819
1017
|
* Asynchronous fchmod(2) - Change permissions of a file.
|
|
820
1018
|
* @param fd A file descriptor.
|
|
@@ -828,7 +1026,7 @@ declare module "fs" {
|
|
|
828
1026
|
* See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
|
|
829
1027
|
* @since v0.4.7
|
|
830
1028
|
*/
|
|
831
|
-
|
|
1029
|
+
function fchmodSync(fd: number, mode: Mode): void;
|
|
832
1030
|
/**
|
|
833
1031
|
* Changes the permissions on a symbolic link. No arguments other than a possible
|
|
834
1032
|
* exception are given to the completion callback.
|
|
@@ -838,9 +1036,9 @@ declare module "fs" {
|
|
|
838
1036
|
* See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
|
|
839
1037
|
* @deprecated Since v0.4.7
|
|
840
1038
|
*/
|
|
841
|
-
|
|
1039
|
+
function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
|
|
842
1040
|
/** @deprecated */
|
|
843
|
-
|
|
1041
|
+
namespace lchmod {
|
|
844
1042
|
/**
|
|
845
1043
|
* Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
|
|
846
1044
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -856,7 +1054,7 @@ declare module "fs" {
|
|
|
856
1054
|
* See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
|
|
857
1055
|
* @deprecated Since v0.4.7
|
|
858
1056
|
*/
|
|
859
|
-
|
|
1057
|
+
function lchmodSync(path: PathLike, mode: Mode): void;
|
|
860
1058
|
/**
|
|
861
1059
|
* Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object.
|
|
862
1060
|
*
|
|
@@ -942,48 +1140,98 @@ declare module "fs" {
|
|
|
942
1140
|
* ```
|
|
943
1141
|
* @since v0.0.2
|
|
944
1142
|
*/
|
|
945
|
-
|
|
946
|
-
|
|
1143
|
+
function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
1144
|
+
function stat(
|
|
947
1145
|
path: PathLike,
|
|
948
1146
|
options:
|
|
949
1147
|
| (StatOptions & {
|
|
950
1148
|
bigint?: false | undefined;
|
|
1149
|
+
throwIfNoEntry?: true | undefined;
|
|
951
1150
|
})
|
|
952
1151
|
| undefined,
|
|
953
1152
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
|
|
954
1153
|
): void;
|
|
955
|
-
|
|
1154
|
+
function stat(
|
|
956
1155
|
path: PathLike,
|
|
957
1156
|
options: StatOptions & {
|
|
958
1157
|
bigint: true;
|
|
1158
|
+
throwIfNoEntry?: true | undefined;
|
|
959
1159
|
},
|
|
960
1160
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
|
|
961
1161
|
): void;
|
|
962
|
-
|
|
1162
|
+
function stat(
|
|
963
1163
|
path: PathLike,
|
|
964
|
-
options: StatOptions
|
|
1164
|
+
options: StatOptions & {
|
|
1165
|
+
bigint?: false | undefined;
|
|
1166
|
+
throwIfNoEntry: false;
|
|
1167
|
+
},
|
|
1168
|
+
callback: (err: NodeJS.ErrnoException | null, stats: Stats | undefined) => void,
|
|
1169
|
+
): void;
|
|
1170
|
+
function stat(
|
|
1171
|
+
path: PathLike,
|
|
1172
|
+
options: StatOptions & {
|
|
1173
|
+
bigint: true;
|
|
1174
|
+
throwIfNoEntry: false;
|
|
1175
|
+
},
|
|
1176
|
+
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats | undefined) => void,
|
|
1177
|
+
): void;
|
|
1178
|
+
function stat(
|
|
1179
|
+
path: PathLike,
|
|
1180
|
+
options: StatOptions & {
|
|
1181
|
+
throwIfNoEntry?: true | undefined;
|
|
1182
|
+
},
|
|
965
1183
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
|
|
966
1184
|
): void;
|
|
967
|
-
|
|
1185
|
+
function stat(
|
|
1186
|
+
path: PathLike,
|
|
1187
|
+
options: StatOptions | undefined,
|
|
1188
|
+
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats | undefined) => void,
|
|
1189
|
+
): void;
|
|
1190
|
+
namespace stat {
|
|
1191
|
+
// TODO: aliased promisify signatures
|
|
968
1192
|
/**
|
|
969
1193
|
* Asynchronous stat(2) - Get file status.
|
|
970
1194
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
971
1195
|
*/
|
|
1196
|
+
function __promisify__(path: PathLike): Promise<Stats>;
|
|
972
1197
|
function __promisify__(
|
|
973
1198
|
path: PathLike,
|
|
974
1199
|
options?: StatOptions & {
|
|
975
1200
|
bigint?: false | undefined;
|
|
1201
|
+
throwIfNoEntry?: true | undefined;
|
|
976
1202
|
},
|
|
977
1203
|
): Promise<Stats>;
|
|
978
1204
|
function __promisify__(
|
|
979
1205
|
path: PathLike,
|
|
980
1206
|
options: StatOptions & {
|
|
981
1207
|
bigint: true;
|
|
1208
|
+
throwIfNoEntry?: true | undefined;
|
|
982
1209
|
},
|
|
983
1210
|
): Promise<BigIntStats>;
|
|
984
|
-
function __promisify__(
|
|
1211
|
+
function __promisify__(
|
|
1212
|
+
path: PathLike,
|
|
1213
|
+
options: StatOptions & {
|
|
1214
|
+
bigint?: false | undefined;
|
|
1215
|
+
throwIfNoEntry: false;
|
|
1216
|
+
},
|
|
1217
|
+
): Promise<Stats | undefined>;
|
|
1218
|
+
function __promisify__(
|
|
1219
|
+
path: PathLike,
|
|
1220
|
+
options: StatOptions & {
|
|
1221
|
+
bigint: true;
|
|
1222
|
+
throwIfNoEntry: false;
|
|
1223
|
+
},
|
|
1224
|
+
): Promise<BigIntStats | undefined>;
|
|
1225
|
+
function __promisify__(
|
|
1226
|
+
path: PathLike,
|
|
1227
|
+
options: StatOptions & {
|
|
1228
|
+
throwIfNoEntry?: true | undefined;
|
|
1229
|
+
},
|
|
1230
|
+
): Promise<Stats | BigIntStats>;
|
|
1231
|
+
function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats | undefined>;
|
|
985
1232
|
}
|
|
986
|
-
|
|
1233
|
+
/** @deprecated This orphaned interface will be removed in a future version. */
|
|
1234
|
+
interface StatSyncFn extends Function {
|
|
987
1235
|
(path: PathLike, options?: undefined): Stats;
|
|
988
1236
|
(
|
|
989
1237
|
path: PathLike,
|
|
@@ -1024,15 +1272,50 @@ declare module "fs" {
|
|
|
1024
1272
|
* Synchronous stat(2) - Get file status.
|
|
1025
1273
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1026
1274
|
*/
|
|
1027
|
-
|
|
1275
|
+
function statSync(path: PathLike): Stats;
|
|
1276
|
+
function statSync(
|
|
1277
|
+
path: PathLike,
|
|
1278
|
+
options?: StatOptions & {
|
|
1279
|
+
bigint?: false | undefined;
|
|
1280
|
+
throwIfNoEntry?: true | undefined;
|
|
1281
|
+
},
|
|
1282
|
+
): Stats;
|
|
1283
|
+
function statSync(
|
|
1284
|
+
path: PathLike,
|
|
1285
|
+
options: StatOptions & {
|
|
1286
|
+
bigint: true;
|
|
1287
|
+
throwIfNoEntry?: true | undefined;
|
|
1288
|
+
},
|
|
1289
|
+
): BigIntStats;
|
|
1290
|
+
function statSync(
|
|
1291
|
+
path: PathLike,
|
|
1292
|
+
options: StatOptions & {
|
|
1293
|
+
bigint?: false | undefined;
|
|
1294
|
+
throwIfNoEntry: false;
|
|
1295
|
+
},
|
|
1296
|
+
): Stats | undefined;
|
|
1297
|
+
function statSync(
|
|
1298
|
+
path: PathLike,
|
|
1299
|
+
options: StatOptions & {
|
|
1300
|
+
bigint: true;
|
|
1301
|
+
throwIfNoEntry: false;
|
|
1302
|
+
},
|
|
1303
|
+
): BigIntStats | undefined;
|
|
1304
|
+
function statSync(
|
|
1305
|
+
path: PathLike,
|
|
1306
|
+
options: StatOptions & {
|
|
1307
|
+
throwIfNoEntry?: true | undefined;
|
|
1308
|
+
},
|
|
1309
|
+
): Stats | BigIntStats;
|
|
1310
|
+
function statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats | undefined;
|
|
1028
1311
|
/**
|
|
1029
1312
|
* Invokes the callback with the `fs.Stats` for the file descriptor.
|
|
1030
1313
|
*
|
|
1031
1314
|
* See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
|
|
1032
1315
|
* @since v0.1.95
|
|
1033
1316
|
*/
|
|
1034
|
-
|
|
1035
|
-
|
|
1317
|
+
function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
1318
|
+
function fstat(
|
|
1036
1319
|
fd: number,
|
|
1037
1320
|
options:
|
|
1038
1321
|
| (StatOptions & {
|
|
@@ -1041,19 +1324,19 @@ declare module "fs" {
|
|
|
1041
1324
|
| undefined,
|
|
1042
1325
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
|
|
1043
1326
|
): void;
|
|
1044
|
-
|
|
1327
|
+
function fstat(
|
|
1045
1328
|
fd: number,
|
|
1046
1329
|
options: StatOptions & {
|
|
1047
1330
|
bigint: true;
|
|
1048
1331
|
},
|
|
1049
1332
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
|
|
1050
1333
|
): void;
|
|
1051
|
-
|
|
1334
|
+
function fstat(
|
|
1052
1335
|
fd: number,
|
|
1053
1336
|
options: StatOptions | undefined,
|
|
1054
1337
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
|
|
1055
1338
|
): void;
|
|
1056
|
-
|
|
1339
|
+
namespace fstat {
|
|
1057
1340
|
/**
|
|
1058
1341
|
* Asynchronous fstat(2) - Get file status.
|
|
1059
1342
|
* @param fd A file descriptor.
|
|
@@ -1078,19 +1361,19 @@ declare module "fs" {
|
|
|
1078
1361
|
* See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
|
|
1079
1362
|
* @since v0.1.95
|
|
1080
1363
|
*/
|
|
1081
|
-
|
|
1364
|
+
function fstatSync(
|
|
1082
1365
|
fd: number,
|
|
1083
1366
|
options?: StatOptions & {
|
|
1084
1367
|
bigint?: false | undefined;
|
|
1085
1368
|
},
|
|
1086
1369
|
): Stats;
|
|
1087
|
-
|
|
1370
|
+
function fstatSync(
|
|
1088
1371
|
fd: number,
|
|
1089
1372
|
options: StatOptions & {
|
|
1090
1373
|
bigint: true;
|
|
1091
1374
|
},
|
|
1092
1375
|
): BigIntStats;
|
|
1093
|
-
|
|
1376
|
+
function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
|
|
1094
1377
|
/**
|
|
1095
1378
|
* Retrieves the `fs.Stats` for the symbolic link referred to by the path.
|
|
1096
1379
|
* The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic
|
|
@@ -1099,8 +1382,8 @@ declare module "fs" {
|
|
|
1099
1382
|
* See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details.
|
|
1100
1383
|
* @since v0.1.30
|
|
1101
1384
|
*/
|
|
1102
|
-
|
|
1103
|
-
|
|
1385
|
+
function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
1386
|
+
function lstat(
|
|
1104
1387
|
path: PathLike,
|
|
1105
1388
|
options:
|
|
1106
1389
|
| (StatOptions & {
|
|
@@ -1109,19 +1392,19 @@ declare module "fs" {
|
|
|
1109
1392
|
| undefined,
|
|
1110
1393
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
|
|
1111
1394
|
): void;
|
|
1112
|
-
|
|
1395
|
+
function lstat(
|
|
1113
1396
|
path: PathLike,
|
|
1114
1397
|
options: StatOptions & {
|
|
1115
1398
|
bigint: true;
|
|
1116
1399
|
},
|
|
1117
1400
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
|
|
1118
1401
|
): void;
|
|
1119
|
-
|
|
1402
|
+
function lstat(
|
|
1120
1403
|
path: PathLike,
|
|
1121
1404
|
options: StatOptions | undefined,
|
|
1122
1405
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
|
|
1123
1406
|
): void;
|
|
1124
|
-
|
|
1407
|
+
namespace lstat {
|
|
1125
1408
|
/**
|
|
1126
1409
|
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
1127
1410
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1148,8 +1431,8 @@ declare module "fs" {
|
|
|
1148
1431
|
* @since v19.6.0, v18.15.0
|
|
1149
1432
|
* @param path A path to an existing file or directory on the file system to be queried.
|
|
1150
1433
|
*/
|
|
1151
|
-
|
|
1152
|
-
|
|
1434
|
+
function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
|
|
1435
|
+
function statfs(
|
|
1153
1436
|
path: PathLike,
|
|
1154
1437
|
options:
|
|
1155
1438
|
| (StatFsOptions & {
|
|
@@ -1158,19 +1441,19 @@ declare module "fs" {
|
|
|
1158
1441
|
| undefined,
|
|
1159
1442
|
callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void,
|
|
1160
1443
|
): void;
|
|
1161
|
-
|
|
1444
|
+
function statfs(
|
|
1162
1445
|
path: PathLike,
|
|
1163
1446
|
options: StatFsOptions & {
|
|
1164
1447
|
bigint: true;
|
|
1165
1448
|
},
|
|
1166
1449
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void,
|
|
1167
1450
|
): void;
|
|
1168
|
-
|
|
1451
|
+
function statfs(
|
|
1169
1452
|
path: PathLike,
|
|
1170
1453
|
options: StatFsOptions | undefined,
|
|
1171
1454
|
callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void,
|
|
1172
1455
|
): void;
|
|
1173
|
-
|
|
1456
|
+
namespace statfs {
|
|
1174
1457
|
/**
|
|
1175
1458
|
* Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
|
|
1176
1459
|
* @param path A path to an existing file or directory on the file system to be queried.
|
|
@@ -1197,32 +1480,67 @@ declare module "fs" {
|
|
|
1197
1480
|
* @since v19.6.0, v18.15.0
|
|
1198
1481
|
* @param path A path to an existing file or directory on the file system to be queried.
|
|
1199
1482
|
*/
|
|
1200
|
-
|
|
1483
|
+
function statfsSync(
|
|
1201
1484
|
path: PathLike,
|
|
1202
1485
|
options?: StatFsOptions & {
|
|
1203
1486
|
bigint?: false | undefined;
|
|
1204
1487
|
},
|
|
1205
1488
|
): StatsFs;
|
|
1206
|
-
|
|
1489
|
+
function statfsSync(
|
|
1207
1490
|
path: PathLike,
|
|
1208
1491
|
options: StatFsOptions & {
|
|
1209
1492
|
bigint: true;
|
|
1210
1493
|
},
|
|
1211
1494
|
): BigIntStatsFs;
|
|
1212
|
-
|
|
1495
|
+
function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs;
|
|
1213
1496
|
/**
|
|
1214
1497
|
* Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
1215
1498
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1216
1499
|
*/
|
|
1217
|
-
|
|
1500
|
+
function lstatSync(path: PathLike): Stats;
|
|
1501
|
+
function lstatSync(
|
|
1502
|
+
path: PathLike,
|
|
1503
|
+
options?: StatOptions & {
|
|
1504
|
+
bigint?: false | undefined;
|
|
1505
|
+
throwIfNoEntry?: true | undefined;
|
|
1506
|
+
},
|
|
1507
|
+
): Stats;
|
|
1508
|
+
function lstatSync(
|
|
1509
|
+
path: PathLike,
|
|
1510
|
+
options: StatOptions & {
|
|
1511
|
+
bigint: true;
|
|
1512
|
+
throwIfNoEntry?: true | undefined;
|
|
1513
|
+
},
|
|
1514
|
+
): BigIntStats;
|
|
1515
|
+
function lstatSync(
|
|
1516
|
+
path: PathLike,
|
|
1517
|
+
options: StatOptions & {
|
|
1518
|
+
bigint?: false | undefined;
|
|
1519
|
+
throwIfNoEntry: false;
|
|
1520
|
+
},
|
|
1521
|
+
): Stats | undefined;
|
|
1522
|
+
function lstatSync(
|
|
1523
|
+
path: PathLike,
|
|
1524
|
+
options: StatOptions & {
|
|
1525
|
+
bigint: true;
|
|
1526
|
+
throwIfNoEntry: false;
|
|
1527
|
+
},
|
|
1528
|
+
): BigIntStats | undefined;
|
|
1529
|
+
function lstatSync(
|
|
1530
|
+
path: PathLike,
|
|
1531
|
+
options: StatOptions & {
|
|
1532
|
+
throwIfNoEntry?: true | undefined;
|
|
1533
|
+
},
|
|
1534
|
+
): Stats | BigIntStats;
|
|
1535
|
+
function lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats | undefined;
|
|
1218
1536
|
/**
|
|
1219
1537
|
* Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than
|
|
1220
1538
|
* a possible
|
|
1221
1539
|
* exception are given to the completion callback.
|
|
1222
1540
|
* @since v0.1.31
|
|
1223
1541
|
*/
|
|
1224
|
-
|
|
1225
|
-
|
|
1542
|
+
function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
|
|
1543
|
+
namespace link {
|
|
1226
1544
|
/**
|
|
1227
1545
|
* Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
|
|
1228
1546
|
* @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1234,7 +1552,7 @@ declare module "fs" {
|
|
|
1234
1552
|
* Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`.
|
|
1235
1553
|
* @since v0.1.31
|
|
1236
1554
|
*/
|
|
1237
|
-
|
|
1555
|
+
function linkSync(existingPath: PathLike, newPath: PathLike): void;
|
|
1238
1556
|
/**
|
|
1239
1557
|
* Creates the link called `path` pointing to `target`. No arguments other than a
|
|
1240
1558
|
* possible exception are given to the completion callback.
|
|
@@ -1268,7 +1586,7 @@ declare module "fs" {
|
|
|
1268
1586
|
* @since v0.1.31
|
|
1269
1587
|
* @param [type='null']
|
|
1270
1588
|
*/
|
|
1271
|
-
|
|
1589
|
+
function symlink(
|
|
1272
1590
|
target: PathLike,
|
|
1273
1591
|
path: PathLike,
|
|
1274
1592
|
type: symlink.Type | undefined | null,
|
|
@@ -1279,8 +1597,8 @@ declare module "fs" {
|
|
|
1279
1597
|
* @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
|
|
1280
1598
|
* @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
|
|
1281
1599
|
*/
|
|
1282
|
-
|
|
1283
|
-
|
|
1600
|
+
function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void;
|
|
1601
|
+
namespace symlink {
|
|
1284
1602
|
/**
|
|
1285
1603
|
* Asynchronous symlink(2) - Create a new symbolic link to an existing file.
|
|
1286
1604
|
* @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1299,7 +1617,7 @@ declare module "fs" {
|
|
|
1299
1617
|
* @since v0.1.31
|
|
1300
1618
|
* @param [type='null']
|
|
1301
1619
|
*/
|
|
1302
|
-
|
|
1620
|
+
function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
|
|
1303
1621
|
/**
|
|
1304
1622
|
* Reads the contents of the symbolic link referred to by `path`. The callback gets
|
|
1305
1623
|
* two arguments `(err, linkString)`.
|
|
@@ -1312,7 +1630,7 @@ declare module "fs" {
|
|
|
1312
1630
|
* the link path returned will be passed as a `Buffer` object.
|
|
1313
1631
|
* @since v0.1.31
|
|
1314
1632
|
*/
|
|
1315
|
-
|
|
1633
|
+
function readlink(
|
|
1316
1634
|
path: PathLike,
|
|
1317
1635
|
options: EncodingOption,
|
|
1318
1636
|
callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
|
|
@@ -1322,7 +1640,7 @@ declare module "fs" {
|
|
|
1322
1640
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1323
1641
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1324
1642
|
*/
|
|
1325
|
-
|
|
1643
|
+
function readlink(
|
|
1326
1644
|
path: PathLike,
|
|
1327
1645
|
options: BufferEncodingOption,
|
|
1328
1646
|
callback: (err: NodeJS.ErrnoException | null, linkString: NonSharedBuffer) => void,
|
|
@@ -1332,7 +1650,7 @@ declare module "fs" {
|
|
|
1332
1650
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1333
1651
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1334
1652
|
*/
|
|
1335
|
-
|
|
1653
|
+
function readlink(
|
|
1336
1654
|
path: PathLike,
|
|
1337
1655
|
options: EncodingOption,
|
|
1338
1656
|
callback: (err: NodeJS.ErrnoException | null, linkString: string | NonSharedBuffer) => void,
|
|
@@ -1341,11 +1659,11 @@ declare module "fs" {
|
|
|
1341
1659
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
|
1342
1660
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1343
1661
|
*/
|
|
1344
|
-
|
|
1662
|
+
function readlink(
|
|
1345
1663
|
path: PathLike,
|
|
1346
1664
|
callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
|
|
1347
1665
|
): void;
|
|
1348
|
-
|
|
1666
|
+
namespace readlink {
|
|
1349
1667
|
/**
|
|
1350
1668
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
|
1351
1669
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1376,19 +1694,19 @@ declare module "fs" {
|
|
|
1376
1694
|
* the link path returned will be passed as a `Buffer` object.
|
|
1377
1695
|
* @since v0.1.31
|
|
1378
1696
|
*/
|
|
1379
|
-
|
|
1697
|
+
function readlinkSync(path: PathLike, options?: EncodingOption): string;
|
|
1380
1698
|
/**
|
|
1381
1699
|
* Synchronous readlink(2) - read value of a symbolic link.
|
|
1382
1700
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1383
1701
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1384
1702
|
*/
|
|
1385
|
-
|
|
1703
|
+
function readlinkSync(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
|
|
1386
1704
|
/**
|
|
1387
1705
|
* Synchronous readlink(2) - read value of a symbolic link.
|
|
1388
1706
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1389
1707
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1390
1708
|
*/
|
|
1391
|
-
|
|
1709
|
+
function readlinkSync(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
|
|
1392
1710
|
/**
|
|
1393
1711
|
* Asynchronously computes the canonical pathname by resolving `.`, `..`, and
|
|
1394
1712
|
* symbolic links.
|
|
@@ -1415,7 +1733,7 @@ declare module "fs" {
|
|
|
1415
1733
|
* dependent name for that object.
|
|
1416
1734
|
* @since v0.1.31
|
|
1417
1735
|
*/
|
|
1418
|
-
|
|
1736
|
+
function realpath(
|
|
1419
1737
|
path: PathLike,
|
|
1420
1738
|
options: EncodingOption,
|
|
1421
1739
|
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
|
|
@@ -1425,7 +1743,7 @@ declare module "fs" {
|
|
|
1425
1743
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1426
1744
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1427
1745
|
*/
|
|
1428
|
-
|
|
1746
|
+
function realpath(
|
|
1429
1747
|
path: PathLike,
|
|
1430
1748
|
options: BufferEncodingOption,
|
|
1431
1749
|
callback: (err: NodeJS.ErrnoException | null, resolvedPath: NonSharedBuffer) => void,
|
|
@@ -1435,7 +1753,7 @@ declare module "fs" {
|
|
|
1435
1753
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1436
1754
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1437
1755
|
*/
|
|
1438
|
-
|
|
1756
|
+
function realpath(
|
|
1439
1757
|
path: PathLike,
|
|
1440
1758
|
options: EncodingOption,
|
|
1441
1759
|
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | NonSharedBuffer) => void,
|
|
@@ -1444,11 +1762,11 @@ declare module "fs" {
|
|
|
1444
1762
|
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1445
1763
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1446
1764
|
*/
|
|
1447
|
-
|
|
1765
|
+
function realpath(
|
|
1448
1766
|
path: PathLike,
|
|
1449
1767
|
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
|
|
1450
1768
|
): void;
|
|
1451
|
-
|
|
1769
|
+
namespace realpath {
|
|
1452
1770
|
/**
|
|
1453
1771
|
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1454
1772
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1511,20 +1829,20 @@ declare module "fs" {
|
|
|
1511
1829
|
* this API: {@link realpath}.
|
|
1512
1830
|
* @since v0.1.31
|
|
1513
1831
|
*/
|
|
1514
|
-
|
|
1832
|
+
function realpathSync(path: PathLike, options?: EncodingOption): string;
|
|
1515
1833
|
/**
|
|
1516
1834
|
* Synchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1517
1835
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1518
1836
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1519
1837
|
*/
|
|
1520
|
-
|
|
1838
|
+
function realpathSync(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
|
|
1521
1839
|
/**
|
|
1522
1840
|
* Synchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1523
1841
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1524
1842
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1525
1843
|
*/
|
|
1526
|
-
|
|
1527
|
-
|
|
1844
|
+
function realpathSync(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
|
|
1845
|
+
namespace realpathSync {
|
|
1528
1846
|
function native(path: PathLike, options?: EncodingOption): string;
|
|
1529
1847
|
function native(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
|
|
1530
1848
|
function native(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
|
|
@@ -1548,8 +1866,8 @@ declare module "fs" {
|
|
|
1548
1866
|
* See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details.
|
|
1549
1867
|
* @since v0.0.2
|
|
1550
1868
|
*/
|
|
1551
|
-
|
|
1552
|
-
|
|
1869
|
+
function unlink(path: PathLike, callback: NoParamCallback): void;
|
|
1870
|
+
namespace unlink {
|
|
1553
1871
|
/**
|
|
1554
1872
|
* Asynchronous unlink(2) - delete a name and possibly the file it refers to.
|
|
1555
1873
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1560,34 +1878,10 @@ declare module "fs" {
|
|
|
1560
1878
|
* Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`.
|
|
1561
1879
|
* @since v0.1.21
|
|
1562
1880
|
*/
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
* `EPERM` error is encountered, Node.js will retry the operation with a linear
|
|
1568
|
-
* backoff wait of `retryDelay` ms longer on each try. This option represents the
|
|
1569
|
-
* number of retries. This option is ignored if the `recursive` option is not
|
|
1570
|
-
* `true`.
|
|
1571
|
-
* @default 0
|
|
1572
|
-
*/
|
|
1573
|
-
maxRetries?: number | undefined;
|
|
1574
|
-
/**
|
|
1575
|
-
* @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning
|
|
1576
|
-
* `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file.
|
|
1577
|
-
* Use `fs.rm(path, { recursive: true, force: true })` instead.
|
|
1578
|
-
*
|
|
1579
|
-
* If `true`, perform a recursive directory removal. In
|
|
1580
|
-
* recursive mode, operations are retried on failure.
|
|
1581
|
-
* @default false
|
|
1582
|
-
*/
|
|
1583
|
-
recursive?: boolean | undefined;
|
|
1584
|
-
/**
|
|
1585
|
-
* The amount of time in milliseconds to wait between retries.
|
|
1586
|
-
* This option is ignored if the `recursive` option is not `true`.
|
|
1587
|
-
* @default 100
|
|
1588
|
-
*/
|
|
1589
|
-
retryDelay?: number | undefined;
|
|
1590
|
-
}
|
|
1881
|
+
function unlinkSync(path: PathLike): void;
|
|
1882
|
+
/** @deprecated `rmdir()` no longer provides any options. This interface will be removed in a future version. */
|
|
1883
|
+
// TODO: remove in future major
|
|
1884
|
+
interface RmDirOptions {}
|
|
1591
1885
|
/**
|
|
1592
1886
|
* Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given
|
|
1593
1887
|
* to the completion callback.
|
|
@@ -1598,14 +1892,13 @@ declare module "fs" {
|
|
|
1598
1892
|
* To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`.
|
|
1599
1893
|
* @since v0.0.2
|
|
1600
1894
|
*/
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
export namespace rmdir {
|
|
1895
|
+
function rmdir(path: PathLike, callback: NoParamCallback): void;
|
|
1896
|
+
namespace rmdir {
|
|
1604
1897
|
/**
|
|
1605
1898
|
* Asynchronous rmdir(2) - delete a directory.
|
|
1606
1899
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1607
1900
|
*/
|
|
1608
|
-
function __promisify__(path: PathLike
|
|
1901
|
+
function __promisify__(path: PathLike): Promise<void>;
|
|
1609
1902
|
}
|
|
1610
1903
|
/**
|
|
1611
1904
|
* Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`.
|
|
@@ -1616,8 +1909,8 @@ declare module "fs" {
|
|
|
1616
1909
|
* To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`.
|
|
1617
1910
|
* @since v0.1.21
|
|
1618
1911
|
*/
|
|
1619
|
-
|
|
1620
|
-
|
|
1912
|
+
function rmdirSync(path: PathLike): void;
|
|
1913
|
+
interface RmOptions {
|
|
1621
1914
|
/**
|
|
1622
1915
|
* When `true`, exceptions will be ignored if `path` does not exist.
|
|
1623
1916
|
* @default false
|
|
@@ -1650,9 +1943,9 @@ declare module "fs" {
|
|
|
1650
1943
|
* completion callback.
|
|
1651
1944
|
* @since v14.14.0
|
|
1652
1945
|
*/
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1946
|
+
function rm(path: PathLike, callback: NoParamCallback): void;
|
|
1947
|
+
function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void;
|
|
1948
|
+
namespace rm {
|
|
1656
1949
|
/**
|
|
1657
1950
|
* Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
|
|
1658
1951
|
*/
|
|
@@ -1662,8 +1955,8 @@ declare module "fs" {
|
|
|
1662
1955
|
* Synchronously removes files and directories (modeled on the standard POSIX `rm` utility). Returns `undefined`.
|
|
1663
1956
|
* @since v14.14.0
|
|
1664
1957
|
*/
|
|
1665
|
-
|
|
1666
|
-
|
|
1958
|
+
function rmSync(path: PathLike, options?: RmOptions): void;
|
|
1959
|
+
interface MakeDirectoryOptions {
|
|
1667
1960
|
/**
|
|
1668
1961
|
* Indicates whether parent folders should be created.
|
|
1669
1962
|
* If a folder was created, the path to the first created folder will be returned.
|
|
@@ -1712,7 +2005,7 @@ declare module "fs" {
|
|
|
1712
2005
|
* See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
|
|
1713
2006
|
* @since v0.1.8
|
|
1714
2007
|
*/
|
|
1715
|
-
|
|
2008
|
+
function mkdir(
|
|
1716
2009
|
path: PathLike,
|
|
1717
2010
|
options: MakeDirectoryOptions & {
|
|
1718
2011
|
recursive: true;
|
|
@@ -1725,7 +2018,7 @@ declare module "fs" {
|
|
|
1725
2018
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1726
2019
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1727
2020
|
*/
|
|
1728
|
-
|
|
2021
|
+
function mkdir(
|
|
1729
2022
|
path: PathLike,
|
|
1730
2023
|
options:
|
|
1731
2024
|
| Mode
|
|
@@ -1742,7 +2035,7 @@ declare module "fs" {
|
|
|
1742
2035
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1743
2036
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1744
2037
|
*/
|
|
1745
|
-
|
|
2038
|
+
function mkdir(
|
|
1746
2039
|
path: PathLike,
|
|
1747
2040
|
options: Mode | MakeDirectoryOptions | null | undefined,
|
|
1748
2041
|
callback: (err: NodeJS.ErrnoException | null, path?: string) => void,
|
|
@@ -1751,8 +2044,8 @@ declare module "fs" {
|
|
|
1751
2044
|
* Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
|
|
1752
2045
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1753
2046
|
*/
|
|
1754
|
-
|
|
1755
|
-
|
|
2047
|
+
function mkdir(path: PathLike, callback: NoParamCallback): void;
|
|
2048
|
+
namespace mkdir {
|
|
1756
2049
|
/**
|
|
1757
2050
|
* Asynchronous mkdir(2) - create a directory.
|
|
1758
2051
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1798,7 +2091,7 @@ declare module "fs" {
|
|
|
1798
2091
|
* See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
|
|
1799
2092
|
* @since v0.1.21
|
|
1800
2093
|
*/
|
|
1801
|
-
|
|
2094
|
+
function mkdirSync(
|
|
1802
2095
|
path: PathLike,
|
|
1803
2096
|
options: MakeDirectoryOptions & {
|
|
1804
2097
|
recursive: true;
|
|
@@ -1810,7 +2103,7 @@ declare module "fs" {
|
|
|
1810
2103
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1811
2104
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1812
2105
|
*/
|
|
1813
|
-
|
|
2106
|
+
function mkdirSync(
|
|
1814
2107
|
path: PathLike,
|
|
1815
2108
|
options?:
|
|
1816
2109
|
| Mode
|
|
@@ -1825,7 +2118,7 @@ declare module "fs" {
|
|
|
1825
2118
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1826
2119
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1827
2120
|
*/
|
|
1828
|
-
|
|
2121
|
+
function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined;
|
|
1829
2122
|
/**
|
|
1830
2123
|
* Creates a unique temporary directory.
|
|
1831
2124
|
*
|
|
@@ -1855,7 +2148,7 @@ declare module "fs" {
|
|
|
1855
2148
|
* The `fs.mkdtemp()` method will append the six randomly selected characters
|
|
1856
2149
|
* directly to the `prefix` string. For instance, given a directory `/tmp`, if the
|
|
1857
2150
|
* intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator
|
|
1858
|
-
* (`import { sep } from 'node:
|
|
2151
|
+
* (`import { sep } from 'node:path'`).
|
|
1859
2152
|
*
|
|
1860
2153
|
* ```js
|
|
1861
2154
|
* import { tmpdir } from 'node:os';
|
|
@@ -1885,7 +2178,7 @@ declare module "fs" {
|
|
|
1885
2178
|
* ```
|
|
1886
2179
|
* @since v5.10.0
|
|
1887
2180
|
*/
|
|
1888
|
-
|
|
2181
|
+
function mkdtemp(
|
|
1889
2182
|
prefix: string,
|
|
1890
2183
|
options: EncodingOption,
|
|
1891
2184
|
callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
|
|
@@ -1895,7 +2188,7 @@ declare module "fs" {
|
|
|
1895
2188
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1896
2189
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1897
2190
|
*/
|
|
1898
|
-
|
|
2191
|
+
function mkdtemp(
|
|
1899
2192
|
prefix: string,
|
|
1900
2193
|
options: BufferEncodingOption,
|
|
1901
2194
|
callback: (err: NodeJS.ErrnoException | null, folder: NonSharedBuffer) => void,
|
|
@@ -1905,7 +2198,7 @@ declare module "fs" {
|
|
|
1905
2198
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1906
2199
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1907
2200
|
*/
|
|
1908
|
-
|
|
2201
|
+
function mkdtemp(
|
|
1909
2202
|
prefix: string,
|
|
1910
2203
|
options: EncodingOption,
|
|
1911
2204
|
callback: (err: NodeJS.ErrnoException | null, folder: string | NonSharedBuffer) => void,
|
|
@@ -1914,11 +2207,11 @@ declare module "fs" {
|
|
|
1914
2207
|
* Asynchronously creates a unique temporary directory.
|
|
1915
2208
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1916
2209
|
*/
|
|
1917
|
-
|
|
2210
|
+
function mkdtemp(
|
|
1918
2211
|
prefix: string,
|
|
1919
2212
|
callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
|
|
1920
2213
|
): void;
|
|
1921
|
-
|
|
2214
|
+
namespace mkdtemp {
|
|
1922
2215
|
/**
|
|
1923
2216
|
* Asynchronously creates a unique temporary directory.
|
|
1924
2217
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
@@ -1948,19 +2241,52 @@ declare module "fs" {
|
|
|
1948
2241
|
* object with an `encoding` property specifying the character encoding to use.
|
|
1949
2242
|
* @since v5.10.0
|
|
1950
2243
|
*/
|
|
1951
|
-
|
|
2244
|
+
function mkdtempSync(prefix: string, options?: EncodingOption): string;
|
|
1952
2245
|
/**
|
|
1953
2246
|
* Synchronously creates a unique temporary directory.
|
|
1954
2247
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1955
2248
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1956
2249
|
*/
|
|
1957
|
-
|
|
2250
|
+
function mkdtempSync(prefix: string, options: BufferEncodingOption): NonSharedBuffer;
|
|
1958
2251
|
/**
|
|
1959
2252
|
* Synchronously creates a unique temporary directory.
|
|
1960
2253
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1961
2254
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1962
2255
|
*/
|
|
1963
|
-
|
|
2256
|
+
function mkdtempSync(prefix: string, options?: EncodingOption): string | NonSharedBuffer;
|
|
2257
|
+
interface DisposableTempDir extends Disposable {
|
|
2258
|
+
/**
|
|
2259
|
+
* The path of the created directory.
|
|
2260
|
+
*/
|
|
2261
|
+
path: string;
|
|
2262
|
+
/**
|
|
2263
|
+
* A function which removes the created directory.
|
|
2264
|
+
*/
|
|
2265
|
+
remove(): void;
|
|
2266
|
+
/**
|
|
2267
|
+
* The same as `remove`.
|
|
2268
|
+
*/
|
|
2269
|
+
[Symbol.dispose](): void;
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
* Returns a disposable object whose `path` property holds the created directory
|
|
2273
|
+
* path. When the object is disposed, the directory and its contents will be
|
|
2274
|
+
* removed if it still exists. If the directory cannot be deleted, disposal will
|
|
2275
|
+
* throw an error. The object has a `remove()` method which will perform the same
|
|
2276
|
+
* task.
|
|
2277
|
+
*
|
|
2278
|
+
* <!-- TODO: link MDN docs for disposables once https://github.com/mdn/content/pull/38027 lands -->
|
|
2279
|
+
*
|
|
2280
|
+
* For detailed information, see the documentation of `fs.mkdtemp()`.
|
|
2281
|
+
*
|
|
2282
|
+
* There is no callback-based version of this API because it is designed for use
|
|
2283
|
+
* with the `using` syntax.
|
|
2284
|
+
*
|
|
2285
|
+
* The optional `options` argument can be a string specifying an encoding, or an
|
|
2286
|
+
* object with an `encoding` property specifying the character encoding to use.
|
|
2287
|
+
* @since v24.4.0
|
|
2288
|
+
*/
|
|
2289
|
+
function mkdtempDisposableSync(prefix: string, options?: EncodingOption): DisposableTempDir;
|
|
1964
2290
|
/**
|
|
1965
2291
|
* Reads the contents of a directory. The callback gets two arguments `(err, files)` where `files` is an array of the names of the files in the directory excluding `'.'` and `'..'`.
|
|
1966
2292
|
*
|
|
@@ -1974,7 +2300,7 @@ declare module "fs" {
|
|
|
1974
2300
|
* If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects.
|
|
1975
2301
|
* @since v0.1.8
|
|
1976
2302
|
*/
|
|
1977
|
-
|
|
2303
|
+
function readdir(
|
|
1978
2304
|
path: PathLike,
|
|
1979
2305
|
options:
|
|
1980
2306
|
| {
|
|
@@ -1992,7 +2318,7 @@ declare module "fs" {
|
|
|
1992
2318
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1993
2319
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1994
2320
|
*/
|
|
1995
|
-
|
|
2321
|
+
function readdir(
|
|
1996
2322
|
path: PathLike,
|
|
1997
2323
|
options:
|
|
1998
2324
|
| {
|
|
@@ -2008,7 +2334,7 @@ declare module "fs" {
|
|
|
2008
2334
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2009
2335
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2010
2336
|
*/
|
|
2011
|
-
|
|
2337
|
+
function readdir(
|
|
2012
2338
|
path: PathLike,
|
|
2013
2339
|
options:
|
|
2014
2340
|
| (ObjectEncodingOptions & {
|
|
@@ -2024,7 +2350,7 @@ declare module "fs" {
|
|
|
2024
2350
|
* Asynchronous readdir(3) - read a directory.
|
|
2025
2351
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2026
2352
|
*/
|
|
2027
|
-
|
|
2353
|
+
function readdir(
|
|
2028
2354
|
path: PathLike,
|
|
2029
2355
|
callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
|
|
2030
2356
|
): void;
|
|
@@ -2033,7 +2359,7 @@ declare module "fs" {
|
|
|
2033
2359
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2034
2360
|
* @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
|
|
2035
2361
|
*/
|
|
2036
|
-
|
|
2362
|
+
function readdir(
|
|
2037
2363
|
path: PathLike,
|
|
2038
2364
|
options: ObjectEncodingOptions & {
|
|
2039
2365
|
withFileTypes: true;
|
|
@@ -2046,7 +2372,7 @@ declare module "fs" {
|
|
|
2046
2372
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2047
2373
|
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2048
2374
|
*/
|
|
2049
|
-
|
|
2375
|
+
function readdir(
|
|
2050
2376
|
path: PathLike,
|
|
2051
2377
|
options: {
|
|
2052
2378
|
encoding: "buffer";
|
|
@@ -2055,7 +2381,7 @@ declare module "fs" {
|
|
|
2055
2381
|
},
|
|
2056
2382
|
callback: (err: NodeJS.ErrnoException | null, files: Dirent<NonSharedBuffer>[]) => void,
|
|
2057
2383
|
): void;
|
|
2058
|
-
|
|
2384
|
+
namespace readdir {
|
|
2059
2385
|
/**
|
|
2060
2386
|
* Asynchronous readdir(3) - read a directory.
|
|
2061
2387
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2141,7 +2467,7 @@ declare module "fs" {
|
|
|
2141
2467
|
* If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects.
|
|
2142
2468
|
* @since v0.1.21
|
|
2143
2469
|
*/
|
|
2144
|
-
|
|
2470
|
+
function readdirSync(
|
|
2145
2471
|
path: PathLike,
|
|
2146
2472
|
options?:
|
|
2147
2473
|
| {
|
|
@@ -2157,7 +2483,7 @@ declare module "fs" {
|
|
|
2157
2483
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2158
2484
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2159
2485
|
*/
|
|
2160
|
-
|
|
2486
|
+
function readdirSync(
|
|
2161
2487
|
path: PathLike,
|
|
2162
2488
|
options:
|
|
2163
2489
|
| {
|
|
@@ -2172,7 +2498,7 @@ declare module "fs" {
|
|
|
2172
2498
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2173
2499
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2174
2500
|
*/
|
|
2175
|
-
|
|
2501
|
+
function readdirSync(
|
|
2176
2502
|
path: PathLike,
|
|
2177
2503
|
options?:
|
|
2178
2504
|
| (ObjectEncodingOptions & {
|
|
@@ -2187,7 +2513,7 @@ declare module "fs" {
|
|
|
2187
2513
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2188
2514
|
* @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
|
|
2189
2515
|
*/
|
|
2190
|
-
|
|
2516
|
+
function readdirSync(
|
|
2191
2517
|
path: PathLike,
|
|
2192
2518
|
options: ObjectEncodingOptions & {
|
|
2193
2519
|
withFileTypes: true;
|
|
@@ -2199,7 +2525,7 @@ declare module "fs" {
|
|
|
2199
2525
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2200
2526
|
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2201
2527
|
*/
|
|
2202
|
-
|
|
2528
|
+
function readdirSync(
|
|
2203
2529
|
path: PathLike,
|
|
2204
2530
|
options: {
|
|
2205
2531
|
encoding: "buffer";
|
|
@@ -2217,8 +2543,8 @@ declare module "fs" {
|
|
|
2217
2543
|
* See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
|
|
2218
2544
|
* @since v0.0.2
|
|
2219
2545
|
*/
|
|
2220
|
-
|
|
2221
|
-
|
|
2546
|
+
function close(fd: number, callback?: NoParamCallback): void;
|
|
2547
|
+
namespace close {
|
|
2222
2548
|
/**
|
|
2223
2549
|
* Asynchronous close(2) - close a file descriptor.
|
|
2224
2550
|
* @param fd A file descriptor.
|
|
@@ -2234,7 +2560,7 @@ declare module "fs" {
|
|
|
2234
2560
|
* See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
|
|
2235
2561
|
* @since v0.1.21
|
|
2236
2562
|
*/
|
|
2237
|
-
|
|
2563
|
+
function closeSync(fd: number): void;
|
|
2238
2564
|
/**
|
|
2239
2565
|
* Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details.
|
|
2240
2566
|
*
|
|
@@ -2252,7 +2578,7 @@ declare module "fs" {
|
|
|
2252
2578
|
* @param [flags='r'] See `support of file system `flags``.
|
|
2253
2579
|
* @param [mode=0o666]
|
|
2254
2580
|
*/
|
|
2255
|
-
|
|
2581
|
+
function open(
|
|
2256
2582
|
path: PathLike,
|
|
2257
2583
|
flags: OpenMode | undefined,
|
|
2258
2584
|
mode: Mode | undefined | null,
|
|
@@ -2263,7 +2589,7 @@ declare module "fs" {
|
|
|
2263
2589
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2264
2590
|
* @param [flags='r'] See `support of file system `flags``.
|
|
2265
2591
|
*/
|
|
2266
|
-
|
|
2592
|
+
function open(
|
|
2267
2593
|
path: PathLike,
|
|
2268
2594
|
flags: OpenMode | undefined,
|
|
2269
2595
|
callback: (err: NodeJS.ErrnoException | null, fd: number) => void,
|
|
@@ -2272,8 +2598,8 @@ declare module "fs" {
|
|
|
2272
2598
|
* Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
|
|
2273
2599
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2274
2600
|
*/
|
|
2275
|
-
|
|
2276
|
-
|
|
2601
|
+
function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
|
|
2602
|
+
namespace open {
|
|
2277
2603
|
/**
|
|
2278
2604
|
* Asynchronous open(2) - open and possibly create a file.
|
|
2279
2605
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2290,7 +2616,7 @@ declare module "fs" {
|
|
|
2290
2616
|
* @param [flags='r']
|
|
2291
2617
|
* @param [mode=0o666]
|
|
2292
2618
|
*/
|
|
2293
|
-
|
|
2619
|
+
function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number;
|
|
2294
2620
|
/**
|
|
2295
2621
|
* Change the file system timestamps of the object referenced by `path`.
|
|
2296
2622
|
*
|
|
@@ -2300,8 +2626,8 @@ declare module "fs" {
|
|
|
2300
2626
|
* * If the value can not be converted to a number, or is `NaN`, `Infinity`, or `-Infinity`, an `Error` will be thrown.
|
|
2301
2627
|
* @since v0.4.2
|
|
2302
2628
|
*/
|
|
2303
|
-
|
|
2304
|
-
|
|
2629
|
+
function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
2630
|
+
namespace utimes {
|
|
2305
2631
|
/**
|
|
2306
2632
|
* Asynchronously change file timestamps of the file referenced by the supplied path.
|
|
2307
2633
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2317,14 +2643,14 @@ declare module "fs" {
|
|
|
2317
2643
|
* this API: {@link utimes}.
|
|
2318
2644
|
* @since v0.4.2
|
|
2319
2645
|
*/
|
|
2320
|
-
|
|
2646
|
+
function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
|
|
2321
2647
|
/**
|
|
2322
2648
|
* Change the file system timestamps of the object referenced by the supplied file
|
|
2323
2649
|
* descriptor. See {@link utimes}.
|
|
2324
2650
|
* @since v0.4.2
|
|
2325
2651
|
*/
|
|
2326
|
-
|
|
2327
|
-
|
|
2652
|
+
function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
2653
|
+
namespace futimes {
|
|
2328
2654
|
/**
|
|
2329
2655
|
* Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
|
|
2330
2656
|
* @param fd A file descriptor.
|
|
@@ -2337,7 +2663,7 @@ declare module "fs" {
|
|
|
2337
2663
|
* Synchronous version of {@link futimes}. Returns `undefined`.
|
|
2338
2664
|
* @since v0.4.2
|
|
2339
2665
|
*/
|
|
2340
|
-
|
|
2666
|
+
function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void;
|
|
2341
2667
|
/**
|
|
2342
2668
|
* Request that all data for the open file descriptor is flushed to the storage
|
|
2343
2669
|
* device. The specific implementation is operating system and device specific.
|
|
@@ -2345,8 +2671,8 @@ declare module "fs" {
|
|
|
2345
2671
|
* than a possible exception are given to the completion callback.
|
|
2346
2672
|
* @since v0.1.96
|
|
2347
2673
|
*/
|
|
2348
|
-
|
|
2349
|
-
|
|
2674
|
+
function fsync(fd: number, callback: NoParamCallback): void;
|
|
2675
|
+
namespace fsync {
|
|
2350
2676
|
/**
|
|
2351
2677
|
* Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
|
|
2352
2678
|
* @param fd A file descriptor.
|
|
@@ -2359,8 +2685,8 @@ declare module "fs" {
|
|
|
2359
2685
|
* Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`.
|
|
2360
2686
|
* @since v0.1.96
|
|
2361
2687
|
*/
|
|
2362
|
-
|
|
2363
|
-
|
|
2688
|
+
function fsyncSync(fd: number): void;
|
|
2689
|
+
interface WriteOptions {
|
|
2364
2690
|
/**
|
|
2365
2691
|
* @default 0
|
|
2366
2692
|
*/
|
|
@@ -2401,7 +2727,7 @@ declare module "fs" {
|
|
|
2401
2727
|
* @param [length=buffer.byteLength - offset]
|
|
2402
2728
|
* @param [position='null']
|
|
2403
2729
|
*/
|
|
2404
|
-
|
|
2730
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2405
2731
|
fd: number,
|
|
2406
2732
|
buffer: TBuffer,
|
|
2407
2733
|
offset: number | undefined | null,
|
|
@@ -2415,7 +2741,7 @@ declare module "fs" {
|
|
|
2415
2741
|
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
|
|
2416
2742
|
* @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
|
|
2417
2743
|
*/
|
|
2418
|
-
|
|
2744
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2419
2745
|
fd: number,
|
|
2420
2746
|
buffer: TBuffer,
|
|
2421
2747
|
offset: number | undefined | null,
|
|
@@ -2427,7 +2753,7 @@ declare module "fs" {
|
|
|
2427
2753
|
* @param fd A file descriptor.
|
|
2428
2754
|
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
|
|
2429
2755
|
*/
|
|
2430
|
-
|
|
2756
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2431
2757
|
fd: number,
|
|
2432
2758
|
buffer: TBuffer,
|
|
2433
2759
|
offset: number | undefined | null,
|
|
@@ -2437,7 +2763,7 @@ declare module "fs" {
|
|
|
2437
2763
|
* Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
|
|
2438
2764
|
* @param fd A file descriptor.
|
|
2439
2765
|
*/
|
|
2440
|
-
|
|
2766
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2441
2767
|
fd: number,
|
|
2442
2768
|
buffer: TBuffer,
|
|
2443
2769
|
callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
|
|
@@ -2450,7 +2776,7 @@ declare module "fs" {
|
|
|
2450
2776
|
* * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
|
|
2451
2777
|
* * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2452
2778
|
*/
|
|
2453
|
-
|
|
2779
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2454
2780
|
fd: number,
|
|
2455
2781
|
buffer: TBuffer,
|
|
2456
2782
|
options: WriteOptions,
|
|
@@ -2463,7 +2789,7 @@ declare module "fs" {
|
|
|
2463
2789
|
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2464
2790
|
* @param encoding The expected string encoding.
|
|
2465
2791
|
*/
|
|
2466
|
-
|
|
2792
|
+
function write(
|
|
2467
2793
|
fd: number,
|
|
2468
2794
|
string: string,
|
|
2469
2795
|
position: number | undefined | null,
|
|
@@ -2476,7 +2802,7 @@ declare module "fs" {
|
|
|
2476
2802
|
* @param string A string to write.
|
|
2477
2803
|
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2478
2804
|
*/
|
|
2479
|
-
|
|
2805
|
+
function write(
|
|
2480
2806
|
fd: number,
|
|
2481
2807
|
string: string,
|
|
2482
2808
|
position: number | undefined | null,
|
|
@@ -2487,12 +2813,12 @@ declare module "fs" {
|
|
|
2487
2813
|
* @param fd A file descriptor.
|
|
2488
2814
|
* @param string A string to write.
|
|
2489
2815
|
*/
|
|
2490
|
-
|
|
2816
|
+
function write(
|
|
2491
2817
|
fd: number,
|
|
2492
2818
|
string: string,
|
|
2493
2819
|
callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
|
|
2494
2820
|
): void;
|
|
2495
|
-
|
|
2821
|
+
namespace write {
|
|
2496
2822
|
/**
|
|
2497
2823
|
* Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
|
|
2498
2824
|
* @param fd A file descriptor.
|
|
@@ -2552,7 +2878,7 @@ declare module "fs" {
|
|
|
2552
2878
|
* @param [position='null']
|
|
2553
2879
|
* @return The number of bytes written.
|
|
2554
2880
|
*/
|
|
2555
|
-
|
|
2881
|
+
function writeSync(
|
|
2556
2882
|
fd: number,
|
|
2557
2883
|
buffer: NodeJS.ArrayBufferView,
|
|
2558
2884
|
offset?: number | null,
|
|
@@ -2566,14 +2892,14 @@ declare module "fs" {
|
|
|
2566
2892
|
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2567
2893
|
* @param encoding The expected string encoding.
|
|
2568
2894
|
*/
|
|
2569
|
-
|
|
2895
|
+
function writeSync(
|
|
2570
2896
|
fd: number,
|
|
2571
2897
|
string: string,
|
|
2572
2898
|
position?: number | null,
|
|
2573
2899
|
encoding?: BufferEncoding | null,
|
|
2574
2900
|
): number;
|
|
2575
|
-
|
|
2576
|
-
|
|
2901
|
+
type ReadPosition = number | bigint;
|
|
2902
|
+
interface ReadOptions {
|
|
2577
2903
|
/**
|
|
2578
2904
|
* @default 0
|
|
2579
2905
|
*/
|
|
@@ -2587,15 +2913,15 @@ declare module "fs" {
|
|
|
2587
2913
|
*/
|
|
2588
2914
|
position?: ReadPosition | null | undefined;
|
|
2589
2915
|
}
|
|
2590
|
-
|
|
2916
|
+
interface ReadOptionsWithBuffer<T extends NodeJS.ArrayBufferView> extends ReadOptions {
|
|
2591
2917
|
buffer?: T | undefined;
|
|
2592
2918
|
}
|
|
2593
2919
|
/** @deprecated Use `ReadOptions` instead. */
|
|
2594
2920
|
// TODO: remove in future major
|
|
2595
|
-
|
|
2921
|
+
interface ReadSyncOptions extends ReadOptions {}
|
|
2596
2922
|
/** @deprecated Use `ReadOptionsWithBuffer` instead. */
|
|
2597
2923
|
// TODO: remove in future major
|
|
2598
|
-
|
|
2924
|
+
interface ReadAsyncOptions<T extends NodeJS.ArrayBufferView> extends ReadOptionsWithBuffer<T> {}
|
|
2599
2925
|
/**
|
|
2600
2926
|
* Read data from the file specified by `fd`.
|
|
2601
2927
|
*
|
|
@@ -2613,7 +2939,7 @@ declare module "fs" {
|
|
|
2613
2939
|
* @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If
|
|
2614
2940
|
* `position` is an integer, the file position will be unchanged.
|
|
2615
2941
|
*/
|
|
2616
|
-
|
|
2942
|
+
function read<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2617
2943
|
fd: number,
|
|
2618
2944
|
buffer: TBuffer,
|
|
2619
2945
|
offset: number,
|
|
@@ -2630,27 +2956,27 @@ declare module "fs" {
|
|
|
2630
2956
|
* `position` defaults to `null`
|
|
2631
2957
|
* @since v12.17.0, 13.11.0
|
|
2632
2958
|
*/
|
|
2633
|
-
|
|
2959
|
+
function read<TBuffer extends NodeJS.ArrayBufferView = NonSharedBuffer>(
|
|
2634
2960
|
fd: number,
|
|
2635
2961
|
options: ReadOptionsWithBuffer<TBuffer>,
|
|
2636
2962
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
|
|
2637
2963
|
): void;
|
|
2638
|
-
|
|
2964
|
+
function read<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2639
2965
|
fd: number,
|
|
2640
2966
|
buffer: TBuffer,
|
|
2641
2967
|
options: ReadOptions,
|
|
2642
2968
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
|
|
2643
2969
|
): void;
|
|
2644
|
-
|
|
2970
|
+
function read<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2645
2971
|
fd: number,
|
|
2646
2972
|
buffer: TBuffer,
|
|
2647
2973
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
|
|
2648
2974
|
): void;
|
|
2649
|
-
|
|
2975
|
+
function read(
|
|
2650
2976
|
fd: number,
|
|
2651
2977
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NonSharedBuffer) => void,
|
|
2652
2978
|
): void;
|
|
2653
|
-
|
|
2979
|
+
namespace read {
|
|
2654
2980
|
/**
|
|
2655
2981
|
* @param fd A file descriptor.
|
|
2656
2982
|
* @param buffer The buffer that the data will be written to.
|
|
@@ -2663,7 +2989,7 @@ declare module "fs" {
|
|
|
2663
2989
|
buffer: TBuffer,
|
|
2664
2990
|
offset: number,
|
|
2665
2991
|
length: number,
|
|
2666
|
-
position:
|
|
2992
|
+
position: ReadPosition | null,
|
|
2667
2993
|
): Promise<{
|
|
2668
2994
|
bytesRead: number;
|
|
2669
2995
|
buffer: TBuffer;
|
|
@@ -2688,7 +3014,7 @@ declare module "fs" {
|
|
|
2688
3014
|
* @since v0.1.21
|
|
2689
3015
|
* @param [position='null']
|
|
2690
3016
|
*/
|
|
2691
|
-
|
|
3017
|
+
function readSync(
|
|
2692
3018
|
fd: number,
|
|
2693
3019
|
buffer: NodeJS.ArrayBufferView,
|
|
2694
3020
|
offset: number,
|
|
@@ -2699,7 +3025,7 @@ declare module "fs" {
|
|
|
2699
3025
|
* Similar to the above `fs.readSync` function, this version takes an optional `options` object.
|
|
2700
3026
|
* If no `options` object is specified, it will default with the above values.
|
|
2701
3027
|
*/
|
|
2702
|
-
|
|
3028
|
+
function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadOptions): number;
|
|
2703
3029
|
/**
|
|
2704
3030
|
* Asynchronously reads the entire contents of a file.
|
|
2705
3031
|
*
|
|
@@ -2766,7 +3092,7 @@ declare module "fs" {
|
|
|
2766
3092
|
* @since v0.1.29
|
|
2767
3093
|
* @param path filename or file descriptor
|
|
2768
3094
|
*/
|
|
2769
|
-
|
|
3095
|
+
function readFile(
|
|
2770
3096
|
path: PathOrFileDescriptor,
|
|
2771
3097
|
options:
|
|
2772
3098
|
| ({
|
|
@@ -2784,7 +3110,7 @@ declare module "fs" {
|
|
|
2784
3110
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2785
3111
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2786
3112
|
*/
|
|
2787
|
-
|
|
3113
|
+
function readFile(
|
|
2788
3114
|
path: PathOrFileDescriptor,
|
|
2789
3115
|
options:
|
|
2790
3116
|
| ({
|
|
@@ -2801,7 +3127,7 @@ declare module "fs" {
|
|
|
2801
3127
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2802
3128
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2803
3129
|
*/
|
|
2804
|
-
|
|
3130
|
+
function readFile(
|
|
2805
3131
|
path: PathOrFileDescriptor,
|
|
2806
3132
|
options:
|
|
2807
3133
|
| (ObjectEncodingOptions & {
|
|
@@ -2817,11 +3143,11 @@ declare module "fs" {
|
|
|
2817
3143
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2818
3144
|
* If a file descriptor is provided, the underlying file will _not_ be closed automatically.
|
|
2819
3145
|
*/
|
|
2820
|
-
|
|
3146
|
+
function readFile(
|
|
2821
3147
|
path: PathOrFileDescriptor,
|
|
2822
3148
|
callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
|
|
2823
3149
|
): void;
|
|
2824
|
-
|
|
3150
|
+
namespace readFile {
|
|
2825
3151
|
/**
|
|
2826
3152
|
* Asynchronously reads the entire contents of a file.
|
|
2827
3153
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2895,7 +3221,7 @@ declare module "fs" {
|
|
|
2895
3221
|
* @since v0.1.8
|
|
2896
3222
|
* @param path filename or file descriptor
|
|
2897
3223
|
*/
|
|
2898
|
-
|
|
3224
|
+
function readFileSync(
|
|
2899
3225
|
path: PathOrFileDescriptor,
|
|
2900
3226
|
options?: {
|
|
2901
3227
|
encoding?: null | undefined;
|
|
@@ -2909,7 +3235,7 @@ declare module "fs" {
|
|
|
2909
3235
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2910
3236
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2911
3237
|
*/
|
|
2912
|
-
|
|
3238
|
+
function readFileSync(
|
|
2913
3239
|
path: PathOrFileDescriptor,
|
|
2914
3240
|
options:
|
|
2915
3241
|
| {
|
|
@@ -2925,7 +3251,7 @@ declare module "fs" {
|
|
|
2925
3251
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2926
3252
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2927
3253
|
*/
|
|
2928
|
-
|
|
3254
|
+
function readFileSync(
|
|
2929
3255
|
path: PathOrFileDescriptor,
|
|
2930
3256
|
options?:
|
|
2931
3257
|
| (ObjectEncodingOptions & {
|
|
@@ -2934,7 +3260,7 @@ declare module "fs" {
|
|
|
2934
3260
|
| BufferEncoding
|
|
2935
3261
|
| null,
|
|
2936
3262
|
): string | NonSharedBuffer;
|
|
2937
|
-
|
|
3263
|
+
type WriteFileOptions =
|
|
2938
3264
|
| (
|
|
2939
3265
|
& ObjectEncodingOptions
|
|
2940
3266
|
& Abortable
|
|
@@ -3007,7 +3333,7 @@ declare module "fs" {
|
|
|
3007
3333
|
* @since v0.1.29
|
|
3008
3334
|
* @param file filename or file descriptor
|
|
3009
3335
|
*/
|
|
3010
|
-
|
|
3336
|
+
function writeFile(
|
|
3011
3337
|
file: PathOrFileDescriptor,
|
|
3012
3338
|
data: string | NodeJS.ArrayBufferView,
|
|
3013
3339
|
options: WriteFileOptions,
|
|
@@ -3019,12 +3345,12 @@ declare module "fs" {
|
|
|
3019
3345
|
* If a file descriptor is provided, the underlying file will _not_ be closed automatically.
|
|
3020
3346
|
* @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
|
|
3021
3347
|
*/
|
|
3022
|
-
|
|
3348
|
+
function writeFile(
|
|
3023
3349
|
path: PathOrFileDescriptor,
|
|
3024
3350
|
data: string | NodeJS.ArrayBufferView,
|
|
3025
3351
|
callback: NoParamCallback,
|
|
3026
3352
|
): void;
|
|
3027
|
-
|
|
3353
|
+
namespace writeFile {
|
|
3028
3354
|
/**
|
|
3029
3355
|
* Asynchronously writes data to a file, replacing the file if it already exists.
|
|
3030
3356
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -3053,7 +3379,7 @@ declare module "fs" {
|
|
|
3053
3379
|
* @since v0.1.29
|
|
3054
3380
|
* @param file filename or file descriptor
|
|
3055
3381
|
*/
|
|
3056
|
-
|
|
3382
|
+
function writeFileSync(
|
|
3057
3383
|
file: PathOrFileDescriptor,
|
|
3058
3384
|
data: string | NodeJS.ArrayBufferView,
|
|
3059
3385
|
options?: WriteFileOptions,
|
|
@@ -3111,7 +3437,7 @@ declare module "fs" {
|
|
|
3111
3437
|
* @since v0.6.7
|
|
3112
3438
|
* @param path filename or file descriptor
|
|
3113
3439
|
*/
|
|
3114
|
-
|
|
3440
|
+
function appendFile(
|
|
3115
3441
|
path: PathOrFileDescriptor,
|
|
3116
3442
|
data: string | Uint8Array,
|
|
3117
3443
|
options: WriteFileOptions,
|
|
@@ -3123,8 +3449,8 @@ declare module "fs" {
|
|
|
3123
3449
|
* If a file descriptor is provided, the underlying file will _not_ be closed automatically.
|
|
3124
3450
|
* @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
|
|
3125
3451
|
*/
|
|
3126
|
-
|
|
3127
|
-
|
|
3452
|
+
function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void;
|
|
3453
|
+
namespace appendFile {
|
|
3128
3454
|
/**
|
|
3129
3455
|
* Asynchronously append data to a file, creating the file if it does not exist.
|
|
3130
3456
|
* @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -3190,7 +3516,7 @@ declare module "fs" {
|
|
|
3190
3516
|
* @since v0.6.7
|
|
3191
3517
|
* @param path filename or file descriptor
|
|
3192
3518
|
*/
|
|
3193
|
-
|
|
3519
|
+
function appendFileSync(
|
|
3194
3520
|
path: PathOrFileDescriptor,
|
|
3195
3521
|
data: string | Uint8Array,
|
|
3196
3522
|
options?: WriteFileOptions,
|
|
@@ -3208,7 +3534,7 @@ declare module "fs" {
|
|
|
3208
3534
|
* stat object:
|
|
3209
3535
|
*
|
|
3210
3536
|
* ```js
|
|
3211
|
-
* import { watchFile } from 'fs';
|
|
3537
|
+
* import { watchFile } from 'node:fs';
|
|
3212
3538
|
*
|
|
3213
3539
|
* watchFile('message.text', (curr, prev) => {
|
|
3214
3540
|
* console.log(`the current mtime is: ${curr.mtime}`);
|
|
@@ -3241,7 +3567,7 @@ declare module "fs" {
|
|
|
3241
3567
|
* * the file is renamed and then renamed a second time back to its original name
|
|
3242
3568
|
* @since v0.1.31
|
|
3243
3569
|
*/
|
|
3244
|
-
|
|
3570
|
+
interface WatchFileOptions {
|
|
3245
3571
|
bigint?: boolean | undefined;
|
|
3246
3572
|
persistent?: boolean | undefined;
|
|
3247
3573
|
interval?: number | undefined;
|
|
@@ -3292,7 +3618,7 @@ declare module "fs" {
|
|
|
3292
3618
|
* * the file is renamed and then renamed a second time back to its original name
|
|
3293
3619
|
* @since v0.1.31
|
|
3294
3620
|
*/
|
|
3295
|
-
|
|
3621
|
+
function watchFile(
|
|
3296
3622
|
filename: PathLike,
|
|
3297
3623
|
options:
|
|
3298
3624
|
| (WatchFileOptions & {
|
|
@@ -3301,7 +3627,7 @@ declare module "fs" {
|
|
|
3301
3627
|
| undefined,
|
|
3302
3628
|
listener: StatsListener,
|
|
3303
3629
|
): StatWatcher;
|
|
3304
|
-
|
|
3630
|
+
function watchFile(
|
|
3305
3631
|
filename: PathLike,
|
|
3306
3632
|
options:
|
|
3307
3633
|
| (WatchFileOptions & {
|
|
@@ -3314,7 +3640,7 @@ declare module "fs" {
|
|
|
3314
3640
|
* Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
|
|
3315
3641
|
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3316
3642
|
*/
|
|
3317
|
-
|
|
3643
|
+
function watchFile(filename: PathLike, listener: StatsListener): StatWatcher;
|
|
3318
3644
|
/**
|
|
3319
3645
|
* Stop watching for changes on `filename`. If `listener` is specified, only that
|
|
3320
3646
|
* particular listener is removed. Otherwise, _all_ listeners are removed,
|
|
@@ -3327,17 +3653,25 @@ declare module "fs" {
|
|
|
3327
3653
|
* @since v0.1.31
|
|
3328
3654
|
* @param listener Optional, a listener previously attached using `fs.watchFile()`
|
|
3329
3655
|
*/
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3656
|
+
function unwatchFile(filename: PathLike, listener?: StatsListener): void;
|
|
3657
|
+
function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
|
|
3658
|
+
type WatchIgnorePredicate = string | RegExp | ((filename: string) => boolean);
|
|
3659
|
+
interface WatchOptions extends Abortable {
|
|
3333
3660
|
encoding?: BufferEncoding | "buffer" | undefined;
|
|
3334
3661
|
persistent?: boolean | undefined;
|
|
3335
3662
|
recursive?: boolean | undefined;
|
|
3663
|
+
ignore?: WatchIgnorePredicate | readonly WatchIgnorePredicate[] | undefined;
|
|
3336
3664
|
}
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3665
|
+
interface WatchOptionsWithBufferEncoding extends WatchOptions {
|
|
3666
|
+
encoding: "buffer";
|
|
3667
|
+
}
|
|
3668
|
+
interface WatchOptionsWithStringEncoding extends WatchOptions {
|
|
3669
|
+
encoding?: BufferEncoding | undefined;
|
|
3670
|
+
}
|
|
3671
|
+
type WatchEventType = "rename" | "change";
|
|
3672
|
+
type WatchListener<T> = (event: WatchEventType, filename: T | null) => void;
|
|
3673
|
+
type StatsListener = (curr: Stats, prev: Stats) => void;
|
|
3674
|
+
type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void;
|
|
3341
3675
|
/**
|
|
3342
3676
|
* Watch for changes on `filename`, where `filename` is either a file or a
|
|
3343
3677
|
* directory.
|
|
@@ -3358,46 +3692,22 @@ declare module "fs" {
|
|
|
3358
3692
|
* @since v0.5.10
|
|
3359
3693
|
* @param listener
|
|
3360
3694
|
*/
|
|
3361
|
-
|
|
3695
|
+
function watch(
|
|
3362
3696
|
filename: PathLike,
|
|
3363
|
-
options
|
|
3364
|
-
|
|
3365
|
-
encoding: "buffer";
|
|
3366
|
-
})
|
|
3367
|
-
| "buffer",
|
|
3368
|
-
listener?: WatchListener<NonSharedBuffer>,
|
|
3697
|
+
options?: WatchOptionsWithStringEncoding | BufferEncoding | null,
|
|
3698
|
+
listener?: WatchListener<string>,
|
|
3369
3699
|
): FSWatcher;
|
|
3370
|
-
|
|
3371
|
-
* Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
|
|
3372
|
-
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3373
|
-
* @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
|
|
3374
|
-
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
|
3375
|
-
* If `persistent` is not supplied, the default of `true` is used.
|
|
3376
|
-
* If `recursive` is not supplied, the default of `false` is used.
|
|
3377
|
-
*/
|
|
3378
|
-
export function watch(
|
|
3700
|
+
function watch(
|
|
3379
3701
|
filename: PathLike,
|
|
3380
|
-
options
|
|
3381
|
-
listener
|
|
3702
|
+
options: WatchOptionsWithBufferEncoding | "buffer",
|
|
3703
|
+
listener: WatchListener<NonSharedBuffer>,
|
|
3382
3704
|
): FSWatcher;
|
|
3383
|
-
|
|
3384
|
-
* Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
|
|
3385
|
-
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3386
|
-
* @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
|
|
3387
|
-
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
|
3388
|
-
* If `persistent` is not supplied, the default of `true` is used.
|
|
3389
|
-
* If `recursive` is not supplied, the default of `false` is used.
|
|
3390
|
-
*/
|
|
3391
|
-
export function watch(
|
|
3705
|
+
function watch(
|
|
3392
3706
|
filename: PathLike,
|
|
3393
|
-
options: WatchOptions |
|
|
3394
|
-
listener
|
|
3707
|
+
options: WatchOptions | BufferEncoding | "buffer" | null,
|
|
3708
|
+
listener: WatchListener<string | NonSharedBuffer>,
|
|
3395
3709
|
): FSWatcher;
|
|
3396
|
-
|
|
3397
|
-
* Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
|
|
3398
|
-
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3399
|
-
*/
|
|
3400
|
-
export function watch(filename: PathLike, listener?: WatchListener<string>): FSWatcher;
|
|
3710
|
+
function watch(filename: PathLike, listener: WatchListener<string>): FSWatcher;
|
|
3401
3711
|
/**
|
|
3402
3712
|
* Test whether or not the given path exists by checking with the file system.
|
|
3403
3713
|
* Then call the `callback` argument with either true or false:
|
|
@@ -3527,9 +3837,9 @@ declare module "fs" {
|
|
|
3527
3837
|
* @since v0.0.2
|
|
3528
3838
|
* @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead.
|
|
3529
3839
|
*/
|
|
3530
|
-
|
|
3840
|
+
function exists(path: PathLike, callback: (exists: boolean) => void): void;
|
|
3531
3841
|
/** @deprecated */
|
|
3532
|
-
|
|
3842
|
+
namespace exists {
|
|
3533
3843
|
/**
|
|
3534
3844
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3535
3845
|
* URL support is _experimental_.
|
|
@@ -3553,8 +3863,8 @@ declare module "fs" {
|
|
|
3553
3863
|
* ```
|
|
3554
3864
|
* @since v0.1.21
|
|
3555
3865
|
*/
|
|
3556
|
-
|
|
3557
|
-
|
|
3866
|
+
function existsSync(path: PathLike): boolean;
|
|
3867
|
+
namespace constants {
|
|
3558
3868
|
// File Access Constants
|
|
3559
3869
|
/** Constant for fs.access(). File is visible to the calling process. */
|
|
3560
3870
|
const F_OK: number;
|
|
@@ -3828,13 +4138,13 @@ declare module "fs" {
|
|
|
3828
4138
|
* @since v0.11.15
|
|
3829
4139
|
* @param [mode=fs.constants.F_OK]
|
|
3830
4140
|
*/
|
|
3831
|
-
|
|
4141
|
+
function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void;
|
|
3832
4142
|
/**
|
|
3833
4143
|
* Asynchronously tests a user's permissions for the file specified by path.
|
|
3834
4144
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3835
4145
|
*/
|
|
3836
|
-
|
|
3837
|
-
|
|
4146
|
+
function access(path: PathLike, callback: NoParamCallback): void;
|
|
4147
|
+
namespace access {
|
|
3838
4148
|
/**
|
|
3839
4149
|
* Asynchronously tests a user's permissions for the file specified by path.
|
|
3840
4150
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -3865,11 +4175,11 @@ declare module "fs" {
|
|
|
3865
4175
|
* @since v0.11.15
|
|
3866
4176
|
* @param [mode=fs.constants.F_OK]
|
|
3867
4177
|
*/
|
|
3868
|
-
|
|
4178
|
+
function accessSync(path: PathLike, mode?: number): void;
|
|
3869
4179
|
interface StreamOptions {
|
|
3870
4180
|
flags?: string | undefined;
|
|
3871
4181
|
encoding?: BufferEncoding | undefined;
|
|
3872
|
-
fd?: number |
|
|
4182
|
+
fd?: number | FileHandle | undefined;
|
|
3873
4183
|
mode?: number | undefined;
|
|
3874
4184
|
autoClose?: boolean | undefined;
|
|
3875
4185
|
emitClose?: boolean | undefined;
|
|
@@ -3897,9 +4207,6 @@ declare module "fs" {
|
|
|
3897
4207
|
flush?: boolean | undefined;
|
|
3898
4208
|
}
|
|
3899
4209
|
/**
|
|
3900
|
-
* Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream
|
|
3901
|
-
* returned by this method has a default `highWaterMark` of 64 KiB.
|
|
3902
|
-
*
|
|
3903
4210
|
* `options` can include `start` and `end` values to read a range of bytes from
|
|
3904
4211
|
* the file instead of the entire file. Both `start` and `end` are inclusive and
|
|
3905
4212
|
* start counting at 0, allowed values are in the
|
|
@@ -3960,7 +4267,7 @@ declare module "fs" {
|
|
|
3960
4267
|
* If `options` is a string, then it specifies the encoding.
|
|
3961
4268
|
* @since v0.1.31
|
|
3962
4269
|
*/
|
|
3963
|
-
|
|
4270
|
+
function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream;
|
|
3964
4271
|
/**
|
|
3965
4272
|
* `options` may also include a `start` option to allow writing data at some
|
|
3966
4273
|
* position past the beginning of the file, allowed values are in the
|
|
@@ -3988,7 +4295,7 @@ declare module "fs" {
|
|
|
3988
4295
|
* If `options` is a string, then it specifies the encoding.
|
|
3989
4296
|
* @since v0.1.31
|
|
3990
4297
|
*/
|
|
3991
|
-
|
|
4298
|
+
function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream;
|
|
3992
4299
|
/**
|
|
3993
4300
|
* Forces all currently queued I/O operations associated with the file to the
|
|
3994
4301
|
* operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other
|
|
@@ -3996,8 +4303,8 @@ declare module "fs" {
|
|
|
3996
4303
|
* exception are given to the completion callback.
|
|
3997
4304
|
* @since v0.1.96
|
|
3998
4305
|
*/
|
|
3999
|
-
|
|
4000
|
-
|
|
4306
|
+
function fdatasync(fd: number, callback: NoParamCallback): void;
|
|
4307
|
+
namespace fdatasync {
|
|
4001
4308
|
/**
|
|
4002
4309
|
* Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
|
|
4003
4310
|
* @param fd A file descriptor.
|
|
@@ -4009,7 +4316,7 @@ declare module "fs" {
|
|
|
4009
4316
|
* operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`.
|
|
4010
4317
|
* @since v0.1.96
|
|
4011
4318
|
*/
|
|
4012
|
-
|
|
4319
|
+
function fdatasyncSync(fd: number): void;
|
|
4013
4320
|
/**
|
|
4014
4321
|
* Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
|
|
4015
4322
|
* already exists. No arguments other than a possible exception are given to the
|
|
@@ -4049,9 +4356,9 @@ declare module "fs" {
|
|
|
4049
4356
|
* @param dest destination filename of the copy operation
|
|
4050
4357
|
* @param [mode=0] modifiers for copy operation.
|
|
4051
4358
|
*/
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4359
|
+
function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void;
|
|
4360
|
+
function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void;
|
|
4361
|
+
namespace copyFile {
|
|
4055
4362
|
function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise<void>;
|
|
4056
4363
|
}
|
|
4057
4364
|
/**
|
|
@@ -4088,7 +4395,7 @@ declare module "fs" {
|
|
|
4088
4395
|
* @param dest destination filename of the copy operation
|
|
4089
4396
|
* @param [mode=0] modifiers for copy operation.
|
|
4090
4397
|
*/
|
|
4091
|
-
|
|
4398
|
+
function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void;
|
|
4092
4399
|
/**
|
|
4093
4400
|
* Write an array of `ArrayBufferView`s to the file specified by `fd` using `writev()`.
|
|
4094
4401
|
*
|
|
@@ -4109,12 +4416,12 @@ declare module "fs" {
|
|
|
4109
4416
|
* @since v12.9.0
|
|
4110
4417
|
* @param [position='null']
|
|
4111
4418
|
*/
|
|
4112
|
-
|
|
4419
|
+
function writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4113
4420
|
fd: number,
|
|
4114
4421
|
buffers: TBuffers,
|
|
4115
4422
|
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: TBuffers) => void,
|
|
4116
4423
|
): void;
|
|
4117
|
-
|
|
4424
|
+
function writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4118
4425
|
fd: number,
|
|
4119
4426
|
buffers: TBuffers,
|
|
4120
4427
|
position: number | null,
|
|
@@ -4122,11 +4429,11 @@ declare module "fs" {
|
|
|
4122
4429
|
): void;
|
|
4123
4430
|
// Providing a default type parameter doesn't provide true BC for userland consumers, but at least suppresses TS2314
|
|
4124
4431
|
// TODO: remove default in future major version
|
|
4125
|
-
|
|
4432
|
+
interface WriteVResult<T extends readonly NodeJS.ArrayBufferView[] = NodeJS.ArrayBufferView[]> {
|
|
4126
4433
|
bytesWritten: number;
|
|
4127
4434
|
buffers: T;
|
|
4128
4435
|
}
|
|
4129
|
-
|
|
4436
|
+
namespace writev {
|
|
4130
4437
|
function __promisify__<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4131
4438
|
fd: number,
|
|
4132
4439
|
buffers: TBuffers,
|
|
@@ -4140,7 +4447,7 @@ declare module "fs" {
|
|
|
4140
4447
|
* @param [position='null']
|
|
4141
4448
|
* @return The number of bytes written.
|
|
4142
4449
|
*/
|
|
4143
|
-
|
|
4450
|
+
function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
|
|
4144
4451
|
/**
|
|
4145
4452
|
* Read from a file specified by `fd` and write to an array of `ArrayBufferView`s
|
|
4146
4453
|
* using `readv()`.
|
|
@@ -4156,12 +4463,12 @@ declare module "fs" {
|
|
|
4156
4463
|
* @since v13.13.0, v12.17.0
|
|
4157
4464
|
* @param [position='null']
|
|
4158
4465
|
*/
|
|
4159
|
-
|
|
4466
|
+
function readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4160
4467
|
fd: number,
|
|
4161
4468
|
buffers: TBuffers,
|
|
4162
4469
|
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: TBuffers) => void,
|
|
4163
4470
|
): void;
|
|
4164
|
-
|
|
4471
|
+
function readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4165
4472
|
fd: number,
|
|
4166
4473
|
buffers: TBuffers,
|
|
4167
4474
|
position: number | null,
|
|
@@ -4169,11 +4476,11 @@ declare module "fs" {
|
|
|
4169
4476
|
): void;
|
|
4170
4477
|
// Providing a default type parameter doesn't provide true BC for userland consumers, but at least suppresses TS2314
|
|
4171
4478
|
// TODO: remove default in future major version
|
|
4172
|
-
|
|
4479
|
+
interface ReadVResult<T extends readonly NodeJS.ArrayBufferView[] = NodeJS.ArrayBufferView[]> {
|
|
4173
4480
|
bytesRead: number;
|
|
4174
4481
|
buffers: T;
|
|
4175
4482
|
}
|
|
4176
|
-
|
|
4483
|
+
namespace readv {
|
|
4177
4484
|
function __promisify__<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4178
4485
|
fd: number,
|
|
4179
4486
|
buffers: TBuffers,
|
|
@@ -4187,9 +4494,9 @@ declare module "fs" {
|
|
|
4187
4494
|
* @param [position='null']
|
|
4188
4495
|
* @return The number of bytes read.
|
|
4189
4496
|
*/
|
|
4190
|
-
|
|
4497
|
+
function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
|
|
4191
4498
|
|
|
4192
|
-
|
|
4499
|
+
interface OpenAsBlobOptions {
|
|
4193
4500
|
/**
|
|
4194
4501
|
* An optional mime type for the blob.
|
|
4195
4502
|
*
|
|
@@ -4214,11 +4521,10 @@ declare module "fs" {
|
|
|
4214
4521
|
* blob.stream();
|
|
4215
4522
|
* ```
|
|
4216
4523
|
* @since v19.8.0
|
|
4217
|
-
* @experimental
|
|
4218
4524
|
*/
|
|
4219
|
-
|
|
4525
|
+
function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise<Blob>;
|
|
4220
4526
|
|
|
4221
|
-
|
|
4527
|
+
interface OpenDirOptions {
|
|
4222
4528
|
/**
|
|
4223
4529
|
* @default 'utf8'
|
|
4224
4530
|
*/
|
|
@@ -4245,7 +4551,7 @@ declare module "fs" {
|
|
|
4245
4551
|
* directory and subsequent read operations.
|
|
4246
4552
|
* @since v12.12.0
|
|
4247
4553
|
*/
|
|
4248
|
-
|
|
4554
|
+
function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
|
|
4249
4555
|
/**
|
|
4250
4556
|
* Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for
|
|
4251
4557
|
* more details.
|
|
@@ -4257,30 +4563,30 @@ declare module "fs" {
|
|
|
4257
4563
|
* directory and subsequent read operations.
|
|
4258
4564
|
* @since v12.12.0
|
|
4259
4565
|
*/
|
|
4260
|
-
|
|
4261
|
-
|
|
4566
|
+
function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
4567
|
+
function opendir(
|
|
4262
4568
|
path: PathLike,
|
|
4263
4569
|
options: OpenDirOptions,
|
|
4264
4570
|
cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void,
|
|
4265
4571
|
): void;
|
|
4266
|
-
|
|
4572
|
+
namespace opendir {
|
|
4267
4573
|
function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
4268
4574
|
}
|
|
4269
|
-
|
|
4575
|
+
interface BigIntStats extends StatsBase<bigint> {
|
|
4270
4576
|
atimeNs: bigint;
|
|
4271
4577
|
mtimeNs: bigint;
|
|
4272
4578
|
ctimeNs: bigint;
|
|
4273
4579
|
birthtimeNs: bigint;
|
|
4274
4580
|
}
|
|
4275
|
-
|
|
4581
|
+
interface BigIntOptions {
|
|
4276
4582
|
bigint: true;
|
|
4277
4583
|
}
|
|
4278
|
-
|
|
4584
|
+
interface StatOptions {
|
|
4279
4585
|
bigint?: boolean | undefined;
|
|
4280
|
-
}
|
|
4281
|
-
export interface StatSyncOptions extends StatOptions {
|
|
4282
4586
|
throwIfNoEntry?: boolean | undefined;
|
|
4283
4587
|
}
|
|
4588
|
+
/** @deprecated This orphaned interface will be removed in a future version. Use `StatOptions` instead. */
|
|
4589
|
+
interface StatSyncOptions extends StatOptions {}
|
|
4284
4590
|
interface CopyOptionsBase {
|
|
4285
4591
|
/**
|
|
4286
4592
|
* Dereference symlinks
|
|
@@ -4321,14 +4627,14 @@ declare module "fs" {
|
|
|
4321
4627
|
*/
|
|
4322
4628
|
verbatimSymlinks?: boolean | undefined;
|
|
4323
4629
|
}
|
|
4324
|
-
|
|
4630
|
+
interface CopyOptions extends CopyOptionsBase {
|
|
4325
4631
|
/**
|
|
4326
4632
|
* Function to filter copied files/directories. Return
|
|
4327
4633
|
* `true` to copy the item, `false` to ignore it.
|
|
4328
4634
|
*/
|
|
4329
4635
|
filter?: ((source: string, destination: string) => boolean | Promise<boolean>) | undefined;
|
|
4330
4636
|
}
|
|
4331
|
-
|
|
4637
|
+
interface CopySyncOptions extends CopyOptionsBase {
|
|
4332
4638
|
/**
|
|
4333
4639
|
* Function to filter copied files/directories. Return
|
|
4334
4640
|
* `true` to copy the item, `false` to ignore it.
|
|
@@ -4346,12 +4652,12 @@ declare module "fs" {
|
|
|
4346
4652
|
* @param src source path to copy.
|
|
4347
4653
|
* @param dest destination path to copy to.
|
|
4348
4654
|
*/
|
|
4349
|
-
|
|
4655
|
+
function cp(
|
|
4350
4656
|
source: string | URL,
|
|
4351
4657
|
destination: string | URL,
|
|
4352
4658
|
callback: (err: NodeJS.ErrnoException | null) => void,
|
|
4353
4659
|
): void;
|
|
4354
|
-
|
|
4660
|
+
function cp(
|
|
4355
4661
|
source: string | URL,
|
|
4356
4662
|
destination: string | URL,
|
|
4357
4663
|
opts: CopyOptions,
|
|
@@ -4368,8 +4674,107 @@ declare module "fs" {
|
|
|
4368
4674
|
* @param src source path to copy.
|
|
4369
4675
|
* @param dest destination path to copy to.
|
|
4370
4676
|
*/
|
|
4371
|
-
|
|
4677
|
+
function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
|
|
4678
|
+
|
|
4679
|
+
// TODO: collapse
|
|
4680
|
+
interface _GlobOptions<T extends Dirent | string> {
|
|
4681
|
+
/**
|
|
4682
|
+
* Current working directory.
|
|
4683
|
+
* @default process.cwd()
|
|
4684
|
+
*/
|
|
4685
|
+
cwd?: string | URL | undefined;
|
|
4686
|
+
/**
|
|
4687
|
+
* `true` if the glob should return paths as `Dirent`s, `false` otherwise.
|
|
4688
|
+
* @default false
|
|
4689
|
+
* @since v22.2.0
|
|
4690
|
+
*/
|
|
4691
|
+
withFileTypes?: boolean | undefined;
|
|
4692
|
+
/**
|
|
4693
|
+
* Function to filter out files/directories or a
|
|
4694
|
+
* list of glob patterns to be excluded. If a function is provided, return
|
|
4695
|
+
* `true` to exclude the item, `false` to include it.
|
|
4696
|
+
* If a string array is provided, each string should be a glob pattern that
|
|
4697
|
+
* specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are
|
|
4698
|
+
* not supported.
|
|
4699
|
+
* @default undefined
|
|
4700
|
+
*/
|
|
4701
|
+
exclude?: ((fileName: T) => boolean) | readonly string[] | undefined;
|
|
4702
|
+
}
|
|
4703
|
+
interface GlobOptions extends _GlobOptions<Dirent | string> {}
|
|
4704
|
+
interface GlobOptionsWithFileTypes extends _GlobOptions<Dirent> {
|
|
4705
|
+
withFileTypes: true;
|
|
4706
|
+
}
|
|
4707
|
+
interface GlobOptionsWithoutFileTypes extends _GlobOptions<string> {
|
|
4708
|
+
withFileTypes?: false | undefined;
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4711
|
+
/**
|
|
4712
|
+
* Retrieves the files matching the specified pattern.
|
|
4713
|
+
*
|
|
4714
|
+
* ```js
|
|
4715
|
+
* import { glob } from 'node:fs';
|
|
4716
|
+
*
|
|
4717
|
+
* glob('*.js', (err, matches) => {
|
|
4718
|
+
* if (err) throw err;
|
|
4719
|
+
* console.log(matches);
|
|
4720
|
+
* });
|
|
4721
|
+
* ```
|
|
4722
|
+
* @since v22.0.0
|
|
4723
|
+
*/
|
|
4724
|
+
function glob(
|
|
4725
|
+
pattern: string | readonly string[],
|
|
4726
|
+
callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
|
|
4727
|
+
): void;
|
|
4728
|
+
function glob(
|
|
4729
|
+
pattern: string | readonly string[],
|
|
4730
|
+
options: GlobOptionsWithFileTypes,
|
|
4731
|
+
callback: (
|
|
4732
|
+
err: NodeJS.ErrnoException | null,
|
|
4733
|
+
matches: Dirent[],
|
|
4734
|
+
) => void,
|
|
4735
|
+
): void;
|
|
4736
|
+
function glob(
|
|
4737
|
+
pattern: string | readonly string[],
|
|
4738
|
+
options: GlobOptionsWithoutFileTypes,
|
|
4739
|
+
callback: (
|
|
4740
|
+
err: NodeJS.ErrnoException | null,
|
|
4741
|
+
matches: string[],
|
|
4742
|
+
) => void,
|
|
4743
|
+
): void;
|
|
4744
|
+
function glob(
|
|
4745
|
+
pattern: string | readonly string[],
|
|
4746
|
+
options: GlobOptions,
|
|
4747
|
+
callback: (
|
|
4748
|
+
err: NodeJS.ErrnoException | null,
|
|
4749
|
+
matches: Dirent[] | string[],
|
|
4750
|
+
) => void,
|
|
4751
|
+
): void;
|
|
4752
|
+
/**
|
|
4753
|
+
* ```js
|
|
4754
|
+
* import { globSync } from 'node:fs';
|
|
4755
|
+
*
|
|
4756
|
+
* console.log(globSync('*.js'));
|
|
4757
|
+
* ```
|
|
4758
|
+
* @since v22.0.0
|
|
4759
|
+
* @returns paths of files that match the pattern.
|
|
4760
|
+
*/
|
|
4761
|
+
function globSync(pattern: string | readonly string[]): string[];
|
|
4762
|
+
function globSync(
|
|
4763
|
+
pattern: string | readonly string[],
|
|
4764
|
+
options: GlobOptionsWithFileTypes,
|
|
4765
|
+
): Dirent[];
|
|
4766
|
+
function globSync(
|
|
4767
|
+
pattern: string | readonly string[],
|
|
4768
|
+
options: GlobOptionsWithoutFileTypes,
|
|
4769
|
+
): string[];
|
|
4770
|
+
function globSync(
|
|
4771
|
+
pattern: string | readonly string[],
|
|
4772
|
+
options: GlobOptions,
|
|
4773
|
+
): Dirent[] | string[];
|
|
4372
4774
|
}
|
|
4373
4775
|
declare module "node:fs" {
|
|
4374
|
-
export * from "fs";
|
|
4776
|
+
export * as promises from "node:fs/promises";
|
|
4777
|
+
}
|
|
4778
|
+
declare module "fs" {
|
|
4779
|
+
export * from "node:fs";
|
|
4375
4780
|
}
|