Skip to content

Releases: browserify/acorn-node

v2.0.1

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 30 May 18:33
11b3621
  • Fix crash on class methods named static:
    class X {
      static () {}
    }

Thanks @kumavis!

v2.0.0

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 24 Feb 13:02
d61ed46
  • 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

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 13 Aug 16:17
2ebacc9
  • Revert a breaking change in import.meta parsing.

v1.8.1

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 13 Aug 16:14
d2fc5ce
  • Fix crash in compiled private-class-elements code.

v1.8.0

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 13 Aug 16:12
f0c0cec
  • 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

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 24 May 09:13
5a623a5
  • 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

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 25 Oct 14:58
73004b4
  • Allow dynamic import() in scripts.
  • Update minimum dependency versions, fixing a peerDependency warning.
  • Add Node 10 and 11 to CI.

v1.6.1

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 23 Oct 11:34
728cad9
  • Update acorn-dynamic-import to v4.

v1.6.0

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 29 Sep 21:49
325e27b
  • Upgrade acorn to v6.
  • Add bigint support.

v1.5.2

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 15 Jun 11:37
712822f
  • Upgrade acorn to support optional catch binding in the AST walker.