Skip to content

replace picocolors with node:util styleText #1949

@ghostdevv

Description

@ghostdevv

It looks like minimum node version for v3 will be 20.19 which means we could remove a dependency and instead use the built in node:util#styleText fn - there is only one bug that isn't patched until v22 which is that nested styleText calls won't colour correctly, but that's only issue for the codebase and shouldn't effect consumers of changesets, so could still be worth it.

Happy to submit a PR if this is wanted!

Follow on from #1414

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions