@dereekb/util 12.6.21 → 12.7.0

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.
@@ -210,7 +210,7 @@ var global$b =
210
210
 
211
211
  var objectGetOwnPropertyDescriptor = {};
212
212
 
213
- var fails$d = function (exec) {
213
+ var fails$c = function (exec) {
214
214
  try {
215
215
  return !!exec();
216
216
  } catch (error) {
@@ -218,17 +218,17 @@ var fails$d = function (exec) {
218
218
  }
219
219
  };
220
220
 
221
- var fails$c = fails$d;
221
+ var fails$b = fails$c;
222
222
 
223
223
  // Detect IE8's incomplete defineProperty implementation
224
- var descriptors = !fails$c(function () {
224
+ var descriptors = !fails$b(function () {
225
225
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
226
226
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
227
227
  });
228
228
 
229
- var fails$b = fails$d;
229
+ var fails$a = fails$c;
230
230
 
231
- var functionBindNative = !fails$b(function () {
231
+ var functionBindNative = !fails$a(function () {
232
232
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
233
233
  var test = (function () { /* empty */ }).bind();
234
234
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -247,15 +247,15 @@ var objectPropertyIsEnumerable = {};
247
247
 
248
248
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
249
249
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
250
- var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
250
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
251
251
 
252
252
  // Nashorn ~ JDK8 bug
253
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
253
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
254
254
 
255
255
  // `Object.prototype.propertyIsEnumerable` method implementation
256
256
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
257
257
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
258
- var descriptor = getOwnPropertyDescriptor$2(this, V);
258
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
259
259
  return !!descriptor && descriptor.enumerable;
260
260
  } : $propertyIsEnumerable;
261
261
 
@@ -290,19 +290,19 @@ var classofRaw$2 = function (it) {
290
290
  };
291
291
 
292
292
  var uncurryThis$f = functionUncurryThis;
293
- var fails$a = fails$d;
294
- var classof$4 = classofRaw$2;
293
+ var fails$9 = fails$c;
294
+ var classof$3 = classofRaw$2;
295
295
 
296
296
  var $Object$4 = Object;
297
297
  var split = uncurryThis$f(''.split);
298
298
 
299
299
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
300
- var indexedObject = fails$a(function () {
300
+ var indexedObject = fails$9(function () {
301
301
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
302
302
  // eslint-disable-next-line no-prototype-builtins -- safe
303
303
  return !$Object$4('z').propertyIsEnumerable(0);
304
304
  }) ? function (it) {
305
- return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
305
+ return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
306
306
  } : $Object$4;
307
307
 
308
308
  // we can't use just `it == null` since of `document.all` special case
@@ -313,12 +313,12 @@ var isNullOrUndefined$3 = function (it) {
313
313
 
314
314
  var isNullOrUndefined$2 = isNullOrUndefined$3;
315
315
 
316
- var $TypeError$d = TypeError;
316
+ var $TypeError$b = TypeError;
317
317
 
318
318
  // `RequireObjectCoercible` abstract operation
319
319
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
320
320
  var requireObjectCoercible$2 = function (it) {
321
- if (isNullOrUndefined$2(it)) throw new $TypeError$d("Can't call method on " + it);
321
+ if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
322
322
  return it;
323
323
  };
324
324
 
@@ -395,13 +395,13 @@ var engineV8Version = version;
395
395
 
396
396
  /* eslint-disable es/no-symbol -- required for testing */
397
397
  var V8_VERSION = engineV8Version;
398
- var fails$9 = fails$d;
398
+ var fails$8 = fails$c;
399
399
  var global$8 = global$b;
400
400
 
401
401
  var $String$4 = global$8.String;
402
402
 
403
403
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
404
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
404
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
405
405
  var symbol = Symbol('symbol detection');
406
406
  // Chrome 38 Symbol has incorrect toString conversion
407
407
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -446,12 +446,12 @@ var tryToString$3 = function (argument) {
446
446
  var isCallable$a = isCallable$e;
447
447
  var tryToString$2 = tryToString$3;
448
448
 
449
- var $TypeError$c = TypeError;
449
+ var $TypeError$a = TypeError;
450
450
 
451
451
  // `Assert: IsCallable(argument) is true`
452
452
  var aCallable$7 = function (argument) {
453
453
  if (isCallable$a(argument)) return argument;
454
- throw new $TypeError$c(tryToString$2(argument) + ' is not a function');
454
+ throw new $TypeError$a(tryToString$2(argument) + ' is not a function');
455
455
  };
456
456
 
457
457
  var aCallable$6 = aCallable$7;
@@ -468,7 +468,7 @@ var call$9 = functionCall;
468
468
  var isCallable$9 = isCallable$e;
469
469
  var isObject$5 = isObject$6;
470
470
 
471
- var $TypeError$b = TypeError;
471
+ var $TypeError$9 = TypeError;
472
472
 
473
473
  // `OrdinaryToPrimitive` abstract operation
474
474
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -477,7 +477,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
477
477
  if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$9(fn, input))) return val;
478
478
  if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$9(fn, input))) return val;
479
479
  if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$9(fn, input))) return val;
480
- throw new $TypeError$b("Can't convert object to primitive value");
480
+ throw new $TypeError$9("Can't convert object to primitive value");
481
481
  };
482
482
 
483
483
  var sharedStore = {exports: {}};
@@ -525,12 +525,12 @@ var $Object$2 = Object;
525
525
 
526
526
  // `ToObject` abstract operation
527
527
  // https://tc39.es/ecma262/#sec-toobject
528
- var toObject$3 = function (argument) {
528
+ var toObject$2 = function (argument) {
529
529
  return $Object$2(requireObjectCoercible(argument));
530
530
  };
531
531
 
532
532
  var uncurryThis$d = functionUncurryThis;
533
- var toObject$2 = toObject$3;
533
+ var toObject$1 = toObject$2;
534
534
 
535
535
  var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
536
536
 
@@ -538,7 +538,7 @@ var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
538
538
  // https://tc39.es/ecma262/#sec-hasownproperty
539
539
  // eslint-disable-next-line es/no-object-hasown -- safe
540
540
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
541
- return hasOwnProperty(toObject$2(it), key);
541
+ return hasOwnProperty(toObject$1(it), key);
542
542
  };
543
543
 
544
544
  var uncurryThis$c = functionUncurryThis;
@@ -577,7 +577,7 @@ var getMethod$3 = getMethod$4;
577
577
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
578
578
  var wellKnownSymbol$7 = wellKnownSymbol$8;
579
579
 
580
- var $TypeError$a = TypeError;
580
+ var $TypeError$8 = TypeError;
581
581
  var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
582
582
 
583
583
  // `ToPrimitive` abstract operation
@@ -590,7 +590,7 @@ var toPrimitive$1 = function (input, pref) {
590
590
  if (pref === undefined) pref = 'default';
591
591
  result = call$8(exoticToPrim, input, pref);
592
592
  if (!isObject$4(result) || isSymbol$1(result)) return result;
593
- throw new $TypeError$a("Can't convert object to primitive value");
593
+ throw new $TypeError$8("Can't convert object to primitive value");
594
594
  }
595
595
  if (pref === undefined) pref = 'number';
596
596
  return ordinaryToPrimitive(input, pref);
@@ -617,19 +617,19 @@ var documentCreateElement$1 = function (it) {
617
617
  return EXISTS$1 ? document$1.createElement(it) : {};
618
618
  };
619
619
 
620
- var DESCRIPTORS$b = descriptors;
621
- var fails$8 = fails$d;
620
+ var DESCRIPTORS$a = descriptors;
621
+ var fails$7 = fails$c;
622
622
  var createElement = documentCreateElement$1;
623
623
 
624
624
  // Thanks to IE8 for its funny defineProperty
625
- var ie8DomDefine = !DESCRIPTORS$b && !fails$8(function () {
625
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
626
626
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
627
627
  return Object.defineProperty(createElement('div'), 'a', {
628
628
  get: function () { return 7; }
629
629
  }).a !== 7;
630
630
  });
631
631
 
632
- var DESCRIPTORS$a = descriptors;
632
+ var DESCRIPTORS$9 = descriptors;
633
633
  var call$7 = functionCall;
634
634
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
635
635
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
@@ -643,7 +643,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
643
643
 
644
644
  // `Object.getOwnPropertyDescriptor` method
645
645
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
646
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
646
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
647
647
  O = toIndexedObject$3(O);
648
648
  P = toPropertyKey$1(P);
649
649
  if (IE8_DOM_DEFINE$1) try {
@@ -654,12 +654,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 :
654
654
 
655
655
  var objectDefineProperty = {};
656
656
 
657
- var DESCRIPTORS$9 = descriptors;
658
- var fails$7 = fails$d;
657
+ var DESCRIPTORS$8 = descriptors;
658
+ var fails$6 = fails$c;
659
659
 
660
660
  // V8 ~ Chrome 36-
661
661
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
662
- var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$7(function () {
662
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
663
663
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
664
664
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
665
665
  value: 42,
@@ -670,21 +670,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$7(function () {
670
670
  var isObject$2 = isObject$6;
671
671
 
672
672
  var $String$2 = String;
673
- var $TypeError$9 = TypeError;
673
+ var $TypeError$7 = TypeError;
674
674
 
675
675
  // `Assert: Type(argument) is Object`
676
676
  var anObject$c = function (argument) {
677
677
  if (isObject$2(argument)) return argument;
678
- throw new $TypeError$9($String$2(argument) + ' is not an object');
678
+ throw new $TypeError$7($String$2(argument) + ' is not an object');
679
679
  };
680
680
 
681
- var DESCRIPTORS$8 = descriptors;
681
+ var DESCRIPTORS$7 = descriptors;
682
682
  var IE8_DOM_DEFINE = ie8DomDefine;
683
683
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
684
684
  var anObject$b = anObject$c;
685
685
  var toPropertyKey = toPropertyKey$2;
686
686
 
687
- var $TypeError$8 = TypeError;
687
+ var $TypeError$6 = TypeError;
688
688
  // eslint-disable-next-line es/no-object-defineproperty -- safe
689
689
  var $defineProperty = Object.defineProperty;
690
690
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -695,7 +695,7 @@ var WRITABLE = 'writable';
695
695
 
696
696
  // `Object.defineProperty` method
697
697
  // https://tc39.es/ecma262/#sec-object.defineproperty
698
- objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
698
+ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
699
699
  anObject$b(O);
700
700
  P = toPropertyKey(P);
701
701
  anObject$b(Attributes);
@@ -717,16 +717,16 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
717
717
  if (IE8_DOM_DEFINE) try {
718
718
  return $defineProperty(O, P, Attributes);
719
719
  } catch (error) { /* empty */ }
720
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
720
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
721
721
  if ('value' in Attributes) O[P] = Attributes.value;
722
722
  return O;
723
723
  };
724
724
 
725
- var DESCRIPTORS$7 = descriptors;
725
+ var DESCRIPTORS$6 = descriptors;
726
726
  var definePropertyModule$4 = objectDefineProperty;
727
727
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
728
728
 
729
- var createNonEnumerableProperty$3 = DESCRIPTORS$7 ? function (object, key, value) {
729
+ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
730
730
  return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
731
731
  } : function (object, key, value) {
732
732
  object[key] = value;
@@ -735,17 +735,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$7 ? function (object, key, value
735
735
 
736
736
  var makeBuiltIn$3 = {exports: {}};
737
737
 
738
- var DESCRIPTORS$6 = descriptors;
738
+ var DESCRIPTORS$5 = descriptors;
739
739
  var hasOwn$6 = hasOwnProperty_1;
740
740
 
741
741
  var FunctionPrototype = Function.prototype;
742
742
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
743
- var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
743
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
744
744
 
745
745
  var EXISTS = hasOwn$6(FunctionPrototype, 'name');
746
746
  // additional protection from minified / mangled / dropped function names
747
747
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
748
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
748
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
749
749
 
750
750
  var functionName = {
751
751
  EXISTS: EXISTS,
@@ -858,10 +858,10 @@ var internalState = {
858
858
  };
859
859
 
860
860
  var uncurryThis$a = functionUncurryThis;
861
- var fails$6 = fails$d;
861
+ var fails$5 = fails$c;
862
862
  var isCallable$6 = isCallable$e;
863
863
  var hasOwn$4 = hasOwnProperty_1;
864
- var DESCRIPTORS$5 = descriptors;
864
+ var DESCRIPTORS$4 = descriptors;
865
865
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
866
866
  var inspectSource = inspectSource$1;
867
867
  var InternalStateModule$1 = internalState;
@@ -875,7 +875,7 @@ var stringSlice = uncurryThis$a(''.slice);
875
875
  var replace = uncurryThis$a(''.replace);
876
876
  var join = uncurryThis$a([].join);
877
877
 
878
- var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$6(function () {
878
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
879
879
  return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
880
880
  });
881
881
 
@@ -888,7 +888,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
888
888
  if (options && options.getter) name = 'get ' + name;
889
889
  if (options && options.setter) name = 'set ' + name;
890
890
  if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
891
- if (DESCRIPTORS$5) defineProperty$1(value, 'name', { value: name, configurable: true });
891
+ if (DESCRIPTORS$4) defineProperty$1(value, 'name', { value: name, configurable: true });
892
892
  else value.name = name;
893
893
  }
894
894
  if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
@@ -896,7 +896,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
896
896
  }
897
897
  try {
898
898
  if (options && hasOwn$4(options, 'constructor') && options.constructor) {
899
- if (DESCRIPTORS$5) defineProperty$1(value, 'prototype', { writable: false });
899
+ if (DESCRIPTORS$4) defineProperty$1(value, 'prototype', { writable: false });
900
900
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
901
901
  } else if (value.prototype) value.prototype = undefined;
902
902
  } catch (error) { /* empty */ }
@@ -993,19 +993,19 @@ var toLength = toLength$1;
993
993
 
994
994
  // `LengthOfArrayLike` abstract operation
995
995
  // https://tc39.es/ecma262/#sec-lengthofarraylike
996
- var lengthOfArrayLike$3 = function (obj) {
996
+ var lengthOfArrayLike$2 = function (obj) {
997
997
  return toLength(obj.length);
998
998
  };
999
999
 
1000
1000
  var toIndexedObject$2 = toIndexedObject$4;
1001
1001
  var toAbsoluteIndex = toAbsoluteIndex$1;
1002
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
1002
+ var lengthOfArrayLike$1 = lengthOfArrayLike$2;
1003
1003
 
1004
1004
  // `Array.prototype.{ indexOf, includes }` methods implementation
1005
1005
  var createMethod = function (IS_INCLUDES) {
1006
1006
  return function ($this, el, fromIndex) {
1007
1007
  var O = toIndexedObject$2($this);
1008
- var length = lengthOfArrayLike$2(O);
1008
+ var length = lengthOfArrayLike$1(O);
1009
1009
  if (length === 0) return !IS_INCLUDES && -1;
1010
1010
  var index = toAbsoluteIndex(fromIndex, length);
1011
1011
  var value;
@@ -1112,7 +1112,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
1112
1112
  }
1113
1113
  };
1114
1114
 
1115
- var fails$5 = fails$d;
1115
+ var fails$4 = fails$c;
1116
1116
  var isCallable$4 = isCallable$e;
1117
1117
 
1118
1118
  var replacement = /#|\.prototype\./;
@@ -1121,7 +1121,7 @@ var isForced$1 = function (feature, detection) {
1121
1121
  var value = data[normalize(feature)];
1122
1122
  return value === POLYFILL ? true
1123
1123
  : value === NATIVE ? false
1124
- : isCallable$4(detection) ? fails$5(detection)
1124
+ : isCallable$4(detection) ? fails$4(detection)
1125
1125
  : !!detection;
1126
1126
  };
1127
1127
 
@@ -1136,7 +1136,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
1136
1136
  var isForced_1 = isForced$1;
1137
1137
 
1138
1138
  var global$2 = global$b;
1139
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1139
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1140
1140
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
1141
1141
  var defineBuiltIn$4 = defineBuiltIn$5;
1142
1142
  var defineGlobalProperty = defineGlobalProperty$3;
@@ -1173,7 +1173,7 @@ var _export = function (options, source) {
1173
1173
  if (target) for (key in source) {
1174
1174
  sourceProperty = source[key];
1175
1175
  if (options.dontCallGetSet) {
1176
- descriptor = getOwnPropertyDescriptor$1(target, key);
1176
+ descriptor = getOwnPropertyDescriptor(target, key);
1177
1177
  targetProperty = descriptor && descriptor.value;
1178
1178
  } else targetProperty = target[key];
1179
1179
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1190,92 +1190,6 @@ var _export = function (options, source) {
1190
1190
  }
1191
1191
  };
1192
1192
 
1193
- var classof$3 = classofRaw$2;
1194
-
1195
- // `IsArray` abstract operation
1196
- // https://tc39.es/ecma262/#sec-isarray
1197
- // eslint-disable-next-line es/no-array-isarray -- safe
1198
- var isArray$1 = Array.isArray || function isArray(argument) {
1199
- return classof$3(argument) === 'Array';
1200
- };
1201
-
1202
- var DESCRIPTORS$4 = descriptors;
1203
- var isArray = isArray$1;
1204
-
1205
- var $TypeError$7 = TypeError;
1206
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1207
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1208
-
1209
- // Safari < 13 does not throw an error in this case
1210
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$4 && !function () {
1211
- // makes no sense without proper strict mode support
1212
- if (this !== undefined) return true;
1213
- try {
1214
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1215
- Object.defineProperty([], 'length', { writable: false }).length = 1;
1216
- } catch (error) {
1217
- return error instanceof TypeError;
1218
- }
1219
- }();
1220
-
1221
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1222
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1223
- throw new $TypeError$7('Cannot set read only .length');
1224
- } return O.length = length;
1225
- } : function (O, length) {
1226
- return O.length = length;
1227
- };
1228
-
1229
- var $TypeError$6 = TypeError;
1230
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1231
-
1232
- var doesNotExceedSafeInteger$1 = function (it) {
1233
- if (it > MAX_SAFE_INTEGER) throw $TypeError$6('Maximum allowed index exceeded');
1234
- return it;
1235
- };
1236
-
1237
- var $$a = _export;
1238
- var toObject$1 = toObject$3;
1239
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
1240
- var setArrayLength = arraySetLength;
1241
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
1242
- var fails$4 = fails$d;
1243
-
1244
- var INCORRECT_TO_LENGTH = fails$4(function () {
1245
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1246
- });
1247
-
1248
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
1249
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1250
- var properErrorOnNonWritableLength = function () {
1251
- try {
1252
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1253
- Object.defineProperty([], 'length', { writable: false }).push();
1254
- } catch (error) {
1255
- return error instanceof TypeError;
1256
- }
1257
- };
1258
-
1259
- var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
1260
-
1261
- // `Array.prototype.push` method
1262
- // https://tc39.es/ecma262/#sec-array.prototype.push
1263
- $$a({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
1264
- // eslint-disable-next-line no-unused-vars -- required for `.length`
1265
- push: function push(item) {
1266
- var O = toObject$1(this);
1267
- var len = lengthOfArrayLike$1(O);
1268
- var argCount = arguments.length;
1269
- doesNotExceedSafeInteger(len + argCount);
1270
- for (var i = 0; i < argCount; i++) {
1271
- O[len] = arguments[i];
1272
- len++;
1273
- }
1274
- setArrayLength(O, len);
1275
- return len;
1276
- }
1277
- });
1278
-
1279
1193
  var isPrototypeOf$1 = objectIsPrototypeOf;
1280
1194
 
1281
1195
  var $TypeError$5 = TypeError;
@@ -1285,7 +1199,7 @@ var anInstance$1 = function (it, Prototype) {
1285
1199
  throw new $TypeError$5('Incorrect invocation');
1286
1200
  };
1287
1201
 
1288
- var fails$3 = fails$d;
1202
+ var fails$3 = fails$c;
1289
1203
 
1290
1204
  var correctPrototypeGetter = !fails$3(function () {
1291
1205
  function F() { /* empty */ }
@@ -1296,7 +1210,7 @@ var correctPrototypeGetter = !fails$3(function () {
1296
1210
 
1297
1211
  var hasOwn$1 = hasOwnProperty_1;
1298
1212
  var isCallable$3 = isCallable$e;
1299
- var toObject = toObject$3;
1213
+ var toObject = toObject$2;
1300
1214
  var sharedKey$1 = sharedKey$3;
1301
1215
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1302
1216
 
@@ -1455,7 +1369,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1455
1369
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1456
1370
  };
1457
1371
 
1458
- var fails$2 = fails$d;
1372
+ var fails$2 = fails$c;
1459
1373
  var isCallable$2 = isCallable$e;
1460
1374
  var isObject = isObject$6;
1461
1375
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -1509,7 +1423,7 @@ var isCallable$1 = isCallable$e;
1509
1423
  var getPrototypeOf = objectGetPrototypeOf;
1510
1424
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
1511
1425
  var createProperty = createProperty$1;
1512
- var fails$1 = fails$d;
1426
+ var fails$1 = fails$c;
1513
1427
  var hasOwn = hasOwnProperty_1;
1514
1428
  var wellKnownSymbol$5 = wellKnownSymbol$8;
1515
1429
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
@@ -1697,7 +1611,7 @@ var call$4 = functionCall;
1697
1611
  var anObject$4 = anObject$c;
1698
1612
  var tryToString = tryToString$3;
1699
1613
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
1700
- var lengthOfArrayLike = lengthOfArrayLike$3;
1614
+ var lengthOfArrayLike = lengthOfArrayLike$2;
1701
1615
  var isPrototypeOf = objectIsPrototypeOf;
1702
1616
  var getIterator = getIterator$1;
1703
1617
  var getIteratorMethod = getIteratorMethod$2;
@@ -2013,7 +1927,7 @@ var setIntersection = function intersection(other) {
2013
1927
  };
2014
1928
 
2015
1929
  var $$6 = _export;
2016
- var fails = fails$d;
1930
+ var fails = fails$c;
2017
1931
  var intersection = setIntersection;
2018
1932
  var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
2019
1933
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util/fetch",
3
- "version": "12.6.21",
3
+ "version": "12.7.0",
4
4
  ".": {
5
5
  "types": "./src/index.d.ts",
6
6
  "node": {