39d8880 | micschro | 17 December 2014, 15:31:03 UTC | 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 | Mihai Bazon | 09 December 2014, 13:21:44 UTC | v2.4.16 | 09 December 2014, 13:21:44 UTC |
f101d64 | Mihai Bazon | 04 December 2014, 12:07:08 UTC | Merge pull request #546 from jacobk/patch-1 Use uglify source map token names if missing | 04 December 2014, 12:07:08 UTC |
f36a1ea | Mihai Bazon | 20 October 2014, 15:12:13 UTC | Add option to allow return outside of functions. Close #288 | 20 October 2014, 15:12:13 UTC |
a64bdda | Mihai Bazon | 28 September 2014, 09:36:36 UTC | Document `keep_fargs`. Close #557 | 28 September 2014, 09:36:36 UTC |
01d19b4 | Mihai Bazon | 28 September 2014, 08:16:51 UTC | Referencing a global is assumed to have side effects. Close #550 | 28 September 2014, 08:18:25 UTC |
f0c1a01 | Mihai Bazon | 13 September 2014, 06:29:34 UTC | 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 | Arnavion | 13 September 2014, 04:01:19 UTC | Don't warn for an unreferenced exception symbol in a catch block. | 13 September 2014, 04:01:19 UTC |
57dab1e | Mihai Bazon | 09 September 2014, 15:45:12 UTC | 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 | Jacob Kristhammar | 09 September 2014, 11:02:50 UTC | Use uglify source map token names if missing | 09 September 2014, 11:02:50 UTC |
fb0ec72 | Tal Ater | 03 September 2014, 23:57:49 UTC | Compress conditions that have side effects using sequences | 03 September 2014, 23:57:49 UTC |
7971ed3 | Tal Ater | 02 September 2014, 22:35:30 UTC | Added a test for else if | 02 September 2014, 22:35:30 UTC |
885835a | Tal Ater | 02 September 2014, 20:30:25 UTC | Compress conditional assignments where all possible outcomes are equivalant and condition has no side effects | 02 September 2014, 20:30:25 UTC |
4c64554 | Mihai Bazon | 26 August 2014, 07:11:01 UTC | Turn foo.new into foo["new"] when not --screw-ie8. Fix #534 | 26 August 2014, 07:11:01 UTC |
548beeb | Mihai Bazon | 20 August 2014, 06:16:34 UTC | Prevent error for Function(""). Close #538 | 20 August 2014, 06:16:34 UTC |
e3066f9 | Mihai Bazon | 04 August 2014, 20:05:29 UTC | Merge pull request #529 from RReverser/master Added example for usage with SpiderMonkey AST | 04 August 2014, 20:05:29 UTC |
e391367 | Ingvar Stepanyan | 04 August 2014, 17:48:14 UTC | Added example for usage with SpiderMonkey AST. | 04 August 2014, 17:48:14 UTC |
18ddf2f | Mihai Bazon | 04 August 2014, 06:01:19 UTC | Merge branch 'master' of https://github.com/RReverser/UglifyJS2 | 04 August 2014, 06:01:19 UTC |
f8ee5a0 | Ingvar Stepanyan | 03 August 2014, 18:44:59 UTC | Install newest NPM on oldest Node.js. | 03 August 2014, 18:44:59 UTC |
b467a3c | Ingvar Stepanyan | 03 August 2014, 17:48:59 UTC | Added generative testing for AST conversions. | 03 August 2014, 17:48:59 UTC |
f2d48e9 | Mihai Bazon | 03 August 2014, 08:08:39 UTC | Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2 | 03 August 2014, 08:08:39 UTC |
5e314bf | Ingvar Stepanyan | 02 August 2014, 22:28:58 UTC | SpiderMonkey `Identifier` nodes should contain mangled names. | 02 August 2014, 22:28:58 UTC |
05ba26c | Ingvar Stepanyan | 02 August 2014, 10:18:27 UTC | Small fixes for AST conversion. | 02 August 2014, 10:18:27 UTC |
87b7236 | Ingvar Stepanyan | 01 August 2014, 20:31:28 UTC | 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 | Ingvar Stepanyan | 01 August 2014, 12:13:31 UTC | 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 | gdw2 | 28 July 2014, 20:49:44 UTC | Added license | 28 July 2014, 20:49:44 UTC |
62bda71 | Mihai Bazon | 18 July 2014, 08:31:41 UTC | 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 | Mihai Bazon | 09 July 2014, 15:01:40 UTC | v2.4.15 | 09 July 2014, 15:01:40 UTC |
9798d96 | Mihai Bazon | 09 July 2014, 15:01:23 UTC | Lock source-map to 0.1.34 | 09 July 2014, 15:01:23 UTC |
ac2caf1 | Mihai Bazon | 01 July 2014, 20:10:44 UTC | Check for the case an AST_For's init is an EmptyStatement (lame fix for #503) | 01 July 2014, 20:10:44 UTC |
8511e80 | Dan Wolff | 30 June 2014, 22:51:42 UTC | Evaluate "foo".length ==> 3 | 01 July 2014, 08:06:51 UTC |
91bc3f1 | Mihai Bazon | 26 June 2014, 06:30:25 UTC | 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 | Shinnosuke Watanabe | 26 June 2014, 04:17:59 UTC | 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 | Mihai Bazon | 12 June 2014, 14:24:33 UTC | v2.4.14 | 12 June 2014, 14:24:33 UTC |
7bf59b5 | Mihai Bazon | 27 April 2014, 18:42:14 UTC | 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 | Mihai Bazon | 27 April 2014, 17:54:54 UTC | Better fix for #475 | 27 April 2014, 17:54:54 UTC |
8258edd | Mihai Bazon | 27 April 2014, 17:51:01 UTC | Fix parens in +(+x). Close #475 | 27 April 2014, 17:51:01 UTC |
8669ca2 | Mihai Bazon | 24 April 2014, 07:56:57 UTC | Merge branch 'master' of github.com:mishoo/UglifyJS2 | 24 April 2014, 07:56:57 UTC |
7165269 | Mihai Bazon | 24 April 2014, 07:46:53 UTC | Merge pull request #445 from ConradIrwin/try-statement Handle TryStatements trees from acorn >=0.2.0 | 24 April 2014, 07:46:53 UTC |
37693d2 | Mihai Bazon | 18 April 2014, 08:19:52 UTC | Update tests. | 18 April 2014, 08:19:52 UTC |
8fbe200 | Mihai Bazon | 18 April 2014, 07:47:38 UTC | Always quote property names that contain non-ASCII characters. Fix #328 | 18 April 2014, 07:48:44 UTC |
1a34a13 | Mihai Bazon | 13 April 2014, 09:54:12 UTC | Merge pull request #470 from ebednarz/master Fix sourceMapIncludeSources exception in Node API | 13 April 2014, 09:54:12 UTC |
ef772b0 | OiNutter | 11 April 2014, 15:09:56 UTC | 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 | ebednarz | 13 April 2014, 09:16:10 UTC | Fix sourceMapIncludeSources exception in Node API https://github.com/mishoo/UglifyJS2/issues/459 | 13 April 2014, 09:16:10 UTC |
14f290f | Mihai Bazon | 24 March 2014, 13:10:35 UTC | 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 | Arnavion | 23 March 2014, 01:02:21 UTC | Allow colons in the pairs passed to AST_Toplevel.wrap_enclose | 23 March 2014, 01:02:21 UTC |
448a8d3 | Mihai Bazon | 11 March 2014, 13:22:37 UTC | v2.4.13 | 11 March 2014, 13:22:37 UTC |
514936b | Conrad Irwin | 07 March 2014, 01:07:49 UTC | Handle TryStatements trees from acorn >=0.2.0 | 07 March 2014, 01:07:49 UTC |
f5c09d0 | Mihai Bazon | 03 March 2014, 07:19:39 UTC | 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 | Arnavion | 03 March 2014, 03:20:19 UTC | 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 | Mihai Bazon | 14 February 2014, 11:58:14 UTC | 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 | Mihai Bazon | 08 February 2014, 10:33:56 UTC | 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 | Mihai Bazon | 07 February 2014, 09:31:11 UTC | Merge pull request #424 from mattbasta/simplify_conditionals Simplify nested conditionals if possible | 07 February 2014, 09:31:11 UTC |
ac0086a | Matt Basta | 06 February 2014, 20:39:13 UTC | Simplify nested conditionals if possible | 06 February 2014, 20:39:13 UTC |
2494daa | Mihai Bazon | 06 February 2014, 16:13:10 UTC | Merge pull request #422 from mourner/patch-1 Fix readme typo (when -> with) | 06 February 2014, 16:13:10 UTC |
9b404f9 | Vladimir Agafonkin | 06 February 2014, 16:11:33 UTC | fix readme typo (when -> with) | 06 February 2014, 16:11:33 UTC |
5344b7d | Mihai Bazon | 31 January 2014, 08:44:13 UTC | Fix if_return dropping the alternative. Close #413 | 31 January 2014, 08:44:13 UTC |
0007a53 | Mihai Bazon | 26 January 2014, 08:18:20 UTC | Update source-map | 26 January 2014, 08:18:20 UTC |
1dd05f4 | Mihai Bazon | 26 January 2014, 08:15:24 UTC | Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into arty-name-sourcesContent | 26 January 2014, 08:15:24 UTC |
bf7b122 | Mihai Bazon | 26 January 2014, 08:11:00 UTC | v2.4.12 | 26 January 2014, 08:11:00 UTC |
e29048b | Mihai Bazon | 26 January 2014, 08:07:10 UTC | Merge branch 'master' of github.com:mishoo/UglifyJS2 | 26 January 2014, 08:07:10 UTC |
2eeb640 | Mihai Bazon | 26 January 2014, 08:06:19 UTC | 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 | Mihai Bazon | 26 January 2014, 08:05:55 UTC | Move unescaping regexps under a codegen option (`unescape_regexps`) | 26 January 2014, 08:05:55 UTC |
f5f8239 | Daniel Stutzman | 25 January 2014, 18:55:39 UTC | Don't unescape \x00 in regexes (it breaks IE8) | 25 January 2014, 18:55:39 UTC |
6f9d051 | Mihai Bazon | 21 January 2014, 09:44:28 UTC | v2.4.11 | 21 January 2014, 09:44:28 UTC |
931862e | Mihai Bazon | 21 January 2014, 09:44:00 UTC | More chars that cannot be unescaped in regexps. | 21 January 2014, 09:44:00 UTC |
1d0127d | Mihai Bazon | 21 January 2014, 08:38:59 UTC | Fix end token for conditionals. Close #404 | 21 January 2014, 08:38:59 UTC |
2d8fc61 | Mihai Bazon | 19 January 2014, 14:14:12 UTC | Merge pull request #402 from lautis/bom-regexps Don't unescape byte order marks in regexps | 19 January 2014, 14:14:12 UTC |
1e31011 | Ville Lautanala | 19 January 2014, 10:27:03 UTC | Don't unescape byte order marks in regexps | 19 January 2014, 10:27:03 UTC |
75cdbf1 | Mihai Bazon | 18 January 2014, 10:32:45 UTC | v2.4.10 | 18 January 2014, 10:32:45 UTC |
4339bd5 | Mihai Bazon | 18 January 2014, 10:31:50 UTC | Don't unescape \x2f (slash) in regexps. #54 | 18 January 2014, 10:31:50 UTC |
1ab2fda | Mihai Bazon | 17 January 2014, 13:48:47 UTC | Fix example | 17 January 2014, 13:48:47 UTC |
eda540f | Mihai Bazon | 15 January 2014, 20:31:09 UTC | v2.4.9 | 15 January 2014, 20:31:09 UTC |
90a330d | Mihai Bazon | 10 January 2014, 08:36:15 UTC | simplify | 10 January 2014, 08:36:15 UTC |
cad1f9c | Mihai Bazon | 10 January 2014, 08:33:58 UTC | Unescape Unicode sequences in regexps when ascii_only is false. #54 | 10 January 2014, 08:33:58 UTC |
f6203bd | Artemy Tregubenko | 09 January 2014, 14:20:05 UTC | added hasOwnProperty check to avoid warnings | 09 January 2014, 14:20:05 UTC |
03cf94e | Artemy Tregubenko | 09 January 2014, 14:12:00 UTC | Added support for sourcesContent property of source map | 09 January 2014, 14:12:00 UTC |
c3087dd | Mihai Bazon | 08 January 2014, 09:39:24 UTC | Better process_for_angular before other statement reductions. #395 | 08 January 2014, 09:39:24 UTC |
2c305af | Mihai Bazon | 08 January 2014, 09:28:32 UTC | Support @ngInject with `angular` compressor option. Close #395. | 08 January 2014, 09:28:32 UTC |
72e6f64 | Mihai Bazon | 07 January 2014, 16:56:18 UTC | Disable node 0.6 since the build fails consistently and it's not our fault. | 07 January 2014, 16:56:18 UTC |
b9fac68 | Mihai Bazon | 07 January 2014, 16:42:48 UTC | Support SpiderMonkey AST in UglifyJS.minify. Fix #393. | 07 January 2014, 16:42:48 UTC |
2c88eb6 | Mihai Bazon | 07 January 2014, 10:54:14 UTC | doh. | 07 January 2014, 10:54:14 UTC |
a67e3bf | Mihai Bazon | 07 January 2014, 10:48:54 UTC | Fix #392 | 07 January 2014, 10:48:54 UTC |
27142df | Mihai Bazon | 07 January 2014, 10:48:21 UTC | minor: exp["10"] => exp[10] | 07 January 2014, 10:48:21 UTC |
5e4c7f4 | Mihai Bazon | 05 January 2014, 09:48:01 UTC | Fix parens for property access -- (foo, bar)["baz"] | 05 January 2014, 09:48:01 UTC |
b521b4b | Mihai Bazon | 29 December 2013, 08:31:30 UTC | Conditional/call optimization foo ? bar(x) : bar(y) ==> bar(foo ? x : y) | 29 December 2013, 08:31:30 UTC |
aa9de76 | Mihai Bazon | 22 December 2013, 18:52:19 UTC | Mark `yield` as reserved word. Close #375. | 22 December 2013, 18:52:19 UTC |
5a083a9 | Mihai Bazon | 22 December 2013, 09:36:45 UTC | Optimize seq,void 0. Close #377. (x, void 0) => void x (x, undefined) => void x | 22 December 2013, 09:36:45 UTC |
7a30d82 | Mihai Bazon | 18 December 2013, 13:54:12 UTC | Better fix for comments in AST_Exit Close #374 | 18 December 2013, 13:54:12 UTC |
be55a09 | Mihai Bazon | 18 December 2013, 11:30:26 UTC | Take out all comments from an AST_Exit's value Fix #372 | 18 December 2013, 11:30:26 UTC |
15a148f | Mihai Bazon | 18 December 2013, 10:10:43 UTC | v2.4.8 | 18 December 2013, 10:10:43 UTC |
428e19f | Mihai Bazon | 18 December 2013, 10:10:02 UTC | Add option to adjust the src/target line in the source map | 18 December 2013, 10:10:02 UTC |
f65e55d | Mihai Bazon | 16 December 2013, 18:37:09 UTC | minor | 16 December 2013, 18:37:09 UTC |
b634018 | Mihai Bazon | 16 December 2013, 08:21:07 UTC | Merge pull request #371 from colorhook/master bugfix #242 | 16 December 2013, 08:21:07 UTC |
fa3300f | colorhook | 16 December 2013, 07:53:43 UTC | bugfix #242 | 16 December 2013, 07:53:43 UTC |
bd0886a | Mihai Bazon | 10 December 2013, 18:24:27 UTC | semicolons | 10 December 2013, 18:24:27 UTC |
248f304 | Mihai Bazon | 10 December 2013, 18:23:29 UTC | Merge pull request #245 from ForbesLindesay/patch-1 Make `DefaultsError` a real `Error` object | 10 December 2013, 18:23:29 UTC |
dc5f70e | Mihai Bazon | 10 December 2013, 17:44:41 UTC | Add `drop_console` option to the compressor | 10 December 2013, 17:44:41 UTC |
df8c562 | Mihai Bazon | 10 December 2013, 17:39:03 UTC | minor | 10 December 2013, 17:39:03 UTC |
a790c09 | Mihai Bazon | 09 December 2013, 10:09:31 UTC | v2.4.7 | 09 December 2013, 10:09:31 UTC |