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

pure-rand

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pure-rand - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

7

lib/esm/generator/LinearCongruential.js

@@ -46,7 +46,4 @@ var MULTIPLIER = 0x000343fd;

var v3 = computeValueFromNextSeed(s3);
var vext = (v2 + ((v1 % 4) << 15)) << 15;
if (vext < 0) {
return [v3 + vext + 0xffffffff + 1, new LinearCongruential32(s3)];
}
return [v3 + vext, new LinearCongruential32(s3)];
var vnext = v3 + ((v2 + (v1 << 15)) << 15);
return [((vnext + 0x80000000) | 0) + 0x80000000, new LinearCongruential32(s3)];
};

@@ -53,0 +50,0 @@ LinearCongruential32.min = 0;

@@ -48,7 +48,4 @@ "use strict";

var v3 = computeValueFromNextSeed(s3);
var vext = (v2 + ((v1 % 4) << 15)) << 15;
if (vext < 0) {
return [v3 + vext + 0xffffffff + 1, new LinearCongruential32(s3)];
}
return [v3 + vext, new LinearCongruential32(s3)];
var vnext = v3 + ((v2 + (v1 << 15)) << 15);
return [((vnext + 0x80000000) | 0) + 0x80000000, new LinearCongruential32(s3)];
};

@@ -55,0 +52,0 @@ LinearCongruential32.min = 0;

{
"name": "pure-rand",
"version": "1.3.1",
"version": "1.3.2",
"description": " Pure random number generator written in TypeScript",

@@ -5,0 +5,0 @@ "main": "lib/pure-rand.js",

Sorry, the diff of this file is too big to display

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