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
2025-01-10T20:46:43.6114772Z > ./scripts/run-tests.sh min
2025-01-10T20:46:43.6114926Z
2025-01-10T20:46:44.8011713Z (node:4096) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
2025-01-10T20:46:44.8012354Z (Use `node --trace-deprecation ...` to show where the warning was created)
2025-01-10T20:46:44.8496307Z SyntaxError: Parse error
This is because the tests run in PhantomJS, which is ES5 only (and the output is supposed to be usable in ES5-only browsers as well).
The actual problem is (diffing between a working output from an older uglifyjs version and the newer one):
• --v8 and --webkit for improved browser support,
we will skip on --ie though I think
• --no-module which is undocumented but may work around
mishoo/UglifyJS#5967
Uglify version (
uglifyjs -V
)3.19.3
JavaScript input
Dygraphs 2.2.1
The
uglifyjs
CLI command executed orminify()
options used.JavaScript output or error produced.
This is because the tests run in PhantomJS, which is ES5 only (and the output is supposed to be usable in ES5-only browsers as well).
The actual problem is (diffing between a working output from an older uglifyjs version and the newer one):
So it’s removing the “use strict” and changing a function to an arrow function. This is a hard bug, a regression and a showstopper.
The text was updated successfully, but these errors were encountered: