Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update dependency prettier to v3.6.2#242

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
renovate wants to merge1 commit intotrunk
base:trunk
Choose a base branch
Loading
fromrenovate/prettier-3.x

Conversation

@renovate
Copy link
Contributor

@renovaterenovatebot commentedJul 6, 2024
edited
Loading

This PR contains the following updates:

PackageChangeAgeConfidence
prettier (source)3.2.5 ->3.6.2ageconfidence

Release Notes

prettier/prettier (prettier)

v3.6.2

Compare Source

diff

Markdown: Add missing blank line around code block (#​17675 by@​fisker)
<!-- Input-->1. Some text, and code block below, with newline after code block```yaml---foo:bar```   1. Another   2. List<!-- Prettier 3.6.1 -->1. Some text, and code block below, with newline after code block```yaml---foo:bar```   1. Another   2. List<!-- Prettier 3.6.2 -->1. Some text, and code block below, with newline after code block```yaml---foo:bar```   1. Another   2. List

v3.6.1

Compare Source

diff

TypeScript: Allow const without initializer (#​17650,#​17654 by@​fisker)
// Inputexportconstversion:string;// Prettier 3.6.0 (--parser=babel-ts)SyntaxError:Unexpectedtoken(1:21)>1|exportconstversion:string;|^// Prettier 3.6.0 (--parser=oxc-ts)SyntaxError:Missinginitializerinconstdeclaration(1:14)>1|exportconstversion:string;|^^^^^^^^^^^^^^^// Prettier 3.6.1exportconstversion:string;
Miscellaneous: Avoid closing files multiple times (#​17665 by@​43081j)

When reading a file to infer the interpreter from a shebang, we use the
n-readlines library to read the first line in order to get the shebang.

This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only ifn-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗Release Notes

v3.5.3

Compare Source

diff

Flow: Fix missing parentheses inConditionalTypeAnnotation (#​17196 by@​fisker)
// InputtypeT<U>='a'|('b'extendsU ?'c' :empty);typeT<U>='a'&('b'extendsU ?'c' :empty);// Prettier 3.5.2typeT<U>="a"|"b"extendsU ?"c" :empty;typeT<U>="a"&"b"extendsU ?"c" :empty;// Prettier 3.5.3typeT<U>="a"|("b"extendsU ?"c" :empty);typeT<U>="a"&("b"extendsU ?"c" :empty);

v3.5.2

Compare Source

diff

Removemodule-sync condition (#​17156 by@​fisker)

In Prettier 3.5.0,we addedmodule-sync condition topackage.json, so thatrequire("prettier") can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove themodule-sync condition, sorequire("prettier") will still use the CommonJS version, we'll revisit untilrequire(ESM) feature is more stable.

v3.5.1

Compare Source

diff

Fix CLI crash when cache for old version exists (#​17100 by@​sosukesuzuki)

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

Support dockercompose and github-actions-workflow in VSCode (#​17101 by@​remcohaszing)

Prettier now supports thedockercompose andgithub-actions-workflow languages in Visual Studio Code.

v3.5.0

Compare Source

diff

🔗Release Notes

v3.4.2

Compare Source

diff

Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by@​tats-u)

Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.

<!-- Input (--prose-wrap=never)-->C言語・C++・Go・Rust<!-- Prettier 3.4.1-->C言語・ C++ ・ Go ・ Rust<!-- Prettier 3.4.2-->C言語・C++・Go・Rust

U+30A0 can be used as the replacement of the- in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).

Fix comments print on class methods with decorators (#​16891 by@​fisker)
// InputclassA{  @&#8203;decorator/**   * The method description   *  */asyncmethod(foo:Foo,bar:Bar){console.log(foo);}}// Prettier 3.4.1classA{  @&#8203;decoratorasync/**   * The method description   *   */method(foo:Foo,bar:Bar){console.log(foo);}}// Prettier 3.4.2classA{  @&#8203;decorator/**   * The method description   *   */asyncmethod(foo:Foo,bar:Bar){console.log(foo);}}
Fix non-idempotent formatting (#​16899 by@​seiyab)

This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.

// Input<div>  foo<span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>  , abc</div>;// Prettier 3.4.1 (first)<div>  foo<span>    longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>, abc</div>;// Prettier 3.4.1 (second)<div>  foo<span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>  , abc</div>;// Prettier 3.4.2<div>  foo<span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>  , abc</div>;

v3.4.1

Compare Source

diff

Remove unnecessary parentheses around assignment inv-on (#​16887 by@​fisker)
<!-- Input--><template>  <button@&#8203;click="foo += 2">Click</button></template><!-- Prettier 3.4.0--><template>  <button@&#8203;click="(foo += 2)">Click</button></template><!-- Prettier 3.4.1--><template>  <button@&#8203;click="foo += 2">Click</button></template>

v3.4.0

Compare Source

diff

🔗Release Notes

v3.3.3

Compare Source

diff

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

This change adds clarity to operator precedence.

// Inputfoo ?bar??foo :baz;foo??bar ?a :b;a ?b :foo??bar;// Prettier 3.3.2foo ?bar??foo :baz;foo??bar ?a :b;a ?b :foo??bar;// Prettier 3.3.3foo ?(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@&#8203;(foo`tagged template`)classX{}// Prettier 3.3.2@&#8203;foo`tagged template`classX{}// Prettier 3.3.3@&#8203;(foo`tagged template`)classX{}
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:

@&#8203;let name = 'Frodo';<h1>Dashboard for {{name}}</h1>Hello, {{name}}

For more details, please refer to the excellent blog post by the Angular Team:Introducing @​let in Angular.

We also appreciate the Angular Team for kindly answering our questions to implement this feature.

v3.3.2

Compare Source

diff

Fix handlebars path expressions starts with@ (#​16358 by@​Princeyadav05)
{{! Input }}<div>{{@&#8203;x.y.z}}</div>{{! Prettier 3.3.1 }}<div>{{@&#8203;x}}</div>{{! Prettier 3.3.2 }}<div>{{@&#8203;x.y.z}}</div>

v3.3.1

Compare Source

diff

Preserve empty lines in front matter (#​16347 by@​fisker)
<!-- Input-->---foo:- bar1- bar2- bar3---Markdown<!-- Prettier 3.3.0-->---foo:- bar1- bar2- bar3---Markdown<!-- Prettier 3.3.1-->---foo:- bar1- bar2- bar3---Markdown
Preserve explicit language in front matter (#​16348 by@​fisker)
<!-- Input-->---yamltitle: Helloslug: home---<!-- Prettier 3.3.0-->---title: Helloslug: home---<!-- Prettier 3.3.1-->---yamltitle: Helloslug: home---
Avoid line breaks in import attributes (#​16349 by@​fisker)
// Inputimportsomethingfrom"./some-very-very-very-very-very-very-very-very-long-path.json"with{type:"json"};// Prettier 3.3.0importsomethingfrom"./some-very-very-very-very-very-very-very-very-long-path.json"with{type:"json"};// Prettier 3.3.1importsomethingfrom"./some-very-very-very-very-very-very-very-very-long-path.json"with{type:"json"};

v3.3.0

Compare Source

diff

🔗Release Notes


Configuration

📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated byMend Renovate. View therepository job log.

@vercel
Copy link

vercelbot commentedJul 6, 2024
edited
Loading

The latest updates on your projects. Learn more aboutVercel for GitHub.

ProjectDeploymentPreviewCommentsUpdated (UTC)
codecooltureReadyReadyPreviewCommentSep 25, 2025 6:33pm

@renovaterenovatebot changed the titleUpdate dependency prettier to v3.3.2Update dependency prettier to v3.3.3Jul 13, 2024
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from3e048c3 to76d3ee8CompareJuly 13, 2024 13:48
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from76d3ee8 to3c5de6eCompareNovember 26, 2024 06:11
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.3.3Update dependency prettier to v3.4.0Nov 26, 2024
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from3c5de6e tofaf2c55CompareNovember 26, 2024 13:22
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.4.0Update dependency prettier to v3.4.1Nov 26, 2024
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch fromfaf2c55 to73b7a02CompareDecember 3, 2024 17:30
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from73b7a02 to7261750CompareDecember 4, 2024 07:24
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.4.1Update dependency prettier to v3.4.2Dec 4, 2024
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.4.2Update dependency prettier to v3.4.2 - autoclosedDec 8, 2024
@renovaterenovatebot closed thisDec 8, 2024
@renovaterenovatebot deleted the renovate/prettier-3.x branchDecember 8, 2024 19:01
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.4.2 - autoclosedUpdate dependency prettier to v3.4.2Dec 9, 2024
@renovaterenovatebot reopened thisDec 9, 2024
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch fromfcfc3ce to7261750CompareDecember 9, 2024 03:07
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from7261750 tof087ddcCompareFebruary 9, 2025 13:13
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.4.2Update dependency prettier to v3.5.0Feb 9, 2025
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.5.0Update dependency prettier to v3.5.1Feb 13, 2025
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch fromf087ddc tof613e20CompareFebruary 13, 2025 15:44
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.5.1Update dependency prettier to v3.5.2Feb 22, 2025
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch fromf613e20 to67b6a1cCompareFebruary 22, 2025 07:01
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from67b6a1c to8384c8cCompareMarch 3, 2025 01:31
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.5.2Update dependency prettier to v3.5.3Mar 3, 2025
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.5.3Update dependency prettier to v3.6.0Jun 23, 2025
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from8384c8c to787e36dCompareJune 23, 2025 06:00
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.6.0Update dependency prettier to v3.6.1Jun 25, 2025
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from787e36d to8422e00CompareJune 25, 2025 07:46
@renovaterenovatebot changed the titleUpdate dependency prettier to v3.6.1Update dependency prettier to v3.6.2Jun 27, 2025
@renovaterenovatebotforce-pushed therenovate/prettier-3.x branch from8422e00 to1831721CompareJune 27, 2025 07:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant


[8]ページ先頭

©2009-2025 Movatter.jp