Helpers for supporting private class methods and fields for Acorn
It provides helpers for implementing support for private class elements. The emitted AST follows an ESTree proposal.
Installing this module requires taking advantage of npm's aliases feature:
npm install -D acorn-private-class-elements@npm:@cfware/acorn-private-class-elements
This will allow other acorn plugins which depend on
acorn-private-class-elements@^0.1.0 to use this module instead.
Purpose of this fork
This fork is to obtain bug-fixes that have not been merged into the upstream project:
- Compatibility with acorn 7.x (merged upstream)
- Move mocha to devDependencies (merged upstream)
Only production bug fixes will be accepted here and only if they are also submitted to upstream.
This plugin is released under an MIT License.