Packages

prettier

3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed

Your version

2.7.1

16 Jun 2022Where it was published

2.8.8 is the newest release of 2.x.

Release note

diff

Keep useful empty lines in description

# Input
"""
First line

Second Line
"""
type Person {
  name: String
}

# Prettier 2.7.0
"""
First line
Second Line
"""
type Person {
  name: String
}

# Prettier 2.7.1
"""
First line

Second Line
"""
type Person {
  name: String
}

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.