Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump prettier from 3.0.3 to 3.1.1 #10165

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps prettier from 3.0.3 to 3.1.1.

Release notes

Sourced from prettier's releases.

3.1.1

🔗 Changelog

3.1.0

diff

🔗 Release note

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
  • b86701d Release 3.1.1
  • c97480c Use attributes instead of deprecated assertions (#15758)
  • 0d1ffb3 Consistently use tabs in ternaries when useTabs is true (#15662)
  • 5f7aedc fix example to fit the actual experimentalTernaries behaviour (#15747)
  • 1e30f66 Remove claim, untrue since over 5 years ago, that cursorOffset is incompatibl...
  • 39e4e7b Add cursorOffset to Playground (#15751)
  • 8e816ad Allow skipping symlink patterns, to avoid raising a fault (#15533)
  • 2ca5d75 Fix expect call in dts test (#15766)
  • 15c7428 chore(deps): update dependency flow-parser to v0.223.3 (#15760)
  • d3b3d4f chore(deps): update dependency hermes-parser to v0.18.0 (#15761)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 will merge this PR once it's up-to-date and CI passes on it, as requested by @mdn-bot.


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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from mdn-bot as a code owner December 11, 2023 11:29
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 11, 2023
@mdn-bot
Copy link
Collaborator

mdn-bot commented Dec 11, 2023

@dependabot squash and merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 11, 2023

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prettier-3.1.1 branch from f9c1002 to 058ced8 Compare December 11, 2023 11:36
@mdn-bot
Copy link
Collaborator

mdn-bot commented Dec 11, 2023

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prettier-3.1.1 branch from 058ced8 to 40ecf56 Compare December 11, 2023 11:39
@mdn-bot
Copy link
Collaborator

mdn-bot commented Dec 11, 2023

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prettier-3.1.1 branch from 40ecf56 to cdd2bb4 Compare December 11, 2023 11:48
@mdn-bot
Copy link
Collaborator

mdn-bot commented Dec 11, 2023

@dependabot squash and merge

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.3...3.1.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prettier-3.1.1 branch from cdd2bb4 to a2d4752 Compare December 14, 2023 11:54
@mdn-bot
Copy link
Collaborator

mdn-bot commented Dec 14, 2023

@dependabot squash and merge

@dependabot dependabot bot requested a review from a team as a code owner December 14, 2023 12:18
@github-actions github-actions bot added plus work around features related to MDN Plus filecheck metrics placement plus:ai-help labels Dec 14, 2023
@dependabot dependabot bot merged commit 5c3841a into main Dec 14, 2023
16 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prettier-3.1.1 branch December 14, 2023 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file filecheck javascript Pull requests that update Javascript code metrics placement plus:ai-help plus work around features related to MDN Plus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants