lib/uglifier.rb in uglifier-4.0.2 vs lib/uglifier.rb in uglifier-4.1.0
- old
+ new
@@ -70,10 +70,9 @@
:top_retain => [], # prevent specific toplevel functions and variables from `unused` removal
:hoist_funs => true, # Hoist function declarations
:hoist_vars => false, # Hoist var declarations
:if_return => true, # Optimizations for if/return and if/continue
:join_vars => true, # Join consecutive var statements
- :cascade => true, # Cascade sequences
:collapse_vars => true, # Collapse single-use var and const definitions when possible.
:reduce_funcs => false, # Inline single-use functions as function expressions. Depends on reduce_vars.
:reduce_vars => false, # Collapse variables assigned with and used as constant values.
:negate_iife => true, # Negate immediately invoked function expressions to avoid extra parens
:pure_getters => false, # Assume that object property access does not have any side-effects