omegon 0.6.32 → 0.7.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/bin/omegon.mjs +74 -1
- package/extensions/00-secrets/index.ts +6 -0
- package/extensions/00-splash/index.ts +338 -0
- package/extensions/00-splash/logo.ts +194 -0
- package/extensions/bootstrap/index.ts +19 -2
- package/extensions/effort/index.ts +10 -0
- package/extensions/lib/splash-state.ts +25 -0
- package/extensions/mcp-bridge/index.ts +5 -0
- package/extensions/project-memory/index.ts +10 -0
- package/extensions/tool-profile/index.ts +7 -2
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +44 -37
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +38 -31
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/file-type/core.js +86 -9
- package/node_modules/file-type/index.js +17 -1
- package/node_modules/file-type/package.json +1 -1
- package/node_modules/file-type/readme.md +3 -0
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +13 -14
- package/node_modules/google-auth-library/package.json +2 -2
- package/package.json +5 -5
- package/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
- package/node_modules/@isaacs/cliui/README.md +0 -143
- package/node_modules/@isaacs/cliui/build/index.cjs +0 -317
- package/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
- package/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
- package/node_modules/@isaacs/cliui/index.mjs +0 -14
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.d.ts +0 -236
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js +0 -223
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/license +0 -9
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +0 -54
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/readme.md +0 -173
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/README.md +0 -137
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +0 -52
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/string-width/index.d.ts +0 -29
- package/node_modules/@isaacs/cliui/node_modules/string-width/index.js +0 -54
- package/node_modules/@isaacs/cliui/node_modules/string-width/license +0 -9
- package/node_modules/@isaacs/cliui/node_modules/string-width/package.json +0 -59
- package/node_modules/@isaacs/cliui/node_modules/string-width/readme.md +0 -67
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.d.ts +0 -41
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js +0 -214
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/license +0 -9
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/package.json +0 -69
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/readme.md +0 -91
- package/node_modules/@isaacs/cliui/package.json +0 -86
- package/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
- package/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
- package/node_modules/@pkgjs/parseargs/LICENSE +0 -201
- package/node_modules/@pkgjs/parseargs/README.md +0 -413
- package/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
- package/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
- package/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
- package/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
- package/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
- package/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
- package/node_modules/@pkgjs/parseargs/index.js +0 -396
- package/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
- package/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
- package/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
- package/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
- package/node_modules/@pkgjs/parseargs/package.json +0 -36
- package/node_modules/@pkgjs/parseargs/utils.js +0 -198
- package/node_modules/cross-spawn/LICENSE +0 -21
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/cross-spawn/index.js +0 -39
- package/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/node_modules/cross-spawn/lib/parse.js +0 -91
- package/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/node_modules/cross-spawn/package.json +0 -73
- package/node_modules/eastasianwidth/README.md +0 -32
- package/node_modules/eastasianwidth/eastasianwidth.js +0 -311
- package/node_modules/eastasianwidth/package.json +0 -18
- package/node_modules/foreground-child/LICENSE +0 -15
- package/node_modules/foreground-child/README.md +0 -128
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.js +0 -123
- package/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/package.json +0 -3
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.js +0 -115
- package/node_modules/foreground-child/dist/esm/index.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/package.json +0 -3
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/foreground-child/node_modules/signal-exit/README.md +0 -74
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js +0 -10
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js +0 -279
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/package.json +0 -3
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js +0 -42
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js +0 -4
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js +0 -275
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/package.json +0 -3
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js +0 -39
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/package.json +0 -106
- package/node_modules/foreground-child/package.json +0 -106
- package/node_modules/isexe/.npmignore +0 -2
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/index.js +0 -57
- package/node_modules/isexe/mode.js +0 -41
- package/node_modules/isexe/package.json +0 -31
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/isexe/windows.js +0 -42
- package/node_modules/jackspeak/LICENSE.md +0 -55
- package/node_modules/jackspeak/README.md +0 -357
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -315
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
- package/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/package.json +0 -3
- package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
- package/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
- package/node_modules/jackspeak/dist/esm/index.d.ts +0 -315
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/esm/index.js +0 -1000
- package/node_modules/jackspeak/dist/esm/index.js.map +0 -1
- package/node_modules/jackspeak/dist/esm/package.json +0 -3
- package/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
- package/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
- package/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
- package/node_modules/jackspeak/package.json +0 -95
- package/node_modules/package-json-from-dist/LICENSE.md +0 -63
- package/node_modules/package-json-from-dist/README.md +0 -110
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
- package/node_modules/package-json-from-dist/package.json +0 -68
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/index.js +0 -16
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/package.json +0 -39
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/rimraf/LICENSE +0 -15
- package/node_modules/rimraf/README.md +0 -220
- package/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
- package/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
- package/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
- package/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fs.js +0 -46
- package/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
- package/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/index.js +0 -78
- package/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -34
- package/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
- package/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/path-arg.js +0 -52
- package/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/platform.js +0 -4
- package/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
- package/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
- package/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
- package/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
- package/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
- package/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
- package/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
- package/node_modules/rimraf/dist/esm/bin.mjs +0 -256
- package/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
- package/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
- package/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
- package/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
- package/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
- package/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
- package/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/fs.js +0 -31
- package/node_modules/rimraf/dist/esm/fs.js.map +0 -1
- package/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
- package/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
- package/node_modules/rimraf/dist/esm/index.d.ts +0 -50
- package/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/index.js +0 -70
- package/node_modules/rimraf/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -34
- package/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
- package/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
- package/node_modules/rimraf/dist/esm/package.json +0 -3
- package/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/path-arg.js +0 -47
- package/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
- package/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/platform.js +0 -2
- package/node_modules/rimraf/dist/esm/platform.js.map +0 -1
- package/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
- package/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
- package/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
- package/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
- package/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
- package/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
- package/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
- package/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
- package/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
- package/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/use-native.js +0 -16
- package/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
- package/node_modules/rimraf/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/node_modules/rimraf/node_modules/balanced-match/LICENSE.md +0 -21
- package/node_modules/rimraf/node_modules/balanced-match/README.md +0 -97
- package/node_modules/rimraf/node_modules/balanced-match/index.js +0 -62
- package/node_modules/rimraf/node_modules/balanced-match/package.json +0 -48
- package/node_modules/rimraf/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/node_modules/rimraf/node_modules/brace-expansion/LICENSE +0 -21
- package/node_modules/rimraf/node_modules/brace-expansion/README.md +0 -135
- package/node_modules/rimraf/node_modules/brace-expansion/index.js +0 -203
- package/node_modules/rimraf/node_modules/brace-expansion/package.json +0 -49
- package/node_modules/rimraf/node_modules/glob/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/glob/README.md +0 -1265
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.js +0 -247
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.js +0 -119
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js +0 -68
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.js +0 -219
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.js +0 -301
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.js +0 -387
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.d.mts +0 -3
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.mjs +0 -346
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.d.ts +0 -388
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.js +0 -243
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.js +0 -23
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.d.ts +0 -24
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.js +0 -115
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.js +0 -55
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.d.ts +0 -76
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.js +0 -215
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.js +0 -294
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.js +0 -381
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/package.json +0 -99
- package/node_modules/rimraf/node_modules/lru-cache/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/lru-cache/README.md +0 -331
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js +0 -1542
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js +0 -2
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/lru-cache/package.json +0 -116
- package/node_modules/rimraf/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/minimatch/README.md +0 -491
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -20
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.js +0 -747
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -12
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.js +0 -22
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.d.ts +0 -98
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js +0 -1023
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -17
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.d.ts +0 -20
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.js +0 -743
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.d.ts +0 -12
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.js +0 -18
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.d.ts +0 -98
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.js +0 -1007
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.d.ts +0 -17
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.js +0 -20
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/package.json +0 -82
- package/node_modules/rimraf/node_modules/path-scurry/LICENSE.md +0 -55
- package/node_modules/rimraf/node_modules/path-scurry/README.md +0 -636
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1116
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.d.ts +0 -1116
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.js +0 -1979
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/path-scurry/package.json +0 -89
- package/node_modules/rimraf/package.json +0 -89
- package/node_modules/shebang-command/index.js +0 -19
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/package.json +0 -34
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/index.js +0 -2
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/package.json +0 -35
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/string-width-cjs/index.d.ts +0 -29
- package/node_modules/string-width-cjs/index.js +0 -47
- package/node_modules/string-width-cjs/license +0 -9
- package/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
- package/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
- package/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/string-width-cjs/package.json +0 -56
- package/node_modules/string-width-cjs/readme.md +0 -50
- package/node_modules/strip-ansi-cjs/index.d.ts +0 -17
- package/node_modules/strip-ansi-cjs/index.js +0 -4
- package/node_modules/strip-ansi-cjs/license +0 -9
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/strip-ansi-cjs/package.json +0 -54
- package/node_modules/strip-ansi-cjs/readme.md +0 -46
- package/node_modules/which/CHANGELOG.md +0 -166
- package/node_modules/which/LICENSE +0 -15
- package/node_modules/which/README.md +0 -54
- package/node_modules/which/bin/node-which +0 -52
- package/node_modules/which/package.json +0 -43
- package/node_modules/which/which.js +0 -125
- package/node_modules/wrap-ansi-cjs/index.js +0 -216
- package/node_modules/wrap-ansi-cjs/license +0 -9
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/wrap-ansi-cjs/package.json +0 -62
- package/node_modules/wrap-ansi-cjs/readme.md +0 -91
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# string-width
|
|
2
|
-
|
|
3
|
-
> Get the visual width of a string - the number of columns required to display it
|
|
4
|
-
|
|
5
|
-
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
|
|
6
|
-
|
|
7
|
-
Useful to be able to measure the actual width of command-line output.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
$ npm install string-width
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import stringWidth from 'string-width';
|
|
19
|
-
|
|
20
|
-
stringWidth('a');
|
|
21
|
-
//=> 1
|
|
22
|
-
|
|
23
|
-
stringWidth('古');
|
|
24
|
-
//=> 2
|
|
25
|
-
|
|
26
|
-
stringWidth('\u001B[1m古\u001B[22m');
|
|
27
|
-
//=> 2
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## API
|
|
31
|
-
|
|
32
|
-
### stringWidth(string, options?)
|
|
33
|
-
|
|
34
|
-
#### string
|
|
35
|
-
|
|
36
|
-
Type: `string`
|
|
37
|
-
|
|
38
|
-
The string to be counted.
|
|
39
|
-
|
|
40
|
-
#### options
|
|
41
|
-
|
|
42
|
-
Type: `object`
|
|
43
|
-
|
|
44
|
-
##### ambiguousIsNarrow
|
|
45
|
-
|
|
46
|
-
Type: `boolean`\
|
|
47
|
-
Default: `false`
|
|
48
|
-
|
|
49
|
-
Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
|
|
50
|
-
|
|
51
|
-
## Related
|
|
52
|
-
|
|
53
|
-
- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module
|
|
54
|
-
- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string
|
|
55
|
-
- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
<div align="center">
|
|
60
|
-
<b>
|
|
61
|
-
<a href="https://tidelift.com/subscription/pkg/npm-string-width?utm_source=npm-string-width&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
62
|
-
</b>
|
|
63
|
-
<br>
|
|
64
|
-
<sub>
|
|
65
|
-
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
66
|
-
</sub>
|
|
67
|
-
</div>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export type Options = {
|
|
2
|
-
/**
|
|
3
|
-
By default the wrap is soft, meaning long words may extend past the column width. Setting this to `true` will make it hard wrap at the column width.
|
|
4
|
-
|
|
5
|
-
@default false
|
|
6
|
-
*/
|
|
7
|
-
readonly hard?: boolean;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
By default, an attempt is made to split words at spaces, ensuring that they don't extend past the configured columns. If wordWrap is `false`, each column will instead be completely filled splitting words as necessary.
|
|
11
|
-
|
|
12
|
-
@default true
|
|
13
|
-
*/
|
|
14
|
-
readonly wordWrap?: boolean;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
Whitespace on all lines is removed by default. Set this option to `false` if you don't want to trim.
|
|
18
|
-
|
|
19
|
-
@default true
|
|
20
|
-
*/
|
|
21
|
-
readonly trim?: boolean;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
Wrap words to the specified column width.
|
|
26
|
-
|
|
27
|
-
@param string - String with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk). Newline characters will be normalized to `\n`.
|
|
28
|
-
@param columns - Number of columns to wrap the text to.
|
|
29
|
-
|
|
30
|
-
@example
|
|
31
|
-
```
|
|
32
|
-
import chalk from 'chalk';
|
|
33
|
-
import wrapAnsi from 'wrap-ansi';
|
|
34
|
-
|
|
35
|
-
const input = 'The quick brown ' + chalk.red('fox jumped over ') +
|
|
36
|
-
'the lazy ' + chalk.green('dog and then ran away with the unicorn.');
|
|
37
|
-
|
|
38
|
-
console.log(wrapAnsi(input, 20));
|
|
39
|
-
```
|
|
40
|
-
*/
|
|
41
|
-
export default function wrapAnsi(string: string, columns: number, options?: Options): string;
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import stringWidth from 'string-width';
|
|
2
|
-
import stripAnsi from 'strip-ansi';
|
|
3
|
-
import ansiStyles from 'ansi-styles';
|
|
4
|
-
|
|
5
|
-
const ESCAPES = new Set([
|
|
6
|
-
'\u001B',
|
|
7
|
-
'\u009B',
|
|
8
|
-
]);
|
|
9
|
-
|
|
10
|
-
const END_CODE = 39;
|
|
11
|
-
const ANSI_ESCAPE_BELL = '\u0007';
|
|
12
|
-
const ANSI_CSI = '[';
|
|
13
|
-
const ANSI_OSC = ']';
|
|
14
|
-
const ANSI_SGR_TERMINATOR = 'm';
|
|
15
|
-
const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
16
|
-
|
|
17
|
-
const wrapAnsiCode = code => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
18
|
-
const wrapAnsiHyperlink = uri => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`;
|
|
19
|
-
|
|
20
|
-
// Calculate the length of words split on ' ', ignoring
|
|
21
|
-
// the extra characters added by ansi escape codes
|
|
22
|
-
const wordLengths = string => string.split(' ').map(character => stringWidth(character));
|
|
23
|
-
|
|
24
|
-
// Wrap a long word across multiple rows
|
|
25
|
-
// Ansi escape codes do not count towards length
|
|
26
|
-
const wrapWord = (rows, word, columns) => {
|
|
27
|
-
const characters = [...word];
|
|
28
|
-
|
|
29
|
-
let isInsideEscape = false;
|
|
30
|
-
let isInsideLinkEscape = false;
|
|
31
|
-
let visible = stringWidth(stripAnsi(rows[rows.length - 1]));
|
|
32
|
-
|
|
33
|
-
for (const [index, character] of characters.entries()) {
|
|
34
|
-
const characterLength = stringWidth(character);
|
|
35
|
-
|
|
36
|
-
if (visible + characterLength <= columns) {
|
|
37
|
-
rows[rows.length - 1] += character;
|
|
38
|
-
} else {
|
|
39
|
-
rows.push(character);
|
|
40
|
-
visible = 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (ESCAPES.has(character)) {
|
|
44
|
-
isInsideEscape = true;
|
|
45
|
-
isInsideLinkEscape = characters.slice(index + 1).join('').startsWith(ANSI_ESCAPE_LINK);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (isInsideEscape) {
|
|
49
|
-
if (isInsideLinkEscape) {
|
|
50
|
-
if (character === ANSI_ESCAPE_BELL) {
|
|
51
|
-
isInsideEscape = false;
|
|
52
|
-
isInsideLinkEscape = false;
|
|
53
|
-
}
|
|
54
|
-
} else if (character === ANSI_SGR_TERMINATOR) {
|
|
55
|
-
isInsideEscape = false;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
continue;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
visible += characterLength;
|
|
62
|
-
|
|
63
|
-
if (visible === columns && index < characters.length - 1) {
|
|
64
|
-
rows.push('');
|
|
65
|
-
visible = 0;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// It's possible that the last row we copy over is only
|
|
70
|
-
// ansi escape characters, handle this edge-case
|
|
71
|
-
if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
|
|
72
|
-
rows[rows.length - 2] += rows.pop();
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
// Trims spaces from a string ignoring invisible sequences
|
|
77
|
-
const stringVisibleTrimSpacesRight = string => {
|
|
78
|
-
const words = string.split(' ');
|
|
79
|
-
let last = words.length;
|
|
80
|
-
|
|
81
|
-
while (last > 0) {
|
|
82
|
-
if (stringWidth(words[last - 1]) > 0) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
last--;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
if (last === words.length) {
|
|
90
|
-
return string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return words.slice(0, last).join(' ') + words.slice(last).join('');
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
// The wrap-ansi module can be invoked in either 'hard' or 'soft' wrap mode
|
|
97
|
-
//
|
|
98
|
-
// 'hard' will never allow a string to take up more than columns characters
|
|
99
|
-
//
|
|
100
|
-
// 'soft' allows long words to expand past the column length
|
|
101
|
-
const exec = (string, columns, options = {}) => {
|
|
102
|
-
if (options.trim !== false && string.trim() === '') {
|
|
103
|
-
return '';
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
let returnValue = '';
|
|
107
|
-
let escapeCode;
|
|
108
|
-
let escapeUrl;
|
|
109
|
-
|
|
110
|
-
const lengths = wordLengths(string);
|
|
111
|
-
let rows = [''];
|
|
112
|
-
|
|
113
|
-
for (const [index, word] of string.split(' ').entries()) {
|
|
114
|
-
if (options.trim !== false) {
|
|
115
|
-
rows[rows.length - 1] = rows[rows.length - 1].trimStart();
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
let rowLength = stringWidth(rows[rows.length - 1]);
|
|
119
|
-
|
|
120
|
-
if (index !== 0) {
|
|
121
|
-
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
122
|
-
// If we start with a new word but the current row length equals the length of the columns, add a new row
|
|
123
|
-
rows.push('');
|
|
124
|
-
rowLength = 0;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (rowLength > 0 || options.trim === false) {
|
|
128
|
-
rows[rows.length - 1] += ' ';
|
|
129
|
-
rowLength++;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// In 'hard' wrap mode, the length of a line is never allowed to extend past 'columns'
|
|
134
|
-
if (options.hard && lengths[index] > columns) {
|
|
135
|
-
const remainingColumns = (columns - rowLength);
|
|
136
|
-
const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
|
|
137
|
-
const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
|
|
138
|
-
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
139
|
-
rows.push('');
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
wrapWord(rows, word, columns);
|
|
143
|
-
continue;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
|
|
147
|
-
if (options.wordWrap === false && rowLength < columns) {
|
|
148
|
-
wrapWord(rows, word, columns);
|
|
149
|
-
continue;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
rows.push('');
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
if (rowLength + lengths[index] > columns && options.wordWrap === false) {
|
|
156
|
-
wrapWord(rows, word, columns);
|
|
157
|
-
continue;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
rows[rows.length - 1] += word;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
if (options.trim !== false) {
|
|
164
|
-
rows = rows.map(row => stringVisibleTrimSpacesRight(row));
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
const pre = [...rows.join('\n')];
|
|
168
|
-
|
|
169
|
-
for (const [index, character] of pre.entries()) {
|
|
170
|
-
returnValue += character;
|
|
171
|
-
|
|
172
|
-
if (ESCAPES.has(character)) {
|
|
173
|
-
const {groups} = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join('')) || {groups: {}};
|
|
174
|
-
if (groups.code !== undefined) {
|
|
175
|
-
const code = Number.parseFloat(groups.code);
|
|
176
|
-
escapeCode = code === END_CODE ? undefined : code;
|
|
177
|
-
} else if (groups.uri !== undefined) {
|
|
178
|
-
escapeUrl = groups.uri.length === 0 ? undefined : groups.uri;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
const code = ansiStyles.codes.get(Number(escapeCode));
|
|
183
|
-
|
|
184
|
-
if (pre[index + 1] === '\n') {
|
|
185
|
-
if (escapeUrl) {
|
|
186
|
-
returnValue += wrapAnsiHyperlink('');
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
if (escapeCode && code) {
|
|
190
|
-
returnValue += wrapAnsiCode(code);
|
|
191
|
-
}
|
|
192
|
-
} else if (character === '\n') {
|
|
193
|
-
if (escapeCode && code) {
|
|
194
|
-
returnValue += wrapAnsiCode(escapeCode);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
if (escapeUrl) {
|
|
198
|
-
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
return returnValue;
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
// For each newline, invoke the method separately
|
|
207
|
-
export default function wrapAnsi(string, columns, options) {
|
|
208
|
-
return String(string)
|
|
209
|
-
.normalize()
|
|
210
|
-
.replace(/\r\n/g, '\n')
|
|
211
|
-
.split('\n')
|
|
212
|
-
.map(line => exec(line, columns, options))
|
|
213
|
-
.join('\n');
|
|
214
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "wrap-ansi",
|
|
3
|
-
"version": "8.1.0",
|
|
4
|
-
"description": "Wordwrap a string with ANSI escape codes",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "chalk/wrap-ansi",
|
|
7
|
-
"funding": "https://github.com/chalk/wrap-ansi?sponsor=1",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"type": "module",
|
|
14
|
-
"exports": {
|
|
15
|
-
"types": "./index.d.ts",
|
|
16
|
-
"default": "./index.js"
|
|
17
|
-
},
|
|
18
|
-
"engines": {
|
|
19
|
-
"node": ">=12"
|
|
20
|
-
},
|
|
21
|
-
"scripts": {
|
|
22
|
-
"test": "xo && nyc ava && tsd"
|
|
23
|
-
},
|
|
24
|
-
"files": [
|
|
25
|
-
"index.js",
|
|
26
|
-
"index.d.ts"
|
|
27
|
-
],
|
|
28
|
-
"keywords": [
|
|
29
|
-
"wrap",
|
|
30
|
-
"break",
|
|
31
|
-
"wordwrap",
|
|
32
|
-
"wordbreak",
|
|
33
|
-
"linewrap",
|
|
34
|
-
"ansi",
|
|
35
|
-
"styles",
|
|
36
|
-
"color",
|
|
37
|
-
"colour",
|
|
38
|
-
"colors",
|
|
39
|
-
"terminal",
|
|
40
|
-
"console",
|
|
41
|
-
"cli",
|
|
42
|
-
"string",
|
|
43
|
-
"tty",
|
|
44
|
-
"escape",
|
|
45
|
-
"formatting",
|
|
46
|
-
"rgb",
|
|
47
|
-
"256",
|
|
48
|
-
"shell",
|
|
49
|
-
"xterm",
|
|
50
|
-
"log",
|
|
51
|
-
"logging",
|
|
52
|
-
"command-line",
|
|
53
|
-
"text"
|
|
54
|
-
],
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"ansi-styles": "^6.1.0",
|
|
57
|
-
"string-width": "^5.0.1",
|
|
58
|
-
"strip-ansi": "^7.0.1"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"ava": "^3.15.0",
|
|
62
|
-
"chalk": "^4.1.2",
|
|
63
|
-
"coveralls": "^3.1.1",
|
|
64
|
-
"has-ansi": "^5.0.1",
|
|
65
|
-
"nyc": "^15.1.0",
|
|
66
|
-
"tsd": "^0.25.0",
|
|
67
|
-
"xo": "^0.44.0"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# wrap-ansi
|
|
2
|
-
|
|
3
|
-
> Wordwrap a string with [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
$ npm install wrap-ansi
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import chalk from 'chalk';
|
|
15
|
-
import wrapAnsi from 'wrap-ansi';
|
|
16
|
-
|
|
17
|
-
const input = 'The quick brown ' + chalk.red('fox jumped over ') +
|
|
18
|
-
'the lazy ' + chalk.green('dog and then ran away with the unicorn.');
|
|
19
|
-
|
|
20
|
-
console.log(wrapAnsi(input, 20));
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
<img width="331" src="screenshot.png">
|
|
24
|
-
|
|
25
|
-
## API
|
|
26
|
-
|
|
27
|
-
### wrapAnsi(string, columns, options?)
|
|
28
|
-
|
|
29
|
-
Wrap words to the specified column width.
|
|
30
|
-
|
|
31
|
-
#### string
|
|
32
|
-
|
|
33
|
-
Type: `string`
|
|
34
|
-
|
|
35
|
-
String with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk). Newline characters will be normalized to `\n`.
|
|
36
|
-
|
|
37
|
-
#### columns
|
|
38
|
-
|
|
39
|
-
Type: `number`
|
|
40
|
-
|
|
41
|
-
Number of columns to wrap the text to.
|
|
42
|
-
|
|
43
|
-
#### options
|
|
44
|
-
|
|
45
|
-
Type: `object`
|
|
46
|
-
|
|
47
|
-
##### hard
|
|
48
|
-
|
|
49
|
-
Type: `boolean`\
|
|
50
|
-
Default: `false`
|
|
51
|
-
|
|
52
|
-
By default the wrap is soft, meaning long words may extend past the column width. Setting this to `true` will make it hard wrap at the column width.
|
|
53
|
-
|
|
54
|
-
##### wordWrap
|
|
55
|
-
|
|
56
|
-
Type: `boolean`\
|
|
57
|
-
Default: `true`
|
|
58
|
-
|
|
59
|
-
By default, an attempt is made to split words at spaces, ensuring that they don't extend past the configured columns. If wordWrap is `false`, each column will instead be completely filled splitting words as necessary.
|
|
60
|
-
|
|
61
|
-
##### trim
|
|
62
|
-
|
|
63
|
-
Type: `boolean`\
|
|
64
|
-
Default: `true`
|
|
65
|
-
|
|
66
|
-
Whitespace on all lines is removed by default. Set this option to `false` if you don't want to trim.
|
|
67
|
-
|
|
68
|
-
## Related
|
|
69
|
-
|
|
70
|
-
- [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes
|
|
71
|
-
- [cli-truncate](https://github.com/sindresorhus/cli-truncate) - Truncate a string to a specific width in the terminal
|
|
72
|
-
- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
|
|
73
|
-
- [jsesc](https://github.com/mathiasbynens/jsesc) - Generate ASCII-only output from Unicode strings. Useful for creating test fixtures.
|
|
74
|
-
|
|
75
|
-
## Maintainers
|
|
76
|
-
|
|
77
|
-
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
78
|
-
- [Josh Junon](https://github.com/qix-)
|
|
79
|
-
- [Benjamin Coe](https://github.com/bcoe)
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
<div align="center">
|
|
84
|
-
<b>
|
|
85
|
-
<a href="https://tidelift.com/subscription/pkg/npm-wrap_ansi?utm_source=npm-wrap-ansi&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
86
|
-
</b>
|
|
87
|
-
<br>
|
|
88
|
-
<sub>
|
|
89
|
-
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
90
|
-
</sub>
|
|
91
|
-
</div>
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@isaacs/cliui",
|
|
3
|
-
"version": "8.0.2",
|
|
4
|
-
"description": "easily create complex multi-column command-line-interfaces",
|
|
5
|
-
"main": "build/index.cjs",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": [
|
|
8
|
-
{
|
|
9
|
-
"import": "./index.mjs",
|
|
10
|
-
"require": "./build/index.cjs"
|
|
11
|
-
},
|
|
12
|
-
"./build/index.cjs"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"type": "module",
|
|
16
|
-
"module": "./index.mjs",
|
|
17
|
-
"scripts": {
|
|
18
|
-
"check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'",
|
|
19
|
-
"fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'",
|
|
20
|
-
"pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
|
|
21
|
-
"test": "c8 mocha ./test/*.cjs",
|
|
22
|
-
"test:esm": "c8 mocha ./test/**/*.mjs",
|
|
23
|
-
"postest": "check",
|
|
24
|
-
"coverage": "c8 report --check-coverage",
|
|
25
|
-
"precompile": "rimraf build",
|
|
26
|
-
"compile": "tsc",
|
|
27
|
-
"postcompile": "npm run build:cjs",
|
|
28
|
-
"build:cjs": "rollup -c",
|
|
29
|
-
"prepare": "npm run compile"
|
|
30
|
-
},
|
|
31
|
-
"repository": "yargs/cliui",
|
|
32
|
-
"standard": {
|
|
33
|
-
"ignore": [
|
|
34
|
-
"**/example/**"
|
|
35
|
-
],
|
|
36
|
-
"globals": [
|
|
37
|
-
"it"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"keywords": [
|
|
41
|
-
"cli",
|
|
42
|
-
"command-line",
|
|
43
|
-
"layout",
|
|
44
|
-
"design",
|
|
45
|
-
"console",
|
|
46
|
-
"wrap",
|
|
47
|
-
"table"
|
|
48
|
-
],
|
|
49
|
-
"author": "Ben Coe <ben@npmjs.com>",
|
|
50
|
-
"license": "ISC",
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"string-width": "^5.1.2",
|
|
53
|
-
"string-width-cjs": "npm:string-width@^4.2.0",
|
|
54
|
-
"strip-ansi": "^7.0.1",
|
|
55
|
-
"strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
|
|
56
|
-
"wrap-ansi": "^8.1.0",
|
|
57
|
-
"wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
|
|
58
|
-
},
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@types/node": "^14.0.27",
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "^4.0.0",
|
|
62
|
-
"@typescript-eslint/parser": "^4.0.0",
|
|
63
|
-
"c8": "^7.3.0",
|
|
64
|
-
"chai": "^4.2.0",
|
|
65
|
-
"chalk": "^4.1.0",
|
|
66
|
-
"cross-env": "^7.0.2",
|
|
67
|
-
"eslint": "^7.6.0",
|
|
68
|
-
"eslint-plugin-import": "^2.22.0",
|
|
69
|
-
"eslint-plugin-node": "^11.1.0",
|
|
70
|
-
"gts": "^3.0.0",
|
|
71
|
-
"mocha": "^10.0.0",
|
|
72
|
-
"rimraf": "^3.0.2",
|
|
73
|
-
"rollup": "^2.23.1",
|
|
74
|
-
"rollup-plugin-ts": "^3.0.2",
|
|
75
|
-
"standardx": "^7.0.0",
|
|
76
|
-
"typescript": "^4.0.0"
|
|
77
|
-
},
|
|
78
|
-
"files": [
|
|
79
|
-
"build",
|
|
80
|
-
"index.mjs",
|
|
81
|
-
"!*.d.ts"
|
|
82
|
-
],
|
|
83
|
-
"engines": {
|
|
84
|
-
"node": ">=12"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# EditorConfig is awesome: http://EditorConfig.org
|
|
2
|
-
|
|
3
|
-
# top-most EditorConfig file
|
|
4
|
-
root = true
|
|
5
|
-
|
|
6
|
-
# Copied from Node.js to ease compatibility in PR.
|
|
7
|
-
[*]
|
|
8
|
-
charset = utf-8
|
|
9
|
-
end_of_line = lf
|
|
10
|
-
indent_size = 2
|
|
11
|
-
indent_style = space
|
|
12
|
-
insert_final_newline = true
|
|
13
|
-
trim_trailing_whitespace = true
|
|
14
|
-
quote_type = single
|