ut2 1.11.0 → 1.11.2

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/README.md CHANGED
@@ -116,6 +116,7 @@ const debounced = debounce(() => {
116
116
  - [isEqual](https://caijf.github.io/ut2/module-Language.html#.isEqual) - 深比较。
117
117
  - [isError](https://caijf.github.io/ut2/module-Language.html#.isError) - `Error` 对象。
118
118
  - [isFinite](https://caijf.github.io/ut2/module-Language.html#.isFinite) - 有限数字。
119
+ - [isFile](https://caijf.github.io/ut2/module-Language.html#.isFile) - `File` 对象。
119
120
  - [isFunction](https://caijf.github.io/ut2/module-Language.html#.isFunction) - `Function` 对象。
120
121
  - [isInteger](https://caijf.github.io/ut2/module-Language.html#.isInteger) - 整数。
121
122
  - [isLength](https://caijf.github.io/ut2/module-Language.html#.isLength) - 有效的类数组长度。
package/dist/ut2.js CHANGED
@@ -209,9 +209,9 @@
209
209
  });
210
210
  }
211
211
 
212
- function move(arr, from, to) {
213
- arr.splice(to, 0, arr.splice(from, 1)[0]);
214
- return arr;
212
+ function move(array, from, to) {
213
+ array.splice(to, 0, array.splice(from, 1)[0]);
214
+ return array;
215
215
  }
216
216
 
217
217
  function isFunction(value) {
@@ -606,7 +606,7 @@
606
606
  return value == null || value !== value ? defaultValue : value;
607
607
  };
608
608
 
609
- var VERSION = "1.11.0";
609
+ var VERSION = "1.11.2";
610
610
  var isBrowser = typeof window !== stringUndefined && isObjectLike(window) && typeof document !== stringUndefined && isObjectLike(document) && window.document === document;
611
611
  var supportedArgumentsType = getTag((function () { return arguments; })()) === argumentsTag;
612
612
  var FUNC_ERROR_TEXT = 'Expected a function';