sort by:
Revision Author Date Message Commit Date
b6968b6 Limit max iterations for tighten_body Ref #866 16 November 2015, 10:08:24 UTC
08b8030 Merge pull request #864 from plievone/patch-1 Fix docs for keep_fargs 14 November 2015, 11:04:49 UTC
645626e 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 v2.6.0 12 November 2015, 10:46:28 UTC
08623aa 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 Build label def/refs info when figuring out scope Fix #862 12 November 2015, 09:48:06 UTC
619adb0 Replace util.error with console.log 12 November 2015, 09:47:37 UTC
7691beb 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 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 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 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 simplify mozilla AST RegExpLiteral token parse and handle corner cases of regex.pattern better 02 November 2015, 18:10:37 UTC
94c4daa 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 rename To_Moz_Literal to To_Moz_RegExp 01 November 2015, 15:20:42 UTC
83db98a Fixed RegExp literal in mozilla AST generation/output and added a --dump-spidermonkey-ast flag 01 November 2015, 05:02:52 UTC
bd0ae65 `return undefined` optimization no longer uses `return_void_0` option 29 October 2015, 07:19:12 UTC
841a661 more tests for `return undefined` optimization 29 October 2015, 07:19:12 UTC
7491d07 optimize `return undefined` and `return void 0` 29 October 2015, 07:19:12 UTC
335e349 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 Stop building for io.js 28 October 2015, 19:36:03 UTC
a887cde fixes #845: \v escaping should be restricted to "screw_ie8" mode 27 October 2015, 16:05:21 UTC
b5623b1 Fix #836 20 October 2015, 18:48:56 UTC
6b2861e 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 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 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 Merge pull request #829 from kzc/html_comment_ops Fix other operator output producing <!-- or --> 13 October 2015, 06:59:40 UTC
dff54a6 Fix other operator output related to <!-- or --> 13 October 2015, 05:17:10 UTC
1940fb6 Fix tests 12 October 2015, 07:27:00 UTC
17eef5a Only encode <!-- and --> in strings when inline_script 12 October 2015, 07:21:22 UTC
9f1f21b Output `-- >` instead of `-->` in expressions. Escape `<!--` and `-->` within string literals. 12 October 2015, 07:19:17 UTC
a8e67d1 v2.5.0 11 October 2015, 15:24:38 UTC
e870c7d have minify() call figure_out_scope() if needed to produce well formed "use asm" code 07 October 2015, 20:31:57 UTC
6500f8c get rid of SCOPE_IS_NEEDED as it was always true 07 October 2015, 19:33:24 UTC
4d2f7d8 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 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 add asm.js test 07 October 2015, 08:00:28 UTC
593677d 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 Implement shebang support 06 October 2015, 20:35:45 UTC
2a06c77 Merge pull request #808 from avdg/travis Add node 4.x in Travis 24 September 2015, 16:27:54 UTC
7ee1ec9 Add node 4.x in Travis 24 September 2015, 15:41:52 UTC
233fb62 Disable node 0.8 in Travis 24 September 2015, 15:26:23 UTC
6637c26 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 No longer use `vm` to load code. Improves performance 2x on node > 0.10. Ref #636 24 September 2015, 14:58:51 UTC
3352800 Fix wrap_commonjs to include code first (code could have directives, i.e. "use strict") 24 September 2015, 14:58:51 UTC
20542a3 use a valid SPDX license identifier 14 September 2015, 17:44:49 UTC
5fd1245 Control keeping function arguments with a single option 14 September 2015, 17:38:45 UTC
ba939cc 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 allow for anonymous map generation using string type check 27 August 2015, 17:38:33 UTC
fcde610 Fix bad parsing of `new new x()()` constructs Fixes #739 27 August 2015, 09:29:36 UTC
e3bd223 Don't change sequences that influence lexical binding in calls Fixes #782 25 August 2015, 08:53:35 UTC
6c8db6e Merge pull request #767 from vjeux/208 [Fix] --define replaces SymbolRefs in LHS of assignments 10 August 2015, 18:29:37 UTC
3ff0b9e [Fix] --define replaces SymbolRefs in LHS of assignments See #208 for context 10 August 2015, 18:22:36 UTC
464a942 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 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 Fix mangling of property names which overwrite unmangleable properties Fixes #747. 05 August 2015, 19:18:39 UTC
958b6c2 Merge pull request #753 from Surgo/master Support wrap and exportAll options for node.js tools. 05 August 2015, 19:17:42 UTC
ab15d67 Merge pull request #757 from rvanvelzen/semicolon-fix Fix semicolon printing when restricting max line length 30 July 2015, 14:25:13 UTC
66761d7 Fix semicolon printing when restricting max line length Fixes #755 30 July 2015, 14:13:32 UTC
3afad58 Revert "Fix semicolon printing when restricting max line length" This reverts commit 170e8b519e64463a39d293480e52f97b64d8ab89. 30 July 2015, 13:57:18 UTC
170e8b5 Fix semicolon printing when restricting max line length Fixes #755 29 July 2015, 15:57:18 UTC
f8684f4 Replace util.puts in run-tests with console.log See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f 29 July 2015, 13:24:45 UTC
881bda7 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 Re-use the caught exception's error message in the parse error call. 29 July 2015, 13:06:52 UTC
d681405 Give a good error message if an invalid regular expression is found. 29 July 2015, 13:05:59 UTC
252fc65 Advanced way to specify if a function call might have side effects. #400 29 July 2015, 12:36:42 UTC
8108c7f Support wrap and exportAll options. 28 July 2015, 12:36:22 UTC
ba9936a v2.4.24 22 July 2015, 13:58:09 UTC
905b601 Don't attempt to negate non-boolean AST_Binary Fix #751 22 July 2015, 13:55:55 UTC
63fb2d5 Merge pull request #735 from kzc/master optimizations for && and || where left side is constant expression 20 July 2015, 06:58:01 UTC
85a5fc0 Don't drop parens in a * (b * c). Close #744 30 June 2015, 07:10:29 UTC
4fba3e0 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 spacing 14 June 2015, 21:45:19 UTC
f47b2b5 operator && and || optimization: add "else" before "if" as intended 14 June 2015, 21:44:26 UTC
fedb619 optimizations for && and || where left side is constant expression 12 June 2015, 03:22:38 UTC
5bf617e Merge pull request #733 from jcxplorer/add-mangle-regex-option Add --mangle-regex option 09 June 2015, 13:33:21 UTC
0b82e1c Change --mangle-regex to accept a full regex 09 June 2015, 12:14:41 UTC
9aef34a Show descriptive error when --mangle-regex is invalid 09 June 2015, 11:31:49 UTC
0ac6918 Add --mangle-regex option 09 June 2015, 11:16:50 UTC
65ee5af Add keep_fnames compressor option to README.md 02 June 2015, 20:32:10 UTC
c6fa291 v2.4.23 20 May 2015, 14:48:30 UTC
bce4307 Treat \uFEFF as whitespace. Fix #714 20 May 2015, 13:17:46 UTC
96ad94a v2.4.22 18 May 2015, 10:58:25 UTC
a5b6021 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 fix again reserved props 13 May 2015, 19:03:00 UTC
e48db3a Make reserved names take priority over the name cache 07 May 2015, 12:01:16 UTC
e637bda Only drop the BOM when it's the first character. Close #704 05 May 2015, 07:11:38 UTC
d558abb v2.4.21 04 May 2015, 16:14:42 UTC
4aed083 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 Remove deprecated calls to utils.print/utils.error Close #542, #641, #647 04 May 2015, 12:07:16 UTC
c3a10c1 Avoid spurious brackets when dropping unused vars Fix #702 04 May 2015, 11:49:17 UTC
92e4340 Fix parsing strings with literal DOS newlines (should not set newline_before) Fix #693 23 April 2015, 09:08:19 UTC
7b22f20 If name_cache is specified, do rename cached properties (even if --mangle-props is not there) 22 April 2015, 14:34:49 UTC
3b14582 Fix tests 17 April 2015, 08:28:59 UTC
274e1b3 Drop NaN -> 0/0 transformation. Fix #687 17 April 2015, 08:26:36 UTC
de58b02 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 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 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 v2.4.20 13 April 2015, 15:59:21 UTC
18c63ff 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 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
back to top