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

mcl-wasm

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcl-wasm - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

10

mcl.js
'use strict';
(generator => {
if (typeof exports === 'object') {
if (typeof window === 'object') {
const crypto = window.crypto || window.msCrypto
const exports = {}
window.mcl = generator(exports, crypto, false)
} else {
const crypto = require('crypto')
crypto.getRandomValues = crypto.randomFillSync
generator(exports, crypto, true)
} else {
const crypto = window.crypto || window.msCrypto
const exports = {}
window.mcl = generator(exports, crypto, false)
}

@@ -12,0 +12,0 @@ })((exports, crypto, isNodeJs) => {

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

@@ -5,0 +5,0 @@ "main": "mcl.js",

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