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
The problem is that /# is now interpreted as a regular expression, not as a comment, which causes the call to eval() to fail, because it's not a valid regex:
Version 3.1.0 of django-pipeline looks like it is producing JS which isn't valid.
My input JS file has code like this (initial contents of
eval()
removed for simplicity):That is being transformed by django-pipeline into this (note the
/# sourceURL
at the end should be//#
but is now/#
):The problem is that
/#
is now interpreted as a regular expression, not as a comment, which causes the call toeval()
to fail, because it's not a valid regex:Reverting to 3.0.0 fixes the problem.
The text was updated successfully, but these errors were encountered: