Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

bump(deps): update dependency prettier to ^3.2.4 #758

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) ^3.2.2 -> ^3.2.4 age adoption passing confidence

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.

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

// Prettier 3.2.4
prettier --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)
// Input
1++;

// Prettier 3.2.2
1++;

// Prettier 3.2.3
SyntaxError: Invalid left-hand side expression in unary operation (1:1)
> 1 | 1++;
    | ^
// Input
try {} catch (error = 1){}

// Prettier 3.2.2
try {
} catch (error) {}

// Prettier 3.2.3
SyntaxError: Catch clause variable cannot have an initializer. (1:23)
> 1 | try {} catch (error = 1){}
    |                       ^
Fix parser inference (#​15927 by @​fisker)
// Prettier 3.2.2
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "json" }

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

Configuration

📅 Schedule: 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 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.

Copy link

netlify bot commented Jan 17, 2024

Deploy Preview for contented ready!

Name Link
🔨 Latest commit 8a79f11
🔍 Latest deploy log https://app.netlify.com/sites/contented/deploys/65aa03799651450008d43d94
😎 Deploy Preview https://deploy-preview-758--contented.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@github-actions github-actions bot added the kind/dependencies Pull requests that update a dependency file label Jan 17, 2024
@renovate renovate bot changed the title bump(deps): update dependency prettier to ^3.2.3 bump(deps): update dependency prettier to ^3.2.4 Jan 17, 2024
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from c4f5836 to 04462bc Compare January 17, 2024 11:23
@fuxingloh fuxingloh merged commit ed73c77 into main Jan 19, 2024
@fuxingloh fuxingloh deleted the renovate/prettier-3.x branch January 19, 2024 05:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant