mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-03 22:14:10 +00:00
chore(deps): update dependency wrap-ansi to v5 (#5145)
This commit is contained in:
parent
2dd4171934
commit
0751faa9c8
@ -23,7 +23,7 @@
|
|||||||
"opener": "1.5.1",
|
"opener": "1.5.1",
|
||||||
"pretty-bytes": "^5.1.0",
|
"pretty-bytes": "^5.1.0",
|
||||||
"std-env": "^2.2.1",
|
"std-env": "^2.2.1",
|
||||||
"wrap-ansi": "^4.0.0"
|
"wrap-ansi": "^5.0.0"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
@ -22,7 +22,7 @@ export function indentLines(string, spaces, firstLineSpaces) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function foldLines(string, spaces, firstLineSpaces, charsPerLine = maxCharsPerLine()) {
|
export function foldLines(string, spaces, firstLineSpaces, charsPerLine = maxCharsPerLine()) {
|
||||||
return indentLines(wrapAnsi(string, charsPerLine, { trim: false }), spaces, firstLineSpaces)
|
return indentLines(wrapAnsi(string, charsPerLine), spaces, firstLineSpaces)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function colorize(text) {
|
export function colorize(text) {
|
||||||
|
@ -1,36 +1,36 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`cli/command builds help text 1`] = `
|
exports[`cli/command builds help text 1`] = `
|
||||||
" Usage: nuxt this is how you do it
|
" Usage: nuxt this is how you do it
|
||||||
[options]
|
[options]
|
||||||
|
|
||||||
a very long description that should wrap
|
a very long description that should wrap
|
||||||
to the next line because is not longer
|
to the next line because is not longer
|
||||||
than the terminal width
|
than the terminal width
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
--spa, -s Launch in SPA mode
|
--spa, -s Launch in SPA mode
|
||||||
--universal, -u Launch in Universal
|
--universal, -u Launch in Universal
|
||||||
mode (default)
|
mode (default)
|
||||||
--config-file, -c Path to Nuxt.js
|
--config-file, -c Path to Nuxt.js
|
||||||
config file (default: nuxt.config.js)
|
config file (default: nuxt.config.js)
|
||||||
--modern, -m Build/Start app for
|
--modern, -m Build/Start app for
|
||||||
modern browsers, e.g. server, client and
|
modern browsers, e.g. server, client and
|
||||||
false
|
false
|
||||||
--force-exit Whether Nuxt.js
|
--force-exit Whether Nuxt.js
|
||||||
should force exit after the command has
|
should force exit after the command has
|
||||||
finished
|
finished
|
||||||
--version, -v Display the Nuxt
|
--version, -v Display the Nuxt
|
||||||
version
|
version
|
||||||
--help, -h Display this message
|
--help, -h Display this message
|
||||||
--port, -p Port number on which
|
--port, -p Port number on which
|
||||||
to start the application
|
to start the application
|
||||||
--hostname, -H Hostname on which to
|
--hostname, -H Hostname on which to
|
||||||
start the application
|
start the application
|
||||||
--unix-socket, -n Path to a UNIX socket
|
--unix-socket, -n Path to a UNIX socket
|
||||||
--foo very long option that
|
--foo very long option that
|
||||||
is longer than the terminal width and
|
is longer than the terminal width and
|
||||||
should wrap to the next line
|
should wrap to the next line
|
||||||
|
|
||||||
"
|
"
|
||||||
|
@ -11183,6 +11183,15 @@ wrap-ansi@^4.0.0:
|
|||||||
string-width "^2.1.1"
|
string-width "^2.1.1"
|
||||||
strip-ansi "^4.0.0"
|
strip-ansi "^4.0.0"
|
||||||
|
|
||||||
|
wrap-ansi@^5.0.0:
|
||||||
|
version "5.0.0"
|
||||||
|
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.0.0.tgz#c3838a85fbac6a647558ca97024d41d7631721dc"
|
||||||
|
integrity sha512-3ThemJUfTTju0SKG2gjGExzGRHxT5l/KEM5sff3TQReaVWe/bFTiF1GEr8DKr/j0LxGt8qPzx0yhd2RLyqgy2Q==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^3.2.0"
|
||||||
|
string-width "^3.0.0"
|
||||||
|
strip-ansi "^5.0.0"
|
||||||
|
|
||||||
wrappy@1:
|
wrappy@1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
||||||
|
Loading…
Reference in New Issue
Block a user