@orioro/util 0.15.0 → 0.15.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orioro/util
2
2
 
3
+ ## 0.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - substitute arrayChunk for lodash-es chunk
8
+
3
9
  ## 0.15.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -1176,7 +1176,7 @@ function batchFn(itemFn) {
1176
1176
  itemFn = timeout ? withTimeout(itemFn, timeout) : itemFn;
1177
1177
  return function batchExec(items) {
1178
1178
  var _this = this;
1179
- var batches = arrayChunk(items, batchSize);
1179
+ var batches = lodashEs.chunk(items, batchSize);
1180
1180
  var promise = new PromiseLikeEventEmitter();
1181
1181
  // const events = new EventEmitter<EventTypes>()
1182
1182
  var progressCount = 0;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { keyBy, get, set } from 'lodash-es';
1
+ import { keyBy, get, set, chunk } from 'lodash-es';
2
2
  import EventEmitter from 'eventemitter3';
3
3
  import copy from 'fast-copy';
4
4
  import traverse from 'traverse';
@@ -1174,7 +1174,7 @@ function batchFn(itemFn) {
1174
1174
  itemFn = timeout ? withTimeout(itemFn, timeout) : itemFn;
1175
1175
  return function batchExec(items) {
1176
1176
  var _this = this;
1177
- var batches = arrayChunk(items, batchSize);
1177
+ var batches = chunk(items, batchSize);
1178
1178
  var promise = new PromiseLikeEventEmitter();
1179
1179
  // const events = new EventEmitter<EventTypes>()
1180
1180
  var progressCount = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orioro/util",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",