Commit Graph

  • 39d8880f2c Fix max_line_len not working for JSON files micschro 2014-12-17 16:31:03 +01:00
  • 5538ec7bd8 v2.4.16 v2.4.16 Mihai Bazon 2014-12-09 15:21:44 +02:00
  • f101d6429b Merge pull request #546 from jacobk/patch-1 Mihai Bazon 2014-12-04 14:07:08 +02:00
  • fe06fc85d3 fix base54 Cheng Liangyu 2014-12-01 13:16:44 +08:00
  • f36a1eaa8b Add option to allow return outside of functions. Mihai Bazon 2014-10-20 18:12:13 +03:00
  • a64bdda9ae Document keep_fargs. Close #557 Mihai Bazon 2014-09-28 12:36:36 +03:00
  • 01d19b4b52 Referencing a global is assumed to have side effects. Mihai Bazon 2014-09-28 11:16:51 +03:00
  • f0c1a01bc2 Merge pull request #549 from Arnavion/unreferenced-catch-symbol Mihai Bazon 2014-09-13 09:29:34 +03:00
  • 7be680d3f8 Don't warn for an unreferenced exception symbol in a catch block. Arnavion 2014-09-12 21:01:19 -07:00
  • 57dab1e1db Merge pull request #541 from TalAter/conditional-improvements Mihai Bazon 2014-09-09 18:45:12 +03:00
  • 21b3c890a1 Use uglify source map token names if missing Jacob Kristhammar 2014-09-09 13:02:50 +02:00
  • fb0ec720a4 Compress conditions that have side effects using sequences Tal Ater 2014-09-04 02:57:49 +03:00
  • 7971ed33d1 Added a test for else if Tal Ater 2014-09-03 01:35:30 +03:00
  • 885835a655 Compress conditional assignments where all possible outcomes are equivalant and condition has no side effects Tal Ater 2014-09-02 23:30:25 +03:00
  • 4c64554808 Turn foo.new into foo["new"] when not --screw-ie8. Fix #534 Mihai Bazon 2014-08-26 10:11:01 +03:00
  • 548beeb6b1 Prevent error for Function(""). Close #538 Mihai Bazon 2014-08-20 09:16:34 +03:00
  • e3066f9577 Merge pull request #529 from RReverser/master Mihai Bazon 2014-08-04 23:05:29 +03:00
  • e391367488 Added example for usage with SpiderMonkey AST. Ingvar Stepanyan 2014-08-04 20:48:14 +03:00
  • 18ddf2f7b5 Merge branch 'master' of https://github.com/RReverser/UglifyJS2 Mihai Bazon 2014-08-04 09:01:19 +03:00
  • f8ee5a0785 Install newest NPM on oldest Node.js. Ingvar Stepanyan 2014-08-03 21:44:59 +03:00
  • b467a3c877 Added generative testing for AST conversions. Ingvar Stepanyan 2014-08-03 20:48:59 +03:00
  • f2d48e9019 Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2 Mihai Bazon 2014-08-03 11:08:39 +03:00
  • 5e314bf3e9 SpiderMonkey Identifier nodes should contain mangled names. Ingvar Stepanyan 2014-08-03 01:28:58 +03:00
  • 05ba26c7c8 Small fixes for AST conversion. Ingvar Stepanyan 2014-08-02 13:18:27 +03:00
  • 87b72364a4 Fixes and improvements for UglifyJS->SM AST conversion. Ingvar Stepanyan 2014-08-01 23:31:28 +03:00
  • 0e3ff1f970 Improved UglifyJS<->SpiderMonkey AST conversions. Ingvar Stepanyan 2014-08-01 15:13:31 +03:00
  • ec3e74d7f4 Added license gdw2 2014-07-28 13:49:44 -07:00
  • 62bda71c85 Fix parens for AST_Undefined Mihai Bazon 2014-07-18 11:31:41 +03:00
  • 83e0939088 v2.4.15 v2.4.15 Mihai Bazon 2014-07-09 18:01:40 +03:00
  • 9798d96e37 Lock source-map to 0.1.34 Mihai Bazon 2014-07-09 18:01:23 +03:00
  • 6006dd933d added newline at the end of the file Artemy Tregubenko 2014-07-08 11:16:35 +02:00
  • ac2caf1088 Check for the case an AST_For's init is an EmptyStatement Mihai Bazon 2014-07-01 23:10:44 +03:00
  • 8511e80f48 Evaluate "foo".length ==> 3 Dan Wolff 2014-07-01 00:51:42 +02:00
  • 91bc3f1f92 Merge pull request #499 from shinnn/master Mihai Bazon 2014-06-26 09:30:25 +03:00
  • 8463b48f90 Do not run a test for Node v0.4 Shinnosuke Watanabe 2014-06-26 13:17:59 +09:00
  • e3342a3cf6 v2.4.14 v2.4.14 Mihai Bazon 2014-06-12 17:24:33 +03:00
  • 524a8a42a4 added @ngInject support for inline functions Artemy Tregubenko 2014-05-09 18:09:38 +02:00
  • 7bf59b5bcd Actually, even better. #475 Mihai Bazon 2014-04-27 21:42:14 +03:00
  • 025f3e9596 Better fix for #475 Mihai Bazon 2014-04-27 20:54:54 +03:00
  • 8258edd8a5 Fix parens in +(+x). Close #475 Mihai Bazon 2014-04-27 20:51:01 +03:00
  • 8669ca219b Merge branch 'master' of github.com:mishoo/UglifyJS2 Mihai Bazon 2014-04-24 10:56:57 +03:00
  • 71652690b6 Merge pull request #445 from ConradIrwin/try-statement Mihai Bazon 2014-04-24 10:46:53 +03:00
  • 37693d2812 Update tests. Mihai Bazon 2014-04-18 11:19:52 +03:00
  • 8fbe200012 Always quote property names that contain non-ASCII characters. Mihai Bazon 2014-04-18 10:47:38 +03:00
  • 1a34a13e33 Merge pull request #470 from ebednarz/master Mihai Bazon 2014-04-13 12:54:12 +03:00
  • ef772b0049 add sourceMappingUrl to output in node module OiNutter 2014-04-11 16:09:56 +01:00
  • 6fcabbde08 Fix sourceMapIncludeSources exception in Node API ebednarz 2014-04-13 11:16:10 +02:00
  • 14f290f8ab Merge pull request #454 from Arnavion/allow-colons-in-wrap_enclose Mihai Bazon 2014-03-24 15:10:35 +02:00
  • e2e09d5754 Allow colons in the pairs passed to AST_Toplevel.wrap_enclose Arnavion 2014-03-22 18:02:21 -07:00
  • 448a8d3845 v2.4.13 v2.4.13 Mihai Bazon 2014-03-11 15:22:37 +02:00
  • 514936beb8 Handle TryStatements trees from acorn >=0.2.0 Conrad Irwin 2014-03-06 17:07:49 -08:00
  • f5c09d0bbf Merge pull request #439 from Arnavion/null-source-in-sourcemap Mihai Bazon 2014-03-03 09:19:39 +02:00
  • 014f655c5f Handle the case when SourceMapConsumer.originalPositionFor returns null source. Arnavion 2014-03-02 19:20:19 -08:00
  • bf30dc3038 Mangle name of exception when --screw-ie8. Fix #430. Mihai Bazon 2014-02-14 13:58:14 +02:00
  • ef2ef07cbd Add option keep_fargs. Mihai Bazon 2014-02-08 12:33:56 +02:00
  • 1a4440080d Merge pull request #424 from mattbasta/simplify_conditionals Mihai Bazon 2014-02-07 11:31:11 +02:00
  • ac0086a745 Simplify nested conditionals if possible Matt Basta 2014-02-06 12:39:13 -08:00
  • 2494daaf68 Merge pull request #422 from mourner/patch-1 Mihai Bazon 2014-02-06 18:13:10 +02:00
  • 9b404f9de6 fix readme typo (when -> with) Vladimir Agafonkin 2014-02-06 18:11:33 +02:00
  • 5344b7dab8 Fix if_return dropping the alternative. Close #413 Mihai Bazon 2014-01-31 10:44:13 +02:00
  • 0007a53b9c Update source-map Mihai Bazon 2014-01-26 10:18:20 +02:00
  • 1dd05f44eb Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into arty-name-sourcesContent Mihai Bazon 2014-01-26 10:15:24 +02:00
  • bf7b122ab2 v2.4.12 v2.4.12 Mihai Bazon 2014-01-26 10:11:00 +02:00
  • e29048b54a Merge branch 'master' of github.com:mishoo/UglifyJS2 Mihai Bazon 2014-01-26 10:07:10 +02:00
  • 2eeb640eca Merge pull request #408 from danielstutzman/escape-null-in-regex Mihai Bazon 2014-01-26 00:06:19 -08:00
  • ceb200fe81 Move unescaping regexps under a codegen option (unescape_regexps) Mihai Bazon 2014-01-26 10:05:55 +02:00
  • f5f8239057 Don't unescape \x00 in regexes (it breaks IE8) Daniel Stutzman 2014-01-25 11:55:39 -07:00
  • 6f9d051784 v2.4.11 v2.4.11 Mihai Bazon 2014-01-21 11:44:28 +02:00
  • 931862e97f More chars that cannot be unescaped in regexps. Mihai Bazon 2014-01-21 11:44:00 +02:00
  • 1d0127de21 Fix end token for conditionals. Close #404 Mihai Bazon 2014-01-21 10:38:59 +02:00
  • 2d8fc61677 Merge pull request #402 from lautis/bom-regexps Mihai Bazon 2014-01-19 06:14:12 -08:00
  • 1e31011874 Don't unescape byte order marks in regexps Ville Lautanala 2014-01-19 12:27:03 +02:00
  • 75cdbf19aa v2.4.10 v2.4.10 Mihai Bazon 2014-01-18 12:32:45 +02:00
  • 4339bd5cfa Don't unescape \x2f (slash) in regexps. #54 Mihai Bazon 2014-01-18 12:31:50 +02:00
  • 1ab2fdaa10 Fix example Mihai Bazon 2014-01-17 15:48:47 +02:00
  • eda540f6ec v2.4.9 v2.4.9 Mihai Bazon 2014-01-15 22:31:09 +02:00
  • 90a330da16 simplify Mihai Bazon 2014-01-10 10:36:15 +02:00
  • cad1f9cbd1 Unescape Unicode sequences in regexps when ascii_only is false. #54 Mihai Bazon 2014-01-10 10:33:58 +02:00
  • f6203bd5a8 added hasOwnProperty check to avoid warnings Artemy Tregubenko 2014-01-09 15:20:05 +01:00
  • 03cf94ebe8 Added support for sourcesContent property of source map Artemy Tregubenko 2014-01-09 15:12:00 +01:00
  • c3087dd179 Better process_for_angular before other statement reductions. #395 Mihai Bazon 2014-01-08 11:39:24 +02:00
  • 2c305af478 Support @ngInject with angular compressor option. Close #395. Mihai Bazon 2014-01-08 11:28:32 +02:00
  • 72e6f64ca8 Disable node 0.6 since the build fails consistently and it's not our fault. Mihai Bazon 2014-01-07 18:56:18 +02:00
  • b9fac687ff Support SpiderMonkey AST in UglifyJS.minify. Fix #393. Mihai Bazon 2014-01-07 18:42:48 +02:00
  • 2c88eb6fbe doh. Mihai Bazon 2014-01-07 12:54:14 +02:00
  • a67e3bfdd3 Fix #392 Mihai Bazon 2014-01-07 12:48:54 +02:00
  • 27142df4f5 minor: exp["10"] => exp[10] Mihai Bazon 2014-01-07 12:48:21 +02:00
  • 5e4c7f4245 Fix parens for property access -- (foo, bar)["baz"] Mihai Bazon 2014-01-05 11:48:01 +02:00
  • b521b4b926 Conditional/call optimization Mihai Bazon 2013-12-29 10:31:30 +02:00
  • aa9de76370 Mark yield as reserved word. Close #375. Mihai Bazon 2013-12-22 20:52:19 +02:00
  • 5a083a938d Optimize seq,void 0. Close #377. Mihai Bazon 2013-12-22 11:36:45 +02:00
  • 7a30d826b8 Better fix for comments in AST_Exit Mihai Bazon 2013-12-18 15:54:12 +02:00
  • be55a09edf Take out all comments from an AST_Exit's value Mihai Bazon 2013-12-18 13:30:26 +02:00
  • 15a148ff6d v2.4.8 v2.4.8 Mihai Bazon 2013-12-18 12:10:43 +02:00
  • 428e19fed2 Add option to adjust the src/target line in the source map Mihai Bazon 2013-12-18 12:10:02 +02:00
  • f65e55dff4 minor Mihai Bazon 2013-12-16 20:37:09 +02:00
  • b634018618 Merge pull request #371 from colorhook/master Mihai Bazon 2013-12-16 00:21:07 -08:00
  • fa3300f314 bugfix #242 colorhook 2013-12-16 15:53:43 +08:00
  • bd0886a2c0 semicolons Mihai Bazon 2013-12-10 20:24:27 +02:00
  • 248f304f02 Merge pull request #245 from ForbesLindesay/patch-1 Mihai Bazon 2013-12-10 10:23:29 -08:00