Socket
Socket
Sign inDemoInstall

mcl-wasm

Package Overview
Dependencies
0
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.7.0

browser/demo.html

11

package.json
{
"name": "mcl-wasm",
"version": "0.6.0",
"version": "0.7.0",
"description": "mcl ; A portable and fast pairing-based cryptography library for Node.js by WebAssembly",

@@ -20,5 +20,14 @@ "main": "src/index.js",

"files": [
"src/Makefile",
"src/index.js",
"src/mcl.js",
"src/mcl_c.js",
"browser/demo.html",
"browser/demo.js",
"browser/mcl.js",
"browser/package-lock.js",
"browser/package.js",
"browser/readme.md",
"browser/src/index-browser.js",
"browser/webpack.config.js",
"test/test.js",

@@ -25,0 +34,0 @@ "test/eth-test.js"

5

src/index.js

@@ -9,6 +9,1 @@ const crypto = require('crypto')

module.exports = mcl
// React???
if (typeof window === 'object') {
window.mcl = mcl
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc