Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.