dependabot-npm_and_yarn-prettier-3.2.3
main
Bumps prettier from 3.2.2 to 3.2.3.
Sourced from prettier's releases.
3.2.3 Format tsconfig.json file with jsonc parser #15927 🔗 Changelog
tsconfig.json
jsonc
🔗 Changelog
Sourced from prettier's changelog.
3.2.3 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" }
diff
@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 1++; // Prettier 3.2.2 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){} | ^
// Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {}
// 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){} | ^
// 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" }
// 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" }
42ba437
99c873d
86fd77d
12ab585
c566c9d
be17405
isSimpleCallArgument
10762ee
TSModuleDeclaration
70c9c56
1e1942d
d386ff8
printBinaryCastExpression
$dependabot recreate
added 2 commits
860b658f
ce546768
Compare with previous version
No dependencies set.
The note is not visible to the blocked user.
Bumps prettier from 3.2.2 to 3.2.3.
Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
Commits
42ba437Release 3.2.399c873dchore(deps): update typescript-eslint to v6.19.0 (#15939)86fd77dchore(deps): update dependency flow-parser to v0.226.0 (#15931)12ab585chore(deps): update dependency browserslist-to-esbuild to v2.1.1 (#15930)c566c9dFix parser inference (#15927)be17405SimplifyisSimpleCallArgument(#15923)10762eeImprove keyword detection inTSModuleDeclaration(#15925)70c9c56Improve babel parse error message (#15928)1e1942dRemove outdated babel reasonCode (#15929)d386ff8SimplifyprintBinaryCastExpression(#15932)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsadded 2 commits
860b658f- 1 commit from branchmaince546768- chore(deps-dev): bump prettier from 3.2.2 to 3.2.3Compare with previous version