sort by:
Revision Author Date Message Commit Date
9fc6796 Add `negate_iife` option to the code generator. See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98 22 May 2013, 18:22:14 UTC
9fc8a52 Set "global" on undeclared SymbolDef-s 22 May 2013, 10:08:19 UTC
22a038e Fix output of statement: `new function(){...};` Close #209 20 May 2013, 05:27:37 UTC
f652372 v2.3.5 19 May 2013, 11:25:05 UTC
ad1fc3b Fix package.json (use `repository` instead of `repositories`) 19 May 2013, 11:24:33 UTC
2b40a5a v2.3.4 15 May 2013, 10:27:40 UTC
ca3388c Add `--expr`, an option to parse a single expression (suitable for JSON) 15 May 2013, 10:27:23 UTC
caa8896 Only compress code in `new Function` if all arguments are strings. 14 May 2013, 15:36:31 UTC
d13aa39 v2.3.3 14 May 2013, 08:33:28 UTC
f64539f Compress code passed to `new Function` if it's a constant. Only for `--unsafe`. Close #203 14 May 2013, 07:47:06 UTC
d56ebd7 Fix a["1_1"] Close #204 14 May 2013, 07:42:34 UTC
3edfe7d Merge pull request #202 from nschonni/add-travis-ci Add CI build for supported Node versions 10 May 2013, 09:56:24 UTC
7f77eda v2.3.2 09 May 2013, 05:58:55 UTC
a9511df Use the negation hack rather than parens for a toplevel function expression call (only in !beautify mode) 09 May 2013, 05:58:47 UTC
064e7aa Fix is_assignable (not likely to be noticed, it's only used in `strict` parse mode) 09 May 2013, 05:44:24 UTC
46814f8 Add Travis build badge to README 09 May 2013, 03:48:12 UTC
4a19802 Add CI build for supported Node versions 09 May 2013, 03:42:06 UTC
1e9f98a add a test for zero-length string in is_identifier_string, which is used in property compression. Also added a test exercising the change. 08 May 2013, 19:43:20 UTC
11e24d5 Fix property names Close #199 08 May 2013, 19:37:48 UTC
0f509f8 v2.3.1 08 May 2013, 13:45:36 UTC
a6ed2c8 Better fix for equality of typeof ... against "undefined" 08 May 2013, 13:22:48 UTC
a1958aa Fixed typeof undefined optimization and updated related test case to accomodates the sort behaviour changes made in commit mishoo/UglifyJS2@aebafad41eab48f43ed649ce8c77e8f1528b50da. Signed-off-by: Justin Lau <justin@tclau.com> 08 May 2013, 13:22:48 UTC
6726996 Added test cases for #104. Signed-off-by: Justin Lau <justin@tclau.com> 08 May 2013, 13:22:48 UTC
645d5bd Merge pull request #195 from kjbekkelund/typo Fix typo in bin and readme 08 May 2013, 12:51:52 UTC
9af2bbf Fixed dot properties not optimizing unicode identifiers. Signed-off-by: Justin Lau <justin@tclau.com> 07 May 2013, 11:20:19 UTC
fcd544c Added test scenario with unicode in properties name. Signed-off-by: Justin Lau <justin@tclau.com> 05 May 2013, 17:26:33 UTC
1e3bc0c Fixed dot property issue with invlid identifier names. Signed-off-by: Justin Lau <justin@tclau.com> 05 May 2013, 14:27:43 UTC
8227e87 Added scenario in test case where properties shouldn't be accessed with dotted syntax even with screw_ie8 option. Signed-off-by: Justin Lau <justin@tclau.com> 05 May 2013, 14:08:13 UTC
790b3bc Fix typo in bin and readme 02 May 2013, 09:15:33 UTC
d6e6458 Merge pull request #194 from ulikoehler/master Add README syntax highlighting 01 May 2013, 14:04:01 UTC
a54b670 Add README syntax highlighting 01 May 2013, 13:56:20 UTC
8e62661 Take two. v2.3.0 01 May 2013, 10:15:34 UTC
5c22a1b v2.3 01 May 2013, 10:14:07 UTC
9794ebf Workaround for missing `prefix` in UnaryExpression generated by Esprima See #193 29 April 2013, 12:03:52 UTC
68394ee Make compress/mangle disabled by default, as before 5af144522a6fea302abdd0b63d48864de0664207 21 April 2013, 08:35:50 UTC
753b4b6 Merge pull request #191 from michaelficarra/use-es5-member-access-with-screw-ie use dotted member access when --screw-ie8 option given 21 April 2013, 08:30:02 UTC
a9c1b9f Merge pull request #190 from michaelficarra/patch-1 unbalanced parentheses in readme 21 April 2013, 08:28:45 UTC
5af1445 fixes #189: use dotted member access when --screw-ie8 option given 20 April 2013, 20:11:05 UTC
483e0ca unbalanced parentheses in readme 20 April 2013, 19:05:52 UTC
4b81805 Fix typeof evaluation for regex and function 04 April 2013, 02:34:38 UTC
b956e5f Add tests for typeof evaluation 04 April 2013, 02:34:19 UTC
37d7cb8 Quote objects with numeric keys 31 March 2013, 16:52:28 UTC
2b8e206 fix package.json 31 March 2013, 10:38:02 UTC
a869b85 Don't use \xYY for identifiers Fix #173 31 March 2013, 10:36:22 UTC
81f5efe Output, to_ascii: Escape non-ascii chars with \xnn instead of \unnnn whenever possible. 31 March 2013, 10:36:22 UTC
69dde04 uglifyjs binary: Make read_whole_file async and don't attempt to read STDIN synchronously. 31 March 2013, 10:36:22 UTC
7628bca Merge pull request #163 from mzgol/screw-oldie renamed --screw-ie to --screw-oldie, documented it in README.md, indicat... 25 March 2013, 16:05:44 UTC
75f0bbe renamed --screw-ie to --screw-ie8, documented it in README.md, indicated it doesn't break IE9+ 25 March 2013, 16:03:21 UTC
478bf4d Add support for enclose option. Closes #139. 24 March 2013, 09:11:23 UTC
e0f67ba Don't print the warning on parse error, just throw a JS_Parse_Error. Fix #159 23 March 2013, 22:57:35 UTC
b14d3df Keep legit code working even when --screw-ie is not passed. Previously: Without `--screw-ie`, UglifyJS would always leak names of function expressions into the containing scope, as if they were function declarations. That was to emulate IE<9 behavior. Code relying on this IE bug would continue to work properly after mangling, although it would only work in IE (since other engines don't share the bug). Sometimes this broke legitimage code (see #153 and #155). With `--screw-ie` the names would not be leaked into the current scope, working properly in legit cases; but still it broke legit code when running in IE<9 (see #24). Currently: Regardless of the `--screw-ie` setting, the names will not be leaked. Code relying on the IE bug will not work properly after mangling. <evil laughter here> Without `--screw-ie`: a hack has been added to the mangler to avoid using the same name for a function expression and some other variable in the same scope. This keeps legit code working, at the (negligible, indeed) cost of one more identifier. With `--screw-ie` you allow the mangler to name function expressions with the same identifier as another variable in scope. After mangling code might break in IE<9. Oh man, the commit message is longer than the patch. Fix #153, #155 22 March 2013, 16:04:46 UTC
24e58ee Merge pull request #125 from devongovett/master Allow inSourceMap option to be a generated JSON source map 13 March 2013, 08:36:55 UTC
9b1a40d Support mangling toplevel names Close #127 13 March 2013, 07:44:06 UTC
e4b078c Disable `unsafe` by default Close #147 10 March 2013, 22:04:31 UTC
3bd7ca9 Merge pull request #146 from mbostock/read-all-stdin Read the entire STDIN. 06 March 2013, 06:17:09 UTC
f83aca6 Read the entire STDIN. The problem with reading synchronously from /dev/stdin is that you can get a spurious EOF when the input buffer is empty, even if more content is coming. Now STDIN is read from a loop, and only stops polling when all input has been read. This fixes #70 #85 and other errors related to parsing large files on STDIN. 06 March 2013, 04:35:49 UTC
aebafad Fix reordering comparisons Close #143 04 March 2013, 08:06:01 UTC
26746ce Add `--screw-ie` option For now the implication is that UglifyJS will not leak a function expression's name in the surrounding scope (IE < 9 does that). (ref. mishoo/UglifyJS#485) 02 March 2013, 12:28:34 UTC
dac6efb Drop last `default:` if it's the last branch and empty Close #141 01 March 2013, 11:12:03 UTC
8880f48 Compress boolean constants after evaluation Close #137 01 March 2013, 08:26:06 UTC
cb0c576 Add license Close #131 22 February 2013, 11:58:16 UTC
3a591c4 Fix compressing `do {...} while (false)` It's not safe to transform it to {...} because the body might contain `break`. The solution could be more elaborate (detect if body contains `break`) but I don't think it's worth the trouble. Close #129 19 February 2013, 16:12:19 UTC
db66eca v2.2.5 14 February 2013, 10:51:13 UTC
f276745 Allow inSourceMap to be a generated JSON source map instead of just a file name 10 February 2013, 18:06: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
back to top