https://github.com/mishoo/UglifyJS

sort by:
Revision Author Date Message Commit Date
db66eca v2.2.5 14 February 2013, 10:51:13 UTC
916faf0 Force space after literal regexp when used in "instanceof" or "in" Close #118 06 February 2013, 09:57:59 UTC
f36e4e9 Give up evaluating (unary-prefix '-' 0) Close #117 ------ JS, WHY YOU SUCK SO BADLY? ;-( 06 February 2013, 09:51:09 UTC
fdf8b5e Fix parens for NaN Close #116 06 February 2013, 09:38:29 UTC
de7ec7f Fix parens for negative numbers Close #115 06 February 2013, 09:36:04 UTC
3c8a0bd Fix parens for AST_New Close #114 06 February 2013, 09:28:49 UTC
9e8ba27 Fix handling of constants Close #113 06 February 2013, 09:15:31 UTC
719a8fd Ugly hack to print comments before return/throw statements Close #112 05 February 2013, 17:11:39 UTC
3a22e91 Merge pull request #111 from mattrobenolt/safer-sourcemap Wraps sourceMappingURL in a multiline comment. Fixes #108 04 February 2013, 07:44:31 UTC
a9af2c9 Wraps sourceMappingURL in a multiline comment. Fixes #108 04 February 2013, 00:01:01 UTC
31e99ce v2.2.4 01 February 2013, 11:32:15 UTC
a5b2094 Fix end token for Assign nodes 01 February 2013, 11:32:15 UTC
e9a571b Merge pull request #94 from paulmillr/patch-1 Add better fromstring docs. 01 February 2013, 07:50:59 UTC
8bf83f4 Merge pull request #106 from gibson042/105 Fix #105: property comparison to undefined is not always safe 24 January 2013, 13:51:33 UTC
522566e Fix #105: property comparison to undefined is not always safe 24 January 2013, 04:52:04 UTC
297af47 Add --source-map-url option Fix #100 Fix #47 20 January 2013, 10:32:07 UTC
faa354f [AST_Hole] the print function can be a no-op. 17 January 2013, 09:36:10 UTC
1529ab9 Fix output for arrays containing undefined values. 1b6bcca7 was a first attempt at this. That commit made Uglify stop replacing holes with undefined, but instead it started replacing undefined with holes. This is slightly problematic, because there is a difference between a hole and an undefined value. More problematically, it changed [1,undefined] to [1,] which generally doesn't even parse as a hole (just as a trailing comma), so it didn't even preserve the length of the array! Instead, parse holes as their own special AST node which prints invisibly. 17 January 2013, 09:36:10 UTC
605f330 Merge pull request #98 from ForbesLindesay/patch-1 Update installation instructions 17 January 2013, 09:08:59 UTC
f0909bd Handle String() with no arguments. Fix #91 17 January 2013, 09:01:38 UTC
c13e7e6 Update installation instructions re #4 17 January 2013, 00:13:42 UTC
ad071f8 Add better fromstring docs. 13 January 2013, 16:45:43 UTC
c058d8b Merge pull request #90 from jakearchibald/patch-1 Compressor options use underscores rather than hyphens 08 January 2013, 22:21:25 UTC
1d8871a Compressor options use underscores rather than hyphens 08 January 2013, 20:33:58 UTC
16953c2 v2.2.3 04 January 2013, 20:50:53 UTC
6b14f7c Fix handling of labels in nested scopes 04 January 2013, 12:17:33 UTC
130c623 Support `output`, `mangle` and `compress` options to `UglifyJS.minify`. Close #57 Close #86 Close #33 04 January 2013, 09:25:13 UTC
47c9895 Merge pull request #87 from BenoitZugmeyer/master Add a --version option 03 January 2013, 10:28:35 UTC
ba40333 Set --version as a boolean #87 03 January 2013, 10:22:37 UTC
e82e89d --version option 03 January 2013, 10:07:53 UTC
83a4ebf Implement `-m sort=true` close #83 02 January 2013, 10:39:00 UTC
9916d0e Accept string or number as name of an accessor. [not sure I'm happy about this fix] Reference mishoo/UglifyJS#478 21 December 2012, 23:24:04 UTC
31c4a37 Optimize new Array(1, 2, 3) → [1, 2, 3] Close #74 21 December 2012, 19:04:35 UTC
08219f0 Fix output when semicolons is off. (need to force a semicolon for the empty body of an `if`) Close #72 21 December 2012, 09:57:08 UTC
c4993e1 Small cleanup 12 December 2012, 09:51:55 UTC
6064bea v2.2.2 06 December 2012, 12:25:18 UTC
98978fc Add proper parens in "NoIn" expressions. fix #60. 06 December 2012, 10:27:57 UTC
16430ac small improvement on merging assignments into hoisted vars 05 December 2012, 11:14:49 UTC
320c110 When hoisting variables, try to merge in assignments that follow. 05 December 2012, 10:30:25 UTC
dbe33bb Revert "Fixed reading from STDIN." It breaks usage like this: echo '...code...' | uglifyjs This reverts commit e48802ad291fae5a16f2d23cbd25a0c433cdbe48. 30 November 2012, 09:33:50 UTC
b5c3253 Add test for issue #59 30 November 2012, 09:26:37 UTC
5cc90db Don't messup compressor stack while optimizing Switch Fix #59 30 November 2012, 09:16:09 UTC
f427e5e Merge pull request #58 from roxeteer/master Fixed reading from STDIN 29 November 2012, 09:23:07 UTC
e48802a Fixed reading from STDIN. 29 November 2012, 08:51:15 UTC
13c4dfc fix #55 24 November 2012, 08:02:08 UTC
1abde9c v2.2.1 23 November 2012, 08:25:44 UTC
4f555e2 fix for https://github.com/mishoo/UglifyJS/issues/474 23 November 2012, 08:20:00 UTC
642ba2e rename the npm package to "uglify-js" and cli tool to "uglifyjs" 21 November 2012, 11:27:03 UTC
089ac90 fix #51 18 November 2012, 15:37:45 UTC
0d3fd2e retain (1,eval) as is when it's the expression of an AST_Call otherwise we change the meaning of eval from global to lexical. 17 November 2012, 10:05:31 UTC
e981194 Add support for somewhat preserving line numbers. Usage: uglifyjs2 -b "beautify=0,preserve_line=1" /path/to/js ref #46 14 November 2012, 13:30:18 UTC
bdfcbf4 better solution for the last test in constant switch folding 14 November 2012, 10:21:43 UTC
dba8da4 optimize constant switch blocks ref. mishoo/UglifyJS#441 14 November 2012, 10:06:07 UTC
60c0f40 Merge branch 'optimize_concat' of https://github.com/rvanvelzen/UglifyJS2 into rvanvelzen-optimize_concat 13 November 2012, 12:38:55 UTC
e02771a don't change order in binary expressions if both operands have side effects 13 November 2012, 12:32:07 UTC
f96f796 Add simple optimization for empty-string concats. ref. #43 12 November 2012, 14:41:03 UTC
a9fa178 v2.1.11 12 November 2012, 11:24:52 UTC
53355bd fix invalid AST produced by dropping unused variable close #44 12 November 2012, 11:23:57 UTC
f05c99d Merge pull request #41 from Skalman/toString-patch Convert x.toString() to ""+x instead of x+"" 12 November 2012, 08:47:56 UTC
b49230a convert x.toString() to ""+x instead of x+"" In some places this can save one byte in whitespace, e.g. after return. Example: function f(arg) { // return""+arg - no space between return and "" return arg.toString(); } 11 November 2012, 13:53:34 UTC
78856a3 declare dependency versions close #40 09 November 2012, 14:43:49 UTC
1e5e13e AST_LabelRef no longer inherits from AST_SymbolRef 08 November 2012, 13:39:14 UTC
64270b9 v2.1.10 08 November 2012, 10:33:27 UTC
e312c5c fix API breakage close #36, #38 08 November 2012, 10:31:28 UTC
1a5fd3e optimization for if/break as first statement in a loop body for(...; x; ...) if (y) break; → for(...; x&&!y; ...); similarly for `while` and some combinations (i.e. the `break` appears in the `else` clause, etc.) 08 November 2012, 09:43:14 UTC
5a7e54c ignore node_modules/ 07 November 2012, 13:27:12 UTC
39f8a62 v2.1.9 07 November 2012, 11:31:58 UTC
46be3f2 fix another small regression we do need parens here: `new (foo.bar().baz)`, but not here: `new foo.bar.baz` 07 November 2012, 11:31:43 UTC
258b46f v2.1.8 07 November 2012, 11:03:11 UTC
80da21d fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++]) 07 November 2012, 11:02:51 UTC
bb0e4d7 v2.1.7 07 November 2012, 10:45:23 UTC
5276a4a add AST_Accessor and AST_SymbolAccessor node types AST_Accessor will represent the function for a setter or getter. Since they are not mangleable, and they should not introduce a name in scope, we have a new node for their name (AST_SymbolAccessor) which doesn't inherit from AST_SymbolDeclaration. fix #37 07 November 2012, 10:43:27 UTC
a1ae0c8 parenthesize property access when it's the expression in New refs #35 07 November 2012, 10:26:33 UTC
a90c1ae further fix for parens around New (refs #35) 07 November 2012, 09:49:06 UTC
ff388a8 parenthesize a Call expression when its parent is New fix #35 07 November 2012, 09:36:15 UTC
5346fb9 add proper parens around unary expressions fix #34 07 November 2012, 09:23:50 UTC
a4f6d46 add option to mangle names even if eval/with is in use (for more fair comparison to Closure compiler) 06 November 2012, 16:19:51 UTC
7f5f4d6 discard the hack that worked around the deprecation warning (since the source-map module no longer uses require.js) refs #9 05 November 2012, 20:23:51 UTC
ffccb23 convert `while` into `for` 05 November 2012, 14:01:20 UTC
fba0c1a minor 05 November 2012, 14:01:09 UTC
774f2de minor optimization for `==` or `!=` against a constant, prefer to display the constant first. should help a bit after gzip, i.e.: typeof foo=="undefined" ^^^^^^ ^^^^^^^^^^^^^ vs: "undefined"==typeof foo ^^^^^^^^^^^^^^^^^^^ (longer sequence that could repeat) idea stolen from closure. 05 November 2012, 11:13:06 UTC
85af942 print final semicolon close #28 05 November 2012, 11:09:39 UTC
8413787 use a Dictionary object instead of plain object for hashes to mitigate the `__proto__` issue related to #30 02 November 2012, 08:58:45 UTC
dde5745 v2.1.6 01 November 2012, 14:55:10 UTC
cf40980 it's safe to negate expression in !EXP only in boolean context #kendo 01 November 2012, 13:49:05 UTC
18270dd added unsafe_comps for negating `<=` with `>` since it has the potential to break code, let's keep it disabled by default 01 November 2012, 13:14:56 UTC
d4c25c5 fix compressing UnaryPrefix only try negating the expression if the operator is `!` #kendo 01 November 2012, 11:35:08 UTC
5248b79 v2.1.5 30 October 2012, 12:51:05 UTC
abe0ebb don't move expressions containing the binary `in` operator into the `for` initializer (opera can't parse it) close #25 30 October 2012, 12:50:47 UTC
0852f55 v2.1.4 25 October 2012, 15:52:49 UTC
cb3cafa cripple scope to make IE happy :-( close #24 25 October 2012, 15:52:35 UTC
202fb93 test for fs.existsSync 25 October 2012, 07:58:48 UTC
7b87d2e v2.1.3 24 October 2012, 06:41:40 UTC
70fd2b1 fix for `if (...) return; else return ...;` (it was assumed that the first `return` always contains a value) close #22 24 October 2012, 06:33:32 UTC
30faaf1 more sequence optimizations (lift some sequences above binary/unary expressions so that we can avoid parens) 22 October 2012, 08:58:06 UTC
41be863 v2.1.2 22 October 2012, 04:57:28 UTC
bee01dc Merge branch 'master' of github.com:mishoo/UglifyJS2 20 October 2012, 08:14:25 UTC
12f71e0 alternate hack to disable deprecation warning ref #9, close #20 20 October 2012, 08:12:21 UTC
3a72dea Merge pull request #19 from SevInf/master Allow to specify sourceRoot in minify 19 October 2012, 11:29:40 UTC
fc8314e minor fix for dropping unused definitions. function f(x, y) { var g = function() { return h() }; var h = function() { return g() }; return x + y; } now compresses to `function f(x, y) { return x + y }` 19 October 2012, 09:57:29 UTC
back to top