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

prando

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prando - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

7

dist/Prando.es.js
var Prando = /** @class */ (function () {
// ================================================================================================================
// CONSTRUCTOR ----------------------------------------------------------------------------------------------------
/**
* Generate a new Prando pseudo-random number generator.
*
* @param seed - A number or string seed that determines which pseudo-random number sequence will be created. Defaults to current time.
*/
function Prando(seed) {

@@ -3,0 +10,0 @@ this._value = NaN;

@@ -8,2 +8,9 @@ (function (global, factory) {

var Prando = /** @class */ (function () {
// ================================================================================================================
// CONSTRUCTOR ----------------------------------------------------------------------------------------------------
/**
* Generate a new Prando pseudo-random number generator.
*
* @param seed - A number or string seed that determines which pseudo-random number sequence will be created. Defaults to current time.
*/
function Prando(seed) {

@@ -10,0 +17,0 @@ this._value = NaN;

2

package.json
{
"name": "prando",
"version": "3.0.2",
"version": "3.0.3",
"description": "Deterministic pseudo-random number generator for JavaScript and TypeScript",

@@ -5,0 +5,0 @@ "main": "./dist/Prando.umd.js",

@@ -11,3 +11,3 @@ export default class Prando {

*/
constructor();
constructor(seed?: number | string);
/**

@@ -14,0 +14,0 @@ * Generates a pseudo-random number between a lower (inclusive) and a higher (exclusive) bounds.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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