sodium-javascript
Advanced tools
Comparing version 0.5.3 to 0.5.4
{ | ||
"name": "sodium-javascript", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "WIP - a pure javascript version of sodium-native", | ||
@@ -17,2 +17,5 @@ "main": "index.js", | ||
}, | ||
"browser": { | ||
"crypto": false | ||
}, | ||
"scripts": { | ||
@@ -19,0 +22,0 @@ "browser": "browserify test.js | browser-run", |
@@ -24,3 +24,3 @@ var assert = require('nanoassert') | ||
// Node.js. | ||
crypto = require('cry' + 'pto'); | ||
crypto = require('crypto') | ||
if (crypto && crypto.randomBytes) { | ||
@@ -27,0 +27,0 @@ return nodeBytes |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
53024
0