Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@gabnor/bs-flow-parser
Advanced tools
This is [Flow's](https://github.com/facebook/flow) [parser](https://github.com/facebook/flow/tree/master/src/parser) modified and packages for BuckleScript. The changes that have been made are not alterations to how the Flow parser works, but simply to ge
This is Flow's parser modified and packages for BuckleScript. The changes that have been made are not alterations to how the Flow parser works, but simply to get it to compile, mostly due to BuckleScript's older version of OCaml.
NOTE: The most significant alterations can be seen by going back to this repo's commit that adds the original Flow parser source files that were needed for the basic parser and lexer. A patch file that summarises the changes can be found here.
Furthermore the modules that will probably interest you as they're the
entrypoint modules, Flow_parser
and Flow_parser_js
, are fully
customised.
The entire package is namespaced to BsFlowParser
. It can be installed from npm:
yarn add wonka
or npm install --save wonka
, after which you can add the module to your bsconfig.json
:
{
"name": "<your name>",
"version": "0.1.0",
"sources": ["src"],
"bsc-flags": ["-bs-super-errors"],
"bs-dependencies": [
+ "bs-flow-parser"
]
}
NOTE: If you're looking to use this package in JavaScript, it will work, but it's nonetheless recommended to use the official JSoO compiled version
flow-parser
A small, non-scientific benchmark can be found here, tl;dr performance of the bundled parser seems to be on par with the JSoO version on npm.
FAQs
This is [Flow's](https://github.com/facebook/flow) [parser](https://github.com/facebook/flow/tree/master/src/parser) modified and packages for BuckleScript. The changes that have been made are not alterations to how the Flow parser works, but simply to ge
We found that @gabnor/bs-flow-parser 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.