https://github.com/mishoo/UglifyJS

sort by:
Revision Author Date Message Commit Date
73d082d v2.4.4 27 November 2013, 12:24:26 UTC
50b8d72 Fix faulty compression `String(x + 5)` is not always the same as `x + "5"`. Overlooked that. :-( Close #350 20 November 2013, 19:13:16 UTC
7d11b96 Only descend twice after drop_unused if it's the same node type. Fix #345 08 November 2013, 09:57:17 UTC
eab99a1 Better fix for #343 We can in fact lift sequences, but only if the operation is assignment and the left-hand side has no side effects nor property access -- that should guarantee that whatever we place before it cannot affect the sense of the assignment. Dropped contrived test case (too hard to support it now), added a more meaningful one. 06 November 2013, 08:48:48 UTC
19e2fb1 v2.4.3 06 November 2013, 08:21:29 UTC
f4919e3 Do not lift sequence from right-hand side of binary operation. Fix #343 06 November 2013, 08:18:28 UTC
bb700da v2.4.2 03 November 2013, 21:41:07 UTC
263577d [README] Fix #278 30 October 2013, 12:13:30 UTC
63287c0 Workaround for Safari bug Close #313 30 October 2013, 11:59:59 UTC
c5ed229 Fix parsing setters/getters (allow keywords for name). The "key" property was always "set" or "get", which didn't make much sense. Now it'll be the actual name of the setter/getter (AST_Node), and the AST_Accessor object itself, which represents the function, won't store any name. Close #319 30 October 2013, 09:50:22 UTC
b70670b Fix regression after e4c530240650535d1cb46569dfb013193471af05 `x * (y * z)` ==> `x * y * z` -- the better place to do this is in the compressor rather than codegen. 30 October 2013, 08:45:58 UTC
9dd9760 indentation 30 October 2013, 08:44:50 UTC
e4c5302 Fix output for `x = 2 * (a % b / b * c)` (issue #337) 30 October 2013, 07:11:55 UTC
bea3d90 minor 30 October 2013, 07:10:56 UTC
785c606 Disallow reversal where lhs has higher or equal precedence Fixes #267 29 October 2013, 20:37:36 UTC
b214d37 Fix typo 29 October 2013, 13:53:54 UTC
7cf79c3 Fix reading arguments i.e. read `-c unsafe,unsafe-comps` as `-c unsafe=true,unsafe_comps=true` 29 October 2013, 12:01:26 UTC
a14c6b6 Avoid shadowing name of function expression with function argument Close #179, #326, #327 29 October 2013, 11:18:09 UTC
f1b7094 Add "preamble" output option Close #335 29 October 2013, 09:09:18 UTC
0358e37 Fix codegen for when comments_before is undefined. Fix #333 28 October 2013, 07:39:29 UTC
b47f7b7 Merge branch 'master' of github.com:mishoo/UglifyJS2 27 October 2013, 08:03:01 UTC
582cc55 Display number of failed tests and corresponding files 27 October 2013, 08:02:44 UTC
8979579 Merge pull request #330 from markjaquith/master Unit test to detect issue in 8d14efe for #126 that causes aggressive parenthesis removal, functional differences 27 October 2013, 08:01:57 UTC
0d6e08c Merge pull request #331 from rvanvelzen/rhs-strings-fix Fix RHS concat (raised in #330) 27 October 2013, 08:01:11 UTC
e2daee9 Fix RHS concat (raised in #330) When attempting to concat the left-side of the rhs, make sure the rhs is a string. 26 October 2013, 16:44:52 UTC
9cd118c Add a unit test for issue-126 Add a unit test to test to test for aggressive parenthesis removal that causes functional changes. 25 October 2013, 20:28:15 UTC
cfd5c61 Merge pull request #325 from rvanvelzen/fix-269 Fix #269 24 October 2013, 09:39:07 UTC
1a5a4bd Fix #269 Shorten most primitives where possible. Also optimize some edge cases. 24 October 2013, 09:08:33 UTC
63e1a8e Merge pull request #323 from rvanvelzen/undefined-drop-vars-fix Fix #280 23 October 2013, 20:58:09 UTC
7055af8 Fix #280 The `init` of the `ForStatement` is not a `BlockStatement` before it was descended. The descend has to happen first, and *then* the actual checks. 23 October 2013, 20:26:04 UTC
aafe2e1 Merge pull request #322 from rvanvelzen/test-exit-code-1 Add an exit code to the test suite 23 October 2013, 18:37:36 UTC
118105d Add an exit code to the test suite By adding the exit code 1 (or any other non-zero exit code) `npm test` will know the tests didn't perform correctly. This way it's easier to know if pull requests are good or bad. 23 October 2013, 18:24:58 UTC
63d04ff Revert #3a81f60 for now (with it some tests break and it can generate invalid output, see issue #44) 22 October 2013, 18:50:55 UTC
8c9cc92 v2.4.1 22 October 2013, 18:31:01 UTC
d09f0ad `arguments` outside of a function is an ordinary variable. Fix #501 17 October 2013, 15:20:33 UTC
3fa9265 wrap up 09 October 2013, 19:15:43 UTC
3a81f60 Don't drop_unused before compression. Fix #280, #282 09 October 2013, 16:15:09 UTC
f2348dd Rename clean_getters to pure_getters; add pure_funcs. 04 October 2013, 10:17:25 UTC
253c7c2 Merge pull request #308 from meteor/fix-unicode-keys Only allow identifier start characters at the beginning of identifiers. 04 October 2013, 07:13:52 UTC
bb0a762 Only allow identifier start characters at the beginning of identifiers. Without this fix, the following source: x = {"\u200c": 42}; would incorrectly be converted into a quoteless key. But while \u200c is allowed to be in identifiers, it cannot be at the beginning, as per ES5. (For example, the SockJS client library doesn't work under uglify starting with d9ad3c7c.) 04 October 2013, 00:02:19 UTC
8cc86fe add `clean_getters` compressor option (default `false`) allows one to specify if `foo.bar` is considered to have side effects. 02 October 2013, 16:38:01 UTC
88fb83a minor optimization unlikely to help in hand-written code: (something() ? foo : bar) == foo ==> something() 02 October 2013, 12:31:31 UTC
95b4507 Fix error in the output minifying `Function("return this")()` 30 September 2013, 08:49:29 UTC
afdaeba More attempts to determine when addition is associative Somebody hit me with bug reports on this. :) Refs #300 22 September 2013, 12:26:10 UTC
037199b Actually let's move away those monsters from the evaluate function ev() should do a single thing — evaluate constant expressions. if that's not possible, just return the original node. it's not the best place for partial evaluation there, instead doing it in the compress functions. 22 September 2013, 12:00:42 UTC
583fac0 More dirty handling of [ ... ].join() in unsafe mode Close #300 22 September 2013, 10:14:42 UTC
e815827 Evaluate [...].join() if possible: minor bugfix Follow-up to 78e98d2. 22 September 2013, 08:34:30 UTC
78e98d2 When `unsafe` is set, evaluate [...].join() if possible Close #298 19 September 2013, 15:20:45 UTC
8d14efe Concatenate strings also on the right-hand side of an expression that cannot be evaluated. Fix #126 E.g. converts: a+'Hello'+'World' to a+'HelloWorld' 19 September 2013, 10:03:03 UTC
83ba338 Avoid printing <!-- in the output (HTML5 comment) 06 September 2013, 07:10:45 UTC
7c10b25 Support HTML5 comment syntax (enabled by default!) See http://javascript.spec.whatwg.org/#comment-syntax https://github.com/mishoo/UglifyJS/issues/503 https://github.com/marijnh/acorn/issues/62 06 September 2013, 06:54:30 UTC
cb9d16f minor 06 September 2013, 06:52:56 UTC
5d8da86 Fix names. 02 September 2013, 16:38:00 UTC
85b527b Disallow `continue` referring to a non-IterationStatement. Fix #287 Simplifies handling of labels (their definition/references can be easily figured out at parse time, no need to do it in `figure_out_scope`). 02 September 2013, 16:36:16 UTC
1c6efda Better fix for #286 02 September 2013, 08:36:48 UTC
b0ca896 Fix parsing `a.case /= 1` Close #286 02 September 2013, 08:09:54 UTC
78a217b Fix parsing regexp after unary-prefix operator ++/x/.y Fix #284 02 September 2013, 06:56:27 UTC
a89d233 Better reporting of parse errors 02 September 2013, 06:55:34 UTC
c28e1a0 v2.4.0 22 August 2013, 12:06:42 UTC
1a95007 Remove --ie-proof from the readme. Fix #276 22 August 2013, 07:10:25 UTC
ed80b4a Move support for `negate_iife` in the compressor, rather than code generator (the code generator doesn't maintain enough context to know whether the return value is important or discarded) Fixes #272 20 August 2013, 14:45:52 UTC
4f09df2 Merge pull request #270 from michaelficarra/GH-259 fixes #259: don't unnecessarily quote object properties when --screw-ie8 19 August 2013, 07:21:08 UTC
d9ad3c7 fixes #259: don't unnecessarily quote object properties when --screw-ie8 19 August 2013, 00:45:06 UTC
6ea3f7f fix usage 08 August 2013, 06:15:13 UTC
4c4dc21 Don't drop unused setter argument. Fix #257 07 August 2013, 09:04:58 UTC
4aa4b3e Support `-p relative`. Fix #256 07 August 2013, 08:43:47 UTC
2604aad Add support for browserify 07 August 2013, 08:21:30 UTC
964d5b9 Don't pretend to evaluate lambdas Fix #255 04 August 2013, 18:44:17 UTC
b7adbca Fix #251 30 July 2013, 09:16:29 UTC
3435af4 Don't require arguments to --enclose 28 July 2013, 08:11:11 UTC
41c6273 Reverting "added option for dropping unused params" Revert "added option for dropping unused params" (turns out we already had the `unused` option for this.) This reverts commit e54df2226f7f3887d2f850cea8caf5c0353dce00. 25 July 2013, 15:08:36 UTC
e54df22 added option for dropping unused params 25 July 2013, 14:37:47 UTC
b1febde Fix output for arrays whose last element is a hole: [1,,] 1529ab96 started to do this (by considering holes to be separate from "undefined") but it still converted [1,,] (length 2, last element hole, trailing comma) to [1,] (length 1, trailing comma) Unfortunately the test suite doesn't really make this clear: the new test here passes with or without this patch because run-tests.js beautifys the expected output (in "make_code"), which does the incorrect transformation! If you make some manual change to arrays.js to make the test fail and see the INPUT and OUTPUT, then you can see that without this fix, [1,,] -> [1,], and with this fix it stays [1,,]. 18 July 2013, 12:39:22 UTC
193049a Revert previous patch, it was no good. 15 July 2013, 08:59:23 UTC
4a0bab0 Add "position" option to parser, to specify initial pos/line/col (for parsing embedded scripts) 15 July 2013, 08:27:11 UTC
9243b0c Apply transformer to AST_VarDef's name Fix #237 14 July 2013, 10:24:09 UTC
fc9ba32 Fix typo. Close #239 12 July 2013, 06:56:58 UTC
d0689c8 Reset the base54 counters every time minify is called. Close #229 28 June 2013, 07:08:13 UTC
02a8438 Don't swap binary ops when "use asm" is in effect. Refs #167 07 June 2013, 09:52:09 UTC
a4889a0 Merge pull request #220 from lautis/escape-null Escape null characters as \x00 03 June 2013, 18:10:14 UTC
f29f07a Escape null characters as \x00 Since \0 might be mistakenly interpreted as octal if followed by a number and using literal null is in some cases interpreted as end of string, escape null as \x00. 03 June 2013, 17:46:42 UTC
188e28e v2.3.6 23 May 2013, 20:42:32 UTC
2df4892 Merge pull request #213 from mattrobenolt/patch-1 SourceMapping pragma has changed to //# 22 May 2013, 18:30:54 UTC
9fc6796 Add `negate_iife` option to the code generator. See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98 22 May 2013, 18:22:14 UTC
9fc8a52 Set "global" on undeclared SymbolDef-s 22 May 2013, 10:08:19 UTC
3a21861 The extra /* */ isn't needed now 21 May 2013, 14:50:21 UTC
1dbffd4 SourceMapping pragma has changed to //# See: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit The spec was updated on May 16th since `//@` was causing some issues with IE. 21 May 2013, 14:46:27 UTC
22a038e Fix output of statement: `new function(){...};` Close #209 20 May 2013, 05:27:37 UTC
f652372 v2.3.5 19 May 2013, 11:25:05 UTC
ad1fc3b Fix package.json (use `repository` instead of `repositories`) 19 May 2013, 11:24:33 UTC
2b40a5a v2.3.4 15 May 2013, 10:27:40 UTC
ca3388c Add `--expr`, an option to parse a single expression (suitable for JSON) 15 May 2013, 10:27:23 UTC
caa8896 Only compress code in `new Function` if all arguments are strings. 14 May 2013, 15:36:31 UTC
d13aa39 v2.3.3 14 May 2013, 08:33:28 UTC
f64539f Compress code passed to `new Function` if it's a constant. Only for `--unsafe`. Close #203 14 May 2013, 07:47:06 UTC
d56ebd7 Fix a["1_1"] Close #204 14 May 2013, 07:42:34 UTC
3edfe7d Merge pull request #202 from nschonni/add-travis-ci Add CI build for supported Node versions 10 May 2013, 09:56:24 UTC
7f77eda v2.3.2 09 May 2013, 05:58:55 UTC
a9511df Use the negation hack rather than parens for a toplevel function expression call (only in !beautify mode) 09 May 2013, 05:58:47 UTC
064e7aa Fix is_assignable (not likely to be noticed, it's only used in `strict` parse mode) 09 May 2013, 05:44:24 UTC
back to top