ut2 1.4.8 → 1.4.9
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 +2 -3
- 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/internals/root.js +1 -2
- package/lib/internals/helpers.js +1 -1
- package/lib/internals/root.js +1 -2
- package/package.json +1 -1
- package/types/isNil.d.ts +1 -1
package/dist/ut2.js
CHANGED
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
return value == null || value !== value ? defaultValue : value;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
var VERSION = "1.4.
|
|
478
|
+
var VERSION = "1.4.9";
|
|
479
479
|
var supportedArgumentsType = objectToString.call((function () { return arguments; })()) === argumentsTag;
|
|
480
480
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
481
481
|
function toSource(func) {
|
|
@@ -670,10 +670,9 @@
|
|
|
670
670
|
return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
var freeGlobalThis = typeof globalThis === 'object' && globalThis && globalThis.Object === Object && globalThis;
|
|
674
673
|
var freeGlobal = typeof global === 'object' && global && global.Object === Object && global;
|
|
675
674
|
var freeSelf = typeof self === 'object' && self && self.Object === Object && self;
|
|
676
|
-
var root =
|
|
675
|
+
var root = freeGlobal || freeSelf || Function('return this')() || {};
|
|
677
676
|
|
|
678
677
|
var freeExports = typeof exports === 'object' && exports && !exports.nodeType && exports;
|
|
679
678
|
var freeModule = freeExports && typeof module === 'object' && module && !module.nodeType && module;
|