
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
@naiverlabs/acorn-node
Advanced tools
the acorn javascript parser, preloaded with plugins for syntax parity with recent node versions, and does not care about browsers
Acorn preloaded with plugins for syntax parity with recent Node versions.
It also includes versions of the plugins compiled with Babel, so they can be run on old Node versions (0.6 and up).
npm install acorn-node
var acorn = require('acorn-node')
The API is the same as acorn, but with plugins to match Node.js behaviour.
acorn
branch supports the same syntax as Node.js.The following options have different defaults from acorn, to match Node modules:
ecmaVersion: 2022
allowHashBang: true
allowReturnOutsideFunction: true
var walk = require('acorn-node/walk')
The Acorn syntax tree walker. Comes preconfigured for the syntax plugins if necessary. See the acorn documentation for details.
The files in the repo root and the ./test folder are licensed as Apache-2.0.
FAQs
the acorn javascript parser, preloaded with plugins for syntax parity with recent node versions, and does not care about browsers
We found that @naiverlabs/acorn-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.