From e1edf23aa93e3770d5163986e5f31cda4461969f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:13:15 -0500 Subject: [PATCH] chore(deps-dev): bump prettier from 3.0.3 to 3.1.1 (#451) * chore(deps-dev): bump prettier from 3.0.3 to 3.1.1 Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * autofix --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean S. LeBlanc --- package-lock.json | 12 ++++++------ src/helpers/utils.js | 2 +- src/multi-sprite avatar.js | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) 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 ); });