pixi.js 7.4.2 → 7.4.3

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/pixi.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * pixi.js - v7.4.2
3
- * Compiled Wed, 20 Mar 2024 19:55:28 UTC
2
+ * pixi.js - v7.4.3
3
+ * Compiled Thu, 06 Mar 2025 14:58:55 UTC
4
4
  *
5
5
  * pixi.js is licensed under the MIT License.
6
6
  * http://www.opensource.org/licenses/mit-license
@@ -8280,7 +8280,7 @@ class StartupSystem {
8280
8280
  */
8281
8281
  run(options) {
8282
8282
  const { renderer } = this;
8283
- renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.4.2 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
8283
+ renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.4.3 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
8284
8284
  }
8285
8285
  destroy() {
8286
8286
  }
@@ -10783,7 +10783,7 @@ class TransformFeedback {
10783
10783
  this.disposeRunner.emit(this, !1);
10784
10784
  }
10785
10785
  }
10786
- const VERSION = "7.4.2";
10786
+ const VERSION = "7.4.3";
10787
10787
  class Bounds {
10788
10788
  constructor() {
10789
10789
  this.minX = 1 / 0, this.minY = 1 / 0, this.maxX = -1 / 0, this.maxY = -1 / 0, this.rect = null, this.updateID = -1;
@@ -15567,7 +15567,8 @@ class CacheClass {
15567
15567
  if (keys.forEach((key2) => {
15568
15568
  this._cacheMap.set(key2, cachedAssets);
15569
15569
  }), cacheKeys.forEach((key2) => {
15570
- this._cache.has(key2) && this._cache.get(key2) !== value && console.warn("[Cache] already has key:", key2), this._cache.set(key2, cacheableAssets[key2]);
15570
+ const val = cacheableAssets ? cacheableAssets[key2] : value;
15571
+ this._cache.has(key2) && this._cache.get(key2) !== val && console.warn("[Cache] already has key:", key2), this._cache.set(key2, cacheableAssets[key2]);
15571
15572
  }), value instanceof Texture) {
15572
15573
  const texture = value;
15573
15574
  keys.forEach((key2) => {