You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently managed to ship broken code after switching from babel to swc because the \p regex escape sequence was being used, and unlike babel swc doesn't translate them - so es-check was unable to warn us that the code would be incompatible
Are There Examples Of This Requested Update Elsewhere?
n/a
The text was updated successfully, but these errors were encountered:
@glenjamin can be done, I think! I think we could add this to an optional config file along with several of the other issues here. Do you have time to assist with this? I'm happy to pair back and forth if so. 🙌
Requested Update
Detect and warn about use of the
\p
Regexp escape sequence in unsupported environmentshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape
Why Is This Update Needed?
We recently managed to ship broken code after switching from babel to swc because the
\p
regex escape sequence was being used, and unlike babel swc doesn't translate them - soes-check
was unable to warn us that the code would be incompatibleAre There Examples Of This Requested Update Elsewhere?
n/a
The text was updated successfully, but these errors were encountered: