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

Make chalk/assert shim a Proxy #15234

Merged
merged 2 commits into from Aug 15, 2023
Merged

Make chalk/assert shim a Proxy #15234

merged 2 commits into from Aug 15, 2023

Conversation

fisker
Copy link
Member

@fisker fisker commented Aug 11, 2023

Description

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

Copy link
Member

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Just refactoring?

@fisker
Copy link
Member Author

fisker commented Aug 14, 2023

Refactor, but safer, in case we use unlisted color from chalk.

@fisker
Copy link
Member Author

fisker commented Aug 15, 2023

@babel/highlight@7.22.10 need this change, it uses chalk.white.bgRed.bold https://unpkg.com/browse/@babel/highlight@7.22.10/lib/index.js

@fisker fisker merged commit f24132e into prettier:main Aug 15, 2023
29 checks passed
@fisker fisker deleted the chalk branch August 15, 2023 01:11
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Feb 15, 2024
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.

None yet

2 participants