Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
ocamlBetterErrors
Advanced tools
Work in progress!
npm install -g ocamlBetterErrors
Put this in your project's package.json:
{
"scripts": {
"start": "eval $(dependencyEnv) && nopam && which berror.native"
},
"dependencies": {
"nopam": "*",
"dependency-env": "*",
"ocamlBetterErrors": "*"
}
}
Running npm start
with such configuration will expose the berror.native
binary, for you to use like so:
ocamlc myApp.ml |& berror.native
Explanation: |&
is a bash shortcut for 2>&1 |
(not available in vanilla sh), which, in turn, means "pipe the stuff from stderr into stdout, then pipe it back into stdin of the next command". berror
takes in this info and searches for errors to pretty-print back.
To format the output in Reason syntax, use berror --path-to-refmttype thePathToRefmttype
(where refmttype
is a binary exposed by Reason).
Have fun!
git clone
this repo, cd
into it, then run:
npm install
# to compile
npm start
# to test, currently broken
npm test
FAQs
Better errors for ocaml
The npm package ocamlBetterErrors receives a total of 2 weekly downloads. As such, ocamlBetterErrors popularity was classified as not popular.
We found that ocamlBetterErrors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.