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
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
I have noticed that as well. It can certainly better. When I looked at it myself, I got a bit confused as to whether all browsers define the same special properties on RegEx, that's something else to look into. In any case, a freshly defined RegExp shouldn't need any such property definitions.
I'm not sure what you are asking. Are you concerned about evil regexp strings breaking Prepack, or are you asking if Prepack could find vulnerable uses of regexp in the code it is prepacking?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
At the time of this issue, Prepack is compiling new RegExps from this:
to this:
I am highly skeptical that this is faster at runtime then the original code. Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: