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

bug in firefox and decamelize 4 #24

Closed
s00d opened this issue Feb 7, 2020 · 1 comment
Closed

bug in firefox and decamelize 4 #24

s00d opened this issue Feb 7, 2020 · 1 comment

Comments

@s00d
Copy link

s00d commented Feb 7, 2020

Hello, after upgrading to version 4, I get the error in firefox:

SyntaxError: invalid identity escape in regular expression

Example: https://codesandbox.io/s/pedantic-margulis-r7wee (need to open firefox)

@sindresorhus
Copy link
Owner

This is not a bug in Decamelize. Firefox doesn't support modern regex features used here.

https://bugzilla.mozilla.org/show_bug.cgi?id=1361876

If you need to support Firefox, you should probably stay on the previous version.

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

No branches or pull requests

2 participants