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

alea-random

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alea-random - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

CHANGELOG.md

4

index.js
var Alea = require('alea');
var isIterateeCall = require('lodash._isiterateecall');
var toNumber = require('lodash.tonumber');
var uuid = require('uuid');
const { v4: uuid } = require('uuid');

@@ -35,3 +35,3 @@ /**

function aleaRandom(min, max, floating) {
var gen = new Alea(uuid.v4());
var gen = new Alea(uuid());

@@ -38,0 +38,0 @@ if (floating && typeof floating !== 'boolean' && isIterateeCall(min, max, floating)) {

{
"name": "alea-random",
"version": "2.1.1",
"version": "2.1.2",
"description": "`lodash.random` but using Alea",

@@ -26,2 +26,3 @@ "keywords": [

"pretest": "npm run -s lint",
"release": "semantic-release",
"test": "npm run -s tests-only",

@@ -31,21 +32,26 @@ "test-browser": "browserify test/index.js | tape-run"

"dependencies": {
"alea": "^0.0.9",
"alea": "^1.0.0",
"lodash._isiterateecall": "^3.0.9",
"lodash.tonumber": "^4.0.1",
"uuid": "^3.0.0"
"uuid": "^8.2.0"
},
"devDependencies": {
"@kenan/eslint-config": "^4.0.0",
"browserify": "^13.0.0",
"eslint": "^3.10.2",
"lodash.constant": "^3.0.0",
"lodash.every": "^4.2.0",
"lodash.isfunction": "^3.0.1",
"lodash.map": "^4.2.0",
"lodash.some": "^4.2.0",
"lodash.uniq": "^4.2.0",
"nyc": "^10.0.0",
"tape": "^4.2.2",
"tape-run": "^2.1.0"
"@kenan/eslint-config": "8.0.0",
"@kenan/renovate-config": "1.1.1",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"browserify": "16.5.1",
"conventional-changelog-conventionalcommits": "4.3.0",
"eslint": "7.3.1",
"lodash.constant": "3.0.0",
"lodash.every": "4.6.0",
"lodash.isfunction": "3.0.9",
"lodash.map": "4.6.0",
"lodash.some": "4.6.0",
"lodash.uniq": "4.5.0",
"nyc": "15.1.0",
"semantic-release": "17.1.1",
"tape-run": "7.0.0",
"tape": "5.0.1"
}
}
# alea-random
[![Build Status](https://img.shields.io/travis/KenanY/alea-random.svg)](https://travis-ci.org/KenanY/alea-random)
[![Dependency Status](https://img.shields.io/gemnasium/KenanY/alea-random.svg)](https://gemnasium.com/KenanY/alea-random)
`lodash.random` but using [Alea](https://github.com/coverslide/node-alea)

@@ -7,0 +4,0 @@ instead of `Math.random`.

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