chore(deps): update dependency wrap-ansi to v5 (#5145)

This commit is contained in:
renovate[bot] 2019-03-03 10:57:19 +03:30 committed by Pooya Parsa
parent 2dd4171934
commit 0751faa9c8
4 changed files with 25 additions and 16 deletions

View File

@ -23,7 +23,7 @@
"opener": "1.5.1",
"pretty-bytes": "^5.1.0",
"std-env": "^2.2.1",
"wrap-ansi": "^4.0.0"
"wrap-ansi": "^5.0.0"
},
"publishConfig": {
"access": "public"

View File

@ -22,7 +22,7 @@ export function indentLines(string, spaces, firstLineSpaces) {
}
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) {

View File

@ -11183,6 +11183,15 @@ wrap-ansi@^4.0.0:
string-width "^2.1.1"
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:
version "1.0.2"
resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"