Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@cfware/acorn-class-fields
Advanced tools
This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.
It implements support for class fields as defined in the stage 3 proposal Class field declarations for JavaScript. The emitted AST follows an ESTree proposal.
Installing this module requires taking advantage of npm's aliases feature:
npm install -D acorn-class-fields@npm:@cfware/acorn-class-fields
This will allow other acorn plugins which depend on acorn-class-fields@^0.3.1
to use this module instead.
This module provides a plugin that can be used to extend the Acorn Parser
class:
const {Parser} = require('acorn');
const classFields = require('acorn-class-fields');
Parser.extend(classFields).parse('class X { x = 0 }');
This plugin is released under an MIT License.
FAQs
Support for class fields in acorn
The npm package @cfware/acorn-class-fields receives a total of 0 weekly downloads. As such, @cfware/acorn-class-fields popularity was classified as not popular.
We found that @cfware/acorn-class-fields demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.