Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace custom ANSI regex logic with Node built-in #224

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

natemoo-re
Copy link
Member

Turns out node:util has a stripVTControlCharacters function!

As such, we no longer need our own ansi-regex fork.

Copy link

changeset-bot bot commented Jan 4, 2025

🦋 Changeset detected

Latest commit: 3f748d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clack/prompts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Jan 4, 2025

Open in Stackblitz@example/basic@example/changesets

npm i https://pkg.pr.new/bombshell-dev/clack/@clack/core@224
npm i https://pkg.pr.new/bombshell-dev/clack/@clack/prompts@224

commit: 3f748d3

@natemoo-re natemoo-re merged commit 1904e57 into main Jan 4, 2025
6 checks passed
@natemoo-re natemoo-re deleted the refactor/use-node-builtin branch January 4, 2025 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant