mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-22 09:34:41 +01:00
[Misc] Update packages (#5462)
* Update via `npm audit fix --force` * Update i18next family * Update typescript family * Update vite-tsconfig-paths * Update jsdom to 26.0 Important! Security fixes, and performance/stability improvements. * Update @stylistic/eslint-plugin-js to 4.1.0 * Update inquirer to 12.4.2 * Remove commented code and defunct import * Run npm-audit fix * Fix ts errors * Update eslint family * Update phaser family * Update eslint plugin * Update rest of imports
This commit is contained in:
parent
9c13fa5f80
commit
451b1f6b08
3907
package-lock.json
generated
3907
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
44
package.json
44
package.json
@ -29,41 +29,41 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "1.9.4",
|
"@biomejs/biome": "1.9.4",
|
||||||
"@eslint/js": "^9.3.0",
|
"@eslint/js": "^9.23.0",
|
||||||
"@hpcc-js/wasm": "^2.18.0",
|
"@hpcc-js/wasm": "^2.22.4",
|
||||||
"@stylistic/eslint-plugin-ts": "^2.6.0-beta.0",
|
"@stylistic/eslint-plugin-ts": "^4.1.0",
|
||||||
"@types/jsdom": "^21.1.7",
|
"@types/jsdom": "^21.1.7",
|
||||||
"@types/node": "^20.12.13",
|
"@types/node": "^20.12.13",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.54",
|
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
||||||
"@typescript-eslint/parser": "^8.0.0-alpha.54",
|
"@typescript-eslint/parser": "^8.28.0",
|
||||||
"@vitest/coverage-istanbul": "^3.0.9",
|
"@vitest/coverage-istanbul": "^3.0.9",
|
||||||
"dependency-cruiser": "^16.3.10",
|
"dependency-cruiser": "^16.3.10",
|
||||||
"eslint": "^9.7.0",
|
"eslint": "^9.23.0",
|
||||||
"eslint-plugin-import-x": "^4.2.1",
|
"eslint-plugin-import-x": "^4.9.4",
|
||||||
"inquirer": "^11.0.2",
|
"inquirer": "^12.4.2",
|
||||||
"jsdom": "^24.0.0",
|
"jsdom": "^26.0.0",
|
||||||
"lefthook": "^1.6.12",
|
"lefthook": "^1.11.5",
|
||||||
"msw": "^2.4.9",
|
"msw": "^2.7.3",
|
||||||
"phaser3spectorjs": "^0.0.8",
|
"phaser3spectorjs": "^0.0.8",
|
||||||
"typedoc": "^0.26.4",
|
"typedoc": "^0.28.1",
|
||||||
"typescript": "^5.5.3",
|
"typescript": "^5.8.2",
|
||||||
"typescript-eslint": "^8.0.0-alpha.54",
|
"typescript-eslint": "^8.28.0",
|
||||||
"vite": "^5.4.14",
|
"vite": "^6.2.0",
|
||||||
"vite-tsconfig-paths": "^4.3.2",
|
"vite-tsconfig-paths": "^5.1.4",
|
||||||
"vitest": "^3.0.9",
|
"vitest": "^3.0.9",
|
||||||
"vitest-canvas-mock": "^0.3.3"
|
"vitest-canvas-mock": "^0.3.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@material/material-color-utilities": "^0.2.7",
|
"@material/material-color-utilities": "^0.2.7",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"i18next": "^23.11.1",
|
"i18next": "^24.2.2",
|
||||||
"i18next-browser-languagedetector": "^7.2.1",
|
"i18next-browser-languagedetector": "^8.0.4",
|
||||||
"i18next-http-backend": "^2.6.1",
|
"i18next-http-backend": "^3.0.2",
|
||||||
"i18next-korean-postposition-processor": "^1.0.0",
|
"i18next-korean-postposition-processor": "^1.0.0",
|
||||||
"json-stable-stringify": "^1.1.0",
|
"json-stable-stringify": "^1.2.0",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"phaser": "^3.70.0",
|
"phaser": "^3.88.2",
|
||||||
"phaser3-rex-plugins": "^1.1.84"
|
"phaser3-rex-plugins": "^1.80.14"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=20.0.0"
|
||||||
|
@ -4,7 +4,6 @@ import { MoveFlags } from "#enums/MoveFlags";
|
|||||||
import type Pokemon from "../field/pokemon";
|
import type Pokemon from "../field/pokemon";
|
||||||
import { type nil, getFrameMs, getEnumKeys, getEnumValues, animationFileName } from "../utils";
|
import { type nil, getFrameMs, getEnumKeys, getEnumValues, animationFileName } from "../utils";
|
||||||
import type { BattlerIndex } from "../battle";
|
import type { BattlerIndex } from "../battle";
|
||||||
import type { Element } from "json-stable-stringify";
|
|
||||||
import { Moves } from "#enums/moves";
|
import { Moves } from "#enums/moves";
|
||||||
import { SubstituteTag } from "./battler-tags";
|
import { SubstituteTag } from "./battler-tags";
|
||||||
import { isNullOrUndefined } from "../utils";
|
import { isNullOrUndefined } from "../utils";
|
||||||
@ -1731,10 +1730,12 @@ export async function populateAnims() {
|
|||||||
let props: string[];
|
let props: string[];
|
||||||
for (let p = 0; p < propSets.length; p++) {
|
for (let p = 0; p < propSets.length; p++) {
|
||||||
props = propSets[p];
|
props = propSets[p];
|
||||||
|
// @ts-ignore TODO
|
||||||
const ai = props.indexOf(a.key);
|
const ai = props.indexOf(a.key);
|
||||||
if (ai === -1) {
|
if (ai === -1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// @ts-ignore TODO
|
||||||
const bi = props.indexOf(b.key);
|
const bi = props.indexOf(b.key);
|
||||||
|
|
||||||
return ai < bi ? -1 : ai > bi ? 1 : 0;
|
return ai < bi ? -1 : ai > bi ? 1 : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user