aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
AgeCommit message (Expand)Author
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
2015-07-29Advanced way to specify if a function call might have side effects. #400thorn0
2015-07-22Don't attempt to negate non-boolean AST_Binary...Mihai Bazon
2015-07-20Merge pull request #735 from kzc/master...Mihai Bazon
2015-06-30Don't drop parens in a * (b * c). Close #744Mihai Bazon
2015-06-14operator && and || optimization: add "else" before "if" as intendedkzc
2015-06-11optimizations for && and || where left side is constant expressionkzc
2015-05-18Fix compressing conditionals...Mihai Bazon
2015-05-04Avoid spurious brackets when dropping unused vars...Mihai Bazon
2015-04-17Drop NaN -> 0/0 transformation....Mihai Bazon
2015-04-13Fix compression of conditionals...Mihai Bazon
2015-03-23Fix compressing `![foo()];` as a statement...Mihai Bazon
2015-03-22[sequencesize] Actually even better:...Mihai Bazon
2015-03-22Avoid sequencesize for more than 2000 statements....Mihai Bazon
2015-03-22Add start/end nodes for NaN/Infinity transformationsMihai Bazon
2015-03-20Keep unused function arguments by default...Mihai Bazon
2015-02-11Fix invalid removal of left side in && and || compression...Richard van Velzen
2015-01-31Drop all `console` statements properly...Richard van Velzen
2015-01-13Optimize conditionals where the consequent and alternative are both booleans ...Tal Ater
2015-01-12Replace the correct node when replacing in `void` sequences...Richard van Velzen
2015-01-11Merge pull request #482 from arty-name/inline-ng-inject...Mihai Bazon
2015-01-07Fix make_node_from_constant for Regexp-s...Mihai Bazon
2015-01-06aborts(AST_If) returns the `if` node...Mihai Bazon
2015-01-05Support keep_fnames in compressor, and --keep-fnames. #552...Mihai Bazon
2015-01-04Fix #569...Richard van Velzen
2014-12-31Fix #597...Richard van Velzen
2014-09-28Referencing a global is assumed to have side effects....Mihai Bazon
2014-09-04Compress conditions that have side effects using sequencesTal Ater
2014-09-02Compress conditional assignments where all possible outcomes are equivalant a...Tal Ater
2014-08-26Turn foo.new into foo["new"] when not --screw-ie8. Fix #534Mihai Bazon
2014-08-20Prevent error for Function(""). Close #538Mihai Bazon
2014-07-01Evaluate "foo".length ==> 3Dan Wolff
2014-05-11added @ngInject support for inline functionsArtemy Tregubenko
2014-02-08Add option `keep_fargs`....Mihai Bazon
2014-02-06Simplify nested conditionals if possibleMatt Basta
2014-01-31Fix if_return dropping the alternative. Close #413Mihai Bazon
2014-01-08Better process_for_angular before other statement reductions. #395Mihai Bazon
2014-01-08Support @ngInject with `angular` compressor option. Close #395.Mihai Bazon
2014-01-07doh.Mihai Bazon
2014-01-07minor: exp["10"] => exp[10]Mihai Bazon
2013-12-29Conditional/call optimization...Mihai Bazon
2013-12-22Optimize seq,void 0. Close #377....Mihai Bazon
2013-12-10Add `drop_console` option to the compressorMihai Bazon
2013-12-10minorMihai Bazon
2013-11-28Properly scope `catch` identifier when --screw-ie8...Mihai Bazon
2013-11-20Fix faulty compression...Mihai Bazon
2013-11-08Only descend twice after drop_unused if it's the same node type....Mihai Bazon