b6968b6 | Mihai Bazon | 16 November 2015, 10:06:12 UTC | Limit max iterations for tighten_body Ref #866 | 16 November 2015, 10:08:24 UTC |
08b8030 | Richard van Velzen | 14 November 2015, 11:04:49 UTC | Merge pull request #864 from plievone/patch-1 Fix docs for keep_fargs | 14 November 2015, 11:04:49 UTC |
645626e | plievone | 14 November 2015, 09:38:00 UTC | Fix docs for keep_fargs Compression options `keep_fargs` and `unsafe` were decoupled in v.2.5.0 (commit 5fd1245), so document actual keep_fargs default. | 14 November 2015, 09:38:00 UTC |
d895c09 | Mihai Bazon | 12 November 2015, 10:46:28 UTC | v2.6.0 | 12 November 2015, 10:46:28 UTC |
08623aa | Mihai Bazon | 12 November 2015, 10:18:25 UTC | Fix output for "use asm" code from SpiderMonkey AST (will only work properly if the SM tree contains "raw" properties for Literal number nodes) | 12 November 2015, 10:18:25 UTC |
c898a26 | Mihai Bazon | 12 November 2015, 09:48:06 UTC | Build label def/refs info when figuring out scope Fix #862 | 12 November 2015, 09:48:06 UTC |
619adb0 | Mihai Bazon | 12 November 2015, 09:47:37 UTC | Replace util.error with console.log | 12 November 2015, 09:47:37 UTC |
7691beb | Mihai Bazon | 11 November 2015, 20:15:25 UTC | Rework has_directive It's now available during tree walking, i.e. walker.has_directive("use asm"), rather than as part of the scope. It's thus no longer necessary to call `figure_out_scope` before codegen. Added special bits in the code generator to overcome the fact that it doesn't inherit from TreeWalker. Fix #861 | 11 November 2015, 20:15:25 UTC |
3c43467 | Mihai Bazon | 10 November 2015, 08:12:30 UTC | Merge pull request #854 from kzc/moz-regexp-2 Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags | 10 November 2015, 08:12:30 UTC |
18d37ac | Mihai Bazon | 09 November 2015, 11:15:20 UTC | Fix parsing invalid input i.e. `x = 1.xe` — because parseFloat("1.xe") returns 1, this parsed as `x = 1`. Ref #857 | 09 November 2015, 11:15:20 UTC |
63d35f8 | Richard van Velzen | 09 November 2015, 10:28:27 UTC | Prevent ReDoS by not using a regexp to verify floating point numbers `parseFloat` will return `NaN` for invalid numbers anyway, which is the check used to throw the parse error. Fixes #857 | 09 November 2015, 10:28:27 UTC |
7dbe961 | kzc | 02 November 2015, 18:10:37 UTC | simplify mozilla AST RegExpLiteral token parse and handle corner cases of regex.pattern better | 02 November 2015, 18:10:37 UTC |
94c4daa | kzc | 02 November 2015, 17:24:09 UTC | Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rather than non-standard `raw` property. | 02 November 2015, 17:24:09 UTC |
37ee9de | kzc | 01 November 2015, 15:20:42 UTC | rename To_Moz_Literal to To_Moz_RegExp | 01 November 2015, 15:20:42 UTC |
83db98a | kzc | 01 November 2015, 05:02:52 UTC | Fixed RegExp literal in mozilla AST generation/output and added a --dump-spidermonkey-ast flag | 01 November 2015, 05:02:52 UTC |
bd0ae65 | kzc | 28 October 2015, 21:51:46 UTC | `return undefined` optimization no longer uses `return_void_0` option | 29 October 2015, 07:19:12 UTC |
841a661 | kzc | 28 October 2015, 17:41:41 UTC | more tests for `return undefined` optimization | 29 October 2015, 07:19:12 UTC |
7491d07 | kzc | 28 October 2015, 17:25:27 UTC | optimize `return undefined` and `return void 0` | 29 October 2015, 07:19:12 UTC |
335e349 | Richard van Velzen | 28 October 2015, 19:50:01 UTC | Allow specification beautify options in tests Caught an error in #847 as well - `output` wasn't passed anywhere which led to an exception. `options` was available though. | 28 October 2015, 19:50:01 UTC |
2a88d07 | Richard van Velzen | 28 October 2015, 19:36:03 UTC | Stop building for io.js | 28 October 2015, 19:36:03 UTC |
a887cde | Michael Ficarra | 27 October 2015, 16:05:21 UTC | fixes #845: \v escaping should be restricted to "screw_ie8" mode | 27 October 2015, 16:05:21 UTC |
b5623b1 | Fábio Santos | 20 October 2015, 18:48:56 UTC | Fix #836 | 20 October 2015, 18:48:56 UTC |
6b2861e | startswithaj | 15 October 2015, 06:50:53 UTC | Make_string was missing \v and wasnt reversing vertical tabs even though read_escaped_char coverts them | 15 October 2015, 07:42:16 UTC |
d5138f7 | Damian Krzeminski | 14 October 2015, 01:05:37 UTC | add `--pure-funcs` option it has the same effect as specifying `pure_funcs` in `--compressor` option, however it's much easier to use instead of: --compressor 'pure_func=["Math.floor","debug","console.logTime"]' it's now possible: --compressor --pure-funcs Math.floor debug console.logTime fixes #684 | 14 October 2015, 01:24:14 UTC |
eac67b2 | Damian Krzeminski | 14 October 2015, 01:01:36 UTC | upgrade yargs 3.5.4 -> 3.10.0 we need a version with better support for 'array' params see: https://github.com/bcoe/yargs/pull/164 | 14 October 2015, 01:01:36 UTC |
ce10072 | Mihai Bazon | 13 October 2015, 06:59:40 UTC | Merge pull request #829 from kzc/html_comment_ops Fix other operator output producing <!-- or --> | 13 October 2015, 06:59:40 UTC |
dff54a6 | kzc | 13 October 2015, 05:17:10 UTC | Fix other operator output related to <!-- or --> | 13 October 2015, 05:17:10 UTC |
1940fb6 | Mihai Bazon | 12 October 2015, 07:27:00 UTC | Fix tests | 12 October 2015, 07:27:00 UTC |
17eef5a | Mihai Bazon | 12 October 2015, 07:21:22 UTC | Only encode <!-- and --> in strings when inline_script | 12 October 2015, 07:21:22 UTC |
9f1f21b | kzc | 12 October 2015, 04:20:42 UTC | Output `-- >` instead of `-->` in expressions. Escape `<!--` and `-->` within string literals. | 12 October 2015, 07:19:17 UTC |
a8e67d1 | Mihai Bazon | 11 October 2015, 15:24:38 UTC | v2.5.0 | 11 October 2015, 15:24:38 UTC |
e870c7d | kzc | 07 October 2015, 20:31:57 UTC | have minify() call figure_out_scope() if needed to produce well formed "use asm" code | 07 October 2015, 20:31:57 UTC |
6500f8c | kzc | 07 October 2015, 19:33:24 UTC | get rid of SCOPE_IS_NEEDED as it was always true | 07 October 2015, 19:33:24 UTC |
4d2f7d8 | kzc | 07 October 2015, 17:10:53 UTC | 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. | 07 October 2015, 17:10:53 UTC |
99945fc | SpainTrain | 24 September 2015, 20:24:50 UTC | Pin dependencies with npm shrinkwrap * Use `npm run shrinkwrap` to create a shrinkwrap file with all dependencies pinned * Update dependency `source-map` to latest (Closes #738) | 07 October 2015, 11:52:49 UTC |
0d952ae | kzc | 06 October 2015, 21:05:36 UTC | add asm.js test | 07 October 2015, 08:00:28 UTC |
593677d | kzc | 05 October 2015, 23:51:09 UTC | 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. | 07 October 2015, 08:00:28 UTC |
c69294c | Anthony Van de Gejuchte | 20 February 2015, 15:08:01 UTC | Implement shebang support | 06 October 2015, 20:35:45 UTC |
2a06c77 | Mihai Bazon | 24 September 2015, 16:27:54 UTC | Merge pull request #808 from avdg/travis Add node 4.x in Travis | 24 September 2015, 16:27:54 UTC |
7ee1ec9 | Anthony Van de Gejuchte | 24 September 2015, 15:41:52 UTC | Add node 4.x in Travis | 24 September 2015, 15:41:52 UTC |
233fb62 | Mihai Bazon | 24 September 2015, 15:26:23 UTC | Disable node 0.8 in Travis | 24 September 2015, 15:26:23 UTC |
6637c26 | Mihai Bazon | 24 September 2015, 15:12:06 UTC | Fix mozilla-ast after module loading changes Need to explicitly qualify stuff now, since it's not evaluated in some global scope. Ref #636 | 24 September 2015, 15:13:21 UTC |
99233c4 | Mihai Bazon | 24 September 2015, 14:57:47 UTC | No longer use `vm` to load code. Improves performance 2x on node > 0.10. Ref #636 | 24 September 2015, 14:58:51 UTC |
3352800 | Mihai Bazon | 24 September 2015, 14:55:37 UTC | Fix wrap_commonjs to include code first (code could have directives, i.e. "use strict") | 24 September 2015, 14:58:51 UTC |
20542a3 | Kyle Mitchell | 04 May 2015, 23:33:09 UTC | use a valid SPDX license identifier | 14 September 2015, 17:44:49 UTC |
5fd1245 | Ville Lautanala | 22 May 2015, 22:46:08 UTC | Control keeping function arguments with a single option | 14 September 2015, 17:38:45 UTC |
ba939cc | Richard van Velzen | 06 September 2015, 15:06:14 UTC | Merge pull request #786 from istr/anonymous-source-map Allow for anonymous map generation using string type check | 06 September 2015, 15:06:14 UTC |
3a5f354 | Ingo Struck | 27 August 2015, 17:38:33 UTC | allow for anonymous map generation using string type check | 27 August 2015, 17:38:33 UTC |
fcde610 | Richard van Velzen | 06 August 2015, 19:27:46 UTC | Fix bad parsing of `new new x()()` constructs Fixes #739 | 27 August 2015, 09:29:36 UTC |
e3bd223 | Richard van Velzen | 25 August 2015, 08:53:35 UTC | Don't change sequences that influence lexical binding in calls Fixes #782 | 25 August 2015, 08:53:35 UTC |
6c8db6e | Richard van Velzen | 10 August 2015, 18:29:37 UTC | Merge pull request #767 from vjeux/208 [Fix] --define replaces SymbolRefs in LHS of assignments | 10 August 2015, 18:29:37 UTC |
3ff0b9e | Christopher Chedeau | 10 August 2015, 18:22:36 UTC | [Fix] --define replaces SymbolRefs in LHS of assignments See #208 for context | 10 August 2015, 18:22:36 UTC |
464a942 | Richard van Velzen | 07 August 2015, 12:12:41 UTC | Merge pull request #736 from AlbertoGP/master fromString option, use index from argument array for filename instead of "?" | 07 August 2015, 12:12:41 UTC |
d7a4a4a | Richard van Velzen | 07 August 2015, 12:11:50 UTC | Merge pull request #729 from DrewML/keep_fnames_docs Add keep_fnames compressor option to README.md | 07 August 2015, 12:11:50 UTC |
759b3f7 | Richard van Velzen | 31 July 2015, 13:56:33 UTC | Fix mangling of property names which overwrite unmangleable properties Fixes #747. | 05 August 2015, 19:18:39 UTC |
958b6c2 | Richard van Velzen | 05 August 2015, 19:17:42 UTC | Merge pull request #753 from Surgo/master Support wrap and exportAll options for node.js tools. | 05 August 2015, 19:17:42 UTC |
ab15d67 | Mihai Bazon | 30 July 2015, 14:25:13 UTC | Merge pull request #757 from rvanvelzen/semicolon-fix Fix semicolon printing when restricting max line length | 30 July 2015, 14:25:13 UTC |
66761d7 | Richard van Velzen | 29 July 2015, 15:57:18 UTC | Fix semicolon printing when restricting max line length Fixes #755 | 30 July 2015, 14:13:32 UTC |
3afad58 | Richard van Velzen | 30 July 2015, 13:57:18 UTC | Revert "Fix semicolon printing when restricting max line length" This reverts commit 170e8b519e64463a39d293480e52f97b64d8ab89. | 30 July 2015, 13:57:18 UTC |
170e8b5 | Richard van Velzen | 29 July 2015, 15:57:18 UTC | Fix semicolon printing when restricting max line length Fixes #755 | 29 July 2015, 15:57:18 UTC |
f8684f4 | Richard van Velzen | 29 July 2015, 13:24:45 UTC | Replace util.puts in run-tests with console.log See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f | 29 July 2015, 13:24:45 UTC |
881bda7 | XhmikosR | 14 April 2015, 20:17:41 UTC | Make node.js 0.8 the minimum supported version. Node.js 0.4 and 0.6 are ancient; things don't work there. Update Travis CI configuration accordingly. Note, that the npm update in Travis is needed for 0.8 only at the moment. | 29 July 2015, 13:21:01 UTC |
9854deb | Chris Cowan | 14 May 2015, 19:27:56 UTC | Re-use the caught exception's error message in the parse error call. | 29 July 2015, 13:06:52 UTC |
d681405 | Chris Cowan | 14 May 2015, 19:03:54 UTC | Give a good error message if an invalid regular expression is found. | 29 July 2015, 13:05:59 UTC |
252fc65 | thorn0 | 18 January 2014, 13:16:43 UTC | Advanced way to specify if a function call might have side effects. #400 | 29 July 2015, 12:36:42 UTC |
8108c7f | Kosei Kitahara | 28 July 2015, 12:36:22 UTC | Support wrap and exportAll options. | 28 July 2015, 12:36:22 UTC |
ba9936a | Mihai Bazon | 22 July 2015, 13:58:09 UTC | v2.4.24 | 22 July 2015, 13:58:09 UTC |
905b601 | Mihai Bazon | 22 July 2015, 13:53:25 UTC | Don't attempt to negate non-boolean AST_Binary Fix #751 | 22 July 2015, 13:55:55 UTC |
63fb2d5 | Mihai Bazon | 20 July 2015, 06:58:01 UTC | Merge pull request #735 from kzc/master optimizations for && and || where left side is constant expression | 20 July 2015, 06:58:01 UTC |
85a5fc0 | Mihai Bazon | 30 June 2015, 07:07:13 UTC | Don't drop parens in a * (b * c). Close #744 | 30 June 2015, 07:10:29 UTC |
4fba3e0 | Alberto González Palomo | 15 June 2015, 16:03:06 UTC | fromString option, use index from argument array for filename instead of "?" The index allows the caller to map things like parse errors back to the code chunk where they appeared. | 15 June 2015, 16:03:06 UTC |
9d398d9 | kzc | 14 June 2015, 21:45:19 UTC | spacing | 14 June 2015, 21:45:19 UTC |
f47b2b5 | kzc | 14 June 2015, 21:44:26 UTC | operator && and || optimization: add "else" before "if" as intended | 14 June 2015, 21:44:26 UTC |
fedb619 | kzc | 12 June 2015, 03:22:38 UTC | optimizations for && and || where left side is constant expression | 12 June 2015, 03:22:38 UTC |
5bf617e | Mihai Bazon | 09 June 2015, 13:33:21 UTC | Merge pull request #733 from jcxplorer/add-mangle-regex-option Add --mangle-regex option | 09 June 2015, 13:33:21 UTC |
0b82e1c | Joao Carlos | 09 June 2015, 12:14:41 UTC | Change --mangle-regex to accept a full regex | 09 June 2015, 12:14:41 UTC |
9aef34a | Joao Carlos | 09 June 2015, 11:31:49 UTC | Show descriptive error when --mangle-regex is invalid | 09 June 2015, 11:31:49 UTC |
0ac6918 | Joao Carlos | 09 June 2015, 10:21:22 UTC | Add --mangle-regex option | 09 June 2015, 11:16:50 UTC |
65ee5af | Andrew Levine | 02 June 2015, 20:32:10 UTC | Add keep_fnames compressor option to README.md | 02 June 2015, 20:32:10 UTC |
c6fa291 | Mihai Bazon | 20 May 2015, 14:48:30 UTC | v2.4.23 | 20 May 2015, 14:48:30 UTC |
bce4307 | Mihai Bazon | 20 May 2015, 13:17:46 UTC | Treat \uFEFF as whitespace. Fix #714 | 20 May 2015, 13:17:46 UTC |
96ad94a | Mihai Bazon | 18 May 2015, 10:58:25 UTC | v2.4.22 | 18 May 2015, 10:58:25 UTC |
a5b6021 | Mihai Bazon | 18 May 2015, 10:56:04 UTC | Fix compressing conditionals Only transform foo() ? EXP(x) : EXP(y) into EXP(foo() ? x : y) if EXP has no side effects. Fix #710 | 18 May 2015, 10:56:04 UTC |
44fd669 | Mihai Bazon | 13 May 2015, 19:03:00 UTC | fix again reserved props | 13 May 2015, 19:03:00 UTC |
e48db3a | Mihai Bazon | 07 May 2015, 12:01:16 UTC | Make reserved names take priority over the name cache | 07 May 2015, 12:01:16 UTC |
e637bda | Mihai Bazon | 05 May 2015, 07:11:38 UTC | Only drop the BOM when it's the first character. Close #704 | 05 May 2015, 07:11:38 UTC |
d558abb | Mihai Bazon | 04 May 2015, 16:14:42 UTC | v2.4.21 | 04 May 2015, 16:14:42 UTC |
4aed083 | Mihai Bazon | 04 May 2015, 14:55:42 UTC | Fix blank lines in the output. The issue was more obvious when max_line_len has a small value, rather than the default 32K characters. A blank line showed up after most statements. | 04 May 2015, 14:55:42 UTC |
d2dda34 | Mihai Bazon | 04 May 2015, 12:07:16 UTC | Remove deprecated calls to utils.print/utils.error Close #542, #641, #647 | 04 May 2015, 12:07:16 UTC |
c3a10c1 | Mihai Bazon | 04 May 2015, 11:49:17 UTC | Avoid spurious brackets when dropping unused vars Fix #702 | 04 May 2015, 11:49:17 UTC |
92e4340 | Mihai Bazon | 23 April 2015, 09:08:19 UTC | Fix parsing strings with literal DOS newlines (should not set newline_before) Fix #693 | 23 April 2015, 09:08:19 UTC |
7b22f20 | Mihai Bazon | 22 April 2015, 14:34:49 UTC | If name_cache is specified, do rename cached properties (even if --mangle-props is not there) | 22 April 2015, 14:34:49 UTC |
3b14582 | Mihai Bazon | 17 April 2015, 08:28:59 UTC | Fix tests | 17 April 2015, 08:28:59 UTC |
274e1b3 | Mihai Bazon | 17 April 2015, 08:25:19 UTC | Drop NaN -> 0/0 transformation. Fix #687 | 17 April 2015, 08:26:36 UTC |
de58b02 | Fábio Santos | 12 April 2015, 13:51:26 UTC | Added expect_exact for testing the OutputStream This works almost exactly like `expect`, except that you pass a literal string of which the result is compared with the generated output. | 14 April 2015, 18:26:47 UTC |
efea52a | XhmikosR | 14 April 2015, 15:29:14 UTC | Normalize package.json. * Specify the files to install in package.json * Add missing properties * Follow `npm init`'s scheme | 14 April 2015, 18:17:03 UTC |
763bd36 | Jordan Harband | 11 April 2015, 22:35:18 UTC | Test on latest `node` and `io.js` Per https://github.com/mishoo/UglifyJS2/commit/0262b4244c13b3ef148bf096874847aea84b93e5 - if you're going to stop testing on 0.8, you should be testing on 0.12. Also allow failures on unstable nodes and "older than two latest" `io.js` versions, and enable "sudo: false" which makes tests run faster. | 14 April 2015, 18:06:09 UTC |
0552dbd | Mihai Bazon | 13 April 2015, 15:59:21 UTC | v2.4.20 | 13 April 2015, 15:59:21 UTC |
18c63ff | Mihai Bazon | 13 April 2015, 14:29:48 UTC | Fix compression of conditionals Don't move the condition on the right side of an assignment when the left side may have side effects. Fix #677 | 13 April 2015, 14:29:48 UTC |
e04ef56 | Mihai Bazon | 10 April 2015, 08:33:29 UTC | Use the `before` visitor in mangle props (works around a bug in our tree walker which, while cloning nodes, breaks references between labeled statements and break/continue labels) | 10 April 2015, 08:33:29 UTC |