@citeproc-rs/wasm
Advanced tools
Comparing version 0.0.0-canary-ec9b385 to 0.0.0-placeholder
@@ -7,3 +7,3 @@ { | ||
"description": "citeproc-rs, compiled to WebAssembly", | ||
"version": "0.0.0-canary-ec9b385", | ||
"version": "0.0.0-placeholder", | ||
"license": "MPL-2.0", | ||
@@ -15,11 +15,7 @@ "repository": { | ||
"files": [ | ||
"_cjs/*", | ||
"_esm/*", | ||
"_web/*", | ||
"index.js", | ||
"README.md" | ||
], | ||
"main": "_cjs/citeproc_rs_wasm.js", | ||
"browser": "_esm/citeproc_rs_wasm.js", | ||
"types": "_esm/citeproc_rs_wasm.d.ts", | ||
"main": "index.js", | ||
"sideEffects": false | ||
} |
@@ -1,7 +0,43 @@ | ||
# `@citeproc-rs/wasm` | ||
# `@citeproc-rs/wasm` placeholder | ||
This is a build of `citeproc` that is suitable for use in Node.js, a browser or | ||
a Firefox/Chromium-based application like Zotero. It consists of a WebAssembly | ||
(WASM) binary, and a fairly lightweight JavaScript wrapper for that binary. | ||
**Note: This is a placeholder package. Before a stable release is published, | ||
refer to [the wasm package README in the GitHub repo][wasm-crate] and use the | ||
@canary dist tag as below.** | ||
README for newer version of the API forthcoming. | ||
[wasm-crate]: https://github.com/cormacrelf/citeproc-rs/tree/master/crates/wasm | ||
This is a front-end to | ||
[`citeproc-rs`](https://github.com/cormacrelf/citeproc-rs), a citation | ||
processor written in Rust and compiled to WebAssembly. | ||
It contains builds appropriate for: | ||
- Node.js | ||
- Browsers, using a bundler like Webpack.js | ||
- Browsers directly importing an ES Module from a webserver | ||
## Installation / Release channels | ||
There are two release channels: | ||
**Stable** is each versioned release. (*At the time of writing, there are no | ||
versioned releases.*) Install with: | ||
```sh | ||
yarn add @citeproc-rs/wasm | ||
``` | ||
**Canary** tracks the master branch [on | ||
GitHub](https://github.com/cormacrelf/citeproc-rs). Its version numbers follow | ||
the format `0.0.0-canary-GIT_COMMIT_SHA`, so version ranges in your | ||
`package.json` are not meaningful. But you can install the latest one with: | ||
```sh | ||
yarn add @citeproc-rs/wasm@canary | ||
# alternatively, a specific commit | ||
yarn add @citeproc-rs/wasm@0.0.0-canary-COMMIT_SHA | ||
``` | ||
If you use NPM, replace `yarn add` with `npm install`. | ||
For more information, follow the readme on |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
44
0
2
1829
3
1