Skip to content

Releases: browserify/acorn-node

v2.0.1

30 May 18:33
11b3621
Compare
Choose a tag to compare
  • Fix crash on class methods named static:
    class X {
      static () {}
    }

Thanks @kumavis!

v2.0.0

24 Feb 13:02
d61ed46
Compare
Choose a tag to compare
  • Use acorn's builtin dynamic import() parsing. This parses the ImportExpression node type instead of the Import node type from acorn-node 1.x.
  • Reject escape sequences in import.meta.

v1.8.2

13 Aug 16:17
2ebacc9
Compare
Choose a tag to compare
  • Revert a breaking change in import.meta parsing.

v1.8.1

13 Aug 16:14
d2fc5ce
Compare
Choose a tag to compare
  • Fix crash in compiled private-class-elements code.

v1.8.0

13 Aug 16:12
f0c0cec
Compare
Choose a tag to compare
  • Upgrade acorn to v7.

    For backwards compatibility, acorn-node still uses the Import node type for dynamic imports, NOT ImportExpression like acorn v7 and estree.

  • Add numeric separator support:

    var a = 10_000_000_000_000_000_000_000_000n;

v1.7.0

24 May 09:13
5a623a5
Compare
Choose a tag to compare
  • 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 when sourceType is 'module':
    export * as ns from './ns.mjs';

v1.6.2

25 Oct 14:58
73004b4
Compare
Choose a tag to compare
  • Allow dynamic import() in scripts.
  • Update minimum dependency versions, fixing a peerDependency warning.
  • Add Node 10 and 11 to CI.

v1.6.1

23 Oct 11:34
728cad9
Compare
Choose a tag to compare
  • Update acorn-dynamic-import to v4.

v1.6.0

29 Sep 21:49
325e27b
Compare
Choose a tag to compare
  • Upgrade acorn to v6.
  • Add bigint support.

v1.5.2

15 Jun 11:37
712822f
Compare
Choose a tag to compare
  • Upgrade acorn to support optional catch binding in the AST walker.