Sourced from terser's changelog.
v4.8.1 (backport)
- Security fix for RegExps that should not be evaluated (regexp DDOS)
v4.8.0
- Support for numeric separators (
million = 1_000_000
) was added.- Assigning properties to a class is now assumed to be pure.
- Fixed bug where
yield
wasn't considered a valid property key in generators.v4.7.0
- A bug was fixed where an arrow function would have the wrong size
arguments
object is now considered safe to retrieve properties from (useful forlength
, or0
) even whenpure_getters
is not set.- Fixed erroneous
const
declarations without value (which is invalid) in some corner cases when usingcollapse_vars
.v4.6.13
- Fixed issue where ES5 object properties were being turned into ES6 object properties due to more lax unicode rules.
- Fixed parsing of BigInt with lowercase
e
in them.v4.6.12
- Fixed subtree comparison code, making it see that
[1,[2, 3]]
is different from[1, 2, [3]]
- Printing of unicode identifiers has been improved
40674a4
update changelog, versiond8cc569
backport fix to potential regexp DDOS504b967
4.8.09f380dc
update changelog7dd0b9d
update assumptionscfad907
Allow yield to be used as property key in generators.283f44f
Make class property assignment pure.ee965e8
Add numeric separators support (#725)ee6b8af
4.7.0807f729
update changelog