Comparing version 0.4.11 to 0.4.12
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", |
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
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
11
43585735
59429