Comparing version 1.1.0 to 1.1.1
@@ -12,3 +12,3 @@ var Alea = require('alea'); | ||
throw new TypeError('Must be an Array or an Object'); | ||
}; | ||
} | ||
@@ -71,3 +71,3 @@ return reduce(keys(module.exports), function(acc, name) { | ||
return keyz[i]; | ||
}; | ||
} | ||
} | ||
@@ -83,3 +83,3 @@ throw new Error('Exceeded threshold. Something is very wrong.'); | ||
if (!isPlainObject(weights)) { | ||
throw 'Not an Object' | ||
throw 'Not an Object'; | ||
} | ||
@@ -111,3 +111,3 @@ | ||
}, {}); | ||
}; | ||
} | ||
@@ -114,0 +114,0 @@ module.exports = deck; |
{ | ||
"name": "alea-deck", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Uniform and weighted shuffling and sampling with Alea", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
6211