Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rahulv.dev/rng

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rahulv.dev/rng - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

dist/rng.base.js

@@ -16,3 +16,6 @@ "use strict";

generateSecureRandomLong(minValue, maxValue) {
if (minValue >= maxValue) {
if (minValue == maxValue) {
return minValue;
}
if (minValue > maxValue) {
throw new Error("minValue must be less than maxValue");

@@ -19,0 +22,0 @@ }

2

package.json
{
"name": "@rahulv.dev/rng",
"version": "1.2.1",
"version": "1.2.2",
"description": "A secure random number generator.",

@@ -5,0 +5,0 @@ "main": "dist/rng.node.js",

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