@travi/any
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -43,5 +43,2 @@ 'use strict'; | ||
}; | ||
var word = function word(options) { | ||
return chance.word(_extends({ syllables: 3 }, options)); | ||
}; | ||
var sentence = function sentence(options) { | ||
@@ -66,2 +63,8 @@ return chance.sentence(options); | ||
function word() { | ||
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
return options.length ? chance.word(options) : chance.word(_extends({ syllables: 3 }, options)); | ||
} | ||
function simpleObject() { | ||
@@ -68,0 +71,0 @@ var object = {}; |
@@ -39,5 +39,2 @@ import _ from 'lodash'; | ||
}; | ||
var word = function word(options) { | ||
return chance.word(_extends({ syllables: 3 }, options)); | ||
}; | ||
var sentence = function sentence(options) { | ||
@@ -62,2 +59,8 @@ return chance.sentence(options); | ||
function word() { | ||
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
return options.length ? chance.word(options) : chance.word(_extends({ syllables: 3 }, options)); | ||
} | ||
function simpleObject() { | ||
@@ -64,0 +67,0 @@ var object = {}; |
{ | ||
"name": "@travi/any", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "random data generator for when test data is insignificant", | ||
@@ -53,3 +53,3 @@ "main": "lib/any.cjs.js", | ||
"devDependencies": { | ||
"@travi/eslint-config-travi": "1.3.7", | ||
"@travi/eslint-config-travi": "1.3.8", | ||
"babel-cli": "6.24.1", | ||
@@ -76,6 +76,6 @@ "babel-plugin-transform-exponentiation-operator": "6.24.1", | ||
"rimraf": "2.6.1", | ||
"rollup": "0.45.2", | ||
"rollup": "0.46.0", | ||
"rollup-plugin-babel": "3.0.1", | ||
"semantic-release": "6.3.6", | ||
"sinon": "3.1.0", | ||
"sinon": "3.2.0", | ||
"validate-commit-msg": "2.14.0" | ||
@@ -82,0 +82,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19226
240