New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

get-random-values

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-random-values - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

index.js

@@ -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
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc