npm / is-plain-object
is-plain-object
What changed in is-plain-object 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking2 new APIs and options2 behavior and defaults1 tooling
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initis-plain-object 54 changes
Breaking changes 1
The package now exposes isPlainObject as a named export, so ESM/TypeScript and CommonJS consumers must use named-import or destructuring syntax instead of the default export.
New APIs and options 1
An exports mapping adds native ESM support.
Behavior and default changes 1
The exported function is now a type guard, narrowing successful checks to plain-object records.
Tooling 1
The package export map now points TypeScript directly to the bundled declarations.
is-plain-object 41 changes
Behavior and default changes 1
isPlainObject now considers Object.create(null) to be a plain object.
is-plain-object 32 changes
Breaking changes 1
Bower support was dropped because it was not widely used.
New APIs and options 1
A module entry point was provided; this may be breaking for users who use bundlers.