get-random-values
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -1,6 +0,4 @@ | ||
var broquire = require('broquire')(require); | ||
var window = require('global/window'); | ||
var nodeCrypto = require('crypto'); | ||
var nodeCrypto = broquire('crypto', null); | ||
function getRandomValues(buf) { | ||
@@ -7,0 +5,0 @@ if (window.crypto && window.crypto.getRandomValues) { |
{ | ||
"name": "get-random-values", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "`window.crypto.getRandomValues` with fallback to Node.js crypto", | ||
@@ -23,3 +23,2 @@ "keywords": [ | ||
"dependencies": { | ||
"broquire": "^0.3.0", | ||
"global": "^4.2.1" | ||
@@ -31,3 +30,6 @@ }, | ||
"tape": "^2.14.0" | ||
}, | ||
"browser": { | ||
"crypto": false | ||
} | ||
} |
1
3953
26
- Removedbroquire@^0.3.0
- Removedbroquire@0.3.0(transitive)