diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bd5a6d379..0ccedc4932 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [15.9.1] (melonJS 2) - _2023-08-xx_ +## [15.9.1] (melonJS 2) - _2023-08-24_ ### Fixed - Geometry: add default parameters to the `Polygon` constructor, allowing to instantiate "empty" polygons diff --git a/dist/melonjs.module.js b/dist/melonjs.module.js index 5bbef4a59e..a2dc85595e 100644 --- a/dist/melonjs.module.js +++ b/dist/melonjs.module.js @@ -50,7 +50,7 @@ var es_globalThis = {}; 'use strict'; var check = function (it) { - return it && it.Math == Math && it; + return it && it.Math === Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 @@ -85,7 +85,7 @@ var fails$8 = fails$9; // Detect IE8's incomplete defineProperty implementation var descriptors = !fails$8(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; }); var descriptors$1 = /*@__PURE__*/getDefaultExportFromCjs(descriptors); @@ -183,7 +183,7 @@ var indexedObject = fails$6(function () { // eslint-disable-next-line no-prototype-builtins -- safe return !$Object$3('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$3(it) == 'String' ? split(it, '') : $Object$3(it); + return classof$3(it) === 'String' ? split(it, '') : $Object$3(it); } : $Object$3; var indexedObject$1 = /*@__PURE__*/getDefaultExportFromCjs(indexedObject); @@ -332,7 +332,7 @@ var $String$4 = global$b.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () { - var symbol = Symbol(); + var symbol = Symbol('symbol detection'); // Chrome 38 Symbol has incorrect toString conversion // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, @@ -473,10 +473,10 @@ var store$2 = sharedStore; (shared$5.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.32.0', + version: '3.32.1', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE', source: 'https://github.com/zloirock/core-js' }); @@ -612,7 +612,7 @@ var ie8DomDefine = !DESCRIPTORS$6 && !fails$4(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } - }).a != 7; + }).a !== 7; }); var ie8DomDefine$1 = /*@__PURE__*/getDefaultExportFromCjs(ie8DomDefine); @@ -654,7 +654,7 @@ var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$3(function () { return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, writable: false - }).prototype != 42; + }).prototype !== 42; }); var v8PrototypeDefineBug$1 = /*@__PURE__*/getDefaultExportFromCjs(v8PrototypeDefineBug); @@ -1049,10 +1049,10 @@ var createMethod$1 = function (IS_INCLUDES) { var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el != el) while (length > index) { + if (IS_INCLUDES && el !== el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare -- NaN check - if (value != value) return true; + if (value !== value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; @@ -1174,8 +1174,8 @@ var replacement = /#|\.prototype\./; var isForced$1 = function (feature, detection) { var value = data$1[normalize$1(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false + return value === POLYFILL ? true + : value === NATIVE ? false : isCallable$1(detection) ? fails$1(detection) : !!detection; }; @@ -1297,7 +1297,7 @@ var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var $Object = Object; // ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { @@ -1315,7 +1315,7 @@ var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; }; var classof$2 = /*@__PURE__*/getDefaultExportFromCjs(classof$1);