Skip to content

Conversation

@Widcket
Copy link
Contributor

@Widcket Widcket commented Dec 20, 2019

This PR removes the usage of the deprecated method RegExp.compile and replaces it with the RegExp constructor. Running the library in an environment that does not support this method, such as in a React Native app with the Hermes engine enabled, results in a crash.

@kjur kjur merged commit a526f00 into kjur:master Apr 4, 2020
@kjur kjur mentioned this pull request Apr 5, 2020
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