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

build(deps): bump prettier from 3.3.2 to 3.3.3 #22423

Merged
merged 3 commits into from
Jul 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 15, 2024

Bumps prettier from 3.3.2 to 3.3.3.

Release notes

Sourced from prettier's releases.

3.3.3

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.3.3

diff

Add parentheses for nullish coalescing in ternary (#16391 by @​cdignam-segment)

This change adds clarity to operator precedence.

// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;
// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;
// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);

Add parentheses for decorator expressions (#16458 by @​y-schneider)

Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.

// Input
@(foo`tagged template`)
class X {}
// Prettier 3.3.2
@​footagged template
class X {}
// Prettier 3.3.3
@(footagged template)
class X {}

Support @let declaration syntax (#16474 by @​sosukesuzuki)

Adds support for Angular v18 @let declaration syntax.

Please see the following code example. The @let declaration allows you to define local variables within the template:

... (truncated)

Commits

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 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 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)

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

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner July 15, 2024 11:48
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 15, 2024
@github-actions github-actions bot added the system Infrastructure and configuration for the project label Jul 15, 2024
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 15, 2024

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.

@yin1999 yin1999 requested review from a team as code owners July 17, 2024 03:30
@yin1999 yin1999 requested review from yanaklose, 1ilsang, mfuji09, tristantheb, yin1999 and clovislima and removed request for a team July 17, 2024 03:30
@github-actions github-actions bot added l10n-ja Issues related to Japanese content. l10n-fr Issues related to French content. l10n-zh Issues related to Chinese content. labels Jul 17, 2024
@github-actions github-actions bot added l10n-ru Issues related to Russian content. l10n-ko Issues related to Korean content. l10n-pt-br Issues related to Brazilian Portuguese labels Jul 17, 2024
Copy link
Contributor

Preview URLs (9 pages)
Flaws (32)

Note! 2 documents with no flaws that don't need to be listed. 🎉

URL: /pt-BR/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer
Title: SyntaxError: as declarações da cabeça do laço for-in podem não ter inicializadores
Flaw count: 2

  • macros:
    • /pt-BR/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
    • /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError

URL: /pt-BR/docs/Web/JavaScript/Reference/Statements/for...in
Title: for...in
Flaw count: 6

  • macros:
    • /pt-BR/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
    • /pt-BR/docs/Web/JavaScript/Reference/Operators/delete does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Operators/delete
    • /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError
    • /pt-BR/docs/Web/JavaScript/Reference/Statements/for_each...in does not exist
  • broken_links:
    • Can't resolve /pt-BR/docs/Web/JavaScript/Guide/Iterators_and_Generators
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /ko/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer
Title: SyntaxError: for-in loop head declarations may not have initializers
Flaw count: 5

  • macros:
    • /ko/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
    • /ko/docs/Web/JavaScript/Guide/Meta_programming does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Meta_programming
    • /ko/docs/Web/JavaScript/Reference/Lexical_grammar does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Lexical_grammar
    • /ko/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features
  • broken_links:
    • Anchor not lowercase

URL: /ko/docs/Web/JavaScript/Reference/Statements/for...in
Title: for...in
Flaw count: 8

  • macros:
    • /ko/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
    • /ko/docs/Web/JavaScript/Guide/Meta_programming does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Meta_programming
    • /ko/docs/Web/JavaScript/Reference/Lexical_grammar does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Lexical_grammar
    • /ko/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features
    • /ko/docs/Web/JavaScript/Reference/Operators/delete does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Operators/delete
    • and 2 more flaws omitted
  • broken_links:
    • Can't resolve /ko/docs/Web/JavaScript/Guide/Iterators_and_Generators

URL: /fr/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer
Title: SyntaxError: for-in loop head declarations may not have initializers
Flaw count: 6

  • macros:
    • /fr/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/for...in
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/for...in#Utiliser_for...in_et_parcourir_un_tableau
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/for...in
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/for...of
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/for

URL: /ru/docs/Web/JavaScript/Reference/Statements/for...in
Title: for...in
Flaw count: 4

  • macros:
    • /ru/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
    • /ru/docs/Web/JavaScript/Reference/Statements/for_each...in does not exist
  • broken_links:
    • Can't resolve /ru/docs/Web/JavaScript/Guide/Iterators_and_Generators
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer
Title: SyntaxError: for-in loop head declarations may not have initializers
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

@@ -88,7 +88,7 @@ function format(template, ...args) {
...args.map((num) =>
(Object.is(num, -0)
? "-0"
: formattedNumbers.get(num) ?? String(num)
: (formattedNumbers.get(num) ?? String(num))

This comment was marked as outdated.

Copy link
Member

@yin1999 yin1999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-nolint suffixes are added to prevent linting.Since the changes involved are very simple, I'm going to merge the current PR immediately :)

@yin1999 yin1999 merged commit 94d16b9 into main Jul 17, 2024
11 of 12 checks passed
@yin1999 yin1999 deleted the dependabot/npm_and_yarn/prettier-3.3.3 branch July 17, 2024 04:06
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 javascript Pull requests that update Javascript code l10n-fr Issues related to French content. l10n-ja Issues related to Japanese content. l10n-ko Issues related to Korean content. l10n-pt-br Issues related to Brazilian Portuguese l10n-ru Issues related to Russian content. l10n-zh Issues related to Chinese content. system Infrastructure and configuration for the project
Projects
Development

Successfully merging this pull request may close these issues.

2 participants