Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "chance", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"main": "chance.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
@@ -22,3 +22,3 @@ # unique | ||
chance.unique(chance.currency, 2, { | ||
comparator: function(err, val) { | ||
comparator: function(arr, val) { | ||
return arr.reduce(function(acc, item) { | ||
@@ -25,0 +25,0 @@ return acc || (item.code === val.code); |
@@ -20,2 +20,3 @@ * [Chance](intro.md) | ||
* [string](basics/string.md) | ||
* [template](basics/template.md) | ||
* Text | ||
@@ -22,0 +23,0 @@ * [paragraph](text/paragraph.md) |
{ | ||
"name": "chance", | ||
"main": "./chance.js", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Chance - Utility library to generate anything random", | ||
@@ -6,0 +6,0 @@ "homepage": "http://chancejs.com", |
Sorry, the diff of this file is too big to display
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
2348890
239
20561