Socket
Book a DemoInstallSign in
Socket

@cfware/acorn-private-class-elements

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfware/acorn-private-class-elements

Helpers for supporting private class methods and fields in acorn

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
10
42.86%
Maintainers
1
Weekly downloads
 
Created
Source

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 an ESTree proposal.

Installation

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)
  • Use Parser.acorn if available

Only production bug fixes will be accepted here and only if they are also submitted to upstream.

License

This plugin is released under an MIT License.

FAQs

Package last updated on 06 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts