Releases: browserify/acorn-node
Releases · browserify/acorn-node
v2.0.1
v2.0.0
- Use acorn's builtin dynamic
import()
parsing. This parses theImportExpression
node type instead of theImport
node type from acorn-node 1.x. - Reject escape sequences in
import.meta
.
v1.8.2
- Revert a breaking change in import.meta parsing.
v1.8.1
- Fix crash in compiled private-class-elements code.
v1.8.0
-
Upgrade acorn to v7.
For backwards compatibility,
acorn-node
still uses theImport
node type for dynamic imports, NOTImportExpression
like acorn v7 and estree. -
Add numeric separator support:
var a = 10_000_000_000_000_000_000_000_000n;
v1.7.0
- Add class instance fields support:
class X { public = 1; #private = 2; }
- Add class static fields support:
class X { static public = 1; static #private = 2; }
- Add
export * as ns
support whensourceType
is 'module':export * as ns from './ns.mjs';
v1.6.2
- Allow dynamic
import()
in scripts. - Update minimum dependency versions, fixing a peerDependency warning.
- Add Node 10 and 11 to CI.
v1.6.1
- Update acorn-dynamic-import to v4.
v1.6.0
- Upgrade acorn to v6.
- Add bigint support.
v1.5.2
- Upgrade acorn to support optional catch binding in the AST walker.