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

@travi/any

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travi/any - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

docs/index.md

3

lib/any.cjs.js

@@ -12,3 +12,4 @@ 'use strict';

var generator = new MersenneTwister();
var seed = process.env.ANY_SEED || generator.random();
// Multiply the random seed to match chance.js
var seed = process.env.ANY_SEED || generator.random() * Math.pow(10, 13);
debug('randomness seed: ' + seed);

@@ -15,0 +16,0 @@

@@ -8,3 +8,4 @@ import _ from 'lodash';

var generator = new MersenneTwister();
var seed = process.env.ANY_SEED || generator.random();
// Multiply the random seed to match chance.js
var seed = process.env.ANY_SEED || generator.random() * Math.pow(10, 13);
debug('randomness seed: ' + seed);

@@ -11,0 +12,0 @@

{
"name": "@travi/any",
"version": "1.2.0",
"version": "1.2.1",
"description": "random data generator for when test data is insignificant",

@@ -48,2 +48,3 @@ "main": "lib/any.cjs.js",

"babel-cli": "6.24.1",
"babel-plugin-transform-exponentiation-operator": "6.24.1",
"babel-preset-es2015-node": "6.1.1",

@@ -50,0 +51,0 @@ "babel-preset-es2015-rollup": "3.0.0",

@@ -10,3 +10,4 @@ /* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */

exclude: ['./node_modules/**'],
presets: ['es2015-rollup']
presets: ['es2015-rollup'],
plugins: ['babel-plugin-transform-exponentiation-operator']
})

@@ -13,0 +14,0 @@ ],

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