brorand
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -43,3 +43,3 @@ var r; | ||
try { | ||
var crypto = require('cry' + 'pto'); | ||
var crypto = require('crypto'); | ||
@@ -46,0 +46,0 @@ Rand.prototype._rand = function _rand(n) { |
{ | ||
"name": "brorand", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Random number generator for browsers and node.js", | ||
@@ -27,3 +27,6 @@ "main": "index.js", | ||
"mocha": "^2.0.1" | ||
}, | ||
"browser": { | ||
"crypto": false | ||
} | ||
} |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
3312
0