prettier
3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed
2.8.8 is the newest release of 2.x.
In short
1 security2 changed
- Security
Details: Prototype Pollution
Release note
Ignore loglevel when printing information
# Prettier 2.6.0 prettier --loglevel silent --find-config-path index.js # Prettier 2.6.1 prettier --loglevel silent --help no-color # .prettierrc
Make artifact friendly for webpack (#12485, #12511
Fixes two problems when bundling our UMD files with webpack:
A error
"`....__exportStar` is not a function"throws when running the bundles.Some files cause warning about
"Critical dependency: the request of a dependency is an expression".
Fix non-idempotent formatting of function calls with complex type arguments
// Input
const foo =
doSomething<{ foo1: "foo1", foo2: "foo2", foo3: "foo3", foo4: "foo4", foo5: "foo5" }>();
// Prettier 2.6.0 (first)
const foo =
doSomething<{
foo1: "foo1";
foo2: "foo2";
foo3: "foo3";
foo4: "foo4";
foo5: "foo5";
}>();
// Prettier 2.6.0 (second)
const foo = doSomething<{
foo1: "foo1";
foo2: "foo2";
foo3: "foo3";
foo4: "foo4";
foo5: "foo5";
}>();
// Prettier 2.6.1
const foo = doSomething<{
foo1: "foo1";
foo2: "foo2";
foo3: "foo3";
foo4: "foo4";
foo5: "foo5";
}>();
Fix minimist security issue
Details: Prototype Pollution
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.