Détail du package

acorn-private-class-elements

acornjs852.9kMIT1.0.0

Helpers for supporting private class methods and fields in acorn

readme

Helpers for supporting private class methods and fields for Acorn

NPM version

This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.

It provides helpers for implementing support for private class elements. The emitted AST follows the ESTree experimental Class Features design.

License

This plugin is released under an MIT License.

changelog

1.0.0 (2021-01-27)

  • Update to ESTree consensus

0.2.7 (2020-08-13)

  • Mark as compatible with acorn@8

0.2.6 (2020-06-11)

  • Don't break acorn's optional chaining support

0.2.5 (2020-04-23)

  • Evaluate class heritage with outer private environment

0.2.4 (2020-04-22)

  • Don't allow private element access on super

0.2.3 (2020-04-22)

(Skipped 0.2.1 and 0.2.2 because I accidentally called 0.2.0 0.2.2 in git)

  • Use injected acorn instance if available
  • Uses Object.getPrototypeOf if available instead of __proto__

0.2.0 (2020-03-07)

  • Mark as compatible with acorn v7

0.1.1 (2019-02-09)

  • Add _branch() method

0.1.0 (2019-02-09)

Initial release