Changelog
v4.1.3
reduce_vars
option were fixed.Changelog
v4.1.1
Changelog
v4.1.0
Object.assign
, Array.prototype.some
, Array.prototype.find
and Array.prototype.every
.Changelog
v4.0.1
collapse_vars
when functions are created with the same name as a variable which already existsMutationObserverInit
(Object with options for initialising a mutation observer) properties to the DOM property listError
subclasses are now internally used instead of old-school Error inheritance hacks.Changelog
v4.0.0
variables
property of all scopes has become a standard JavaScript Map
as opposed to the old bespoke Dictionary
object.terser --help
was fixedArray
and new Array
keep_quoted=strict
mode to mangle_props, which behaves more like Google Closure Compiler by mangling all unquoted property names, instead of reserving quoted property names automatically.Changelog
v3.17.0
hasOwnProperty.call
new Array(<number>)
with an array literalSet
and the includes
method for strings and arraysChangelog
v3.16.1
import
would cause it not to work due to the __esModule
property. (PR #254 was submitted, which was nice, but since it wasn't a pure commonJS approach I decided to go with my own solution)Changelog
v3.16.0