Commit Graph

  • 962b1f3d40 Merge branch 'master' into harmony Richard van Velzen 2016-11-30 18:59:32 +01:00
  • 5c7705fcad remove npm-shrinkwrap.json to work around npm@4.0.2 bug (#1384) kzc 2016-11-30 01:18:52 -05:00
  • 3ee46e91e8 Merge branch 'master' into harmony harmony-v2.7.5 Richard van Velzen 2016-11-29 22:32:49 +01:00
  • f6372483a0 v2.7.5 v2.7.5 Richard van Velzen 2016-11-29 22:29:59 +01:00
  • ee26e7f11b Merge branch 'master' into harmony Richard van Velzen 2016-11-29 20:50:27 +01:00
  • 937f534392 Fix flag name in readme Anthony Van de Gejuchte 2016-11-08 13:08:55 +01:00
  • 98f330658f Generate source map data from normalized files Martijn Swaagman 2016-11-04 19:49:59 +01:00
  • 1b2c02c944 Fix nlb property for template strings tokens starting with nlb Anthony Van de Gejuchte 2016-10-28 23:47:03 +02:00
  • 0aa526e72c Do not allow arrow functions in the middle of an expression Anthony Van de Gejuchte 2016-10-28 20:42:28 +02:00
  • a7b3b0d3a5 docs: add doc for option.outFileName 1111hui 2016-10-29 15:55:47 +08:00
  • 0a35acbbe7 feat: add option.outFileName for JS API, if absense, sourceMap.file field will deduced 1111hui 2016-10-29 15:21:28 +08:00
  • 2a9989dd18 Add --mangle-props-debug and fix --mangle-props=unquoted collision Ashley (Scirra) 2016-10-27 11:23:04 -04:00
  • 79b98a9fe8 Do not overwrite options.comments + cleanup Anthony Van de Gejuchte 2016-10-26 17:34:30 +02:00
  • c2112d5886 Fix case where a lonely var is used as computed property Anthony Van de Gejuchte 2016-10-24 23:35:14 +02:00
  • 057de570e6 Pass mangle options to figure_out_scope before mangling in tests Anthony Van de Gejuchte 2016-10-26 12:34:38 +02:00
  • 5f6825f9ec Introduce is_block_scope to AST_Node to determine block scope. Anthony Van de Gejuchte 2016-10-19 15:34:26 +02:00
  • 7e80a979a7 Remove AST_ObjectComputedKeyVal Anthony Van de Gejuchte 2016-10-18 16:18:34 +02:00
  • b7bb706150 Merge branch 'master' into harmony Richard van Velzen 2016-10-23 22:03:20 +02:00
  • 557b3e412f v2.7.4 v2.7.4 Richard van Velzen 2016-10-23 21:46:22 +02:00
  • 8d74f34373 Don't filter shebangs when using the 'some' comment filter Anthony Van de Gejuchte 2016-10-16 20:57:28 +02:00
  • 266ddd9639 fix uses_arguments handling (broken since 6605d15783) Jann Horn 2016-10-14 18:04:39 +02:00
  • e51c6ba380 Add an option for writing inline source map pengzhenqing 2016-10-09 14:15:25 +08:00
  • 32c2cc33bb Improve binding patterns for arrow functions Anthony Van de Gejuchte 2016-09-07 01:00:07 +02:00
  • 947b8750e8 Make classes implicitly strict mode Anthony Van de Gejuchte 2016-09-11 15:06:10 +02:00
  • 6389e52305 Remove console.log and add extra test case Richard van Velzen 2016-10-06 14:11:19 +02:00
  • e05510f3bc Add an option to wrap IIFEs in parenthesis Richard van Velzen 2016-09-30 12:27:45 +02:00
  • fc9804b909 Fix (typeof side_effect()) in boolean context kzc 2016-10-02 10:46:09 -04:00
  • 4761d07e0b Optimize unmodified variables alexlamsl 2016-09-20 22:23:27 +08:00
  • 88f6ff38d1 [ES6] fix template string escaping of \${...} kzc 2016-09-21 08:39:29 -04:00
  • 4198095a9c [ES6] fix parsing spread arguments that are expressions kzc 2016-09-29 13:25:17 -04:00
  • 0111497fc9 Make all comment options in cli available in js api Anthony Van de Gejuchte 2016-09-03 23:26:31 +02:00
  • 13ed445607 Improve support for binding pattern Anthony Van de Gejuchte 2016-08-20 22:32:29 +02:00
  • 1db50c3b16 Don't parenthesize arrow functions in parameter lists Richard van Velzen 2016-09-01 09:35:31 +02:00
  • 7d8dea3b26 Merge pull request #1277 from kzc/fix-string-plus-opt Mihai Bazon 2016-09-01 16:32:22 +03:00
  • 25fc02743a Account for side effects in string + expr optimization kzc 2016-09-01 09:24:56 -04:00
  • 7f6b5d662b Merge branch 'master' into harmony Richard van Velzen 2016-08-30 15:16:23 +02:00
  • 0bd8053524 implement optimization: (x = 2 * x) ---> (x *= 2) kzc 2016-08-26 18:47:25 -04:00
  • 1c15d0db45 Fix quoting of properties Anthony Van de Gejuchte 2016-07-29 03:18:21 +02:00
  • 67461666dc Merge branch 'master' into harmony Richard van Velzen 2016-08-17 21:30:35 +02:00
  • 1a78bbcd23 v2.7.3 v2.7.3 Richard van Velzen 2016-08-17 20:34:27 +02:00
  • 45d81f881b Merge branch 'master' into harmony Richard van Velzen 2016-08-17 20:21:38 +02:00
  • 8430123e9d Fix negate_iife transform to return a correct tree for nested IIFEs Richard van Velzen 2016-08-17 11:43:50 +02:00
  • 614db97cca v2.7.2 v2.7.2 Richard van Velzen 2016-08-17 08:51:23 +02:00
  • 8c7d23dfb1 Merge branch 'master' into harmony Richard van Velzen 2016-08-17 08:50:31 +02:00
  • d854523783 Fix negate_iife regression #1254 kzc 2016-08-16 21:54:54 -04:00
  • 7fa0dbdeb9 Ignore default reserved properties in compress test Richard van Velzen 2016-08-15 09:54:15 +02:00
  • c644c1292d Merge branch 'master' into harmony Richard van Velzen 2016-08-15 09:09:04 +02:00
  • 781f26eda1 v2.7.1 v2.7.1 Richard van Velzen 2016-08-14 22:02:01 +02:00
  • 37f4395cc0 Add missing { in README Timothy Gu 2016-08-11 18:21:21 -07:00
  • de619ae5a6 Fix --mangle-props and --mangle-props=unquoted kzc 2016-07-31 02:35:14 -04:00
  • 86859f6d7e Additional object literal property tests kzc 2016-07-30 13:21:23 -04:00
  • dcdcfe4d39 Add input file glob support to minify() kzc 2016-07-29 21:27:30 -04:00
  • 72306b9885 Add simple file globbing to bin/uglifyjs for Windows kzc 2016-07-29 16:18:56 -04:00
  • d224d71b8d [ES6] Fix handling of semicolons in export parse. kzc 2016-07-26 09:50:35 -04:00
  • 38756b1f26 Moved test input files to test/input. Lucas Wiener 2016-07-28 09:30:12 +02:00
  • 85a09fc3b6 Added test for #1236 Lucas Wiener 2016-07-27 16:02:33 +02:00
  • 307b88d6cc Fixed sourceMapIncludeSources and inSourceMap = string combination of the UglifyJS.minify function. Lucas Wiener 2016-07-26 09:54:02 +02:00
  • fb049d3a81 Fix unneeded parens around unary args in new expression. kzc 2016-07-23 11:50:44 -04:00
  • 27d3669800 Don't allow escaped surrogated identifiers + introduce ascii_identifiers Anthony Van de Gejuchte 2016-07-22 17:33:24 +02:00
  • 67cca43358 Test reparsing test/compress/*.js output kzc 2016-07-22 10:44:29 -04:00
  • 110a1ac885 Make distinction between * method and * operator Anthony Van de Gejuchte 2016-07-22 11:46:30 +02:00
  • 3f8fc3a316 Fix computed getters + cleanup AST Anthony Van de Gejuchte 2016-07-21 18:02:32 +02:00
  • 88384cf351 Add more globals, whereof most defined after es5.1 Anthony Van de Gejuchte 2016-07-16 18:56:53 +02:00
  • 72a9d799b6 Various property fixes Anthony Van de Gejuchte 2016-07-06 00:40:28 +02:00
  • 642273c290 Legacy octal integer strict mode fixes Anthony Van de Gejuchte 2016-07-21 03:19:24 +02:00
  • 766fafda8b Don't remove empty generators passed as parameter Anthony Van de Gejuchte 2016-07-19 18:03:08 +02:00
  • e8b23c7798 Build with AppVeyor on windows Richard van Velzen 2016-07-17 18:17:33 +02:00
  • 842ac27efb [ES6] Get compress and global_defs working for AST_Class kzc 2016-07-17 12:59:38 -04:00
  • 9edbe93df5 Fix the document of keep_fnames option homuler 2016-07-16 22:03:36 +09:00
  • af37ecafe1 Source map URL override from programmatic API Yotam Spenser 2016-07-06 13:02:07 +03:00
  • 41a9329409 lib/sourcemap.js: Copy sourceContent from old souce-map to the new source-map. Should fix #882 Lauri Pokka 2016-07-05 02:06:14 +09:00
  • 0af42d1831 Template fixes Anthony Van de Gejuchte 2016-06-22 19:24:03 +02:00
  • 7eb52d2837 Keep const in own scope while compressing Anthony Van de Gejuchte 2016-07-14 18:43:50 +02:00
  • eb63fece2f Fix mangle with option keep_fnames=true for Safari. kzc 2016-07-13 11:44:28 -04:00
  • 2d8af8947e Fix error style for regex errors Anthony Van de Gejuchte 2016-07-04 02:51:20 +02:00
  • ff7f6139ba Improve multi-line comment parsing Anthony Van de Gejuchte 2016-07-04 14:30:27 +02:00
  • 2650182f47 Backport mocha with test from harmony Anthony Van de Gejuchte 2016-07-04 00:51:09 +02:00
  • 572b97b0bb v2.7.0 v2.7.0 Richard van Velzen 2016-07-03 21:46:14 +02:00
  • 0db7caf13b Merge branch 'master' into harmony Richard van Velzen 2016-07-03 21:39:00 +02:00
  • d9bc6f303c Fix output arrow function with 1 param with default value Anthony Van de Gejuchte 2016-07-03 20:17:03 +02:00
  • 6fd9b338dd Merge branch 'master' into harmony Anthony Van de Gejuchte 2016-07-02 01:50:18 +02:00
  • 698705a820 Don't convert all strings to directives from moz-ast Anthony Van de Gejuchte 2016-06-15 12:18:18 +02:00
  • d8d4e71b9e Fix uses_with/uses_eval/directives state in block scope Anthony Van de Gejuchte 2016-07-01 15:36:38 +02:00
  • debc525fa1 Introduce a test that tests the --self build Richard van Velzen 2016-06-20 16:57:40 +02:00
  • 5576e2737a Document that the smallest sequences optimization length is 2 kzc 2016-06-30 16:54:52 -04:00
  • b40d5de69c Change the default sequences limit to 200 to speed up compress. kzc 2016-06-30 14:56:12 -04:00
  • b7ef7840f3 Allow sequences maximum length to be user configurable. kzc 2016-06-26 17:16:02 -04:00
  • fb2f8d1a51 Add reserved words to list unescapable keywords Anthony Van de Gejuchte 2016-06-27 01:17:53 +02:00
  • 54a783ba84 Add ecma5 flag for codegen Anthony Van de Gejuchte 2016-06-26 19:44:22 +02:00
  • 63c432f4fa Extend unicode support Anthony Van de Gejuchte 2016-06-22 17:12:23 +02:00
  • 85924bb32e Allow input files to be map (url->filename) Geraint 2016-06-27 12:01:21 +01:00
  • a97690fc72 Various LineTerminator changes Anthony Van de Gejuchte 2016-06-13 12:36:47 +02:00
  • 02c638209e Enable --screw-ie8 by default. kzc 2016-06-30 00:24:34 -04:00
  • 030611b729 Add Node API documentation for mangling options iliashk 2016-06-25 11:48:39 +03:00
  • 335b72df03 Fix spidermonkey AST (ESTree) export and import, Array holes kzc 2016-06-23 12:54:38 -04:00
  • 3a7d53f3cf Move OctalEscapeSequence to read_escape_char Anthony Van de Gejuchte 2016-06-23 16:53:48 +02:00
  • 07785d0003 Throw error if new.target is like new.foo Anthony Van de Gejuchte 2016-06-25 19:32:09 +02:00
  • 9676167aac v2.6.4 v2.6.4 Richard van Velzen 2016-06-22 12:24:31 +02:00
  • 6eaeb19a4a Add exponentiation operator Anthony Van de Gejuchte 2016-06-18 00:25:18 +02:00
  • 1840a0b282 Merge pull request #1155 from kzc/issue_1154 Mihai Bazon 2016-06-21 23:14:05 +03:00