Releases: ForbesLindesay/acorn-globals
Releases · ForbesLindesay/acorn-globals
7.0.1
7.0.0
Breaking Changes
New Features
-
You can now override the default options passed to the acorn parser: (#64)
cons defaults = { allowReturnOutsideFunction: true, allowImportExportEverywhere: true, allowHashBang: true, ecmaVersion: "latest" }
Bug Fixes
6.0.0
Updates acorn and acorn-walk to v7
4.3.4
- fix add pattern destructuring support to the
catch
handler
4.3.3
- fix class as expression
- fix handle variable names that exist in Object.prototype
4.3.2
- Fix: Classes are now correctly block-scoped rather than function/module scoped
4.3.1
- Fix destructuring rest args now declares the local variable name
- Fix exporting anonymous functions & classes no longer errors