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.2 to 1.3.0

18

lib/any.cjs.js

@@ -9,2 +9,16 @@ 'use strict';

var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var debug = require('debug')('any');

@@ -31,3 +45,3 @@

var word = function word(options) {
return chance.word(options);
return chance.word(_extends({ syllables: 3 }, options));
};

@@ -58,3 +72,3 @@ var sentence = function sentence(options) {

for (var i = 0; i < size; i += 1) {
object[word({ syllables: 3 })] = string();
object[word()] = string();
}

@@ -61,0 +75,0 @@

@@ -5,2 +5,16 @@ import _ from 'lodash';

var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var debug = require('debug')('any');

@@ -27,3 +41,3 @@

var word = function word(options) {
return chance.word(options);
return chance.word(_extends({ syllables: 3 }, options));
};

@@ -54,3 +68,3 @@ var sentence = function sentence(options) {

for (var i = 0; i < size; i += 1) {
object[word({ syllables: 3 })] = string();
object[word()] = string();
}

@@ -57,0 +71,0 @@

22

package.json
{
"name": "@travi/any",
"version": "1.2.2",
"version": "1.3.0",
"description": "random data generator for when test data is insignificant",

@@ -34,2 +34,9 @@ "main": "lib/any.cjs.js",

"author": "Matt Travi <npm@travi.org> (https://matt.travi.org/)",
"contributors": [
{
"name": "Trevor Richardson",
"email": "tr@trevorrichardson.me",
"url": "https://twitter.com/intelxdesign"
}
],
"license": "MIT",

@@ -47,3 +54,3 @@ "bugs": {

"devDependencies": {
"@travi/eslint-config-travi": "1.2.19",
"@travi/eslint-config-travi": "1.3.5",
"babel-cli": "6.24.1",

@@ -53,4 +60,5 @@ "babel-plugin-transform-exponentiation-operator": "6.24.1",

"babel-preset-es2015-rollup": "3.0.0",
"babel-preset-stage-3": "6.24.1",
"babel-register": "6.24.1",
"chai": "4.0.2",
"chai": "4.1.0",
"coveralls": "2.13.1",

@@ -60,3 +68,3 @@ "cz-conventional-changelog": "2.0.0",

"globstar": "1.0.0",
"greenkeeper-postpublish": "1.0.1",
"greenkeeper-postpublish": "1.3.0",
"husky": "0.14.0",

@@ -71,7 +79,7 @@ "markdownlint-cli": "0.3.0",

"rimraf": "2.6.1",
"rollup": "0.45.0",
"rollup": "0.45.2",
"rollup-plugin-babel": "2.7.1",
"semantic-release": "6.3.6",
"sinon": "2.3.6",
"validate-commit-msg": "2.12.2"
"sinon": "2.4.1",
"validate-commit-msg": "2.13.1"
},

@@ -78,0 +86,0 @@ "config": {

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

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

@@ -13,0 +16,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