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

chore(deps): update dependency prettier to v3.2.4#8127

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

Merged
JoshuaKGoldberg merged 1 commit intomainfromrenovate/prettier-3.x-lockfile
Feb 3, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovaterenovatebot commentedDec 24, 2023
edited
Loading

Mend Renovate

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
prettier (source)3.1.0 ->3.2.4ageadoptionpassingconfidence

Release Notes

prettier/prettier (prettier)

v3.2.4

Compare Source

diff

Fix incorrect parser inference (#​15947 by@​fisker)

Files like.eslintrc.json were incorrectly formatted as JSONC files.

// Inputprettier--file-info.eslintrc.json{"ignored":false,"inferredParser":"jsonc"}// Prettier 3.2.4prettier--file-info.eslintrc.json{"ignored":false,"inferredParser":"json"}

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.3SyntaxError:Invalidleft-handsideexpressioninunaryoperation(1:1)>1|1++;|^
// Inputtry{}catch(error=1){}// Prettier 3.2.2try{}catch(error){}// Prettier 3.2.3SyntaxError: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.1TypeError: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.0TypeError:Cannotreadpropertiesofundefined(reading'type')// Prettier 3.2.1test().test2().test2(thing?.something);

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.

├─ .prettierrc└─ test.js         (A directory)  └─ .prettierrc
// Prettier 3.1.0awaitprettier.resolveConfigFile(newURL("./test.js",import.meta.url));// <CWD>/test.js/.prettierrc// Prettier 3.1.1awaitprettier.resolveConfigFile(newURL("./test.js",import.meta.url));// <CWD>/.prettierrc
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 whenuseTabs istrue (#​15662 by@​auvred)
// Inputaaaaaaaaaaaaaaa?bbbbbbbbbbbbbbbbbb:ccccccccccccccc  ?ddddddddddddddd  :eeeeeeeeeeeeeee    ?fffffffffffffff    :gggggggggggggggg;// Prettier 3.1.0aaaaaaaaaaaaaaa?bbbbbbbbbbbbbbbbbb:ccccccccccccccc  ?ddddddddddddddd  :eeeeeeeeeeeeeee    ?fffffffffffffff    :gggggggggggggggg;// Prettier 3.1.1aaaaaaaaaaaaaaa?bbbbbbbbbbbbbbbbbb:ccccccccccccccc?ddddddddddddddd:eeeeeeeeeeeeeee?fffffffffffffff:gggggggggggggggg;
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)
// Inputconst{  foo,// bar// baz}:Foo=expr;// Prettier 3.1.0const{  foo1,}// bar// baz:Foo=expr;// Prettier 3.1.0 second outputconst{  foo1,// bar}// baz:Foo=expr;// Prettier 3.1.1const{  foo1,// bar// baz}:Foo=expr;
Support "Import Attributes" (#​15718 by@​fisker)

TypeScript 5.3 supports the latest updates to theimport attributes proposal.

importsomethingfrom"./something.json"with{type:"json"};
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 andfrom keyword in emptyimport statements (#​15756 by@​fisker)
// Inputimport{}from'foo';import{/* comment */}from'bar';// Prettier 3.1.0import{}from"foo";import/* comment */"bar";// Prettier 3.1.1import{}from"foo";import{}from/* comment */"bar";
Keep empty import attributes and assertions (#​15757 by@​fisker)
// Inputimportfoofrom"foo"with{};importbarfrom"bar"assert{};// Prettier 3.1.0importfoofrom"foo";importbarfrom"bar";// Prettier 3.1.1importfoofrom"foo"with{};importbarfrom"bar"assert{};

Configuration

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

🚦Automerge: Enabled.

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

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


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

This PR has been generated byMend Renovate. View repository job loghere.

@renovaterenovatebot added dependenciesIssue about dependencies of the package javascriptPull requests that update Javascript code labelsDec 24, 2023
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@renovate[bot]!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@netlifyNetlify
Copy link

netlifybot commentedDec 24, 2023
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitc24f062
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/65bb6a6ef0940e0008c56b18
😎 Deploy Previewhttps://deploy-preview-8127--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 90 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to yourNetlify site configuration.

@renovaterenovatebotforce-pushed therenovate/prettier-3.x-lockfile branch from49e5efa tofb6f10dCompareJanuary 8, 2024 17:04
@renovaterenovatebot changed the titlechore(deps): update dependency prettier to v3.1.1chore(deps): update dependency prettier to v3.2.0Jan 15, 2024
@renovaterenovatebot changed the titlechore(deps): update dependency prettier to v3.2.0chore(deps): update dependency prettier to v3.2.1Jan 15, 2024
@renovaterenovatebot changed the titlechore(deps): update dependency prettier to v3.2.1chore(deps): update dependency prettier to v3.2.2Jan 17, 2024
@renovaterenovatebot changed the titlechore(deps): update dependency prettier to v3.2.2chore(deps): update dependency prettier to v3.2.3Jan 20, 2024
@renovaterenovatebot changed the titlechore(deps): update dependency prettier to v3.2.3chore(deps): update dependency prettier to v3.2.4Jan 20, 2024
@renovaterenovatebotforce-pushed therenovate/prettier-3.x-lockfile branch fromfb6f10d toc24f062CompareFebruary 1, 2024 09:54
@JoshuaKGoldbergJoshuaKGoldberg merged commitc097bfc intomainFeb 3, 2024
@JoshuaKGoldbergJoshuaKGoldberg deleted the renovate/prettier-3.x-lockfile branchFebruary 3, 2024 15:12
@@ -15451,7 +15451,7 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:3.1.0, prettier@npm:^3.0.3":
"prettier@npm:3.1.0":
Copy link
Member

Choose a reason for hiding this comment

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

This seems.... Problematic?

danvk pushed a commit to danvk/typescript-eslint that referenced this pull requestFeb 4, 2024
…8127)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsFeb 11, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher left review comments

Assignees
No one assigned
Labels
dependenciesIssue about dependencies of the packagejavascriptPull requests that update Javascript code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@bradzacher@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp