Revision e005099fb1b9a1b87ac50ba8223255e52cec452d authored by Alex Lam S.L on 14 May 2017, 18:37:53 UTC, committed by GitHub on 14 May 2017, 18:37:53 UTC
- fix `estree` conversion of getter/setter
- fix non-directive literal in `to_mozilla_ast()`
- revamp `test/mozilla-ast.js`
  - reuse `test/ufuzz.js` for code generation
  - use `acorn.parse()` for creating `estree`
- extend `test/ufuzz.js` for `acorn` workaround
  - catch variable redefinition
  - non-trivial literal as directive
  - adjust options for tolerance

Miscellaneous
- optional semi-colon when parsing directives

fixes #1914
closes #1915
1 parent 504a436
History
File Mode Size
ast.js -rw-r--r-- 30.3 KB
compress.js -rw-r--r-- 178.5 KB
minify.js -rw-r--r-- 5.5 KB
mozilla-ast.js -rw-r--r-- 21.8 KB
output.js -rw-r--r-- 46.7 KB
parse.js -rw-r--r-- 55.6 KB
propmangle.js -rw-r--r-- 8.8 KB
scope.js -rw-r--r-- 19.4 KB
sourcemap.js -rw-r--r-- 3.6 KB
transform.js -rw-r--r-- 6.8 KB
utils.js -rw-r--r-- 10.8 KB

back to top