🚀 Feature: Replace strip-ansi with util.stripVTControlCharacters
#5265
Labels
status: in triage
a maintainer should (re-)triage (review) this issue
type: feature
enhancement proposal
Feature Request Checklist
faq
label, but none matched my issue.Overview
I ran
eslint-plugin-depend
on the Mocha repo. Here's one of the outputs:Perhttps://github.com/es-tooling/module-replacements/blob/main/docs/modules/strip-ansi.md:
Suggested Solution
One less dependency is always nice IMO! Now v11 is shipped and we don't support Node <18.18, I think we can rely on
node:util
existing.Proposal: let's drop the
strip-ansi
dependency in favor ofutil.stripVTControlCharacters
?Alternatives
We could stay on
strip-ansi
, but I see no reason to.Additional Info
💖
The text was updated successfully, but these errors were encountered: