diginext-utils
Advanced tools
Comparing version 1.1.13 to 1.2.0
@@ -12,3 +12,3 @@ "use strict"; | ||
var _index = require("../../array/index.js"); | ||
var _array = require("../../array"); | ||
@@ -29,8 +29,8 @@ //prettier-ignore | ||
if (male) { | ||
return (0, _index.randomElement)(MALE); | ||
return (0, _array.randomElement)(MALE); | ||
} else { | ||
return (0, _index.randomElement)(FEMALE); | ||
return (0, _array.randomElement)(FEMALE); | ||
} | ||
} else { | ||
return (0, _index.randomElement)([...MALE, ...FEMALE]); | ||
return (0, _array.randomElement)([...MALE, ...FEMALE]); | ||
} | ||
@@ -37,0 +37,0 @@ }; |
@@ -10,2 +10,4 @@ "use strict"; | ||
require("core-js/modules/es.string.split.js"); | ||
require("core-js/modules/es.string.search.js"); | ||
@@ -12,0 +14,0 @@ |
{ | ||
"name": "diginext-utils", | ||
"version": "1.1.13", | ||
"version": "1.2.0", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "TOP GROUP (a.k.a Digitop)", |
143912
35
3003