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
When using the latest version of json-source-map in a project of mine, I can no longer minify my own project (using uglifyjs), I get the following error:
SyntaxError: Unexpected token: name «of», expected: punc «;»
This is because the published code of json-source-map contains non-ES5 code, it uses of:
This code will never execute in ES5 environment, but it won't parse with ES5 parsers indeed... This iterator should be just iterated manually then - I will update.
When using the latest version of
json-source-map
in a project of mine, I can no longer minify my own project (using uglifyjs), I get the following error:This is because the published code of
json-source-map
contains non-ES5 code, it usesof
:json-source-map/index.js
Line 370 in 86c7024
is this intentional or accidental?
The text was updated successfully, but these errors were encountered: