generated from posva/vue-ts-lib
-
-
Notifications
You must be signed in to change notification settings - Fork 2
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): update dependency prettier to v3 #281
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/prettier-3.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 10, 2023 03:14
ddb4093
to
d2b6283
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 17, 2023 03:42
d2b6283
to
f52f851
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
August 3, 2023 08:17
f52f851
to
438078a
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
August 15, 2023 16:04
438078a
to
eeb3630
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
September 4, 2023 03:10
49b16b2
to
65e15d5
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
October 23, 2023 08:14
65e15d5
to
843e0d2
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 13, 2023 04:02
843e0d2
to
6edb99d
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
4 times, most recently
from
December 6, 2023 01:03
b4d934a
to
8cc52ed
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
December 11, 2023 03:30
819b479
to
557f2b5
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
December 18, 2023 03:11
557f2b5
to
660578c
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
3 times, most recently
from
January 1, 2024 03:35
142bb4b
to
23a41c6
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
3 times, most recently
from
January 8, 2024 04:38
0523e53
to
2cd0851
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
6 times, most recently
from
January 17, 2024 10:28
7511696
to
457677f
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 22, 2024 04:33
457677f
to
e23220e
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
February 4, 2024 07:47
651ecce
to
b782db2
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
July 22, 2024 03:35
9113dc6
to
6820f25
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
August 5, 2024 04:21
2e6e813
to
46ecd32
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
August 12, 2024 04:34
46ecd32
to
a702c8f
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
3 times, most recently
from
August 26, 2024 04:38
9ac97b7
to
8841005
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
September 2, 2024 04:07
8841005
to
ae472f0
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
September 9, 2024 04:11
ae472f0
to
dca36b2
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
September 23, 2024 04:17
a7ed131
to
9d93ecf
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
October 7, 2024 03:33
e5b4bdd
to
b86f99a
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
October 21, 2024 03:25
e7374e3
to
7669f77
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
November 4, 2024 04:49
29aef7a
to
a24865e
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 18, 2024 03:11
a24865e
to
8db0e90
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
3 times, most recently
from
November 26, 2024 15:57
6719ac3
to
c03b012
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
3 times, most recently
from
December 4, 2024 08:17
e1cc316
to
62625ea
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
3 times, most recently
from
December 16, 2024 04:12
499d035
to
f70a5eb
Compare
renovate
bot
force-pushed
the
renovate/prettier-3.x
branch
from
December 16, 2024 07:12
f70a5eb
to
5ce3d8a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
^2.8.8
->^3.4.2
Release Notes
prettier/prettier (prettier)
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.
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.1
Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on
(#16887 by @fisker)<!-- Input --> <template> <button @​click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @​click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @​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.
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
@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: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)v3.3.1
Compare 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.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.
Unexpected embedded formatting for Angular template (#15969 by @JounQin)
Computed template should not be considered as Angular component template
Use
"json"
parser fortsconfig.json
by default (#16012 by @sosukesuzuki)In v2.3.0, we introduced
"jsonc"
parser which adds trialing 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 yourtsconfig.json
files, add the following to your.pretterrc
filev3.2.4
Compare Source
diff
Fix incorrect parser inference (#15947 by @fisker)
Files like
.eslintrc.json
were incorrectly formatted as JSONC files.v3.2.3
Compare Source
diff
Throw errors for invalid code (#15881 by @fisker, @Josh-Cena, @auvred)
Fix parser inference (#15927 by @fisker)
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:
Fix formatting error on optional call expression and member chain (#15920 by @sosukesuzuki)
v3.2.1
Compare Source
diff
Fix formatting error on member chain (#15915 by @sosukesuzuki)
v3.2.0
Compare Source
diff
🔗 Release Notes
v3.1.1
Compare Source
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.
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
istrue
(#15662 by @auvred)Improve config file search (#15663 by @fisker)
The Prettier config file search performance has been improved by more effective cache strategy.
Fix unstable and ugly formatting for comments in destructuring patterns (#15708 by @sosukesuzuki)
Support "Import Attributes" (#15718 by @fisker)
TypeScript 5.3 supports the latest updates to the import attributes proposal.
Fix false claim in docs that cursorOffset is incompatible with rangeStart/rangeEnd (#15750 by @ExplodingCabbage)
The cursorOffset option has in fact been compatible with rangeStart/rangeEnd for over 5 years, thanks to work by @ds300. However, Prettier's documentation (including the CLI
--help
text) continued to claim otherwise, falsely. The documentation is now fixed.Keep curly braces and
from
keyword in emptyimport
statements (#15756 by @fisker)Keep empty import attributes and assertions (#15757 by @fisker)
v3.1.0
Compare Source
diff
🔗 Release Notes
v3.0.3
Compare Source
diff
Add
preferUnplugged: true
topackage.json
(#15169 by @fisker and @so1ve)Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add
preferUnplugged: true
topackage.json
, so Yarn will install Prettier as unplug by default.Support shared config that forbids
require()
(#15233 by @fisker)If an external shared config package is used, and the package
exports
don't haverequire
ordefault
export.In Prettier 3.0.2 Prettier fails when attempt to
require()
the package, and throws an error.Allow argument of
require()
to break (#15256 by @fisker)Do not print trailing commas in arrow function type parameter lists in
ts
code blocks (#15286 by @sosukesuzuki)Support TypeScript 5.2
using
/await using
declaration (#15321 by @sosukesuzuki)Support for the upcoming Explicit Resource Management feature in ECMAScript.
using
/await using
declarationv3.0.2
Compare Source
diff
Break after
=
of assignment if RHS is poorly breakable AwaitExpression or YieldExpression (#15204 by @seiyab)Do not add trailing comma for grouped scss comments (#15217 by @auvred)
Print
declare
andexport
keywords for nested namespace (#15249 by @sosukesuzuki)v3.0.1
Compare Source
diff
Fix cursor positioning for a special case (#14812 by @fisker)
Fix plugins/estree.d.ts to make it a module (#15018 by @kingyue737)
Add
export {}
inplugins/estree.d.ts
to fix the "File is not a module" errorAdd parenthesis around leading multiline comment in return statement (#15037 by @auvred)
Add support for Vue "Generic Components" (#15066 by @auvred)
https://blog.vuejs.org/posts/vue-3-3#generic-components
<!-- Input --> <script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script> <!-- Prettier 3.0.0 --> <script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean" ></script> <!-- Prettier 3.0.1 --> <script setup lang="ts" generic=" T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean " ></script>
Fix comments print in
IfStatement
(#15076 by @fisker)Add missing type definition for
printer.preprocess
(#15123 by @so1ve)Add missing
getVisitorKeys
method type definition forPrinter
(#15125 by @auvred)Add typing to support
readonly
array properties of AST Node (#15127 by @auvred)Add space before unary minus followed by a function call (#15129 by @pamelalozano)
v3.0.0
Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 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.