
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
@babel/plugin-syntax-flow
Advanced tools
Allow parsing of the flow syntax
See our website @babel/plugin-syntax-flow for more information.
Using npm:
npm install --save-dev @babel/plugin-syntax-flow
or using yarn:
yarn add @babel/plugin-syntax-flow --dev
Similar to @babel/plugin-syntax-flow, but as a preset, it includes not only the syntax plugin but also plugins for transforming Flow annotations. This makes it a more comprehensive solution for projects using Flow.
While not a Babel plugin, flow-bin is the official Flow CLI that can be used for type checking Flow-typed JavaScript files. It serves a different purpose by providing the type checking itself, whereas @babel/plugin-syntax-flow only enables Babel to parse Flow syntax.
TypeScript is a superset of JavaScript that adds static types. It serves a similar purpose to Flow but is a different ecosystem. TypeScript has its own compiler and Babel can be configured to strip TypeScript types, similar to how @babel/plugin-syntax-flow works for Flow.
FAQs
Allow parsing of the flow syntax
The npm package @babel/plugin-syntax-flow receives a total of 11,874,302 weekly downloads. As such, @babel/plugin-syntax-flow popularity was classified as popular.
We found that @babel/plugin-syntax-flow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.