https://github.com/mishoo/UglifyJS

sort by:
Revision Author Date Message Commit Date
614db97 v2.7.2 17 August 2016, 06:51:23 UTC
d854523 Fix negate_iife regression #1254 17 August 2016, 05:29:34 UTC
781f26e v2.7.1 14 August 2016, 20:02:01 UTC
37f4395 Add missing `{` in README Also fix a trivial style mistake. 14 August 2016, 19:52:39 UTC
de619ae Fix --mangle-props and --mangle-props=unquoted Fixes: #1247 Fix --mangle-props and --name-cache inconsistency. AST_Dot and AST_Sub properties are now mangled by --mangle-props without regard to being used in an assignment statement. Note: if --mangle-props is used then *all* javascript files used must be uglified with the same mangle options. Fix the ignore_quoted=true mangle option, also known as `--mangle-props=unquoted`. If a given property is quoted anywhere it will not be mangled in any quoted or non-quoted context. 14 August 2016, 19:51:25 UTC
86859f6 Additional object literal property tests 14 August 2016, 19:49:43 UTC
dcdcfe4 Add input file glob support to minify() 14 August 2016, 19:46:38 UTC
72306b9 Add simple file globbing to bin/uglifyjs for Windows 14 August 2016, 19:46:38 UTC
38756b1 Moved test input files to test/input. 14 August 2016, 19:40:14 UTC
85a09fc Added test for #1236 14 August 2016, 19:40:14 UTC
307b88d Fixed sourceMapIncludeSources and inSourceMap = string combination of the UglifyJS.minify function. 14 August 2016, 19:40:14 UTC
fb049d3 Fix unneeded parens around unary args in new expression. 14 August 2016, 19:38:38 UTC
67cca43 Test reparsing test/compress/*.js output 14 August 2016, 19:27:23 UTC
642273c Legacy octal integer strict mode fixes 21 July 2016, 12:42:16 UTC
e8b23c7 Build with AppVeyor on windows 17 July 2016, 18:00:41 UTC
9edbe93 Fix the document of keep_fnames option 17 July 2016, 17:50:48 UTC
af37eca Source map URL override from programmatic API 17 July 2016, 17:39:08 UTC
41a9329 lib/sourcemap.js: Copy sourceContent from old souce-map to the new source-map. Should fix #882 17 July 2016, 17:36:15 UTC
7eb52d2 Keep const in own scope while compressing - Fixes #1205 - Fix provided by @kzc 15 July 2016, 11:20:52 UTC
eb63fec Fix mangle with option keep_fnames=true for Safari. Fixes: #1202 15 July 2016, 11:18:14 UTC
2d8af89 Fix error style for regex errors 15 July 2016, 11:14:30 UTC
2650182 Backport mocha with test from harmony 03 July 2016, 22:51:09 UTC
572b97b v2.7.0 03 July 2016, 19:46:14 UTC
698705a Don't convert all strings to directives from moz-ast 03 July 2016, 10:36:57 UTC
debc525 Introduce a test that tests the --self build 01 July 2016, 07:46:05 UTC
5576e27 Document that the smallest sequences optimization length is 2 and a sequences value of 1 is considered to be `true` - which will be set to the default value of 200. 01 July 2016, 07:41:31 UTC
b40d5de Change the default sequences limit to 200 to speed up compress. Has little or no impact on minification size in the majority of cases but can speed up rollup builds significantly. This sequences change also has the beneficial side effect of avoiding "stack size exceeded" errors on very large input files. The user is free to alter the sequences limit if they are so inclined. The previous sequences limit was 2000. 20 is often sufficient. 01 July 2016, 07:41:31 UTC
b7ef784 Allow sequences maximum length to be user configurable. 01 July 2016, 07:41:31 UTC
85924bb Allow input files to be map (url->filename) 30 June 2016, 20:23:59 UTC
a97690f Various LineTerminator changes * Escaped newlines should also produce SyntaxError * Fix multiline comment parsing and add tests * Adapt makePredicate to handle \u2028 and \u2029 * Move up nlb check in regex so it's checked before any escape handling * Change error messages to conform ecma standard * Find_eol not recornizing \u2028 and \u2029 as line terminator * Remove \u180e as it is removed in unicode 6.3.0 from the category zs 30 June 2016, 20:12:50 UTC
02c6382 Enable --screw-ie8 by default. catch identifier is mangled correctly for ES5 standards-compliant JS engines by default. Unconditionally use the ie8 if/do-while workaround whether or not --screw-ie8 is enabled. To support non-standard ie8 javascript use: uglifyjs --support-ie8 30 June 2016, 19:49:48 UTC
030611b Add Node API documentation for mangling options 30 June 2016, 19:45:25 UTC
335b72d Fix spidermonkey AST (ESTree) export and import, Array holes Fixes: #1156 #1161 Also add test to exercise Uglify after spidermonkey export/import of itself. 30 June 2016, 19:44:12 UTC
3a7d53f Move OctalEscapeSequence to read_escape_char This should simplify and improve implementation, make it easier to implement template strings, and keep master a bit more in sync with harmony. Previous implementation wasn't broken, though the loop gave me the impression it could read infinite numbers and annoyed me a bit. It was also slightly unnecessary because the lookup involved only 3 characters. 30 June 2016, 19:42:15 UTC
9676167 v2.6.4 22 June 2016, 10:24:31 UTC
1840a0b Merge pull request #1155 from kzc/issue_1154 Fix conditional expressions of form (x ? -1 : -1) 21 June 2016, 20:14:05 UTC
ace8aaa Fix conditional expressions of form (x ? -1 : -1) Fixes #1154, #1153 21 June 2016, 18:52:13 UTC
0c003c9 Don't replace undefined, NaN and Infinity within with scope 21 June 2016, 08:53:29 UTC
85fbf86 Keep master in sync with harmony * Do not mangle when no mangle is required * Improve use_asm reset while printing code 20 June 2016, 16:42:17 UTC
aa82027 Don't assume DEBUG is defined when exporting --self Potential fix for #1148 20 June 2016, 06:40:45 UTC
55c592d v2.6.3 19 June 2016, 19:56:06 UTC
fc1abd1 Document the except option to mangle Added documentation for the `except` option to the `mangle` option in the API reference. 19 June 2016, 19:17:31 UTC
e645ba8 Respect quote style in object literals The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't being respected inside object literals, so quoted property names would still be stripped out with this option. This is mostly a corner-case, but useful when the output is passed to something like the Closure compiler, where quoted property names can be used to prevent mangling. 19 June 2016, 19:13:31 UTC
6c99816 Normalize error messages 19 June 2016, 19:08:34 UTC
2149bfb Don't mix strings with directives in output * Don't interpret strings with escaped content as directive * Don't interpret strings after empty statement as directive * Adapt output to prevent strings being represent as directive * Introduce UGLIFY_DEBUG to allow internal testing like EXPECT_DIRECTIVE 19 June 2016, 18:59:17 UTC
d7971ba Fix test262 failures related to <, <=, in and instanceof Fixed-by: @kzc 15 June 2016, 21:11:08 UTC
5c4cfaa Re-add parens after new expression in beautify mode 12 June 2016, 18:03:48 UTC
bb9c970 Don't allow with statements in strict mode 12 June 2016, 17:08:16 UTC
6c8e001 Stop dropping args in new expressions 12 June 2016, 15:17:17 UTC
9c53c7a Fix octal string strict mode tests 12 June 2016, 12:35:43 UTC
f99b7b6 Escape null characters as \0 unless followed by 0-7. 12 June 2016, 12:32:32 UTC
ea31da2 Don't drop unused if scope uses with statement Fix provided by @kzc 12 June 2016, 12:30:28 UTC
4d7746b Throw errors in strict mode for octal strings Adds a directive tracker for the parser/tokenizer to allow parsing depending on directive context. 12 June 2016, 12:27:08 UTC
31d5825 Catch errors when compression test fails to parse 09 June 2016, 19:12:15 UTC
8287ef6 Fix uglify attempting to rewrite invalid new expressions 08 June 2016, 17:45:21 UTC
5cb5305 Export tokenizer function In uglify-js@1, both parser and tokenizer methods were exported This allows to use tokenizer() separately, e.g. to wrap or override it, as parse() method accepts not only text, but also tokenized functions. 07 June 2016, 09:25:16 UTC
00ad57e Do not allow newlines in regex 05 June 2016, 15:02:19 UTC
09d5707 collapse_vars: Do not consider RegExp literals to be constants Fixes #1100 27 May 2016, 04:03:51 UTC
1e39026 Optimize if_return for single if/return cases. Fixes #1089 24 May 2016, 15:54:08 UTC
bc49dfd Completely allow evaluating -0 24 May 2016, 15:50:29 UTC
27eedbc Never produce -0 when evaluating expressions (like -"") Fix for #1085. The major case was already there, but more expressions can result in -0. 17 May 2016, 20:34:38 UTC
5f464b4 Simplify iife `new` fix as suggested by @rvanvelzen. Added a test for IIFEs in nested contexts. 15 May 2016, 23:12:17 UTC
bcc1318 Do not apply negate_iife optimization to `new` expression 09 May 2016, 07:19:28 UTC
a0e03c9 Retain comments before AST_Constants during mangle. 04 May 2016, 18:11:45 UTC
6641dca Fix regression causing tests to fail on windows 04 May 2016, 18:05:51 UTC
d294574 Workaround for process.exit() tty output truncation. Fixes #1055 04 May 2016, 18:04:48 UTC
35bc716 Add node 6 to travis 04 May 2016, 18:03:39 UTC
f39fd3d Handle CR line endings in comments. Fixes #1050 04 May 2016, 18:02:29 UTC
65887d9 Merge pull request #1053 from rvanvelzen/hoist_if_return_funs Hoist functions when reversing if (x) return; ... vs. if (!x) ... 26 April 2016, 19:09:52 UTC
e9224ab Add test cases for slightly more esoteric cases 26 April 2016, 09:49:55 UTC
4d9a085 Add test case for hoisting a single function 26 April 2016, 09:43:03 UTC
4fe6304 Hoist functions when reversing if (x) return; ... vs. if (!x) ... Fixes #1052 23 April 2016, 21:48:33 UTC
c55dd5e Add `passes` compress option. Fix duplicate compress warnings. 19 April 2016, 18:05:33 UTC
e4fa4b1 Parse comments without recursion to avoid RangeError. Fixes #993 16 April 2016, 06:02:47 UTC
4b4528e Prevent endless recursion when evaluating self-referencing consts Fix #1041 13 April 2016, 13:03:31 UTC
187a0ca Add base54.reset() to compress tests Without this reset, char counts bleed to next tests. One test had a bad expect clause. 12 April 2016, 18:08:09 UTC
b5a7a23 Actually limit sequence length. Fix #1038 12 April 2016, 11:17:24 UTC
3907a5e Fix warnings for referenced non-hoisted functions. Fixes #1034 Also added `expect_warnings` functionality to test framework. 11 April 2016, 16:15:20 UTC
b434b75 Merge pull request #1032 from kzc/member Simplify member(name, array) implementation. 07 April 2016, 21:32:14 UTC
c70d176 Simplify member(name, array) implementation. 07 April 2016, 13:57:30 UTC
9317237 Avoid using inherited hasOwnProperty Fix #1031 07 April 2016, 10:16:22 UTC
9843425 Optimize ternaries with boolean consequent or alternative. Fixes #511 02 April 2016, 15:22:12 UTC
45ddb9c Speedup `unused` compress option for already minified code Fixes: #321 #917 #1022 28 March 2016, 21:58:50 UTC
9bcf702 added documentation on conditional compilation using API 27 March 2016, 17:42:52 UTC
f68de86 Merge pull request #1011 from kzc/dont-produce-let-in-mangle Do not produce `let` as a variable name in mangle. 24 March 2016, 16:16:26 UTC
c3c7587 Merge pull request #1019 from kzc/escape-ascii-only Escape all ASCII control characters within strings for ascii_only 24 March 2016, 16:08:57 UTC
07bb726 Escape all ASCII control characters within strings when using ascii_only. Fixes #1017. Tab characters within strings are now output as `\t` in all output modes. 24 March 2016, 15:51:54 UTC
21befe5 Attempt to increase timeout for mocha let test. 15 March 2016, 15:44:09 UTC
a9d4a62 Do not produce `let` as a variable name in mangle. Would previously occur in large generated functions with 21,000+ variables. Fixes #986. 15 March 2016, 15:20:32 UTC
ee6c9fa Fix: Uglified Number.prototype functions on big numbers 14 March 2016, 11:41:06 UTC
102d1b9 #877 Ignore mangle sort option 27 February 2016, 20:33:10 UTC
294861b v2.6.2 22 February 2016, 19:39:14 UTC
11b0efd boolean_expression ? true : false --> boolean_expression 22 February 2016, 16:59:36 UTC
5486b68 Take operator || precendence into account for AST_If optimization. Fixes #979. 21 February 2016, 17:05:02 UTC
bdd8e34 Allow --no-* options to disable their respective parameter Fixes #974 and #972 17 February 2016, 19:04:45 UTC
6547437 preserve ThisBinding for side_effects 17 February 2016, 18:34:01 UTC
9662228 Don't compress (0, eval)() to eval() 16 February 2016, 18:00:48 UTC
31a9b05 Preserve ThisBinding in conditionals & collapse_vars Fixes #973 16 February 2016, 17:47:49 UTC
63b01fe Merge pull request #948 from kzc/collapse_vars_doc collapse_vars: document the compress option in README 11 February 2016, 21:13:30 UTC
7a4ed9d Revert "using the original sourcemap as the base" This reverts commit ad18689d926d25c7a25b95c630c2ad05b7b5f5b5. Reason for revert: introduce issue #882 Currently, generated sourcemap contains copy of all existing mappings and adds new mappings from uglified code to original one. However, previous mapping are no longer valid and shouldn't be added. 10 February 2016, 09:19:39 UTC
back to top