From 749b9439b8a998ba50fd444f9450b8e55476e8ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 19:53:08 +0100 Subject: [PATCH] chore(deps): update dependency prettier to v3 (#505) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency prettier to v3 * apply prettier update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: François Hodierne --- package-lock.json | 21 +++++++++++-------- package.json | 2 +- .../controllers/account-transactions.js | 6 +++--- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8846defb..eb866d70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "lint-staged": "^13.0.3", "nodemon": "^3.0.0", "npm-run-all": "^4.1.5", - "prettier": "^2.0.0" + "prettier": "^3.0.0" }, "engines": { "node": "18.x", @@ -13696,15 +13696,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": { @@ -26711,9 +26714,9 @@ "optional": 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 129c53e4..b007aa81 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "lint-staged": "^13.0.3", "nodemon": "^3.0.0", "npm-run-all": "^4.1.5", - "prettier": "^2.0.0" + "prettier": "^3.0.0" }, "config": { "commitizen": { 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) {