Commit Graph

  • dff54a6552 Fix other operator output related to <!-- or --> kzc 2015-10-13 01:17:10 -04:00
  • 76ed083e47 Using single quotes Fábio Santos 2015-10-12 21:39:19 +01:00
  • b31918bbf0 computed properties Fábio Santos 2015-09-07 22:46:07 +01:00
  • 1940fb682c Fix tests Mihai Bazon 2015-10-12 10:27:00 +03:00
  • 17eef5a3c2 Only encode <!-- and --> in strings when inline_script Mihai Bazon 2015-10-12 10:21:22 +03:00
  • 9f1f21b810 Output -- > instead of --> in expressions. Escape <!-- and --> within string literals. kzc 2015-10-12 00:20:42 -04:00
  • b14496c742 Merge branch 'master' into harmony Richard van Velzen 2015-10-12 08:52:34 +02:00
  • a8e67d157e v2.5.0 v2.5.0 Mihai Bazon 2015-10-11 18:24:38 +03:00
  • e870c7db45 have minify() call figure_out_scope() if needed to produce well formed "use asm" code kzc 2015-10-07 16:31:57 -04:00
  • 6500f8c52c get rid of SCOPE_IS_NEEDED as it was always true kzc 2015-10-07 15:33:24 -04:00
  • 4d2f7d83af Fix handling of "use asm" when no command line flags are passed to uglifyjs. SCOPE_IS_NEEDED is unconditionally true now. Refactored floating point literal parsing to be more in keeping with the AST class design. kzc 2015-10-07 13:10:53 -04:00
  • 99945fcd04 Pin dependencies with npm shrinkwrap SpainTrain 2015-09-24 16:24:50 -04:00
  • 0d952ae43d add asm.js test kzc 2015-10-06 17:05:36 -04:00
  • 593677d2ff Add proper support for "use asm"; blocks. Disable -c optimization within "use asm"; sections and preserve floating point literals in their original form. Non-asm.js sections are optimized as before. Asm.js sections can still be mangled and minified of whitespace. No special command line flags are required. kzc 2015-10-05 19:51:09 -04:00
  • c69294c449 Implement shebang support Anthony Van de Gejuchte 2015-02-20 16:08:01 +01:00
  • 2a06c7758e Merge pull request #808 from avdg/travis Mihai Bazon 2015-09-24 19:27:54 +03:00
  • 7ee1ec91a2 Add node 4.x in Travis Anthony Van de Gejuchte 2015-09-24 17:41:52 +02:00
  • 233fb62bd8 Disable node 0.8 in Travis Mihai Bazon 2015-09-24 18:26:23 +03:00
  • 6637c267a5 Fix mozilla-ast after module loading changes Mihai Bazon 2015-09-24 18:12:06 +03:00
  • 99233c44cc No longer use vm to load code. Mihai Bazon 2015-09-24 17:57:47 +03:00
  • 33528002b4 Fix wrap_commonjs to include code first Mihai Bazon 2015-09-24 17:55:37 +03:00
  • 20542a37a8 use a valid SPDX license identifier Kyle Mitchell 2015-05-04 23:33:09 +00:00
  • 5fd12451f9 Control keeping function arguments with a single option Ville Lautanala 2015-05-23 01:46:08 +03:00
  • 991fa99655 Merge branch 'master' into harmony Richard van Velzen 2015-09-13 14:17:45 +02:00
  • 3d7f73114d Add a test to make sure future generations don't hoist lets Fábio Santos 2015-09-06 21:56:55 +01:00
  • dde9e293df parse, output the let statement Fábio Santos 2015-09-06 21:33:17 +01:00
  • 34685a6f55 Merge pull request #794 from fabiosantoscode/feature/harmony-template-strings-2 Richard van Velzen 2015-09-08 21:23:41 +02:00
  • ba939ccd6c Merge pull request #786 from istr/anonymous-source-map Richard van Velzen 2015-09-06 17:06:14 +02:00
  • 9812c826e0 Merge pull request #795 from fabiosantoscode/harmony-fix-cannot-destructure-crash Richard van Velzen 2015-09-06 17:05:34 +02:00
  • 2fac2bbfe4 Remove unused state variable in_parameters, and also remove unreachable code (try_an_object always returned an object!) Fábio Santos 2015-09-05 23:01:25 +01:00
  • 242c61be94 prefixed template strings, like "String.rawfoo\nbar". Fábio Santos 2015-09-05 22:48:17 +01:00
  • e1cb1a0e3c Parse and output ES6 template strings. Yikes! Fábio Santos 2015-09-05 22:32:57 +01:00
  • 3a5f354846 allow for anonymous map generation using string type check Ingo Struck 2015-08-27 19:38:33 +02:00
  • fcde6109b0 Fix bad parsing of new new x()() constructs Richard van Velzen 2015-08-06 21:27:46 +02:00
  • af22b9c657 Merge pull request #768 from fabiosantoscode/feature/harmony-destructuring-expression Richard van Velzen 2015-08-25 19:00:36 +02:00
  • adee5023c0 What about --mangle-props being on and --mangle being off? Fábio Santos 2015-08-10 21:13:30 +01:00
  • 7ee8f3512e play nice with propmangle Fábio Santos 2015-08-08 16:01:16 +01:00
  • dc5db9b6ca Starting destructuring expressions Fábio Santos 2015-01-15 03:03:38 +00:00
  • e3bd223dac Don't change sequences that influence lexical binding in calls Richard van Velzen 2015-08-25 10:53:35 +02:00
  • 079aaa0d48 Tolerate expansions in vardefs, too! Fábio Santos 2015-08-14 02:19:53 +01:00
  • d4f17f29ae Destructuring vardef in for..of and for..in Fábio Santos 2015-08-14 02:11:38 +01:00
  • e99bc914ca Do not mangle a name if it is in a destructuring vardef. Fábio Santos 2015-08-14 02:00:31 +01:00
  • 025d34bfa2 Add holes in destructuring defs, also make them nestable Fábio Santos 2015-08-14 01:16:54 +01:00
  • c44c2d6c21 Parse and compress destructuring VarDefs Fábio Santos 2015-08-14 00:20:21 +01:00
  • 824ecfb8a2 A little refactoring. Add a new function to get all symbols in a destructuring. Fábio Santos 2015-08-13 02:58:08 +01:00
  • ceebc466b9 prepare AST_Destructuring for the Ents Fábio Santos 2015-08-13 02:56:57 +01:00
  • 35b31bdd4e Merge branch 'master' into harmony Richard van Velzen 2015-08-21 11:58:35 +02:00
  • c8b82583d2 Merge pull request #773 from fabiosantoscode/harmony-typeof-arrows Richard van Velzen 2015-08-21 11:51:42 +02:00
  • 9f9179ba1a Merge pull request #774 from fabiosantoscode/feature/harmony-symbol Richard van Velzen 2015-08-21 11:51:02 +02:00
  • 872231a0ca Merge pull request #775 from fabiosantoscode/feature/binary-literals Richard van Velzen 2015-08-21 11:50:39 +02:00
  • 36420183fd s/binary/number/g Fábio Santos 2015-08-17 16:23:43 +01:00
  • a8f8aa518b Add new-style octal literals and make the B and the O case insensitive. Fábio Santos 2015-08-17 11:50:56 +01:00
  • 4c12cccff9 remove Symbol's argument when we're unsafe and it's undeclared Fábio Santos 2015-08-14 22:44:16 +01:00
  • dcce4e5c66 Fix evaluating the typeof an arrow function. Using evaluate on used to cause a crash. Fábio Santos 2015-08-14 22:05:42 +01:00
  • 56c0b834d6 Merge pull request #771 from fabiosantoscode/feature/binary-literals Richard van Velzen 2015-08-14 14:59:55 +02:00
  • 6f864402d3 Parse binary number literals Fábio Santos 2015-08-14 03:24:54 +01:00
  • 6c8db6eae1 Merge pull request #767 from vjeux/208 Richard van Velzen 2015-08-10 20:29:37 +02:00
  • 3ff0b9e0c9 [Fix] --define replaces SymbolRefs in LHS of assignments Christopher Chedeau 2015-08-10 11:22:36 -07:00
  • 464a942a95 Merge pull request #736 from AlbertoGP/master Richard van Velzen 2015-08-07 14:12:41 +02:00
  • d7a4a4a462 Merge pull request #729 from DrewML/keep_fnames_docs Richard van Velzen 2015-08-07 14:11:50 +02:00
  • 8909e9e1cb Merge pull request #763 from fabiosantoscode/feature/harmony-super Richard van Velzen 2015-08-07 08:54:20 +02:00
  • e80ed38772 Super! Fábio Santos 2015-08-07 02:44:53 +01:00
  • 759b3f7d6d Fix mangling of property names which overwrite unmangleable properties Richard van Velzen 2015-07-31 15:56:33 +02:00
  • 958b6c2e57 Merge pull request #753 from Surgo/master Richard van Velzen 2015-08-05 21:17:42 +02:00
  • 9863f0efa3 expand parameters Fábio Santos 2015-04-13 01:26:26 +01:00
  • e8664e63ef Merge branch 'master' into harmony Richard van Velzen 2015-08-05 21:13:11 +02:00
  • ddd30eeaaa Uglifyjs already supports super as an implicit global! Just adding a test to indicate that. Fábio Santos 2015-08-05 11:49:31 +01:00
  • a68953c491 => with destructuring arguments. Requires a lot of parser changes Fábio Santos 2015-08-04 00:14:18 +01:00
  • fa5c4f2d03 Adding arrow functions Fábio Santos 2015-01-11 20:07:19 +00:00
  • ab15d676d7 Merge pull request #757 from rvanvelzen/semicolon-fix Mihai Bazon 2015-07-30 17:25:13 +03:00
  • 66761d7ecf Fix semicolon printing when restricting max line length Richard van Velzen 2015-07-29 17:57:18 +02:00
  • 3afad58a93 Revert "Fix semicolon printing when restricting max line length" Richard van Velzen 2015-07-30 15:57:18 +02:00
  • 170e8b519e Fix semicolon printing when restricting max line length Richard van Velzen 2015-07-29 17:57:18 +02:00
  • f8684f418a Replace util.puts in run-tests with console.log Richard van Velzen 2015-07-29 15:24:45 +02:00
  • 881bda7f59 Make node.js 0.8 the minimum supported version. XhmikosR 2015-04-14 23:17:41 +03:00
  • 9d7d365c2b for...of Fábio Santos 2015-04-13 01:25:46 +01:00
  • 9854deb626 Re-use the caught exception's error message in the parse error call. Chris Cowan 2015-05-14 12:27:56 -07:00
  • d6814050dd Give a good error message if an invalid regular expression is found. Chris Cowan 2015-05-14 12:03:54 -07:00
  • ad344c5be3 Add a test to verify that destructuring arguments work with #203 code Fábio Santos 2015-01-15 20:08:06 +00:00
  • 96b89e34a3 test that names used in destructurings don't get hoisted Fábio Santos 2015-01-15 13:27:30 +00:00
  • 4644becb9b do not support destructuring arguments and ngInject Fábio Santos 2015-01-15 10:44:41 +00:00
  • f7460166dd remove trace statement Fábio Santos 2015-01-15 10:23:17 +00:00
  • 32f76f7ff8 Starting destructuring. Fábio Santos 2015-01-15 03:03:38 +00:00
  • 252fc65558 Advanced way to specify if a function call might have side effects. #400 thorn0 2014-01-18 15:16:43 +02:00
  • 8108c7ffaf Support wrap and exportAll options. Kosei Kitahara 2015-07-28 21:36:22 +09:00
  • ba9936a572 v2.4.24 v2.4.24 Mihai Bazon 2015-07-22 16:58:09 +03:00
  • 905b601178 Don't attempt to negate non-boolean AST_Binary Mihai Bazon 2015-07-22 16:53:25 +03:00
  • 63fb2d5a44 Merge pull request #735 from kzc/master Mihai Bazon 2015-07-20 09:58:01 +03:00
  • 85a5fc0aeb Don't drop parens in a * (b * c). Close #744 Mihai Bazon 2015-06-30 10:07:13 +03:00
  • 4fba3e0b80 fromString option, use index from argument array for filename instead of "?" Alberto González Palomo 2015-06-15 18:03:06 +02:00
  • 9d398d999c spacing kzc 2015-06-14 17:45:19 -04:00
  • f47b2b52a5 operator && and || optimization: add "else" before "if" as intended kzc 2015-06-14 17:44:26 -04:00
  • fedb6191a1 optimizations for && and || where left side is constant expression kzc 2015-06-11 23:22:38 -04:00
  • 5bf617ebde Merge pull request #733 from jcxplorer/add-mangle-regex-option Mihai Bazon 2015-06-09 16:33:21 +03:00
  • 0b82e1cd5b Change --mangle-regex to accept a full regex Joao Carlos 2015-06-09 15:14:41 +03:00
  • 9aef34a816 Show descriptive error when --mangle-regex is invalid Joao Carlos 2015-06-09 14:31:49 +03:00
  • 0ac6918a41 Add --mangle-regex option Joao Carlos 2015-06-09 13:21:22 +03:00
  • 65ee5af78c Add keep_fnames compressor option to README.md Andrew Levine 2015-06-02 15:32:10 -05:00
  • c6fa291571 v2.4.23 v2.4.23 Mihai Bazon 2015-05-20 17:48:30 +03:00
  • bce4307e9e Treat \uFEFF as whitespace. Mihai Bazon 2015-05-20 16:17:46 +03:00