mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-04 03:44:08 +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) {
|
||||||
|
@ -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