adjective-adjective-animal
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -18,3 +18,3 @@ "use strict"; | ||
if (num < loadLists.NUM_ADJECTIVES) { | ||
if (num < loadLists.NUM_ADJECTIVES && lists.adjectives[num]) { | ||
return lists.adjectives[num]; | ||
@@ -34,3 +34,3 @@ } | ||
if (num < loadLists.NUM_ANIMALS) { | ||
if (num < loadLists.NUM_ANIMALS && lists.animals[num]) { | ||
return lists.animals[num]; | ||
@@ -37,0 +37,0 @@ } |
@@ -22,3 +22,3 @@ var fs = require("fs"); | ||
module.exports.NUM_ADJECTIVES = 8997; | ||
module.exports.NUM_ANIMALS = 591; | ||
module.exports.NUM_ADJECTIVES = 8981; | ||
module.exports.NUM_ANIMALS = 590; |
{ | ||
"name": "adjective-adjective-animal", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Suitably random and reasonably unique human readable (and fairly adorable) ids", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
135445