From 6602de9e1d17eab9818e91c26c1c485e7e2b5ae2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:04:24 +0000 Subject: [PATCH 1/2] chore(deps): update dependency prettier to v3 --- package-lock.json | 21 ++++++++++++--------- package.json | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index f548a1ac..cf0c839b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "lint-staged": "^13.0.3", "nodemon": "^2.0.2", "npm-run-all": "^4.1.5", - "prettier": "^2.0.0" + "prettier": "^3.0.0" }, "engines": { "node": "18.x", @@ -14109,15 +14109,18 @@ } }, "node_modules/prettier": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz", - "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==", + "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.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/pretty-format": { @@ -27626,9 +27629,9 @@ "dev": true }, "prettier": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz", - "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "dev": true }, "pretty-format": { diff --git a/package.json b/package.json index 41e7a034..1b275150 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "lint-staged": "^13.0.3", "nodemon": "^2.0.2", "npm-run-all": "^4.1.5", - "prettier": "^2.0.0" + "prettier": "^3.0.0" }, "config": { "commitizen": { From e36414b12a96ee24570331f7b621606567f5426b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Hodierne?= Date: Tue, 21 Nov 2023 19:47:03 +0100 Subject: [PATCH 2/2] apply prettier update --- src/server/controllers/account-transactions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/controllers/account-transactions.js b/src/server/controllers/account-transactions.js index b2d3194e..f0ae03d7 100644 --- a/src/server/controllers/account-transactions.js +++ b/src/server/controllers/account-transactions.js @@ -373,9 +373,9 @@ const accountTransactions = async (req, res) => { req.method === 'HEAD' ? 0 : // Else, we use the limit provided by the user, or default to 1000 - variables.limit - ? Number(variables.limit) - : 1000; + variables.limit + ? Number(variables.limit) + : 1000; variables.offset = Number(variables.offset) || 0; if (variables.account) {