aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-12-17Semicolon after do...while statement is optionalAnthony Van de Gejuchte
2015-12-07Merge pull request #879 from ReadmeCritic/master...Update README URLs based on HTTP redirectsRichard van Velzen
2015-11-27Update README URLs based on HTTP redirectsReadmeCritic
2015-11-16v2.6.1Mihai Bazon
2015-11-16Fix endless loop...Close #866 Mihai Bazon
2015-11-16Limit max iterations for tighten_body...Ref #866 Mihai Bazon
2015-11-14Merge pull request #864 from plievone/patch-1...Fix docs for keep_fargsRichard van Velzen
2015-11-14Fix 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.plievone
2015-11-12v2.6.0Mihai Bazon
2015-11-12Fix output for "use asm" code from SpiderMonkey AST...(will only work properly if the SM tree contains "raw" properties for Literal number nodes) Mihai Bazon
2015-11-12Build label def/refs info when figuring out scope...Fix #862 Mihai Bazon
2015-11-12Replace util.error with console.logMihai Bazon
2015-11-11Rework 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 Mihai Bazon
2015-11-10Merge pull request #854 from kzc/moz-regexp-2...Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flagsMihai Bazon
2015-11-09Fix parsing invalid input...i.e. `x = 1.xe` — because parseFloat("1.xe") returns 1, this parsed as `x = 1`. Ref #857 Mihai Bazon
2015-11-09Prevent 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 Richard van Velzen
2015-11-02simplify mozilla AST RegExpLiteral token parse and handle corner cases of reg...kzc
2015-11-02Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rathe...kzc
2015-11-01rename To_Moz_Literal to To_Moz_RegExpkzc
2015-11-01Fixed RegExp literal in mozilla AST generation/output and added a --dump-spid...kzc
2015-10-29`return undefined` optimization no longer uses `return_void_0` optionkzc
2015-10-29more tests for `return undefined` optimizationkzc
2015-10-29optimize `return undefined` and `return void 0`kzc
2015-10-28Allow 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. Richard van Velzen
2015-10-28Stop building for io.jsRichard van Velzen
2015-10-27fixes #845: \v escaping should be restricted to "screw_ie8" modeMichael Ficarra
2015-10-20Fix #836Fábio Santos
2015-10-15Make_string was missing \v and wasnt reversing vertical tabs even though read...startswithaj
2015-10-13add `--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 Damian Krzeminski
2015-10-13upgrade 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 Damian Krzeminski
2015-10-13Merge pull request #829 from kzc/html_comment_ops...Fix other operator output producing <!-- or -->Mihai Bazon
2015-10-13Fix other operator output related to <!-- or -->kzc
2015-10-12Fix testsMihai Bazon
2015-10-12Only encode <!-- and --> in strings when inline_scriptMihai Bazon
2015-10-12Output `-- >` instead of `-->` in expressions. Escape `<!--` and `-->` within...kzc
2015-10-11v2.5.0Mihai Bazon
2015-10-07have minify() call figure_out_scope() if needed to produce well formed "use a...kzc
2015-10-07get rid of SCOPE_IS_NEEDED as it was always truekzc
2015-10-07Fix handling of "use asm" when no command line flags are passed to uglifyjs. ...kzc
2015-10-07Pin 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) SpainTrain
2015-10-07add asm.js testkzc
2015-10-07Add proper support for "use asm"; blocks. Disable -c optimization within "use...kzc
2015-10-06Implement shebang supportAnthony Van de Gejuchte
2015-09-24Merge pull request #808 from avdg/travis...Add node 4.x in TravisMihai Bazon
2015-09-24Add node 4.x in TravisAnthony Van de Gejuchte
2015-09-24Disable node 0.8 in TravisMihai Bazon
2015-09-24Fix mozilla-ast after module loading changes...Need to explicitly qualify stuff now, since it's not evaluated in some global scope. Ref #636 Mihai Bazon
2015-09-24No longer use `vm` to load code....Improves performance 2x on node > 0.10. Ref #636 Mihai Bazon
2015-09-24Fix wrap_commonjs to include code first...(code could have directives, i.e. "use strict") Mihai Bazon
2015-09-14use a valid SPDX license identifierKyle Mitchell