Age | Commit message (Expand) | Author |
2012-11-09 | declare dependency versions...close #40
| Mihai Bazon |
2012-11-08 | AST_LabelRef no longer inherits from AST_SymbolRef | Mihai Bazon |
2012-11-08 | v2.1.10 | Mihai Bazon |
2012-11-08 | fix API breakage...close #36, #38
| Mihai Bazon |
2012-11-08 | optimization for if/break as first statement in a loop body... for(...; x; ...) if (y) break; → for(...; x&&!y; ...);
similarly for `while` and some combinations (i.e. the `break` appears in the
`else` clause, etc.)
| Mihai Bazon |
2012-11-07 | ignore node_modules/ | Mihai Bazon |
2012-11-07 | v2.1.9 | Mihai Bazon |
2012-11-07 | fix another small regression...we do need parens here: `new (foo.bar().baz)`, but not here: `new foo.bar.baz`
| Mihai Bazon |
2012-11-07 | v2.1.8 | Mihai Bazon |
2012-11-07 | fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++]) | Mihai Bazon |
2012-11-07 | v2.1.7 | Mihai Bazon |
2012-11-07 | add AST_Accessor and AST_SymbolAccessor node types...AST_Accessor will represent the function for a setter or getter. Since they
are not mangleable, and they should not introduce a name in scope, we have a
new node for their name (AST_SymbolAccessor) which doesn't inherit from
AST_SymbolDeclaration.
fix #37
| Mihai Bazon |
2012-11-07 | parenthesize property access when it's the expression in New...refs #35
| Mihai Bazon |
2012-11-07 | further fix for parens around New (refs #35) | Mihai Bazon |
2012-11-07 | parenthesize a Call expression when its parent is New...fix #35
| Mihai Bazon |
2012-11-07 | add proper parens around unary expressions...fix #34
| Mihai Bazon |
2012-11-06 | add option to mangle names even if eval/with is in use...(for more fair comparison to Closure compiler)
| Mihai Bazon |
2012-11-05 | discard the hack that worked around the deprecation warning...(since the source-map module no longer uses require.js)
refs #9
| Mihai Bazon |
2012-11-05 | convert `while` into `for` | Mihai Bazon |
2012-11-05 | minor | Mihai Bazon |
2012-11-05 | minor optimization...for `==` or `!=` against a constant, prefer to display the constant first.
should help a bit after gzip, i.e.:
typeof foo=="undefined"
^^^^^^ ^^^^^^^^^^^^^
vs:
"undefined"==typeof foo
^^^^^^^^^^^^^^^^^^^ (longer sequence that could repeat)
idea stolen from closure.
| Mihai Bazon |
2012-11-05 | print final semicolon...close #28
| Mihai Bazon |
2012-11-02 | use a Dictionary object instead of plain object for hashes...to mitigate the `__proto__` issue
related to #30
| Mihai Bazon |
2012-11-01 | v2.1.6 | Mihai Bazon |
2012-11-01 | it's safe to negate expression in !EXP only in boolean context...#kendo
| Mihai Bazon |
2012-11-01 | added unsafe_comps for negating `<=` with `>`...since it has the potential to break code, let's keep it disabled by default
| Mihai Bazon |
2012-11-01 | fix compressing UnaryPrefix...only try negating the expression if the operator is `!`
#kendo
| Mihai Bazon |
2012-10-30 | v2.1.5 | Mihai Bazon |
2012-10-30 | don't move expressions containing the binary `in` operator into the `for` ini......(opera can't parse it)
close #25
| Mihai Bazon |
2012-10-25 | v2.1.4 | Mihai Bazon |
2012-10-25 | cripple scope to make IE happy :-(...close #24
| Mihai Bazon |
2012-10-25 | test for fs.existsSync | Mihai Bazon |
2012-10-24 | v2.1.3 | Mihai Bazon |
2012-10-24 | fix for `if (...) return; else return ...;`...(it was assumed that the first `return` always contains a value)
close #22
| Mihai Bazon |
2012-10-22 | more sequence optimizations (lift some sequences above binary/unary expressio... | Mihai Bazon |
2012-10-22 | v2.1.2 | Mihai Bazon |
2012-10-20 | Merge branch 'master' of github.com:mishoo/UglifyJS2 | Mihai Bazon |
2012-10-20 | alternate hack to disable deprecation warning...ref #9, close #20
| Mihai Bazon |
2012-10-19 | Merge pull request #19 from SevInf/master...Allow to specify sourceRoot in minify | Mihai Bazon |
2012-10-19 | minor fix for dropping unused definitions.... function f(x, y) {
var g = function() { return h() };
var h = function() { return g() };
return x + y;
}
now compresses to `function f(x, y) { return x + y }`
| Mihai Bazon |
2012-10-19 | Add sourceRoot option to minify | Sergej Tatarincev |
2012-10-18 | add fromString argument to `UglifyJS.minify` (allows to pass the source...code, instead of file names, as first argument).
close #17
| Mihai Bazon |
2012-10-18 | more optimizations for some break/continue cases | Mihai Bazon |
2012-10-18 | v2.1.1 | Mihai Bazon |
2012-10-18 | fix `--comments` (close #16) | Mihai Bazon |
2012-10-17 | v2.1.0 | Mihai Bazon |
2012-10-17 | added note about API docs and online demo | Mihai Bazon |
2012-10-17 | more small optimizations...(unlikely to help for hand-written code)
| Mihai Bazon |
2012-10-17 | define aborts on AST_If: true if both branches abort | Mihai Bazon |
2012-10-17 | employ a better parser for command-line arguments...to support passing commas in strings in for example:
uglifyjs2 -cd TEST="'a,b'" <<EOF
console.log(TEST);
EOF
→ console.log("a,b")
close #14
| Mihai Bazon |