wrap-ansi (npm)
Wordwrap a string with ANSI escape codes
Advisories
1
Latest version
10.0.2
Released Sep 21, 2026
License
MIT
OpenSSF Scorecard
4.0 / 10
How to fix
Upgrading to the latest version is recommended.
Upgrade commands
npm
npm install wrap-ansi@10.0.2yarn
yarn add wrap-ansi@10.0.2pnpm
pnpm add wrap-ansi@10.0.2Known vulnerabilities
| Advisory | Severity | Affected | Fixed in |
|---|---|---|---|
| MAL-2025-46983 Malicious code in wrap-ansi (npm) |
Not rated yet | No fix yet |
Source: git+https://github.com/chalk/wrap-ansi.git
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor