https://github.com/mishoo/UglifyJS

sort by:
Revision Author Date Message Commit Date
39d8880 Fix max_line_len not working for JSON files As `maybe_newline()` is only called when `might_need_semicolon` is `true`, the `max_line_len` option has no effect for files without (or with very few) semicolons (like JSON files). A simple for this problem is to use `maybe_newline()` instead of `noop` as the `newline()` function in non-beautify mode. 17 December 2014, 15:31:03 UTC
5538ec7 v2.4.16 09 December 2014, 13:21:44 UTC
f101d64 Merge pull request #546 from jacobk/patch-1 Use uglify source map token names if missing 04 December 2014, 12:07:08 UTC
f36a1ea Add option to allow return outside of functions. Close #288 20 October 2014, 15:12:13 UTC
a64bdda Document `keep_fargs`. Close #557 28 September 2014, 09:36:36 UTC
01d19b4 Referencing a global is assumed to have side effects. Close #550 28 September 2014, 08:18:25 UTC
f0c1a01 Merge pull request #549 from Arnavion/unreferenced-catch-symbol Don't warn for an unreferenced exception symbol in a catch block. 13 September 2014, 06:29:34 UTC
7be680d Don't warn for an unreferenced exception symbol in a catch block. 13 September 2014, 04:01:19 UTC
57dab1e Merge pull request #541 from TalAter/conditional-improvements Conditional assignment of equivalent constants compressed ( x=y?1:1 --> x=1 ) 09 September 2014, 15:45:12 UTC
21b3c89 Use uglify source map token names if missing 09 September 2014, 11:02:50 UTC
fb0ec72 Compress conditions that have side effects using sequences 03 September 2014, 23:57:49 UTC
7971ed3 Added a test for else if 02 September 2014, 22:35:30 UTC
885835a Compress conditional assignments where all possible outcomes are equivalant and condition has no side effects 02 September 2014, 20:30:25 UTC
4c64554 Turn foo.new into foo["new"] when not --screw-ie8. Fix #534 26 August 2014, 07:11:01 UTC
548beeb Prevent error for Function(""). Close #538 20 August 2014, 06:16:34 UTC
e3066f9 Merge pull request #529 from RReverser/master Added example for usage with SpiderMonkey AST 04 August 2014, 20:05:29 UTC
e391367 Added example for usage with SpiderMonkey AST. 04 August 2014, 17:48:14 UTC
18ddf2f Merge branch 'master' of https://github.com/RReverser/UglifyJS2 04 August 2014, 06:01:19 UTC
f8ee5a0 Install newest NPM on oldest Node.js. 03 August 2014, 18:44:59 UTC
b467a3c Added generative testing for AST conversions. 03 August 2014, 17:48:59 UTC
f2d48e9 Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2 03 August 2014, 08:08:39 UTC
5e314bf SpiderMonkey `Identifier` nodes should contain mangled names. 02 August 2014, 22:28:58 UTC
05ba26c Small fixes for AST conversion. 02 August 2014, 10:18:27 UTC
87b7236 Fixes and improvements for UglifyJS->SM AST conversion. * Explicitly forbidden multiple catch clauses as SM-specific feature. * Simplified describing of UglifyJS->Mozilla AST conversion rules. * Moved alias rules to single place. * Removed usage of dynamic type bindings in generated code (speed-up). 01 August 2014, 20:45:37 UTC
0e3ff1f Improved UglifyJS<->SpiderMonkey AST conversions. * Added directives recognition in SM AST. * Moved semi-standard SM `Property` type to separate handler. * Added `const` recognition from SM AST. * Removed redundant `this`-as-identifier recognition. * Removed redundant rules for abstract SM types. * Described `CatchClause` using string syntax. * Added support for semi-standard `range` tuple as location source. * Added back-conversion support (to be improved). 01 August 2014, 20:42:34 UTC
ec3e74d Added license 28 July 2014, 20:49:44 UTC
62bda71 Fix parens for AST_Undefined Do the same as for AST_Unary, since we output undefined as `void 0`. Reported at https://github.com/mishoo/UglifyJS2/issues/338#issuecomment-48858341 18 July 2014, 08:31:41 UTC
83e0939 v2.4.15 09 July 2014, 15:01:40 UTC
9798d96 Lock source-map to 0.1.34 09 July 2014, 15:01:23 UTC
ac2caf1 Check for the case an AST_For's init is an EmptyStatement (lame fix for #503) 01 July 2014, 20:10:44 UTC
8511e80 Evaluate "foo".length ==> 3 01 July 2014, 08:06:51 UTC
91bc3f1 Merge pull request #499 from shinnn/master Update .travis.yml to pass the test on Travis CI 26 June 2014, 06:30:25 UTC
8463b48 Do not run a test for Node v0.4 Travis CI doesn’t support Node v0.4. http://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Provide d-Node.js-Versions 26 June 2014, 04:17:59 UTC
e3342a3 v2.4.14 12 June 2014, 14:24:33 UTC
7bf59b5 Actually, even better. #475 - also handle x = + ++y, x = - --y; - don't use parens, a space suffices. 27 April 2014, 18:42:14 UTC
025f3e9 Better fix for #475 27 April 2014, 17:54:54 UTC
8258edd Fix parens in +(+x). Close #475 27 April 2014, 17:51:01 UTC
8669ca2 Merge branch 'master' of github.com:mishoo/UglifyJS2 24 April 2014, 07:56:57 UTC
7165269 Merge pull request #445 from ConradIrwin/try-statement Handle TryStatements trees from acorn >=0.2.0 24 April 2014, 07:46:53 UTC
37693d2 Update tests. 18 April 2014, 08:19:52 UTC
8fbe200 Always quote property names that contain non-ASCII characters. Fix #328 18 April 2014, 07:48:44 UTC
1a34a13 Merge pull request #470 from ebednarz/master Fix sourceMapIncludeSources exception in Node API 13 April 2014, 09:54:12 UTC
ef772b0 add sourceMappingUrl to output in node module If options.outSourceMap is specified the sourceMappingURL comment should be appended to the output stream 13 April 2014, 09:48:38 UTC
6fcabbd Fix sourceMapIncludeSources exception in Node API https://github.com/mishoo/UglifyJS2/issues/459 13 April 2014, 09:16:10 UTC
14f290f Merge pull request #454 from Arnavion/allow-colons-in-wrap_enclose Allow colons in the pairs passed to AST_Toplevel.wrap_enclose 24 March 2014, 13:10:35 UTC
e2e09d5 Allow colons in the pairs passed to AST_Toplevel.wrap_enclose 23 March 2014, 01:02:21 UTC
448a8d3 v2.4.13 11 March 2014, 13:22:37 UTC
514936b Handle TryStatements trees from acorn >=0.2.0 07 March 2014, 01:07:49 UTC
f5c09d0 Merge pull request #439 from Arnavion/null-source-in-sourcemap Handle the case when SourceMapConsumer.originalPositionFor returns null source. 03 March 2014, 07:19:39 UTC
014f655 Handle the case when SourceMapConsumer.originalPositionFor returns null source. This happens when SourceMapConsumer does not have a valid position to map the input line and column. This is a change in mozilla/source-map starting from version 0.1.33 Fixes #436 03 March 2014, 03:20:19 UTC
bf30dc3 Mangle name of exception when --screw-ie8. Fix #430. The effect of not mangling it was visible only with --screw-ie8 (otherwise the names would be mangled exactly because they leaked into the parent scope). 14 February 2014, 11:58:14 UTC
ef2ef07 Add option `keep_fargs`. By default it's `false`. Pass `true` if you need to keep unused function arguments. Close #188. 08 February 2014, 10:33:56 UTC
1a44400 Merge pull request #424 from mattbasta/simplify_conditionals Simplify nested conditionals if possible 07 February 2014, 09:31:11 UTC
ac0086a Simplify nested conditionals if possible 06 February 2014, 20:39:13 UTC
2494daa Merge pull request #422 from mourner/patch-1 Fix readme typo (when -> with) 06 February 2014, 16:13:10 UTC
9b404f9 fix readme typo (when -> with) 06 February 2014, 16:11:33 UTC
5344b7d Fix if_return dropping the alternative. Close #413 31 January 2014, 08:44:13 UTC
0007a53 Update source-map 26 January 2014, 08:18:20 UTC
1dd05f4 Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into arty-name-sourcesContent 26 January 2014, 08:15:24 UTC
bf7b122 v2.4.12 26 January 2014, 08:11:00 UTC
e29048b Merge branch 'master' of github.com:mishoo/UglifyJS2 26 January 2014, 08:07:10 UTC
2eeb640 Merge pull request #408 from danielstutzman/escape-null-in-regex Don't unescape \x00 in regexes (it breaks IE8) 26 January 2014, 08:06:19 UTC
ceb200f Move unescaping regexps under a codegen option (`unescape_regexps`) 26 January 2014, 08:05:55 UTC
f5f8239 Don't unescape \x00 in regexes (it breaks IE8) 25 January 2014, 18:55:39 UTC
6f9d051 v2.4.11 21 January 2014, 09:44:28 UTC
931862e More chars that cannot be unescaped in regexps. 21 January 2014, 09:44:00 UTC
1d0127d Fix end token for conditionals. Close #404 21 January 2014, 08:38:59 UTC
2d8fc61 Merge pull request #402 from lautis/bom-regexps Don't unescape byte order marks in regexps 19 January 2014, 14:14:12 UTC
1e31011 Don't unescape byte order marks in regexps 19 January 2014, 10:27:03 UTC
75cdbf1 v2.4.10 18 January 2014, 10:32:45 UTC
4339bd5 Don't unescape \x2f (slash) in regexps. #54 18 January 2014, 10:31:50 UTC
1ab2fda Fix example 17 January 2014, 13:48:47 UTC
eda540f v2.4.9 15 January 2014, 20:31:09 UTC
90a330d simplify 10 January 2014, 08:36:15 UTC
cad1f9c Unescape Unicode sequences in regexps when ascii_only is false. #54 10 January 2014, 08:33:58 UTC
f6203bd added hasOwnProperty check to avoid warnings 09 January 2014, 14:20:05 UTC
03cf94e Added support for sourcesContent property of source map 09 January 2014, 14:12:00 UTC
c3087dd Better process_for_angular before other statement reductions. #395 08 January 2014, 09:39:24 UTC
2c305af Support @ngInject with `angular` compressor option. Close #395. 08 January 2014, 09:28:32 UTC
72e6f64 Disable node 0.6 since the build fails consistently and it's not our fault. 07 January 2014, 16:56:18 UTC
b9fac68 Support SpiderMonkey AST in UglifyJS.minify. Fix #393. 07 January 2014, 16:42:48 UTC
2c88eb6 doh. 07 January 2014, 10:54:14 UTC
a67e3bf Fix #392 07 January 2014, 10:48:54 UTC
27142df minor: exp["10"] => exp[10] 07 January 2014, 10:48:21 UTC
5e4c7f4 Fix parens for property access -- (foo, bar)["baz"] 05 January 2014, 09:48:01 UTC
b521b4b Conditional/call optimization foo ? bar(x) : bar(y) ==> bar(foo ? x : y) 29 December 2013, 08:31:30 UTC
aa9de76 Mark `yield` as reserved word. Close #375. 22 December 2013, 18:52:19 UTC
5a083a9 Optimize seq,void 0. Close #377. (x, void 0) => void x (x, undefined) => void x 22 December 2013, 09:36:45 UTC
7a30d82 Better fix for comments in AST_Exit Close #374 18 December 2013, 13:54:12 UTC
be55a09 Take out all comments from an AST_Exit's value Fix #372 18 December 2013, 11:30:26 UTC
15a148f v2.4.8 18 December 2013, 10:10:43 UTC
428e19f Add option to adjust the src/target line in the source map 18 December 2013, 10:10:02 UTC
f65e55d minor 16 December 2013, 18:37:09 UTC
b634018 Merge pull request #371 from colorhook/master bugfix #242 16 December 2013, 08:21:07 UTC
fa3300f bugfix #242 16 December 2013, 07:53:43 UTC
bd0886a semicolons 10 December 2013, 18:24:27 UTC
248f304 Merge pull request #245 from ForbesLindesay/patch-1 Make `DefaultsError` a real `Error` object 10 December 2013, 18:23:29 UTC
dc5f70e Add `drop_console` option to the compressor 10 December 2013, 17:44:41 UTC
df8c562 minor 10 December 2013, 17:39:03 UTC
a790c09 v2.4.7 09 December 2013, 10:09:31 UTC
back to top