Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
`bs-uchar` ---------- This is the Uchar compatibility library from OCaml 4.03, backported to OCaml 4.02, and thus [BuckleScript][] (an OCaml-to-JavaScript compiler) versions prior to 6.0.0 (which were forked from OCaml 4.02.3) and [Reason][] (an alternati
bs-uchar
This is the Uchar compatibility library from OCaml 4.03, backported to OCaml 4.02, and thus BuckleScript (an OCaml-to-JavaScript compiler) versions prior to 6.0.0 (which were forked from OCaml 4.02.3) and Reason (an alternative OCaml syntax targeting that compiler.)
You can safely ignore the installation instructions below when compiling to JS. Instead:
Install this fork through npm:
npm install --save @elliottcable/bs-uchar
Manually add bs-uchar
to your bsconfig.json
's
bs-dependencies
:
"bs-dependencies": [
...
+ "bs-uchar"
],
Unconditionally and globally open UcharShim
in your program, by
adding an -open
to bsc-flags
in your bsconfig.json
:
"bsc-flags": [
...
+ "-open UcharShim"
]
(The UcharShim
module has no contents when compiled on a version of
OCaml already containing a Uchar
module; and you can safely simply
remove the -open
flag when you wish to drop support for
BuckleScript v4 & v5.)
Use Uchar.t
in your program!
Release %%VERSION%%
The uchar
package provides a compatibility library for the
Uchar
module introduced in OCaml 4.03.
The uchar
package is distributed under the license of the OCaml
compiler. See LICENSE for details.
Home page: https://ocaml.github.io/uchar/
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
Uchar can be installed with opam
:
opam install uchar
If you don't use opam
consult the opam
file for build
instructions.
Since OCaml 4.03 you can find the module in the documentation of the standard library. Before this you can consult this page.
The file test/testpkg.ml
can be used to test the compilation of the
package. Once the package is installed the following invocation
should succeed both before and after 4.03
ocamlbuild -X src -use-ocamlfind -pkg uchar test/testpkg.native
FAQs
`bs-uchar` ---------- This is the Uchar compatibility library from OCaml 4.03, backported to OCaml 4.02, and thus [BuckleScript][] (an OCaml-to-JavaScript compiler) versions prior to 6.0.0 (which were forked from OCaml 4.02.3) and [Reason][] (an alternati
The npm package bs-uchar receives a total of 2 weekly downloads. As such, bs-uchar popularity was classified as not popular.
We found that bs-uchar 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.