@travi/any
Advanced tools
Comparing version 2.1.6 to 2.1.7
@@ -30,2 +30,3 @@ 'use strict'; | ||
function _defineProperty(obj, key, value) { | ||
key = _toPropertyKey(key); | ||
if (key in obj) { | ||
@@ -43,2 +44,16 @@ Object.defineProperty(obj, key, { | ||
} | ||
function _toPrimitive(input, hint) { | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return (hint === "string" ? String : Number)(input); | ||
} | ||
function _toPropertyKey(arg) { | ||
var key = _toPrimitive(arg, "string"); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
@@ -45,0 +60,0 @@ const debug = debugLibrary('any'); |
{ | ||
"name": "@travi/any", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "random data generator for when test data is insignificant", | ||
@@ -67,3 +67,3 @@ "main": "lib/any.js", | ||
"@types/chance": "1.1.3", | ||
"chance": "1.1.9", | ||
"chance": "1.1.10", | ||
"debug": "4.3.4", | ||
@@ -76,8 +76,8 @@ "lodash": "4.17.21", | ||
"@babel/register": "7.18.9", | ||
"@rollup/plugin-babel": "6.0.0", | ||
"@rollup/plugin-babel": "6.0.3", | ||
"@travi/babel-preset": "3.0.96", | ||
"@travi/eslint-config": "3.0.10", | ||
"@travi/eslint-config": "3.0.23", | ||
"@travi/eslint-config-mocha": "1.0.19", | ||
"chai": "4.3.6", | ||
"commitlint-config-travi": "1.4.18", | ||
"chai": "4.3.7", | ||
"commitlint-config-travi": "1.4.24", | ||
"coveralls": "3.1.1", | ||
@@ -87,4 +87,4 @@ "cz-conventional-changelog": "3.3.0", | ||
"globstar": "1.0.0", | ||
"husky": "8.0.1", | ||
"mocha": "10.1.0", | ||
"husky": "8.0.3", | ||
"mocha": "10.2.0", | ||
"npm-run-all": "4.1.5", | ||
@@ -96,9 +96,9 @@ "nyc": "15.1.0", | ||
"remark-cli": "11.0.0", | ||
"remark-preset-lint-travi": "4.0.2", | ||
"remark-preset-lint-travi": "5.0.0", | ||
"remark-toc": "8.0.1", | ||
"rimraf": "3.0.2", | ||
"rollup": "3.2.2", | ||
"rimraf": "4.1.2", | ||
"rollup": "3.15.0", | ||
"rollup-plugin-auto-external": "2.0.0", | ||
"sinon": "14.0.1", | ||
"tsd": "0.24.1" | ||
"sinon": "15.0.1", | ||
"tsd": "0.25.0" | ||
}, | ||
@@ -105,0 +105,0 @@ "config": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
50392
375
+ Added@jridgewell/gen-mapping@0.3.5(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/source-map@0.3.6(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedansi-colors@1.1.0(transitive)
+ Addedansi-wrap@0.1.0(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedchance@1.1.10(transitive)
+ Addedclone@2.1.2(transitive)
+ Addedclone-buffer@1.0.0(transitive)
+ Addedclone-stats@1.0.0(transitive)
+ Addedcloneable-readable@1.1.3(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedextend-shallow@3.0.2(transitive)
+ Addedgulp-uglify-es@3.0.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-extendable@1.0.1(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedo-stream@0.3.0(transitive)
+ Addedplugin-error@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedreplace-ext@1.0.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsource-map@0.5.70.6.1(transitive)
+ Addedsource-map-support@0.5.21(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedterser@5.36.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedvinyl@2.2.1(transitive)
+ Addedvinyl-sourcemaps-apply@0.2.1(transitive)
- Removedchance@1.1.9(transitive)
Updatedchance@1.1.10