From 8c358a1f63ef96f9f966dc27020f31ac93bd5ff7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 06:24:38 +0000 Subject: [PATCH] fix(deps): Bump prettier from 3.0.1 to 3.1.0 (#180) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [prettier](https://github.com/prettier/prettier) from 3.0.1 to 3.1.0.
Release notes

Sourced from prettier's releases.

3.1.0

diff

🔗 Release note

3.0.3

🔗 Changelog

3.0.2

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.1.0

diff

🔗 Release Notes

3.0.3

diff

Add preferUnplugged: true to package.json (#15169 by @​fisker and @​so1ve)

Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add preferUnplugged: true to package.json, so Yarn will install Prettier as unplug by default.

Support shared config that forbids require() (#15233 by @​fisker)

If an external shared config package is used, and the package exports don't have require or default export.

In Prettier 3.0.2 Prettier fails when attempt to require() the package, and throws an error.

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json

Allow argument of require() to break (#15256 by @​fisker)

// Input
const plugin = require(
  global.STANDALONE
    ? path.join(__dirname, "../standalone.js")
    : path.join(__dirname, "..")
);

// Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, ".."));

// Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") );

Do not print trailing commas in arrow function type parameter lists in ts code blocks (#15286 by @​sosukesuzuki)

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=3.0.1&new-version=3.1.0)](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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa50fbf..1bcb2b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "eslint-plugin-sonarjs": "^0.21.0", "eslint-plugin-sort-class-members": "^1.18.0", "eslint-plugin-unicorn": "^48.0.0", - "prettier": "^3.0.1", + "prettier": "^3.1.0", "putout": "^32.2.2" }, "devDependencies": { @@ -57,6 +57,7 @@ "eslint-plugin-decorator-position": "^5.0.2", "eslint-plugin-etc": "^2.0.3", "eslint-plugin-ext": "^0.1.0", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^27.4.3", "eslint-plugin-jest-dom": "^5.1.0", "eslint-plugin-jest-formatting": "^3.1.0", @@ -74,7 +75,6 @@ "eslint-plugin-sonarjs": "^0.21.0", "eslint-plugin-sort-class-members": "^1.18.0", "eslint-plugin-unicorn": "^48.0.0", - "prettier": "^3.0.1", "putout": "^32.2.2" } }, @@ -8614,9 +8614,9 @@ } }, "node_modules/prettier": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz", - "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "bin": { "prettier": "bin/prettier.cjs" }, @@ -17189,9 +17189,9 @@ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" }, "prettier": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz", - "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==" + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==" }, "prettier-linter-helpers": { "version": "1.0.0", diff --git a/package.json b/package.json index 53e0da8..94a1d96 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-plugin-sonarjs": "^0.21.0", "eslint-plugin-sort-class-members": "^1.18.0", "eslint-plugin-unicorn": "^48.0.0", - "prettier": "^3.0.1", + "prettier": "^3.1.0", "putout": "^32.2.2" }, "scripts": { @@ -87,7 +87,7 @@ "eslint-plugin-sonarjs": "^0.21.0", "eslint-plugin-sort-class-members": "^1.18.0", "eslint-plugin-unicorn": "^48.0.0", - "prettier": "^3.0.1", + "prettier": "^3.1.0", "putout": "^32.2.2" } }