From f84f63ff0f8fa78427b104c53019e026f29a31ff Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 15 Dec 2023 21:25:21 +0100 Subject: [PATCH] chore: upgrade prettier to v3 --- lib/histogram.js | 4 ++-- package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/histogram.js b/lib/histogram.js index 723e0192..c487d311 100644 --- a/lib/histogram.js +++ b/lib/histogram.js @@ -277,11 +277,11 @@ function convertLabelsAndValues(labels, value) { ? { labels, value, - } + } : { value: labels, labels: {}, - }; + }; } function extractBucketValuesForExport(histogram) { diff --git a/package.json b/package.json index 6c33cce2..7a44c5ae 100644 --- a/package.json +++ b/package.json @@ -35,15 +35,15 @@ "devDependencies": { "@clevernature/benchmark-regression": "^1.0.0", "eslint": "^8.32.0", - "eslint-config-prettier": "^8.6.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-node": "^11.0.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.1", "express": "^4.13.3", "husky": "^8.0.3", "jest": "^29.3.1", "lint-staged": "^13.1.0", "nock": "^13.0.5", - "prettier": "2.8.8", + "prettier": "3.1.1", "typescript": "^5.0.4" }, "dependencies": {