ut2 1.11.1 → 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/dist/ut2.js +3 -4
- package/dist/ut2.js.map +1 -1
- package/dist/ut2.min.js +1 -1
- package/dist/ut2.min.js.map +1 -1
- package/es/internals/helpers.js +1 -1
- package/es/move.js +2 -3
- package/lib/internals/helpers.js +1 -1
- package/lib/move.js +2 -3
- package/package.json +1 -1
- package/types/move.d.ts +4 -3
package/dist/ut2.js
CHANGED
|
@@ -210,9 +210,8 @@
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
function move(array, from, to) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
return copyArray;
|
|
213
|
+
array.splice(to, 0, array.splice(from, 1)[0]);
|
|
214
|
+
return array;
|
|
216
215
|
}
|
|
217
216
|
|
|
218
217
|
function isFunction(value) {
|
|
@@ -607,7 +606,7 @@
|
|
|
607
606
|
return value == null || value !== value ? defaultValue : value;
|
|
608
607
|
};
|
|
609
608
|
|
|
610
|
-
var VERSION = "1.11.
|
|
609
|
+
var VERSION = "1.11.2";
|
|
611
610
|
var isBrowser = typeof window !== stringUndefined && isObjectLike(window) && typeof document !== stringUndefined && isObjectLike(document) && window.document === document;
|
|
612
611
|
var supportedArgumentsType = getTag((function () { return arguments; })()) === argumentsTag;
|
|
613
612
|
var FUNC_ERROR_TEXT = 'Expected a function';
|