db66eca | Mihai Bazon | 14 February 2013, 10:51:13 UTC | v2.2.5 | 14 February 2013, 10:51:13 UTC |
916faf0 | Mihai Bazon | 06 February 2013, 09:57:59 UTC | Force space after literal regexp when used in "instanceof" or "in" Close #118 | 06 February 2013, 09:57:59 UTC |
f36e4e9 | Mihai Bazon | 06 February 2013, 09:51:09 UTC | Give up evaluating (unary-prefix '-' 0) Close #117 ------ JS, WHY YOU SUCK SO BADLY? ;-( | 06 February 2013, 09:51:09 UTC |
fdf8b5e | Mihai Bazon | 06 February 2013, 09:38:29 UTC | Fix parens for NaN Close #116 | 06 February 2013, 09:38:29 UTC |
de7ec7f | Mihai Bazon | 06 February 2013, 09:36:04 UTC | Fix parens for negative numbers Close #115 | 06 February 2013, 09:36:04 UTC |
3c8a0bd | Mihai Bazon | 06 February 2013, 09:28:49 UTC | Fix parens for AST_New Close #114 | 06 February 2013, 09:28:49 UTC |
9e8ba27 | Mihai Bazon | 06 February 2013, 09:15:31 UTC | Fix handling of constants Close #113 | 06 February 2013, 09:15:31 UTC |
719a8fd | Mihai Bazon | 05 February 2013, 17:10:33 UTC | Ugly hack to print comments before return/throw statements Close #112 | 05 February 2013, 17:11:39 UTC |
3a22e91 | Mihai Bazon | 04 February 2013, 07:44:31 UTC | Merge pull request #111 from mattrobenolt/safer-sourcemap Wraps sourceMappingURL in a multiline comment. Fixes #108 | 04 February 2013, 07:44:31 UTC |
a9af2c9 | Matt Robenolt | 04 February 2013, 00:01:01 UTC | Wraps sourceMappingURL in a multiline comment. Fixes #108 | 04 February 2013, 00:01:01 UTC |
31e99ce | Mihai Bazon | 01 February 2013, 11:31:28 UTC | v2.2.4 | 01 February 2013, 11:32:15 UTC |
a5b2094 | Mihai Bazon | 26 January 2013, 12:24:54 UTC | Fix end token for Assign nodes | 01 February 2013, 11:32:15 UTC |
e9a571b | Mihai Bazon | 01 February 2013, 07:50:59 UTC | Merge pull request #94 from paulmillr/patch-1 Add better fromstring docs. | 01 February 2013, 07:50:59 UTC |
8bf83f4 | Mihai Bazon | 24 January 2013, 13:51:33 UTC | 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 | Richard Gibson | 24 January 2013, 04:52:04 UTC | Fix #105: property comparison to undefined is not always safe | 24 January 2013, 04:52:04 UTC |
297af47 | Mihai Bazon | 20 January 2013, 10:32:07 UTC | Add --source-map-url option Fix #100 Fix #47 | 20 January 2013, 10:32:07 UTC |
faa354f | Mihai Bazon | 17 January 2013, 09:16:55 UTC | [AST_Hole] the print function can be a no-op. | 17 January 2013, 09:36:10 UTC |
1529ab9 | David Glasser | 16 January 2013, 19:59:19 UTC | 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 | Mihai Bazon | 17 January 2013, 09:08:59 UTC | Merge pull request #98 from ForbesLindesay/patch-1 Update installation instructions | 17 January 2013, 09:08:59 UTC |
f0909bd | Mihai Bazon | 17 January 2013, 09:01:38 UTC | Handle String() with no arguments. Fix #91 | 17 January 2013, 09:01:38 UTC |
c13e7e6 | Forbes Lindesay | 17 January 2013, 00:13:42 UTC | Update installation instructions re #4 | 17 January 2013, 00:13:42 UTC |
ad071f8 | Paul Miller | 13 January 2013, 16:45:43 UTC | Add better fromstring docs. | 13 January 2013, 16:45:43 UTC |
c058d8b | Mihai Bazon | 08 January 2013, 22:21:25 UTC | Merge pull request #90 from jakearchibald/patch-1 Compressor options use underscores rather than hyphens | 08 January 2013, 22:21:25 UTC |
1d8871a | Jake Archibald | 08 January 2013, 20:33:58 UTC | Compressor options use underscores rather than hyphens | 08 January 2013, 20:33:58 UTC |
16953c2 | Mihai Bazon | 04 January 2013, 20:50:53 UTC | v2.2.3 | 04 January 2013, 20:50:53 UTC |
6b14f7c | Mihai Bazon | 04 January 2013, 12:17:33 UTC | Fix handling of labels in nested scopes | 04 January 2013, 12:17:33 UTC |
130c623 | Mihai Bazon | 04 January 2013, 09:24:29 UTC | Support `output`, `mangle` and `compress` options to `UglifyJS.minify`. Close #57 Close #86 Close #33 | 04 January 2013, 09:25:13 UTC |
47c9895 | Mihai Bazon | 03 January 2013, 10:28:35 UTC | Merge pull request #87 from BenoitZugmeyer/master Add a --version option | 03 January 2013, 10:28:35 UTC |
ba40333 | Benoît Zugmeyer | 03 January 2013, 10:22:37 UTC | Set --version as a boolean #87 | 03 January 2013, 10:22:37 UTC |
e82e89d | Benoît Zugmeyer | 03 January 2013, 10:06:07 UTC | --version option | 03 January 2013, 10:07:53 UTC |
83a4ebf | Mihai Bazon | 02 January 2013, 10:39:00 UTC | Implement `-m sort=true` close #83 | 02 January 2013, 10:39:00 UTC |
9916d0e | Mihai Bazon | 21 December 2012, 23:24:04 UTC | 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 | Mihai Bazon | 21 December 2012, 19:04:15 UTC | Optimize new Array(1, 2, 3) → [1, 2, 3] Close #74 | 21 December 2012, 19:04:35 UTC |
08219f0 | Mihai Bazon | 21 December 2012, 09:57:08 UTC | 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 | Mihai Bazon | 12 December 2012, 09:50:03 UTC | Small cleanup | 12 December 2012, 09:51:55 UTC |
6064bea | Mihai Bazon | 06 December 2012, 12:25:18 UTC | v2.2.2 | 06 December 2012, 12:25:18 UTC |
98978fc | Mihai Bazon | 06 December 2012, 10:27:57 UTC | Add proper parens in "NoIn" expressions. fix #60. | 06 December 2012, 10:27:57 UTC |
16430ac | Mihai Bazon | 05 December 2012, 11:14:49 UTC | small improvement on merging assignments into hoisted vars | 05 December 2012, 11:14:49 UTC |
320c110 | Mihai Bazon | 05 December 2012, 10:30:25 UTC | When hoisting variables, try to merge in assignments that follow. | 05 December 2012, 10:30:25 UTC |
dbe33bb | Mihai Bazon | 30 November 2012, 09:33:50 UTC | 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 | Mihai Bazon | 30 November 2012, 09:26:37 UTC | Add test for issue #59 | 30 November 2012, 09:26:37 UTC |
5cc90db | Mihai Bazon | 30 November 2012, 09:16:09 UTC | Don't messup compressor stack while optimizing Switch Fix #59 | 30 November 2012, 09:16:09 UTC |
f427e5e | Mihai Bazon | 29 November 2012, 09:23:07 UTC | Merge pull request #58 from roxeteer/master Fixed reading from STDIN | 29 November 2012, 09:23:07 UTC |
e48802a | Visa Kopu | 29 November 2012, 08:51:15 UTC | Fixed reading from STDIN. | 29 November 2012, 08:51:15 UTC |
13c4dfc | Mihai Bazon | 24 November 2012, 08:02:08 UTC | fix #55 | 24 November 2012, 08:02:08 UTC |
1abde9c | Mihai Bazon | 23 November 2012, 08:25:44 UTC | v2.2.1 | 23 November 2012, 08:25:44 UTC |
4f555e2 | Mihai Bazon | 23 November 2012, 08:20:00 UTC | fix for https://github.com/mishoo/UglifyJS/issues/474 | 23 November 2012, 08:20:00 UTC |
642ba2e | Mihai Bazon | 21 November 2012, 11:27:03 UTC | rename the npm package to "uglify-js" and cli tool to "uglifyjs" | 21 November 2012, 11:27:03 UTC |
089ac90 | Mihai Bazon | 18 November 2012, 15:37:45 UTC | fix #51 | 18 November 2012, 15:37:45 UTC |
0d3fd2e | Mihai Bazon | 17 November 2012, 10:05:31 UTC | 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 | Richard van Velzen | 14 November 2012, 13:04:47 UTC | 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 | Mihai Bazon | 14 November 2012, 10:21:43 UTC | better solution for the last test in constant switch folding | 14 November 2012, 10:21:43 UTC |
dba8da4 | Mihai Bazon | 14 November 2012, 10:06:07 UTC | optimize constant switch blocks ref. mishoo/UglifyJS#441 | 14 November 2012, 10:06:07 UTC |
60c0f40 | Mihai Bazon | 13 November 2012, 12:34:38 UTC | Merge branch 'optimize_concat' of https://github.com/rvanvelzen/UglifyJS2 into rvanvelzen-optimize_concat | 13 November 2012, 12:38:55 UTC |
e02771a | Mihai Bazon | 13 November 2012, 12:32:07 UTC | don't change order in binary expressions if both operands have side effects | 13 November 2012, 12:32:07 UTC |
f96f796 | Richard van Velzen | 12 November 2012, 14:41:03 UTC | Add simple optimization for empty-string concats. ref. #43 | 12 November 2012, 14:41:03 UTC |
a9fa178 | Mihai Bazon | 12 November 2012, 11:24:52 UTC | v2.1.11 | 12 November 2012, 11:24:52 UTC |
53355bd | Mihai Bazon | 12 November 2012, 11:23:57 UTC | fix invalid AST produced by dropping unused variable close #44 | 12 November 2012, 11:23:57 UTC |
f05c99d | Mihai Bazon | 12 November 2012, 08:47:56 UTC | Merge pull request #41 from Skalman/toString-patch Convert x.toString() to ""+x instead of x+"" | 12 November 2012, 08:47:56 UTC |
b49230a | Dan Wolff | 11 November 2012, 13:53:34 UTC | 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 | Mihai Bazon | 09 November 2012, 14:43:49 UTC | declare dependency versions close #40 | 09 November 2012, 14:43:49 UTC |
1e5e13e | Mihai Bazon | 08 November 2012, 13:39:14 UTC | AST_LabelRef no longer inherits from AST_SymbolRef | 08 November 2012, 13:39:14 UTC |
64270b9 | Mihai Bazon | 08 November 2012, 10:33:27 UTC | v2.1.10 | 08 November 2012, 10:33:27 UTC |
e312c5c | Mihai Bazon | 08 November 2012, 10:31:28 UTC | fix API breakage close #36, #38 | 08 November 2012, 10:31:28 UTC |
1a5fd3e | Mihai Bazon | 07 November 2012, 16:57:51 UTC | 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 | Mihai Bazon | 07 November 2012, 13:27:12 UTC | ignore node_modules/ | 07 November 2012, 13:27:12 UTC |
39f8a62 | Mihai Bazon | 07 November 2012, 11:31:58 UTC | v2.1.9 | 07 November 2012, 11:31:58 UTC |
46be3f2 | Mihai Bazon | 07 November 2012, 11:31:43 UTC | 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 | Mihai Bazon | 07 November 2012, 11:03:11 UTC | v2.1.8 | 07 November 2012, 11:03:11 UTC |
80da21d | Mihai Bazon | 07 November 2012, 11:02:51 UTC | fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++]) | 07 November 2012, 11:02:51 UTC |
bb0e4d7 | Mihai Bazon | 07 November 2012, 10:45:23 UTC | v2.1.7 | 07 November 2012, 10:45:23 UTC |
5276a4a | Mihai Bazon | 07 November 2012, 10:43:27 UTC | 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 | Mihai Bazon | 07 November 2012, 10:26:33 UTC | parenthesize property access when it's the expression in New refs #35 | 07 November 2012, 10:26:33 UTC |
a90c1ae | Mihai Bazon | 07 November 2012, 09:49:06 UTC | further fix for parens around New (refs #35) | 07 November 2012, 09:49:06 UTC |
ff388a8 | Mihai Bazon | 07 November 2012, 09:36:15 UTC | parenthesize a Call expression when its parent is New fix #35 | 07 November 2012, 09:36:15 UTC |
5346fb9 | Mihai Bazon | 07 November 2012, 09:23:17 UTC | add proper parens around unary expressions fix #34 | 07 November 2012, 09:23:50 UTC |
a4f6d46 | Mihai Bazon | 06 November 2012, 09:39:41 UTC | 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 | Mihai Bazon | 05 November 2012, 20:23:51 UTC | 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 | Mihai Bazon | 05 November 2012, 14:01:20 UTC | convert `while` into `for` | 05 November 2012, 14:01:20 UTC |
fba0c1a | Mihai Bazon | 05 November 2012, 14:01:09 UTC | minor | 05 November 2012, 14:01:09 UTC |
774f2de | Mihai Bazon | 05 November 2012, 11:13:06 UTC | 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 | Mihai Bazon | 05 November 2012, 11:09:39 UTC | print final semicolon close #28 | 05 November 2012, 11:09:39 UTC |
8413787 | Mihai Bazon | 02 November 2012, 08:58:45 UTC | 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 | Mihai Bazon | 01 November 2012, 14:55:10 UTC | v2.1.6 | 01 November 2012, 14:55:10 UTC |
cf40980 | Mihai Bazon | 01 November 2012, 13:49:05 UTC | it's safe to negate expression in !EXP only in boolean context #kendo | 01 November 2012, 13:49:05 UTC |
18270dd | Mihai Bazon | 01 November 2012, 13:14:56 UTC | 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 | Mihai Bazon | 01 November 2012, 11:35:08 UTC | fix compressing UnaryPrefix only try negating the expression if the operator is `!` #kendo | 01 November 2012, 11:35:08 UTC |
5248b79 | Mihai Bazon | 30 October 2012, 12:51:05 UTC | v2.1.5 | 30 October 2012, 12:51:05 UTC |
abe0ebb | Mihai Bazon | 30 October 2012, 12:50:47 UTC | 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 | Mihai Bazon | 25 October 2012, 15:52:49 UTC | v2.1.4 | 25 October 2012, 15:52:49 UTC |
cb3cafa | Mihai Bazon | 25 October 2012, 15:52:35 UTC | cripple scope to make IE happy :-( close #24 | 25 October 2012, 15:52:35 UTC |
202fb93 | Mihai Bazon | 25 October 2012, 07:58:48 UTC | test for fs.existsSync | 25 October 2012, 07:58:48 UTC |
7b87d2e | Mihai Bazon | 24 October 2012, 06:41:40 UTC | v2.1.3 | 24 October 2012, 06:41:40 UTC |
70fd2b1 | Mihai Bazon | 24 October 2012, 06:33:32 UTC | 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 | Mihai Bazon | 22 October 2012, 08:49:58 UTC | more sequence optimizations (lift some sequences above binary/unary expressions so that we can avoid parens) | 22 October 2012, 08:58:06 UTC |
41be863 | Mihai Bazon | 22 October 2012, 04:57:28 UTC | v2.1.2 | 22 October 2012, 04:57:28 UTC |
bee01dc | Mihai Bazon | 20 October 2012, 08:14:25 UTC | Merge branch 'master' of github.com:mishoo/UglifyJS2 | 20 October 2012, 08:14:25 UTC |
12f71e0 | Mihai Bazon | 20 October 2012, 08:12:21 UTC | alternate hack to disable deprecation warning ref #9, close #20 | 20 October 2012, 08:12:21 UTC |
3a72dea | Mihai Bazon | 19 October 2012, 11:29:40 UTC | Merge pull request #19 from SevInf/master Allow to specify sourceRoot in minify | 19 October 2012, 11:29:40 UTC |
fc8314e | Mihai Bazon | 19 October 2012, 09:57:29 UTC | 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 |