prettier
3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed
Your version
3.10.1 is the newest release of 3.x.
Release note
Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute
For example this code would crash before:
<style {...spread}>{`.{}`}</style>Fix formatting error on optional call expression and member chain
// Input
a(() => {}, c?.d());
// Prettier 3.2.1
TypeError: Cannot read properties of undefined (reading 'type')
// Prettier 3.2.2
a(() => {}, c?.d());A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.