Socket
Socket
Sign inDemoInstall

snarkjs

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snarkjs - npm Package Compare versions

Comparing version 0.4.11 to 0.4.12

9

config/rollup.iife.config.js
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonJS from "@rollup/plugin-commonjs";
import inject from "@rollup/plugin-inject";
import virtual from "@rollup/plugin-virtual";

@@ -28,4 +27,2 @@ import replace from "@rollup/plugin-replace";

ejs: empty,
// Stub out a "global" module that we can inject later
global: empty,
}),

@@ -39,10 +36,8 @@ nodeResolve({

replace({
// The current default is false, but they are changing it next version
preventAssignment: false,
"process.browser": !!process.env.BROWSER
}),
inject({
// Inject the "global" virtual module if we see any reference to `global` in the code
global: "global",
}),
visualizer(),
]
};
{
"name": "snarkjs",
"type": "module",
"version": "0.4.11",
"version": "0.4.12",
"description": "zkSNARKs implementation in JavaScript",

@@ -54,3 +54,2 @@ "main": "./build/main.cjs",

"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-json": "^4.1.0",

@@ -61,4 +60,4 @@ "@rollup/plugin-node-resolve": "^11.1.0",

"chai": "^4.2.0",
"eslint": "^6.8.0",
"mocha": "^7.1.1",
"eslint": "^8.7.0",
"mocha": "^9.1.4",
"rollup": "^2.36.2",

@@ -65,0 +64,0 @@ "rollup-plugin-terser": "^7.0.2",

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