diff --git a/package-lock.json b/package-lock.json index f19693ae..365cc6bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8919,9 +8919,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -17045,9 +17045,9 @@ "dev": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true }, "prettier-linter-helpers": { diff --git a/src/helpers/utils.js b/src/helpers/utils.js index 0c56261a..dfe91f84 100644 --- a/src/helpers/utils.js +++ b/src/helpers/utils.js @@ -55,7 +55,7 @@ export function getImage(name, map) { ? name : Object.keys(map).find(function (e) { return map[e].name === name; - }); + }); return map[id]; } diff --git a/src/multi-sprite avatar.js b/src/multi-sprite avatar.js index 82aa3ced..9ec8c703 100644 --- a/src/multi-sprite avatar.js +++ b/src/multi-sprite avatar.js @@ -198,7 +198,7 @@ addDualDialogTag('enableBig', function (environment, parameters) { ? parameters.map(function (param) { var props = param.split(/,\s*/); return { x: parseInt(props[0], 10), y: parseInt(props[1], 10), spr: props[2] }; - }) + }) : undefined ); });