excalibur 0.26.0-alpha.358 → 0.26.0-alpha.362

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.
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * excalibur - 0.26.0-alpha.358+9efcd39 - 2021-12-31
2
+ * excalibur - 0.26.0-alpha.362+804fc1b - 2022-1-8
3
3
  * https://github.com/excaliburjs/Excalibur
4
- * Copyright (c) 2021 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>
4
+ * Copyright (c) 2022 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>
5
5
  * Licensed BSD-2-Clause
6
6
  * @preserve
7
7
  */
@@ -590,10 +590,10 @@ module.exports = {
590
590
  var FunctionPrototype = Function.prototype;
591
591
  var bind = FunctionPrototype.bind;
592
592
  var call = FunctionPrototype.call;
593
- var callBind = bind && bind.bind(call);
593
+ var uncurryThis = bind && bind.bind(call, call);
594
594
 
595
595
  module.exports = bind ? function (fn) {
596
- return fn && callBind(call, fn);
596
+ return fn && uncurryThis(fn);
597
597
  } : function (fn) {
598
598
  return fn && function () {
599
599
  return call.apply(fn, arguments);
@@ -690,7 +690,7 @@ var createElement = __webpack_require__(2635);
690
690
 
691
691
  // Thank's IE8 for his funny defineProperty
692
692
  module.exports = !DESCRIPTORS && !fails(function () {
693
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
693
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
694
694
  return Object.defineProperty(createElement('div'), 'a', {
695
695
  get: function () { return 7; }
696
696
  }).a != 7;
@@ -955,16 +955,37 @@ module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap
955
955
  var global = __webpack_require__(9859);
956
956
  var DESCRIPTORS = __webpack_require__(7400);
957
957
  var IE8_DOM_DEFINE = __webpack_require__(4394);
958
+ var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(7137);
958
959
  var anObject = __webpack_require__(1176);
959
960
  var toPropertyKey = __webpack_require__(9310);
960
961
 
961
962
  var TypeError = global.TypeError;
962
963
  // eslint-disable-next-line es/no-object-defineproperty -- safe
963
964
  var $defineProperty = Object.defineProperty;
965
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
966
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
967
+ var ENUMERABLE = 'enumerable';
968
+ var CONFIGURABLE = 'configurable';
969
+ var WRITABLE = 'writable';
964
970
 
965
971
  // `Object.defineProperty` method
966
972
  // https://tc39.es/ecma262/#sec-object.defineproperty
967
- exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
973
+ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
974
+ anObject(O);
975
+ P = toPropertyKey(P);
976
+ anObject(Attributes);
977
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
978
+ var current = $getOwnPropertyDescriptor(O, P);
979
+ if (current && current[WRITABLE]) {
980
+ O[P] = Attributes.value;
981
+ Attributes = {
982
+ configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
983
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
984
+ writable: false
985
+ };
986
+ }
987
+ } return $defineProperty(O, P, Attributes);
988
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
968
989
  anObject(O);
969
990
  P = toPropertyKey(P);
970
991
  anObject(Attributes);
@@ -1291,9 +1312,9 @@ var store = __webpack_require__(5353);
1291
1312
  (module.exports = function (key, value) {
1292
1313
  return store[key] || (store[key] = value !== undefined ? value : {});
1293
1314
  })('versions', []).push({
1294
- version: '3.20.0',
1315
+ version: '3.20.2',
1295
1316
  mode: IS_PURE ? 'pure' : 'global',
1296
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
1317
+ copyright: '© 2022 Denis Pushkarev (zloirock.ru)'
1297
1318
  });
1298
1319
 
1299
1320
 
@@ -1507,6 +1528,25 @@ module.exports = NATIVE_SYMBOL
1507
1528
  && typeof Symbol.iterator == 'symbol';
1508
1529
 
1509
1530
 
1531
+ /***/ }),
1532
+
1533
+ /***/ 7137:
1534
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1535
+
1536
+ var DESCRIPTORS = __webpack_require__(7400);
1537
+ var fails = __webpack_require__(4229);
1538
+
1539
+ // V8 ~ Chrome 36-
1540
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1541
+ module.exports = DESCRIPTORS && fails(function () {
1542
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1543
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1544
+ value: 42,
1545
+ writable: false
1546
+ }).prototype != 42;
1547
+ });
1548
+
1549
+
1510
1550
  /***/ }),
1511
1551
 
1512
1552
  /***/ 95:
@@ -29346,7 +29386,7 @@ Promises_Promise = Promise_1 = Promises_decorate([
29346
29386
  * The current Excalibur version string
29347
29387
  * @description `process.env.__EX_VERSION` gets replaced by Webpack on build
29348
29388
  */
29349
- const EX_VERSION = "0.26.0-alpha.358+9efcd39";
29389
+ const EX_VERSION = "0.26.0-alpha.362+804fc1b";
29350
29390
 
29351
29391
  polyfill();
29352
29392
  // This file is used as the bundle entry point and exports everything