diff --git a/package-lock.json b/package-lock.json index 01637ce05..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", @@ -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" 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;