From a7bb7985ccb271f3f8787d26fcab8e8d9d78c3a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 06:57:25 +0000 Subject: [PATCH 1/2] Bump prettier from 3.0.3 to 3.1.0 Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0. - [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.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01637ce05..58e2a8cb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5586,9 +5586,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.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" From 8daba85797e697644a17b936e073ca401c5a9155 Mon Sep 17 00:00:00 2001 From: Klaus Hott Date: Tue, 14 Nov 2023 07:38:37 +1300 Subject: [PATCH 2/2] running prettier --- package-lock.json | 2 +- package.json | 2 +- tests/config/utils/create-snapshot.js | 4 ++-- tests/config/utils/stringify-options-for-title.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 58e2a8cb9..3591f1d96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "jest-snapshot-serializer-raw": "^2.0.0", "jest-watch-typeahead": "^2.2.2", "lines-and-columns": "^2.0.3", - "prettier": "^3.0.2", + "prettier": "^3.1.0", "proxyquire": "^2.1.3", "solc": "^0.8.23-fixed", "webpack": "^5.88.2", diff --git a/package.json b/package.json index 61f3344a7..5a08b95fe 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "jest-snapshot-serializer-raw": "^2.0.0", "jest-watch-typeahead": "^2.2.2", "lines-and-columns": "^2.0.3", - "prettier": "^3.0.2", + "prettier": "^3.1.0", "proxyquire": "^2.1.3", "solc": "^0.8.23-fixed", "webpack": "^5.88.2", diff --git a/tests/config/utils/create-snapshot.js b/tests/config/utils/create-snapshot.js index c0d9003c4..5b122939a 100644 --- a/tests/config/utils/create-snapshot.js +++ b/tests/config/utils/create-snapshot.js @@ -13,8 +13,8 @@ function stringify(value) { return value === Number.POSITIVE_INFINITY ? "Infinity" : Array.isArray(value) - ? `[${value.map((v) => JSON.stringify(v)).join(", ")}]` - : JSON.stringify(value); + ? `[${value.map((v) => JSON.stringify(v)).join(", ")}]` + : JSON.stringify(value); } function printOptions(options) { diff --git a/tests/config/utils/stringify-options-for-title.js b/tests/config/utils/stringify-options-for-title.js index 7591265a8..46921dc54 100644 --- a/tests/config/utils/stringify-options-for-title.js +++ b/tests/config/utils/stringify-options-for-title.js @@ -3,8 +3,8 @@ function stringifyOptions(options) { key === "plugins" || key === "errors" ? undefined : value === Number.POSITIVE_INFINITY - ? "Infinity" - : value + ? "Infinity" + : value ); return string === "{}" ? "" : string;