Skip to content

Conversation

@renovate
Copy link
Contributor

@renovaterenovatebot commented Jan 18, 2024

Mend Renovate

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
prettier (source)3.1.1 -> 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.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: Branch creation - "monthly" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@renovaterenovatebot requested a review from bmulholland as a code ownerJanuary 18, 2024 18:21
@renovaterenovatebot added the dependency Dependency updates label Jan 18, 2024
@setchysetchy self-requested a review January 18, 2024 18:24
@setchysetchy merged commit 88e6a8a into mainJan 18, 2024
@setchysetchy deleted the renovate/prettier-3.x branch January 18, 2024 18:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencyDependency updates

Development

Successfully merging this pull request may close these issues.

2 participants

@setchy