Bump prettier from 3.0.0 to 3.0.3
Bumps prettier from 3.0.0 to 3.0.3.
Changelog
Sourced from prettier's changelog.
3.0.3
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.Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json
Allow argument of
require()
to break (#15256 by@fisker
)// Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); // Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..")); // Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") );
Do not print trailing commas in arrow function type parameter lists in
ts
code blocks (#15286 by@sosukesuzuki
)<!-- Input --> ```ts const foo = <T>() => {} ``` </tr></table>
... (truncated)
Commits
-
d5f3171
Release 3.0.3 -
a35008f
Support shared config that forbidsrequire()
(#15233) -
1ce97d1
Support TypeScript 5.2using
/await using
declaration (#15321) -
a73cfa0
Fix build script--report
option (#15323) -
941c6b3
Minor refactor togetSupportedFilesGlob
(#15319) -
f6c9e9b
Assert uniqueness in language properties (#15320) -
288ea7e
chore(deps): update dependency webpack to v5.88.2 (#15147) -
6654451
chore(deps): update dependency webpack to v5.88.2 (#15148) -
d059644
chore(deps): update dependency fast-glob to v3.3.1 (#15001) -
423011d
Minor refactor toexpandPatterns
(#15317) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts