commit | 95ea045b3eabcd2c1a2f0a724079311d5380bd2f | [log] [tgz] |
---|---|---|
author | Nikolay Vitkov <[email protected]> | Wed Apr 30 15:52:34 2025 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 02 06:10:37 2025 |
tree | 60f55f5688233282787ad9d92b86f6a10f38ba79 | |
parent | ceb07922e931e3794e07773513703ce4abca1524 [diff] [blame] |
Update mocha to v11 Bug: none Change-Id: I48e5e8df59c369ef8bea00bdaa7417f65f24b783 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6494701 Auto-Submit: Nikolay Vitkov <[email protected]> Commit-Queue: Simon Zünd <[email protected]> Reviewed-by: Simon Zünd <[email protected]>
diff --git a/node_modules/strip-ansi-cjs/index.js b/node_modules/strip-ansi-cjs/index.js new file mode 100644 index 0000000..9a593df --- /dev/null +++ b/node_modules/strip-ansi-cjs/index.js
@@ -0,0 +1,4 @@ +'use strict'; +const ansiRegex = require('ansi-regex'); + +module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;