From 8a84f39c186954478cf70dc702bc3080d67c29c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 09:07:30 +0000 Subject: [PATCH] Bump prettier from 2.8.8 to 3.1.1 (#142) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.1.1.
Release notes

Sourced from prettier's releases.

3.1.1

🔗 Changelog

3.1.0

diff

🔗 Release note

3.0.3

🔗 Changelog

3.0.2

🔗 Changelog

3.0.1

🔗 Changelog

3.0.0

diff

🔗 Release note

3.0.0-alpha.6

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6

3.0.0-alpha.5

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5

3.0.0-alpha.4

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4

3.0.0-alpha.3

... (truncated)

Changelog

Sourced from prettier's changelog.

3.1.1

diff

Fix config file search (#15363 by @​fisker)

Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake.

├─ .prettierrc
└─ test.js         (A directory)
  └─ .prettierrc
// Prettier 3.1.0
await prettier.resolveConfigFile(new URL("./test.js",
import.meta.url));
// <CWD>/test.js/.prettierrc

// Prettier 3.1.1 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // <CWD>/.prettierrc

Skip explicitly passed symbolic links with --no-error-on-unmatched-pattern (#15533 by @​sanmai-NL)

Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors.

In Prettier 3.1.1, you can use --no-error-on-unmatched-pattern to simply skip symbolic links.

Consistently use tabs in ternaries when useTabs is true (#15662 by @​auvred)

// Input
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
	  ? ddddddddddddddd
	  : eeeeeeeeeeeeeee
	    ? fffffffffffffff
	    : gggggggggggggggg;

// Prettier 3.1.0 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff </tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.8.8&new-version=3.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- examples/api/package.json | 2 +- .../package.json | 2 +- .../genesys-web-messaging-tester/package.json | 2 +- yarn.lock | 16 ++++++++-------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/api/package.json b/examples/api/package.json index 072a5d9..97541e4 100644 --- a/examples/api/package.json +++ b/examples/api/package.json @@ -21,7 +21,7 @@ "eslint-plugin-jest": "^27.2.3", "eslint-plugin-prettier": "^3.1.4", "jest": "^29.0.3", - "prettier": "^2.8.8", + "prettier": "^3.1.1", "ts-jest": "^29.1.1", "ts-node": "^10.8.0", "typescript": "^5.1.6" diff --git a/packages/genesys-web-messaging-tester-cli/package.json b/packages/genesys-web-messaging-tester-cli/package.json index 3334152..5e96832 100644 --- a/packages/genesys-web-messaging-tester-cli/package.json +++ b/packages/genesys-web-messaging-tester-cli/package.json @@ -56,7 +56,7 @@ "get-port": "^5.1.1", "jest": "^29.0.3", "jest-when": "^3.5.0", - "prettier": "^2.8.8", + "prettier": "^3.1.1", "strip-ansi": "^6.0.1", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", diff --git a/packages/genesys-web-messaging-tester/package.json b/packages/genesys-web-messaging-tester/package.json index 952ae02..a2bbfd5 100644 --- a/packages/genesys-web-messaging-tester/package.json +++ b/packages/genesys-web-messaging-tester/package.json @@ -44,7 +44,7 @@ "eslint-plugin-prettier": "^3.1.4", "get-port": "^5.1.1", "jest": "^29.0.3", - "prettier": "^2.8.8", + "prettier": "^3.1.1", "ts-jest": "^29.1.1", "typescript": "^5.1.6" }, diff --git a/yarn.lock b/yarn.lock index 6d5b17c..4ea8bd7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -501,7 +501,7 @@ __metadata: eslint-plugin-jest: ^27.2.3 eslint-plugin-prettier: ^3.1.4 jest: ^29.0.3 - prettier: ^2.8.8 + prettier: ^3.1.1 ts-jest: ^29.1.1 ts-node: ^10.8.0 typescript: ^5.1.6 @@ -943,7 +943,7 @@ __metadata: js-yaml: ^4.1.0 listr2: ^5.0.5 openai: 4.0.0-beta.12 - prettier: ^2.8.8 + prettier: ^3.1.1 purecloud-platform-client-v2: ^153.0.0 strip-ansi: ^6.0.1 ts-jest: ^29.1.1 @@ -986,7 +986,7 @@ __metadata: eslint-plugin-prettier: ^3.1.4 get-port: ^5.1.1 jest: ^29.0.3 - prettier: ^2.8.8 + prettier: ^3.1.1 ts-jest: ^29.1.1 typescript: ^5.1.6 uuid: ^9.0.0 @@ -4651,12 +4651,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.8": - version: 2.8.8 - resolution: "prettier@npm:2.8.8" +"prettier@npm:^3.1.1": + version: 3.1.1 + resolution: "prettier@npm:3.1.1" bin: - prettier: bin-prettier.js - checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8 + prettier: bin/prettier.cjs + checksum: e386855e3a1af86a748e16953f168be555ce66d6233f4ba54eb6449b88eb0c6b2ca79441b11eae6d28a7f9a5c96440ce50864b9d5f6356d331d39d6bb66c648e languageName: node linkType: hard