unstale

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 init

@unstale/cli on npm

is-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.

    5.0.0release notes

New APIs and options 1

Behavior and default changes 1

  • The exported function is now a type guard, narrowing successful checks to plain-object records.

    5.1.0release notes

Tooling 1

  • The package export map now points TypeScript directly to the bundled declarations.

    5.1.0release notes

is-plain-object 41 changes

Behavior and default changes 1

  • isPlainObject now considers Object.create(null) to be a plain object.

    4.0.0release notes

is-plain-object 32 changes

Breaking changes 1

  • Bower support was dropped because it was not widely used.

    3.0.0release notes

New APIs and options 1

  • A module entry point was provided; this may be breaking for users who use bundlers.

    3.0.0release notes