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 }}
Repository navigation
Commit c1e962b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(dependencies): preserve wrappedContextRegExp flags in context matcher
The wrapped-request branches of ContextDependencyHelpers rebuilt the
matcher from wrappedContextRegExp.source only, dropping the user's
i/m/s/u flags, while the fallback path passed the RegExp object intact.
So module.parser.javascript.wrappedContextRegExp: /\.jsx?$/i silently
became case-sensitive. Reuse the flags (minus stateful g/y) when
rebuilding the RegExp.
Signed-off-by: Eshiv Pandey <[email protected]>
0 commit comments