![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@esy-ocaml/ocamlrun
Advanced tools
Readme
This repository contains an npm package which wraps the bytecode VM portion of the OCaml toolchain + a set of dynamically loaded libs as an npm package.
The idea is to be able to distribute bytecode compiled OCaml programs on npm and have them executed using this package.
The goal is also to have a very quick installation, current on MacBook Pro 2016
it takes around 18s to compile the ocamlrun
.
% npm install -g @esy-ocaml/ocamlrun
% ocamlrun ./my-bytecode-compiled-executable
% make clean
% make dist
% npm publish
We compile ocaml
and jbuilder
into bytecode and distribute along with
ocaml.tar.gz
and lwt.tar.gz
. On target machine we unpack ocaml.tar.gz
and
build the runtime portion (ocamlrun
+ needed C libs) then we build only C part
of lwt
using bc-compiled ocaml
and jbuilder
. Finally we have an ocamlrun
exposed with a configured $OCAMLLIB
which is able to run bytecompiled
executables which use lwt.
FAQs
OCaml bytecode runtime
The npm package @esy-ocaml/ocamlrun receives a total of 1 weekly downloads. As such, @esy-ocaml/ocamlrun popularity was classified as not popular.
We found that @esy-ocaml/ocamlrun demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.