ut2 1.2.1 → 1.2.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 CHANGED
@@ -198,30 +198,12 @@
198
198
  return isArray(array) ? array.filter(function (item) { return !!item; }) : [];
199
199
  }
200
200
 
201
- var argType = 'Arguments';
202
- var supportedArgumentsType = isType((function () { return arguments; })(), argType);
203
- var FUNC_ERROR_TEXT = 'Expected a function';
204
- var numberIsFinite = Number.isFinite;
205
- var numberIsInteger = Number.isInteger;
206
- var numberIsSafeInteger = Number.isSafeInteger;
207
- var objectGetOwnPropertySymbols = Object.getOwnPropertySymbols;
208
- var arrayAt = Array.prototype.at;
209
- var objectIs = Object.is;
210
- var VERSION = "1.2.1";
211
-
212
- function sameValue(value, other) {
213
- if (typeof objectIs === 'function') {
214
- return objectIs(value, other);
215
- }
216
- return value === other ? value !== 0 || 1 / value === 1 / other : value != value && other != other;
217
- }
218
-
219
201
  function eq(value, other, strictCheck) {
220
202
  if (strictCheck === void 0) { strictCheck = false; }
221
- if (strictCheck) {
222
- return sameValue(value, other);
203
+ if (value === other) {
204
+ return strictCheck ? value !== 0 || 1 / value === 1 / other : true;
223
205
  }
224
- return value === other || (value !== value && other !== other);
206
+ return value !== value && other !== other;
225
207
  }
226
208
 
227
209
  function createIteratee(iteratee) {
@@ -277,6 +259,16 @@
277
259
  });
278
260
  }
279
261
 
262
+ var argType = 'Arguments';
263
+ var supportedArgumentsType = isType((function () { return arguments; })(), argType);
264
+ var FUNC_ERROR_TEXT = 'Expected a function';
265
+ var numberIsFinite = Number.isFinite;
266
+ var numberIsInteger = Number.isInteger;
267
+ var numberIsSafeInteger = Number.isSafeInteger;
268
+ var objectGetOwnPropertySymbols = Object.getOwnPropertySymbols;
269
+ var arrayAt = Array.prototype.at;
270
+ var VERSION = "1.2.2";
271
+
280
272
  function isFunction(value) {
281
273
  if (!isObject(value)) {
282
274
  return false;