aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
AgeCommit message (Expand)Author
2016-11-29Do not overwrite options.comments + cleanupAnthony Van de Gejuchte
2016-10-06Fix (typeof side_effect()) in boolean context...kzc
2016-10-01Optimize unmodified variablesalexlamsl
2016-09-01Account for side effects in `string + expr` optimizationkzc
2016-08-30implement optimization: (x = 2 * x) ---> (x *= 2)kzc
2016-08-17Fix negate_iife transform to return a correct tree for nested IIFEs...Richard van Velzen
2016-07-15Keep const in own scope while compressing...Anthony Van de Gejuchte
2016-07-01Change the default sequences limit to 200 to speed up compress....kzc
2016-07-01Allow sequences maximum length to be user configurable.kzc
2016-06-30Enable --screw-ie8 by default....kzc
2016-06-30Fix spidermonkey AST (ESTree) export and import, Array holes...kzc
2016-06-21Fix conditional expressions of form (x ? -1 : -1)...kzc
2016-06-21Don't replace undefined, NaN and Infinity within with scopekzc
2016-06-15Fix test262 failures related to <, <=, in and instanceof...Anthony Van de Gejuchte
2016-06-12Don't drop unused if scope uses with statement...Anthony Van de Gejuchte
2016-05-27collapse_vars: Do not consider RegExp literals to be constants...kzc
2016-05-24Optimize if_return for single if/return cases....kzc
2016-05-24Completely allow evaluating -0Richard van Velzen
2016-05-17Never produce -0 when evaluating expressions (like -"")...Richard van Velzen
2016-05-15Simplify iife `new` fix...kzc
2016-05-09Do not apply negate_iife optimization to `new` expressionkzc
2016-04-23Hoist functions when reversing if (x) return; ... vs. if (!x) ......Richard van Velzen
2016-04-19Add `passes` compress option. Fix duplicate compress warnings.kzc
2016-04-13Prevent endless recursion when evaluating self-referencing consts...Richard van Velzen
2016-04-12Actually limit sequence length....Mihai Bazon
2016-04-11Fix warnings for referenced non-hoisted functions....kzc
2016-04-07Avoid using inherited hasOwnProperty...Mihai Bazon
2016-04-02Optimize ternaries with boolean consequent or alternative....kzc
2016-03-28Speedup `unused` compress option for already minified code...kzc
2016-02-22boolean_expression ? true : false --> boolean_expressionkzc
2016-02-21Take operator || precendence into account for AST_If optimization....kzc
2016-02-17preserve ThisBinding for side_effectsalexlamsl
2016-02-16Don't compress (0, eval)() to eval()Richard van Velzen
2016-02-16Preserve ThisBinding in conditionals & collapse_vars...alexlamsl
2016-01-29collapse_vars: avoid replacement across AST_Case nodes to be on safe side eve...kzc
2016-01-28collapse_vars: fix if/else and ternary operator side effectskzc
2016-01-28collapse_vars: fix bug in repeated var defs of same namekzc
2016-01-27fix bug in collapse_vars for right side of "||" and "&&"kzc
2016-01-27Collapse single use var definitions...kzc
2016-01-05Fix hoisting the var in ForIn...Mihai Bazon
2015-11-24#873 Fix `conditionals` optimizations with default compress optionskzc
2015-11-16Fix endless loop...Mihai Bazon
2015-11-16Limit max iterations for tighten_body...Mihai Bazon
2015-11-11Rework has_directive...Mihai Bazon
2015-10-29`return undefined` optimization no longer uses `return_void_0` optionkzc
2015-10-29optimize `return undefined` and `return void 0`kzc
2015-10-07Add proper support for "use asm"; blocks. Disable -c optimization within "use...kzc
2015-09-14Control keeping function arguments with a single optionVille Lautanala
2015-08-25Don't change sequences that influence lexical binding in calls...Richard van Velzen
2015-08-10[Fix] --define replaces SymbolRefs in LHS of assignments...Christopher Chedeau