From ab43577f57d6408490dbebdd79c9a1940950d0c3 Mon Sep 17 00:00:00 2001 From: "Prozi (Jacek Pietal)" Date: Thu, 26 Sep 2024 14:33:50 +0200 Subject: [PATCH] feat: decode uri query params --- dist/demo/index.js | 1 + dist/scene.js | 4 +- docs/demo/demo.bundle.js | 410 ++++++++++++++++++++------------------- package.json | 10 +- src/demo/index.ts | 3 + src/scene.ts | 4 +- yarn.lock | 170 ++++++++-------- 7 files changed, 307 insertions(+), 295 deletions(-) diff --git a/dist/demo/index.js b/dist/demo/index.js index 2215b28..cb12701 100644 --- a/dist/demo/index.js +++ b/dist/demo/index.js @@ -6,6 +6,7 @@ const sprite_prefab_1 = require('./sprite.prefab'); const takeUntil_1 = require('rxjs/internal/operators/takeUntil'); async function start() { const queryParams = scene_1.Scene.getQueryParams(); + globalThis.queryParams = queryParams; // create main Scene const scene = new scene_1.Scene({ visible: true, diff --git a/dist/scene.js b/dist/scene.js index 5c032a0..958d078 100644 --- a/dist/scene.js +++ b/dist/scene.js @@ -110,7 +110,7 @@ class Scene extends scene_ssr_1.SceneSSR { // eslint-disable-next-line (queryParams, [_wholeMatch, paramName, paramValue]) => Object.assign(Object.assign({}, queryParams), { - [paramName]: paramValue + [decodeURIComponent(paramName)]: decodeURIComponent(paramValue) }), {} ); @@ -194,7 +194,7 @@ class Scene extends scene_ssr_1.SceneSSR { * add body font family to set font of pixi-stats */ showFPS(style = 'position: fixed; top: 0; right: 0; z-index: 1000;') { - const stats = new pixi_stats_1.Stats(document, this.pixi.renderer); + const stats = new pixi_stats_1.Stats(this.pixi.renderer); const canvas = stats.domElement; canvas.setAttribute('style', style); } diff --git a/docs/demo/demo.bundle.js b/docs/demo/demo.bundle.js index e7c8f12..919d374 100644 --- a/docs/demo/demo.bundle.js +++ b/docs/demo/demo.bundle.js @@ -909,205 +909,6 @@ /***/ }, - /***/ './node_modules/@pietal.dev/gstats/dist/BaseHooks.js': - /*!***********************************************************!*\ - !*** ./node_modules/@pietal.dev/gstats/dist/BaseHooks.js ***! - \***********************************************************/ - /***/ function (__unused_webpack_module, exports, __webpack_require__) { - 'use strict'; - - var __importDefault = - (this && this.__importDefault) || - function (mod) { - return mod && mod.__esModule ? mod : { default: mod }; - }; - Object.defineProperty(exports, '__esModule', { value: true }); - const GLHook_1 = __importDefault( - __webpack_require__( - /*! ./GLHook */ './node_modules/@pietal.dev/gstats/dist/GLHook.js' - ) - ); - const TextureHook_1 = __importDefault( - __webpack_require__( - /*! ./TextureHook */ './node_modules/@pietal.dev/gstats/dist/TextureHook.js' - ) - ); - class BaseHooks { - constructor() { - this._drawCalls = -1; - this._maxDeltaDrawCalls = -1; - } - attach(gl) { - this.glhook = new GLHook_1.default(gl); - this.texturehook = new TextureHook_1.default(gl); - } - get drawCalls() { - if (this.glhook && this.glhook.isInit) { - return this.glhook.drawPasses; - } - return -1; - } - get maxDeltaDrawCalls() { - return this._maxDeltaDrawCalls; - } - get deltaDrawCalls() { - if (this._drawCalls == -1) { - this._drawCalls = this.drawCalls; - return 0; - } - var dc = this.drawCalls; - var delta = dc - this._drawCalls; - this._drawCalls = dc; - this._maxDeltaDrawCalls = Math.max(this._maxDeltaDrawCalls, delta); - return delta; - } - get maxTextureCount() { - if (this.texturehook && this.texturehook.isInit) - return this.texturehook.maxTexturesCount; - return 0; - } - get texturesCount() { - if (this.texturehook && this.texturehook.isInit) - return this.texturehook.currentTextureCount; - return 0; - } - reset() { - this._maxDeltaDrawCalls = -1; - this._drawCalls = -1; - if (this.glhook) this.glhook.reset(); - if (this.texturehook) this.texturehook.reset(); - } - release() { - if (this.glhook) this.glhook.release(); - if (this.texturehook) this.texturehook.release(); - } - } - exports['default'] = BaseHooks; - //# sourceMappingURL=BaseHooks.js.map - - /***/ - }, - - /***/ './node_modules/@pietal.dev/gstats/dist/GLHook.js': - /*!********************************************************!*\ - !*** ./node_modules/@pietal.dev/gstats/dist/GLHook.js ***! - \********************************************************/ - /***/ (__unused_webpack_module, exports) => { - 'use strict'; - - Object.defineProperty(exports, '__esModule', { value: true }); - class GLHook { - constructor(_gl) { - this.drawPasses = 0; - this.isInit = false; - this.realGLDrawElements = function () {}; - if (_gl) { - if (_gl.__proto__.drawElements) { - this.gl = _gl; - this.realGLDrawElements = _gl.__proto__.drawElements; - //replace to new function - _gl.__proto__.drawElements = this.fakeGLdrawElements.bind(this); - this.isInit = true; - console.log('[GLHook] GL was Hooked!'); - } - } else { - console.error("[GLHook] GL can't be NULL"); - } - } - fakeGLdrawElements(mode, count, type, offset) { - this.drawPasses++; - this.realGLDrawElements.call(this.gl, mode, count, type, offset); - } - reset() { - this.drawPasses = 0; - } - release() { - if (this.isInit) { - this.gl.__proto__.drawElements = this.realGLDrawElements; - console.log('[GLHook] Hook was removed!'); - } - this.isInit = false; - } - } - exports['default'] = GLHook; - //# sourceMappingURL=GLHook.js.map - - /***/ - }, - - /***/ './node_modules/@pietal.dev/gstats/dist/TextureHook.js': - /*!*************************************************************!*\ - !*** ./node_modules/@pietal.dev/gstats/dist/TextureHook.js ***! - \*************************************************************/ - /***/ (__unused_webpack_module, exports) => { - 'use strict'; - - Object.defineProperty(exports, '__esModule', { value: true }); - class TextureHook { - constructor(_gl) { - this.createdTextures = new Array(); - this.maxTexturesCount = 0; - this.isInit = false; - this.realGLCreateTexture = function () {}; - this.realGLDeleteTexture = function () {}; - if (_gl) { - if (_gl.__proto__.createTexture) { - this.gl = _gl; - this.realGLCreateTexture = _gl.__proto__.createTexture; - this.realGLDeleteTexture = _gl.__proto__.deleteTexture; - //replace to new function - _gl.__proto__.createTexture = - this.fakeGLCreateTexture.bind(this); - _gl.__proto__.deleteTexture = - this.fakeGLDeleteTexture.bind(this); - this.isInit = true; - console.log('[TextureHook] GL was Hooked!'); - } - } else { - console.error("[TextureHook] GL can't be NULL"); - } - } - get currentTextureCount() { - return this.createdTextures.length; - } - registerTexture(texture) { - this.createdTextures.push(texture); // ++; - this.maxTexturesCount = Math.max( - this.createdTextures.length, - this.maxTexturesCount - ); - } - fakeGLCreateTexture() { - var texture = this.realGLCreateTexture.call(this.gl); - this.registerTexture(texture); - return texture; - } - fakeGLDeleteTexture(texture) { - var index = this.createdTextures.indexOf(texture); - if (index > -1) { - this.createdTextures.splice(index, 1); - } - this.realGLDeleteTexture.call(this.gl, texture); - } - reset() { - this.createdTextures = new Array(); - this.maxTexturesCount = 0; - } - release() { - if (this.isInit) { - this.gl.__proto__.createTexture = this.realGLCreateTexture; - this.gl.__proto__.deleteTexture = this.realGLDeleteTexture; - console.log('[TextureHook] Hook was removed!'); - } - this.isInit = false; - } - } - exports['default'] = TextureHook; - //# sourceMappingURL=TextureHook.js.map - - /***/ - }, - /***/ './node_modules/@pixi/colord/index.js': /*!********************************************!*\ !*** ./node_modules/@pixi/colord/index.js ***! @@ -11382,6 +11183,205 @@ /***/ }, + /***/ './node_modules/pixi-stats/dist/hooks/BaseHooks.js': + /*!*********************************************************!*\ + !*** ./node_modules/pixi-stats/dist/hooks/BaseHooks.js ***! + \*********************************************************/ + /***/ function (__unused_webpack_module, exports, __webpack_require__) { + 'use strict'; + + var __importDefault = + (this && this.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports, '__esModule', { value: true }); + const GLHook_1 = __importDefault( + __webpack_require__( + /*! ./GLHook */ './node_modules/pixi-stats/dist/hooks/GLHook.js' + ) + ); + const TextureHook_1 = __importDefault( + __webpack_require__( + /*! ./TextureHook */ './node_modules/pixi-stats/dist/hooks/TextureHook.js' + ) + ); + class BaseHooks { + constructor() { + this._drawCalls = -1; + this._maxDeltaDrawCalls = -1; + } + attach(gl) { + this.glhook = new GLHook_1.default(gl); + this.texturehook = new TextureHook_1.default(gl); + } + get drawCalls() { + if (this.glhook && this.glhook.isInit) { + return this.glhook.drawPasses; + } + return -1; + } + get maxDeltaDrawCalls() { + return this._maxDeltaDrawCalls; + } + get deltaDrawCalls() { + if (this._drawCalls == -1) { + this._drawCalls = this.drawCalls; + return 0; + } + const dc = this.drawCalls; + const delta = dc - this._drawCalls; + this._drawCalls = dc; + this._maxDeltaDrawCalls = Math.max(this._maxDeltaDrawCalls, delta); + return delta; + } + get maxTextureCount() { + if (this.texturehook && this.texturehook.isInit) + return this.texturehook.maxTexturesCount; + return 0; + } + get texturesCount() { + if (this.texturehook && this.texturehook.isInit) + return this.texturehook.currentTextureCount; + return 0; + } + reset() { + this._maxDeltaDrawCalls = -1; + this._drawCalls = -1; + if (this.glhook) this.glhook.reset(); + if (this.texturehook) this.texturehook.reset(); + } + release() { + if (this.glhook) this.glhook.release(); + if (this.texturehook) this.texturehook.release(); + } + } + exports['default'] = BaseHooks; + //# sourceMappingURL=BaseHooks.js.map + + /***/ + }, + + /***/ './node_modules/pixi-stats/dist/hooks/GLHook.js': + /*!******************************************************!*\ + !*** ./node_modules/pixi-stats/dist/hooks/GLHook.js ***! + \******************************************************/ + /***/ (__unused_webpack_module, exports) => { + 'use strict'; + + Object.defineProperty(exports, '__esModule', { value: true }); + class GLHook { + constructor(_gl) { + this.drawPasses = 0; + this.isInit = false; + this.realGLDrawElements = function () {}; + if (_gl) { + if (_gl.__proto__.drawElements) { + this.gl = _gl; + this.realGLDrawElements = _gl.__proto__.drawElements; + //replace to new function + _gl.__proto__.drawElements = this.fakeGLdrawElements.bind(this); + this.isInit = true; + console.log('[GLHook] GL was Hooked!'); + } + } else { + console.error("[GLHook] GL can't be NULL"); + } + } + fakeGLdrawElements(mode, count, type, offset) { + this.drawPasses++; + this.realGLDrawElements.call(this.gl, mode, count, type, offset); + } + reset() { + this.drawPasses = 0; + } + release() { + if (this.isInit) { + this.gl.__proto__.drawElements = this.realGLDrawElements; + console.log('[GLHook] Hook was removed!'); + } + this.isInit = false; + } + } + exports['default'] = GLHook; + //# sourceMappingURL=GLHook.js.map + + /***/ + }, + + /***/ './node_modules/pixi-stats/dist/hooks/TextureHook.js': + /*!***********************************************************!*\ + !*** ./node_modules/pixi-stats/dist/hooks/TextureHook.js ***! + \***********************************************************/ + /***/ (__unused_webpack_module, exports) => { + 'use strict'; + + Object.defineProperty(exports, '__esModule', { value: true }); + class TextureHook { + constructor(_gl) { + this.createdTextures = new Array(); + this.maxTexturesCount = 0; + this.isInit = false; + this.realGLCreateTexture = function () {}; + this.realGLDeleteTexture = function () {}; + if (_gl) { + if (_gl.__proto__.createTexture) { + this.gl = _gl; + this.realGLCreateTexture = _gl.__proto__.createTexture; + this.realGLDeleteTexture = _gl.__proto__.deleteTexture; + //replace to new function + _gl.__proto__.createTexture = + this.fakeGLCreateTexture.bind(this); + _gl.__proto__.deleteTexture = + this.fakeGLDeleteTexture.bind(this); + this.isInit = true; + console.log('[TextureHook] GL was Hooked!'); + } + } else { + console.error("[TextureHook] GL can't be NULL"); + } + } + get currentTextureCount() { + return this.createdTextures.length; + } + registerTexture(texture) { + this.createdTextures.push(texture); // ++; + this.maxTexturesCount = Math.max( + this.createdTextures.length, + this.maxTexturesCount + ); + } + fakeGLCreateTexture() { + const texture = this.realGLCreateTexture.call(this.gl); + this.registerTexture(texture); + return texture; + } + fakeGLDeleteTexture(texture) { + const index = this.createdTextures.indexOf(texture); + if (index > -1) { + this.createdTextures.splice(index, 1); + } + this.realGLDeleteTexture.call(this.gl, texture); + } + reset() { + this.createdTextures = new Array(); + this.maxTexturesCount = 0; + } + release() { + if (this.isInit) { + this.gl.__proto__.createTexture = this.realGLCreateTexture; + this.gl.__proto__.deleteTexture = this.realGLDeleteTexture; + console.log('[TextureHook] Hook was removed!'); + } + this.isInit = false; + } + } + exports['default'] = TextureHook; + //# sourceMappingURL=TextureHook.js.map + + /***/ + }, + /***/ './node_modules/pixi-stats/dist/index.js': /*!***********************************************!*\ !*** ./node_modules/pixi-stats/dist/index.js ***! @@ -11505,7 +11505,7 @@ exports.PIXIHooks = exports.StatsJSAdapter = void 0; const BaseHooks_1 = __importDefault( __webpack_require__( - /*! @pietal.dev/gstats/dist/BaseHooks */ './node_modules/@pietal.dev/gstats/dist/BaseHooks.js' + /*! ./hooks/BaseHooks */ './node_modules/pixi-stats/dist/hooks/BaseHooks.js' ) ); const stats_panel_1 = __webpack_require__( @@ -11740,7 +11740,7 @@ /*! pixi.js */ './node_modules/pixi.js/lib/index.js' ); class Stats { - constructor(document, renderer) { + constructor(renderer, containerElement = document.body) { this.mode = 0; this.frames = 0; this.beginTime = (performance || Date).now(); @@ -11769,7 +11769,7 @@ this.pixiHooks = new stats_gl_1.PIXIHooks(renderer); this.adapter = new stats_gl_1.StatsJSAdapter(this.pixiHooks, this); this.showPanel(0); - document.body.appendChild(this.domElement); + containerElement.appendChild(this.domElement); const ticker = pixi_js_1.Ticker.shared || new pixi_js_1.Ticker(); ticker.add( this.adapter.update, @@ -91501,7 +91501,8 @@ Deprecated since v${version}` // eslint-disable-next-line (queryParams, [_wholeMatch, paramName, paramValue]) => Object.assign(Object.assign({}, queryParams), { - [paramName]: paramValue + [decodeURIComponent(paramName)]: + decodeURIComponent(paramValue) }), {} ); @@ -91585,7 +91586,7 @@ Deprecated since v${version}` * add body font family to set font of pixi-stats */ showFPS(style = 'position: fixed; top: 0; right: 0; z-index: 1000;') { - const stats = new pixi_stats_1.Stats(document, this.pixi.renderer); + const stats = new pixi_stats_1.Stats(this.pixi.renderer); const canvas = stats.domElement; canvas.setAttribute('style', style); } @@ -93399,6 +93400,7 @@ and limitations under the License. ); async function start() { const queryParams = scene_1.Scene.getQueryParams(); + globalThis.queryParams = queryParams; // create main Scene const scene = new scene_1.Scene({ visible: true, diff --git a/package.json b/package.json index 1d3415a..c489435 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@pietal.dev/engine", "description": "A Unity-inspired game framework by pietal.dev", - "version": "9.10.0", + "version": "9.11.0", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { @@ -43,7 +43,7 @@ "@pietal.dev/cache": "^2.0.2", "@pietal.dev/dependency-injection": "^1.4.7", "detect-collisions": "^9.16.0", - "pixi-stats": "^2.0.2", + "pixi-stats": "^3.0.0", "pixi.js": "^8.4.1", "rxjs": "^7.8.1" }, @@ -68,7 +68,7 @@ "@types/offscreencanvas": "^2019.7.3", "babel-jest": "^29.7.0", "chef-express": "^2.4.2", - "eslint": "^9.11.0", + "eslint": "^9.11.1", "globals": "^15.9.0", "jest": "29.7.0", "pixi-shim": "^2.5.3", @@ -77,8 +77,8 @@ "ts-loader": "^9.5.1", "typedoc": "^0.26.7", "typescript": "^5", - "typescript-eslint": "^8.6.0", - "webpack": "^5.94.0", + "typescript-eslint": "^8.7.0", + "webpack": "^5.95.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.1.0" }, diff --git a/src/demo/index.ts b/src/demo/index.ts index 79f63a5..536abdf 100644 --- a/src/demo/index.ts +++ b/src/demo/index.ts @@ -5,6 +5,9 @@ import { takeUntil } from 'rxjs/internal/operators/takeUntil'; async function start(): Promise { const queryParams = Scene.getQueryParams(); + + globalThis.queryParams = queryParams; + // create main Scene const scene: Scene = new Scene({ visible: true, diff --git a/src/scene.ts b/src/scene.ts index b9d7089..22ba7d6 100644 --- a/src/scene.ts +++ b/src/scene.ts @@ -62,7 +62,7 @@ export class Scene extends SceneSSR { // eslint-disable-next-line (queryParams, [_wholeMatch, paramName, paramValue]) => ({ ...queryParams, - [paramName]: paramValue + [decodeURIComponent(paramName)]: decodeURIComponent(paramValue) }), {} ); @@ -155,7 +155,7 @@ export class Scene extends SceneSSR { * add body font family to set font of pixi-stats */ showFPS(style = 'position: fixed; top: 0; right: 0; z-index: 1000;'): void { - const stats = new Stats(document, this.pixi.renderer as PIXI.WebGLRenderer); + const stats = new Stats(this.pixi.renderer as PIXI.WebGLRenderer); const canvas = stats.domElement; canvas.setAttribute('style', style); diff --git a/yarn.lock b/yarn.lock index 4458c85..aee753a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -424,6 +424,11 @@ debug "^4.3.1" minimatch "^3.1.2" +"@eslint/core@^0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.6.0.tgz#9930b5ba24c406d67a1760e94cdbac616a6eb674" + integrity sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg== + "@eslint/eslintrc@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.1.0.tgz#dbd3482bfd91efa663cbe7aa1f506839868207b6" @@ -439,10 +444,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.11.0": - version "9.11.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.11.0.tgz#fca7533ef33aa608770734786e02f1041847f9bb" - integrity sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ== +"@eslint/js@9.11.1": + version "9.11.1" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.11.1.tgz#8bcb37436f9854b3d9a561440daf916acd940986" + integrity sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA== "@eslint/object-schema@^2.1.4": version "2.1.4" @@ -787,11 +792,6 @@ dependencies: reflect-metadata "^0.2.2" -"@pietal.dev/gstats@^0.1.6": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@pietal.dev/gstats/-/gstats-0.1.6.tgz#fe779e5784d54f852b676b4e40c648c94ce03e45" - integrity sha512-SJCxaOhXinvRsyt+LtzAsR+u+JzXkc1WeaDnGB4DIZ9kJ3OfEPcY4T7b+3cvyFRdfiWEkOT7T6cVnalLoAdrzQ== - "@pixi/canvas-display@7.4.2": version "7.4.2" resolved "https://registry.yarnpkg.com/@pixi/canvas-display/-/canvas-display-7.4.2.tgz#fed75251e8b6c592eff0e8c5bbc5b852ef3fe464" @@ -1107,6 +1107,11 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== +"@types/estree@^1.0.6": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" + integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== + "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": version "4.19.5" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz#218064e321126fcf9048d1ca25dd2465da55d9c6" @@ -1180,7 +1185,7 @@ expect "^29.0.0" pretty-format "^29.0.0" -"@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": +"@types/json-schema@^7.0.15", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -1296,62 +1301,62 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.6.0.tgz#20049754ff9f6d3a09bf240297f029ce04290999" - integrity sha512-UOaz/wFowmoh2G6Mr9gw60B1mm0MzUtm6Ic8G2yM1Le6gyj5Loi/N+O5mocugRGY+8OeeKmkMmbxNqUCq3B4Sg== +"@typescript-eslint/eslint-plugin@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.7.0.tgz#d0070f206daad26253bf00ca5b80f9b54f9e2dd0" + integrity sha512-RIHOoznhA3CCfSTFiB6kBGLQtB/sox+pJ6jeFu6FxJvqL8qRxq/FfGO/UhsGgQM9oGdXkV4xUgli+dt26biB6A== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "8.6.0" - "@typescript-eslint/type-utils" "8.6.0" - "@typescript-eslint/utils" "8.6.0" - "@typescript-eslint/visitor-keys" "8.6.0" + "@typescript-eslint/scope-manager" "8.7.0" + "@typescript-eslint/type-utils" "8.7.0" + "@typescript-eslint/utils" "8.7.0" + "@typescript-eslint/visitor-keys" "8.7.0" graphemer "^1.4.0" ignore "^5.3.1" natural-compare "^1.4.0" ts-api-utils "^1.3.0" -"@typescript-eslint/parser@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.6.0.tgz#02e092b9dc8b4e319172af620d0d39b337d948f6" - integrity sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow== +"@typescript-eslint/parser@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.7.0.tgz#a567b0890d13db72c7348e1d88442ea8ab4e9173" + integrity sha512-lN0btVpj2unxHlNYLI//BQ7nzbMJYBVQX5+pbNXvGYazdlgYonMn4AhhHifQ+J4fGRYA/m1DjaQjx+fDetqBOQ== dependencies: - "@typescript-eslint/scope-manager" "8.6.0" - "@typescript-eslint/types" "8.6.0" - "@typescript-eslint/typescript-estree" "8.6.0" - "@typescript-eslint/visitor-keys" "8.6.0" + "@typescript-eslint/scope-manager" "8.7.0" + "@typescript-eslint/types" "8.7.0" + "@typescript-eslint/typescript-estree" "8.7.0" + "@typescript-eslint/visitor-keys" "8.7.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.6.0.tgz#28cc2fc26a84b75addf45091a2c6283e29e2c982" - integrity sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw== +"@typescript-eslint/scope-manager@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.7.0.tgz#90ee7bf9bc982b9260b93347c01a8bc2b595e0b8" + integrity sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg== dependencies: - "@typescript-eslint/types" "8.6.0" - "@typescript-eslint/visitor-keys" "8.6.0" + "@typescript-eslint/types" "8.7.0" + "@typescript-eslint/visitor-keys" "8.7.0" -"@typescript-eslint/type-utils@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.6.0.tgz#d4347e637478bef88cee1db691fcfa20ade9b8a0" - integrity sha512-dtePl4gsuenXVwC7dVNlb4mGDcKjDT/Ropsk4za/ouMBPplCLyznIaR+W65mvCvsyS97dymoBRrioEXI7k0XIg== +"@typescript-eslint/type-utils@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.7.0.tgz#d56b104183bdcffcc434a23d1ce26cde5e42df93" + integrity sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ== dependencies: - "@typescript-eslint/typescript-estree" "8.6.0" - "@typescript-eslint/utils" "8.6.0" + "@typescript-eslint/typescript-estree" "8.7.0" + "@typescript-eslint/utils" "8.7.0" debug "^4.3.4" ts-api-utils "^1.3.0" -"@typescript-eslint/types@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.6.0.tgz#cdc3a16f83f2f0663d6723e9fd032331cdd9f51c" - integrity sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw== +"@typescript-eslint/types@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.7.0.tgz#21d987201c07b69ce7ddc03451d7196e5445ad19" + integrity sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w== -"@typescript-eslint/typescript-estree@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.6.0.tgz#f945506de42871f04868371cb5bf21e8f7266e01" - integrity sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g== +"@typescript-eslint/typescript-estree@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.7.0.tgz#6c7db6baa4380b937fa81466c546d052f362d0e8" + integrity sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg== dependencies: - "@typescript-eslint/types" "8.6.0" - "@typescript-eslint/visitor-keys" "8.6.0" + "@typescript-eslint/types" "8.7.0" + "@typescript-eslint/visitor-keys" "8.7.0" debug "^4.3.4" fast-glob "^3.3.2" is-glob "^4.0.3" @@ -1359,22 +1364,22 @@ semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/utils@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.6.0.tgz#175fe893f32804bed1e72b3364ea6bbe1044181c" - integrity sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A== +"@typescript-eslint/utils@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.7.0.tgz#cef3f70708b5b5fd7ed8672fc14714472bd8a011" + integrity sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw== dependencies: "@eslint-community/eslint-utils" "^4.4.0" - "@typescript-eslint/scope-manager" "8.6.0" - "@typescript-eslint/types" "8.6.0" - "@typescript-eslint/typescript-estree" "8.6.0" + "@typescript-eslint/scope-manager" "8.7.0" + "@typescript-eslint/types" "8.7.0" + "@typescript-eslint/typescript-estree" "8.7.0" -"@typescript-eslint/visitor-keys@8.6.0": - version "8.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.6.0.tgz#5432af4a1753f376f35ab5b891fc9db237aaf76f" - integrity sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg== +"@typescript-eslint/visitor-keys@8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.7.0.tgz#5e46f1777f9d69360a883c1a56ac3c511c9659a8" + integrity sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ== dependencies: - "@typescript-eslint/types" "8.6.0" + "@typescript-eslint/types" "8.7.0" eslint-visitor-keys "^3.4.3" "@ungap/structured-clone@^1.0.0": @@ -2443,20 +2448,23 @@ eslint-visitor-keys@^4.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb" integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw== -eslint@^9.11.0: - version "9.11.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.11.0.tgz#f7a7bf305a4d77f23be0c1e4537b9aa1617219be" - integrity sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA== +eslint@^9.11.1: + version "9.11.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.11.1.tgz#701e5fc528990153f9cef696d8427003b5206567" + integrity sha512-MobhYKIoAO1s1e4VUrgx1l1Sk2JBR/Gqjjgw8+mfgoLE2xwsHur4gdfTxyTgShrhvdVFTaJSgMiQBl1jv/AWxg== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.11.0" "@eslint/config-array" "^0.18.0" + "@eslint/core" "^0.6.0" "@eslint/eslintrc" "^3.1.0" - "@eslint/js" "9.11.0" + "@eslint/js" "9.11.1" "@eslint/plugin-kit" "^0.2.0" "@humanwhocodes/module-importer" "^1.0.1" "@humanwhocodes/retry" "^0.3.0" "@nodelib/fs.walk" "^1.2.8" + "@types/estree" "^1.0.6" + "@types/json-schema" "^7.0.15" ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -4360,12 +4368,10 @@ pixi-shim@^2.5.3: optionalDependencies: canvas "^2" -pixi-stats@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/pixi-stats/-/pixi-stats-2.0.2.tgz#f00a60b15254c8fc5c8470accbba0b24d23f218c" - integrity sha512-QCCFvE1PNKku4hbdfPOmeNwanqbhQDmWslec5ANcl2n4D63kc8GK9VhCzXRFt9WG+Gxrc8SH/iIR3+ornIBPig== - dependencies: - "@pietal.dev/gstats" "^0.1.6" +pixi-stats@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pixi-stats/-/pixi-stats-3.0.0.tgz#91971d6c498149a8327859859c45ccdffc598106" + integrity sha512-ojZ8DsBcyO6C9FGhXVWeDxNOnf+KWtwwPL79Y4roGOu7Uy5l6gCBL3hGMqmE6/svBUQzzgoZDE2Lx9BA5UUfxg== pixi.js-legacy@^7: version "7.4.2" @@ -5235,14 +5241,14 @@ typedoc@^0.26.7: shiki "^1.16.2" yaml "^2.5.1" -typescript-eslint@^8.6.0: - version "8.6.0" - resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.6.0.tgz#5f0b5e23b34385ef146e447616c1a0d6bd14bedb" - integrity sha512-eEhhlxCEpCd4helh3AO1hk0UP2MvbRi9CtIAJTVPQjuSXOOO2jsEacNi4UdcJzZJbeuVg1gMhtZ8UYb+NFYPrA== +typescript-eslint@^8.7.0: + version "8.7.0" + resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.7.0.tgz#6c84f94013a0cc0074da7d639c2644eae20c3171" + integrity sha512-nEHbEYJyHwsuf7c3V3RS7Saq+1+la3i0ieR3qP0yjqWSzVmh8Drp47uOl9LjbPANac4S7EFSqvcYIKXUUwIfIQ== dependencies: - "@typescript-eslint/eslint-plugin" "8.6.0" - "@typescript-eslint/parser" "8.6.0" - "@typescript-eslint/utils" "8.6.0" + "@typescript-eslint/eslint-plugin" "8.7.0" + "@typescript-eslint/parser" "8.7.0" + "@typescript-eslint/utils" "8.7.0" typescript@^5: version "5.5.4" @@ -5501,10 +5507,10 @@ webpack-sources@^3.2.3: resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -webpack@^5.94.0: - version "5.94.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.94.0.tgz#77a6089c716e7ab90c1c67574a28da518a20970f" - integrity sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg== +webpack@^5.95.0: + version "5.95.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.95.0.tgz#8fd8c454fa60dad186fbe36c400a55848307b4c0" + integrity sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q== dependencies: "@types/estree" "^1.0.5" "@webassemblyjs/ast" "^1.12.1"