@lerna-lite/npmlog
Advanced tools
Comparing version 3.10.0 to 3.10.1
@@ -1,2 +0,2 @@ | ||
import stripAnsi from 'strip-ansi'; | ||
import { stripVTControlCharacters } from 'node:util'; | ||
import stringWidth from 'string-width'; | ||
@@ -13,3 +13,3 @@ export function wideTruncate(str, target) { | ||
} | ||
const noAnsi = stripAnsi(str); | ||
const noAnsi = stripVTControlCharacters(str); | ||
const ansiSize = str.length + noAnsi.length; | ||
@@ -16,0 +16,0 @@ let truncated = str.slice(0, target + ansiSize); |
{ | ||
"name": "@lerna-lite/npmlog", | ||
"description": "Lerna-Lite npmlog reimplementation of the now deprecated npm/npmlog", | ||
"version": "3.10.0", | ||
"version": "3.10.1", | ||
"files": [ | ||
@@ -39,6 +39,5 @@ "/dist" | ||
"string-width": "^7.2.0", | ||
"strip-ansi": "^7.1.0", | ||
"wide-align": "^1.1.5" | ||
}, | ||
"gitHead": "567a6222377c7e9631b8ab3632759384f37d29e6" | ||
"gitHead": "a91533e4b898d24e4ae844a74e74fd210d9ec716" | ||
} |
Sorry, the diff of this file is not supported yet
109906
8
- Removedstrip-ansi@^7.1.0