Socket
Socket
Sign inDemoInstall

brorand

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

6

index.js

@@ -10,4 +10,4 @@ var r;

function Rand(randy) {
this.randy = randy;
function Rand(rand) {
this.rand = rand;
}

@@ -51,3 +51,3 @@ module.exports.Rand = Rand;

for (var i = 0; i < res.length; i++)
res[i] = this.randy.getRandBits(8);
res[i] = this.rand.getByte();
return res;

@@ -54,0 +54,0 @@ }

{
"name": "brorand",
"version": "1.0.2",
"version": "1.0.3",
"description": "Random number generator for browsers and node.js",

@@ -27,6 +27,3 @@ "main": "index.js",

"mocha": "^2.0.1"
},
"optionalDependencies": {
"randy.js": "^1.5.1"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc