Socket
Socket
Sign inDemoInstall

pure-rand

Package Overview
Dependencies
0
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.2 to 5.0.3

2

lib/distribution/UnsafeUniformBigIntDistribution.js
"use strict";
exports.__esModule = true;
exports.unsafeUniformBigIntDistribution = void 0;
var SBigInt = BigInt;
var SBigInt = typeof BigInt !== 'undefined' ? BigInt : undefined;
function unsafeUniformBigIntDistribution(from, to, rng) {

@@ -6,0 +6,0 @@ var diff = to - from + SBigInt(1);

@@ -1,2 +0,2 @@

var SBigInt = BigInt;
var SBigInt = typeof BigInt !== 'undefined' ? BigInt : undefined;
export function unsafeUniformBigIntDistribution(from, to, rng) {

@@ -3,0 +3,0 @@ var diff = to - from + SBigInt(1);

@@ -13,4 +13,4 @@ import { generateN, skipN, unsafeGenerateN, unsafeSkipN } from './generator/RandomGenerator.js';

var __type = 'module';
var __version = '5.0.2';
var __commitHash = '947f17ef4b6cbc737e3f763fa30bfc0374b4e571';
var __version = '5.0.3';
var __commitHash = 'f95aa1f9a3f4c9f9820eb2e7a2d94bbc2d3b78c1';
export { __type, __version, __commitHash, generateN, skipN, unsafeGenerateN, unsafeSkipN, congruential, congruential32, mersenne, xorshift128plus, xoroshiro128plus, uniformArrayIntDistribution, uniformBigIntDistribution, uniformIntDistribution, unsafeUniformArrayIntDistribution, unsafeUniformBigIntDistribution, unsafeUniformIntDistribution, };

@@ -32,5 +32,5 @@ "use strict";

exports.__type = __type;
var __version = '5.0.2';
var __version = '5.0.3';
exports.__version = __version;
var __commitHash = '947f17ef4b6cbc737e3f763fa30bfc0374b4e571';
var __commitHash = 'f95aa1f9a3f4c9f9820eb2e7a2d94bbc2d3b78c1';
exports.__commitHash = __commitHash;
{
"name": "pure-rand",
"version": "5.0.2",
"version": "5.0.3",
"description": " Pure random number generator written in TypeScript",

@@ -5,0 +5,0 @@ "type": "commonjs",

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