Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@biscuit-auth/biscuit-wasm

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@biscuit-auth/biscuit-wasm - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

dist/biscuit_bg.wasm

33

package.json
{
"name": "@biscuit-auth/biscuit-wasm",
"description": "WebAssembly wrapper for Biscuit authorization tokens",
"version": "0.1.0",
"version": "0.1.1",
"license": "Apache-2.0",

@@ -10,10 +10,27 @@ "repository": {

},
"scripts": {
"build-esm": "wasm-pack build --target bundler --out-dir module --out-name biscuit --scope biscuit-auth",
"build-cjs": "wasm-pack build --target nodejs --out-dir dist --out-name biscuit --scope biscuit-auth",
"remove-pkg-cruft": "rm module/package.json dist/package.json dist/.gitignore module/.gitignore dist/README.md module/README.md",
"prepare-package": "npm run build-esm && npm run build-cjs && npm run remove-pkg-cruft && cp performance.js dist/snippets/*/inline0.js"
},
"files": [
"biscuit_bg.wasm",
"biscuit.js",
"biscuit.d.ts"
"module/biscuit_bg.wasm",
"module/biscuit.js",
"module/biscuit.d.ts",
"module/snippets",
"dist/biscuit_bg.wasm",
"dist/biscuit.js",
"dist/biscuit_bg.js",
"dist/biscuit.d.ts",
"dist/snippets"
],
"module": "biscuit.js",
"types": "biscuit.d.ts",
"sideEffects": false
}
"main": "dist/biscuit.js",
"exports": {
"require": "./dist/biscuit.js",
"import": "./module/biscuit.js"
},
"module": "module/biscuit.js",
"sideEffects": "false",
"types": "dist/biscuit.d.ts"
}
# Biscuit-Wasm
This library wraps the [Rust implementation](https://github.com/biscuit-auth) of [Biscuit tokens](https://www.biscuitsec.org) in WebAssembly, for usage in NodeJS and browsers.
It provides both CommonJS and EcmaScript modules, along with TypeScript type definitions.
## License
Licensed under the Apache 2.0 License.
Copyright 2021 Geoffroy Couprie
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc