-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
status: in triagea maintainer should (re-)triage (review) this issuea maintainer should (re-)triage (review) this issuetype: featureenhancement proposalenhancement proposal
Description
Feature Request Checklist
- I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faqlabel, but none matched my issue. - I want to provide a PR to resolve this
Overview
In #5323, Mocha switched from ansi-colors to picocolors. However, the log-symbols package is pulling in chalk, yet another color library with a ton of dependencies.
Newer versions of log-symbols import yoctocolors instead, but that's still one more redundant color library in the dependencies, and those versions are ESM-only so we can't use them yet.
Suggested Solution
Simply inline the four Unicode symbols exported from log-symbols.
Alternatives
Wait for Mocha 12 when we can use ESM, bump log-symbols to the latest version, and eat the yoctocolors dependency.
Additional Info
No response
Metadata
Metadata
Assignees
Labels
status: in triagea maintainer should (re-)triage (review) this issuea maintainer should (re-)triage (review) this issuetype: featureenhancement proposalenhancement proposal
Type
Projects
Status
No status