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

Throw error when html-entities is not workletized #576

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

tomekzaw
Copy link
Collaborator

Details

This PR checks if decode function from html-entities package is a worklet and throws the following error if that's not the case (only in dev mode).

Suggested by @s77rt in Expensify/App#52475 (comment).

Screenshot 2024-12-10 at 09 24 30

Related Issues

GH_LINK

Manual Tests

Linked PRs

j-piasecki
j-piasecki previously approved these changes Dec 10, 2024
@tomekzaw tomekzaw merged commit 0a5d4f0 into main Dec 10, 2024
7 checks passed
@tomekzaw tomekzaw deleted the @tomekzaw/html-entities-worklet branch December 10, 2024 13:54
@os-botify
Copy link
Contributor

os-botify bot commented Dec 10, 2024

🚀 Published to npm in 0.1.205 🎉

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.

2 participants