Socket
Socket
Sign inDemoInstall

@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 0.6.1 to 0.7.0

dist/any.module.js

6

dist/any.js

@@ -48,3 +48,3 @@ 'use strict';

function objectWithKeys(keys) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -65,3 +65,3 @@ var object = {};

function listOf(factory) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -119,2 +119,2 @@ var listSize = options.size || integer(Object.assign({}, DEFAULT_SIZE_RANGE, options));

exports.fromList = fromList;
exports['default'] = any;
exports['default'] = any;
{
"name": "@travi/any",
"version": "0.6.1",
"version": "0.7.0",
"description": "random data generator for when test data is insignificant",
"main": "dist/any.js",
"jsnext:main": "dist/any.mjs",
"module": "dist/any.module.js",
"scripts": {

@@ -31,12 +31,12 @@ "test": "grunt",

"chance": "1.0.4",
"lodash": "4.15.0"
"lodash": "4.16.6"
},
"devDependencies": {
"@travi/eslint-config-travi": "0.3.0",
"babel-cli": "6.10.1",
"babel-cli": "6.18.0",
"babel-preset-es2015-node": "6.1.1",
"babel-preset-es2015-rollup": "1.2.0",
"babel-register": "6.14.0",
"babel-register": "6.18.0",
"chai": "3.5.0",
"coveralls": "2.11.12",
"coveralls": "2.11.14",
"greenkeeper-postpublish": "1.0.1",

@@ -48,6 +48,6 @@ "grunt": "1.0.1",

"grunt-mocha-istanbul": "5.0.2",
"grunt-rollup": "0.8.0",
"grunt-rollup": "1.0.1",
"istanbul": "1.0.0-alpha.2",
"load-grunt-config": "0.19.2",
"mocha": "3.0.2",
"mocha": "3.1.2",
"proxyquire": "1.7.10",

@@ -57,5 +57,5 @@ "referee": "1.2.0",

"rollup-plugin-babel": "2.6.1",
"sinon": "1.17.5",
"sinon": "1.17.6",
"time-grunt": "1.4.0"
}
}

@@ -23,4 +23,12 @@ # Random data generator

* Lots of my tests need objects to be generated, but the structure of those objects typically does not matter.
Chance.js does not have a simple-object generator, so I've included that on my own.
* Many of my tests need lists generated. Like objects, Chance.js does not generate lists, so I've included this
Chance.js does not have a [simple-object generator](docs/API.md#simpleobject), so I've included that on my own.
* Many of my tests need [lists](docs/API.md#listof) generated. Like objects, Chance.js does not generate lists, so I've included this
on my own.
## Install
```
$ npm install @travi/any --save-dev
```
## Documentation
* [API](docs/API.md)
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