deps(dev): update dependency prettier to v3.9.6 - #456
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 12, 2024 23:12
4f46ee1 to
9667ea2
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 14, 2024 03:22
9667ea2 to
b25a236
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 17, 2024 04:24
b25a236 to
95d4a71
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 17, 2024 11:08
95d4a71 to
a9c48e3
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
February 4, 2024 07:51
a9c48e3 to
f3c600b
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 1, 2024 19:42
f3c600b to
fa7d801
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 5, 2024 09:33
fa7d801 to
ba3d3b3
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 11, 2024 08:25
ba3d3b3 to
d048a0d
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 13, 2024 15:20
d048a0d to
b4ed395
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 26, 2024 05:16
b4ed395 to
ef2e4b7
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 26, 2024 13:22
ef2e4b7 to
684d690
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
December 4, 2024 07:40
684d690 to
0d32c57
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
February 9, 2025 13:04
0d32c57 to
cabfa0a
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
February 13, 2025 15:05
cabfa0a to
120a1e6
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
February 22, 2025 06:54
120a1e6 to
f396269
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 27, 2025 17:38
1bec87e to
85d84e7
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 28, 2025 21:55
85d84e7 to
787b447
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 29, 2025 22:03
787b447 to
f173a97
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
December 3, 2025 06:02
f173a97 to
feb34db
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 15, 2026 01:42
feb34db to
c870eec
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 21, 2026 17:50
c870eec to
2ee650b
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
April 10, 2026 05:30
2ee650b to
bbc2d4e
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
April 15, 2026 14:13
bbc2d4e to
2db7d2c
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 9, 2026 17:12
2db7d2c to
e82ad83
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 26, 2026 13:58
e82ad83 to
06b4a8a
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 27, 2026 14:40
06b4a8a to
872636b
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 28, 2026 01:02
872636b to
15a1c2c
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 29, 2026 14:43
15a1c2c to
7ee3d75
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 30, 2026 02:58
7ee3d75 to
3f90f2d
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 9, 2026 16:57
3f90f2d to
089ea3f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.1.1→3.9.6Release Notes
prettier/prettier (prettier)
v3.9.6Compare Source
v3.9.5Compare Source
diff
Markdown: Cap ordered list mark at 999,999,999 (#19351 by @tats-u)
CommonMark parsers only support ordered list item numbers up to 999,999,999.
With this change, Prettier now caps the ordered list item number at 999,999,999 to ensure that the output is correctly parsed as an ordered list by CommonMark parsers. Numbers larger than 999,999,999 are not parsed as list item numbers and are left unchanged in the output:
Markdown: Avoid corrupting empty link with title (#19487 by @andersk)
Do not remove
<>from an inline link or image with an empty URL and a title, as this removal would change its interpretation.Less: Remove extra spaces after
[in map lookups (#19503 by @kovsu)CSS: Prevent addition space in
type()with+(#19516 by @bigandy)This fixes the addition space before
+in CSStype()declaration. For exampletype(<number>+)was being converted intotype(<number> +)which is invalid CSS and does not work.Less: Remove spaces between merge markers and colons (#19517 by @kovsu)
Markdown: Preserve wiki links with aliases (#19527 by @kovsu)
TypeScript: Fix comments being dropped on shorthand
typeimport/export specifiers (#19565 by @kirkwaiblinger)Miscellaneous: Preserving comments'
placementproperty (#19567 by @Janther)Prettier@3.9.0 deleted an undocumented property on comments, which was already used by plugins,
comment.placementis now available again after comment attach.Flow: Stop enforcing empty module declaration to break (#19568 by @fisker)
Angular: Support expression for exhaustive typechecking (#19571 by @fisker)
TypeScript: Ignore comments inside mapped type when checking type parameter comments (#19572 by @fisker)
Less: Fix adjacent block comments being corrupted (#19574 by @kovsu)
JavaScript: Handle dangling comments in
SwitchStatement(#19581 by @fisker)TypeScript: Remove space in comment-only object type (#19583 by @fisker)
v3.9.4Compare Source
v3.9.3Compare Source
v3.9.2Compare Source
v3.9.1Compare Source
v3.9.0Compare Source
diff
🔗 Release Notes
v3.8.5Compare Source
v3.8.4Compare Source
diff
Markdown: Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX (#17746 by @byplayer)
Prettier was removing blank lines between list items and their nested sub-lists, converting loose lists into tight lists and changing their semantic meaning.
v3.8.3Compare Source
diff
SCSS: Prevent trailing comma in
if()function (#18471 by @kovsu)v3.8.2Compare Source
diff
Angular: Support Angular v21.2 (#18722, #19034 by @fisker)
Exhaustive typechecking with
@default never;arrow functionandinstanceofexpressions.v3.8.1Compare Source
diff
Include available
printersin plugin type declarations (#18706 by @porada)v3.8.0Compare Source
diff
🔗 Release Notes
v3.7.4Compare Source
diff
LWC: Avoid quote around interpolations (#18383 by @kovsu)
TypeScript: Fix comment inside union type gets duplicated (#18393 by @fisker)
TypeScript: Fix unstable comment print in union type comments (#18395 by @fisker)
v3.7.3Compare 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.2Compare Source
diff
JavaScript: Fix string print when switching quotes (#18351 by @fisker)
JavaScript: Preserve quote for embedded HTML attribute values (#18352 by @kovsu)
TypeScript: Fix comment in empty type literal (#18364 by @fisker)
v3.7.1Compare Source
diff
API: Fix performance regression in doc printer (#18342 by @fisker)
Prettier 3.7.0 can be very slow when formatting big files, the regression has been fixed.
v3.7.0Compare Source
diff
🔗 Release Notes
v3.6.2Compare Source
diff
Markdown: Add missing blank line around code block (#17675 by @fisker)
v3.6.1Compare Source
diff
TypeScript: Allow const without initializer (#17650, #17654 by @fisker)
Miscellaneous: Avoid closing files multiple times (#17665 by @43081j)
When reading a file to infer the interpreter from a shebang, we use the
n-readlineslibrary 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-readlinesdid not already closethem.
v3.6.0Compare Source
diff
🔗 Release Notes
v3.5.3Compare Source
diff
Flow: Fix missing parentheses in
ConditionalTypeAnnotation(#17196 by @fisker)v3.5.2Compare Source
diff
Remove
module-synccondition (#17156 by @fisker)In Prettier 3.5.0, we added
module-synccondition 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-synccondition, sorequire("prettier")will still use the CommonJS version, we'll revisit untilrequire(ESM)feature is more stable.v3.5.1Compare 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
dockercomposeandgithub-actions-workflowlanguages in Visual Studio Code.v3.5.0Compare Source
diff
🔗 Release Notes
v3.4.2Compare 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.
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)
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.
v3.4.1Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on(#16887 by @fisker)v3.4.0Compare Source
diff
🔗 Release Notes
v3.3.3Compare Source
diff
Add parentheses for nullish coalescing in ternary (#16391 by @cdignam-segment)
This change adds clarity to operator precedence.
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.
Support
@letdeclaration syntax (#16474 by @sosukesuzuki)Adds support for Angular v18
@letdeclaration syntax.Please see the following code example. The
@letdeclaration allows you to define local variables within the template: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.2Compare Source
diff
Fix handlebars path expressions starts with
@(#16358 by @Princeyadav05)v3.3.1Compare Source
diff
Preserve empty lines in front matter (#16347 by @fisker)
Preserve explicit language in front matter (#16348 by @fisker)
Avoid line breaks in import attributes (#16349 by @fisker)
v3.3.0Compare Source
diff
🔗 Release Notes
v3.2.5Compare Source
diff
Support Angular inline styles as single template literal (#15968 by @sosukesuzuki)
Angular v17 supports single string inline styles.
Unexpected embedded formatting for Angular template (#15969 by @JounQin)
Computed template should not be considered as Angular component template
Use
"json"parser fortsconfig.jsonby 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-languagesdata.tsconfig.jsonis a special file used by TypeScript, it uses.jsonfile 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.jsonfile 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 yourtsconfig.jsonfiles, add the following to your.prettierrcfile{ "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] }v3.2.4Compare Source
diff
Fix incorrect parser inference (#15947 by @fisker)
Files like
.eslintrc.jsonwere incorrectly formatted as JSONC files.v3.2.3Compare Source
diff
Throw errors for invalid code (#15881 by @fisker, @Josh-Cena, @auvred)
Fix parser inference (#15927 by @fisker)
v3.2.2Compare 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:
Fix formatting error on optional call expression and member chain (#15920 by @sosukesuzuki)
v3.2.1Compare Source
diff
Fix formatting error on member chain (#15915 by @sosukesuzuki)
v3.2.0Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.