Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

chore(deps): update dependency prettier to v3.8.3 - #131

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prettier-3.x-lockfile
Open

chore(deps): update dependency prettier to v3.8.3#131
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prettier-3.x-lockfile

Conversation

@renovate

@renovaterenovateBot commented Nov 24, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

PackageChangeAgeConfidence
prettier (source)3.1.13.8.3ageconfidence

Release Notes

prettier/prettier (prettier)

v3.8.3

Compare Source

v3.8.2

Compare Source

v3.8.1

Compare Source

v3.8.0

Compare Source

diff

🔗 Release note

v3.7.4

Compare Source

diff

LWC: Avoid quote around interpolations (#​18383 by @​kovsu)
<!-- Input --><divfoo={bar}></div><!-- Prettier 3.7.3 (--embedded-language-formatting off) --><divfoo="{bar}"></div><!-- Prettier 3.7.4 (--embedded-language-formatting off) --><divfoo={bar}></div>
TypeScript: Fix comment inside union type gets duplicated (#​18393 by @​fisker)
// InputtypeFoo=(/** comment */a|b)|c;// Prettier 3.7.3typeFoo=/** comment */(/** comment */a|b)|c;// Prettier 3.7.4typeFoo=/** comment */(a|b)|c;
TypeScript: Fix unstable comment print in union type comments (#​18395 by @​fisker)
// InputtypeX=(A|B)&(// commentA|B);// Prettier 3.7.3 (first format)typeX=(A|B)&(// commentA|B);// Prettier 3.7.3 (second format)typeX=(|A|B// comment)&(A|B);// Prettier 3.7.4typeX=(A|B)&// comment(A|B);

v3.7.3

Compare Source

diff

API: Fix prettier.getFileInfo() change that breaks VSCode extension (#​18375 by @​fisker)

An internal refactor accidentally broke the VSCode extension plugin loading.

v3.7.2

Compare Source

diff

JavaScript: Fix string print when switching quotes (#​18351 by @​fisker)
// Inputconsole.log("A descriptor\\'s .kind must be \"method\" or \"field\".")// Prettier 3.7.1console.log('A descriptor\\'s.kindmustbe"method"or"field".');
// Prettier 3.7.2console.log('A descriptor\\\'s .kind must be "method" or "field".');
JavaScript: Preserve quote for embedded HTML attribute values (#​18352 by @​kovsu)
// Inputconsthtml=/* HTML */` <div class="${styles.banner}"></div> `;// Prettier 3.7.1consthtml=/* HTML */` <div class=${styles.banner}></div> `;// Prettier 3.7.2consthtml=/* HTML */` <div class="${styles.banner}"></div> `;
TypeScript: Fix comment in empty type literal (#​18364 by @​fisker)
// InputexporttypeXXX={// tbd};// Prettier 3.7.1exporttypeXXX={// tbd};// Prettier 3.7.2exporttypeXXX={// tbd};

v3.7.1

Compare Source

diff

API: Fix performance regression in doc printer (#​18342 by @​fisker)

Prettier 3.7.1 can be very slow when formatting big files, the regression has been fixed.

v3.7.0

Compare Source

diff

🔗 Release Notes

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 if n-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗 Release Notes

v3.5.3

Compare Source

diff

Flow: Fix missing parentheses in ConditionalTypeAnnotation (#​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

Remove module-sync condition (#​17156 by @​fisker)

In Prettier 3.5.0, we added module-sync condition to package.json, so that require("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 the module-sync condition, so require("prettier") will still use the CommonJS version, we'll revisit until require(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 the dockercompose and github-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 in v-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 -->
---yaml
title: Hello
slug: home
---<!-- Prettier 3.3.0 -->---
title: Hello
slug: home
---<!-- Prettier 3.3.1 -->
---yaml
title: Hello
slug: 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

v3.2.5

Compare Source

diff

Support Angular inline styles as single template literal (#​15968 by @​sosukesuzuki)

Angular v17 supports single string inline styles.

// Input
@&#8203;Component({template: `<div>...</div>`,styles: `h1 { color: blue; }`,})exportclassAppComponent{}// Prettier 3.2.4
@&#8203;Component({template: `<div>...</div>`,styles: `h1 { color: blue; }`,})exportclassAppComponent{}// Prettier 3.2.5
@&#8203;Component({template: `<div>...</div>`,styles: ` h1 { color: blue; } `,})exportclassAppComponent{}
Unexpected embedded formatting for Angular template (#​15969 by @​JounQin)

Computed template should not be considered as Angular component template

// Inputconsttemplate="foobar";
@&#8203;Component({[template]: `<h1>{{ hello }}</h1>`,})exportclassAppComponent{}// Prettier 3.2.4consttemplate="foobar";
@&#8203;Component({[template]: `<h1>{{ hello }}</h1>`,})exportclassAppComponent{}// Prettier 3.2.5consttemplate="foobar";
@&#8203;Component({[template]: `<h1>{{ hello }}</h1>`,})exportclassAppComponent{}
Use "json" parser for tsconfig.json by default (#​16012 by @​sosukesuzuki)

In v3.2.0, we introduced "jsonc" parser which adds trailing comma by default.

When adding a new parser we also define how it will be used based on the linguist-languages data.

tsconfig.json is a special file used by TypeScript, it uses .json file extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing .json file extension.

We decide to treat it as a JSON file for now to avoid the extra configuration step.

To keep using the "jsonc" parser for your tsconfig.json files, add the following to your .prettierrc file

{
"overrides": [
{
"files": ["tsconfig.json", "jsconfig.json"],
"options": {
"parser": "jsonc"
}
}
]
}

v3.2.4

Compare Source

prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }

v3.2.3

Compare Source

diff

Throw errors for invalid code (#​15881 by @​fisker, @​Josh-Cena, @​auvred)
// Input1++;// Prettier 3.2.21++;// Prettier 3.2.3
SyntaxError: Invalidleft-handsideexpressioninunaryoperation(1:1)>1|1++;|^
// Inputtry{}catch(error=1){}// Prettier 3.2.2try{}catch(error){}// Prettier 3.2.3
SyntaxError: Catchclausevariablecannothaveaninitializer.(1:23)>1|try{}catch(error=1){}|^
Fix parser inference (#​15927 by @​fisker)
// Prettier 3.2.2prettier --file-info tsconfig.json{ "ignored": false, "inferredParser": "json" }// Prettier 3.2.3prettier --file-info tsconfig.json{ "ignored": false, "inferredParser": "jsonc" }

v3.2.2

Compare Source

diff

Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute (#​15896 by @​eelco)

For example this code would crash before:

<style{...spread}>{`.{}`}</style>
Fix formatting error on optional call expression and member chain (#​15920 by @​sosukesuzuki)
// Inputa(()=>{},c?.d());// Prettier 3.2.1
TypeError: Cannotreadpropertiesofundefined(reading'type')// Prettier 3.2.2a(()=>{},c?.d());

v3.2.1

Compare Source

diff

Fix formatting error on member chain (#​15915 by @​sosukesuzuki)
// Inputtest().test2().test2(thing?.something);// Prettier 3.2.0
TypeError: Cannotreadpropertiesofundefined(reading'type')// Prettier 3.2.1test().test2().test2(thing?.something);

v3.2.0

Compare Source

diff

🔗 Release Notes


Configuration

📅 Schedule: (UTC)

  • 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 is behind base branch, 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 by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitaiBot commented Nov 24, 2024

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.3.3fix(deps): update dependency prettier to v3.4.0Nov 26, 2024
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.4.0fix(deps): update dependency prettier to v3.4.1Nov 26, 2024
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.4.1fix(deps): update dependency prettier to v3.4.2Dec 4, 2024
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 4659271 to ebc3ad7CompareJanuary 23, 2025 17:32
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from ebc3ad7 to b5fcf48CompareJanuary 24, 2025 18:07
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from b5fcf48 to 2d75a87CompareFebruary 9, 2025 13:52
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.4.2fix(deps): update dependency prettier to v3.5.0Feb 9, 2025
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.5.0fix(deps): update dependency prettier to v3.5.1Feb 13, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 2d75a87 to b6b6a81CompareFebruary 13, 2025 18:57
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from b6b6a81 to 3ad687dCompareFebruary 22, 2025 05:29
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.5.1fix(deps): update dependency prettier to v3.5.2Feb 22, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 3ad687d to 2fbffb1CompareMarch 3, 2025 01:50
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.5.2fix(deps): update dependency prettier to v3.5.3Mar 3, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 2fbffb1 to 941254dCompareMarch 3, 2025 12:22
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 941254d to 9fc2c6fCompareMarch 13, 2025 19:46
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 9fc2c6f to f288371CompareApril 1, 2025 12:28
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from f288371 to de2278aCompareApril 24, 2025 08:07
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from de2278a to ae14076CompareMay 19, 2025 18:11
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from ae14076 to 39ccf16CompareMay 28, 2025 14:02
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 39ccf16 to 18c7b5fCompareJune 6, 2025 01:44
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 18c7b5f to 035aff4CompareJune 23, 2025 02:48
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.5.3fix(deps): update dependency prettier to v3.6.0Jun 23, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 4c72703 to 51d7536CompareSeptember 25, 2025 15:56
@renovaterenovateBot changed the title fix(deps): update dependency prettier to v3.6.2chore(deps): update dependency prettier to v3.6.2Sep 25, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 51d7536 to 648eed4CompareNovember 19, 2025 23:55
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 648eed4 to 2ca1838CompareNovember 27, 2025 09:02
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.6.2chore(deps): update dependency prettier to v3.7.0Nov 27, 2025
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.7.0chore(deps): update dependency prettier to v3.7.1Nov 27, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from b15c6bd to 1f8eb53CompareNovember 28, 2025 21:27
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.7.1chore(deps): update dependency prettier to v3.7.2Nov 28, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 1f8eb53 to 8fab586CompareNovember 29, 2025 22:07
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.7.2chore(deps): update dependency prettier to v3.7.3Nov 29, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 8fab586 to 3b0fba9CompareDecember 3, 2025 06:28
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.7.3chore(deps): update dependency prettier to v3.7.4Dec 3, 2025
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 3b0fba9 to f387327CompareDecember 3, 2025 19:26
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from f387327 to c23ac1fCompareDecember 31, 2025 15:53
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from c23ac1f to ba92a58CompareJanuary 15, 2026 01:39
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.7.4chore(deps): update dependency prettier to v3.8.0Jan 15, 2026
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from cd256c2 to 887c663CompareJanuary 21, 2026 21:00
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.8.0chore(deps): update dependency prettier to v3.8.1Jan 21, 2026
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 887c663 to 42aae12CompareFebruary 2, 2026 21:56
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 42aae12 to fc7eb5dCompareFebruary 12, 2026 11:12
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 2e54460 to 43a80b2CompareMarch 13, 2026 16:42
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 43a80b2 to 39b2602CompareApril 1, 2026 19:00
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 39b2602 to 41e1efeCompareApril 10, 2026 05:17
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.8.1chore(deps): update dependency prettier to v3.8.2Apr 10, 2026
@renovate
renovateBotforce-pushed the renovate/prettier-3.x-lockfile branch from 41e1efe to 4232154CompareApril 15, 2026 05:06
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v3.8.2chore(deps): update dependency prettier to v3.8.3Apr 15, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants