From 3ed9485423823b28f66b53e3945d979507c7e8e6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 03:11:54 +0000 Subject: [PATCH] chore(deps): update dependency prettier to v3.1.0 (#740) * chore(deps): update dependency prettier to v3.1.0 * style(prettier): adjusted for updated prettier expectations --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Matt Travi --- lib/resolve-config.js | 8 ++++---- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/resolve-config.js b/lib/resolve-config.js index a5e5c47e..803f13a5 100644 --- a/lib/resolve-config.js +++ b/lib/resolve-config.js @@ -35,16 +35,16 @@ export default function resolveConfig( labels: isNil(labels) ? ["semantic-release"] : labels === false - ? false - : castArray(labels), + ? false + : castArray(labels), assignees: assignees ? castArray(assignees) : assignees, releasedLabels: isNil(releasedLabels) ? [ `released<%= nextRelease.channel ? \` on @\${nextRelease.channel}\` : "" %>`, ] : releasedLabels === false - ? false - : castArray(releasedLabels), + ? false + : castArray(releasedLabels), addReleases: isNil(addReleases) ? false : addReleases, draftRelease: isNil(draftRelease) ? false : draftRelease, releaseBodyTemplate: !isNil(releaseBodyTemplate) diff --git a/package-lock.json b/package-lock.json index 1c40619d..e1a5d641 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "lockfile-lint": "4.12.1", "ls-engines": "0.9.0", "npm-run-all2": "6.1.1", - "prettier": "3.0.3", + "prettier": "3.1.0", "publint": "0.2.5", "semantic-release": "22.0.7", "sinon": "17.0.1", @@ -12441,9 +12441,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 5fc6999e..780dd871 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "lockfile-lint": "4.12.1", "ls-engines": "0.9.0", "npm-run-all2": "6.1.1", - "prettier": "3.0.3", + "prettier": "3.1.0", "publint": "0.2.5", "semantic-release": "22.0.7", "sinon": "17.0.1",