utiller 1.0.190 → 1.0.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/utiller/index.js
CHANGED
|
@@ -1185,10 +1185,8 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
for (var _i10 = 0, _indexes = indexes; _i10 < _indexes.length; _i10++) {
|
|
1187
1187
|
var index = _indexes[_i10];
|
|
1188
|
-
if (!_lodash["default"].isNumber(index))
|
|
1189
|
-
|
|
1190
|
-
}
|
|
1191
|
-
if (index - 1 > size) throw new _exceptioner["default"](9999, "5994123 index=>".concat(index, " is not valid, exceed than array size=").concat(size, ", ").concat(array));
|
|
1188
|
+
if (!_lodash["default"].isNumber(index)) throw new _exceptioner["default"](9999, "59941278 index should be number => ".concat(index, ", ").concat(array));
|
|
1189
|
+
if (index > size - 1) throw new _exceptioner["default"](9999, "5994123 index=>".concat(index, " is not valid, exceed than array size=").concat(size, ", ").concat(array));
|
|
1192
1190
|
items.push(_lodash["default"].nth(array, index));
|
|
1193
1191
|
}
|
|
1194
1192
|
return items;
|
package/package.json
CHANGED