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.
@@ -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
- throw new _exceptioner["default"](9999, "59941278 index should be number=>".concat(index, ", ").concat(array));
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utiller",
3
- "version": "1.0.190",
3
+ "version": "1.0.192",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "configerer": "^1.0.11",
14
- "utiller": "^1.0.189",
14
+ "utiller": "^1.0.191",
15
15
  "linepayer": "^1.0.4",
16
16
  "databazer": "^1.0.12",
17
17
  "lodash": "^4.17.20",