Comparing version 0.3.58 to 0.3.59
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"; | ||
@@ -26,2 +27,4 @@ import replace from "@rollup/plugin-replace"; | ||
readline: empty, | ||
// Stub out a "global" module that we can inject later | ||
global: empty, | ||
}), | ||
@@ -37,4 +40,8 @@ nodeResolve({ | ||
}), | ||
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.3.58", | ||
"version": "0.3.59", | ||
"description": "zkSNARKs implementation in JavaScript", | ||
@@ -51,2 +51,3 @@ "main": "./build/main.cjs", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-inject": "^4.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
@@ -53,0 +54,0 @@ "@rollup/plugin-node-resolve": "^11.1.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
5011502
41382
12