Packages

is-plain-object

5.1.0 · 21 Aug 2026MIT100.9M / weekRepositorynpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 5.x5.1.0No known advisoryLatest line
  • 4.x4.1.1No known advisoryTo 5.1.0
  • 3.x3.0.1No known advisoryTo 5.1.0
  • 2.x2.0.4No known advisoryTo 5.1.0
  • 1.x1.0.0No known advisoryTo 5.1.0
  • 0.x0.1.0No known advisoryTo 5.1.0

What to use instead

A few lines of code

From the e18e module-replacements list, maintained by the community.

Use v && typeof v === "object" && (Object.getPrototypeOf(v) === null || Object.getPrototypeOf(v) === Object.prototype)

Before you switch

  1. 1

    Check what else depends on it

    Paste your package.json in the dependency check to see every deprecated or outdated package in one pass, not only this one.

  2. 2

    Read the replacement's peers and releases

    A native API or a few lines of code need no release notes, but check the Node version your project runs on.

  3. 3

    Know when it ships

    Follow the new package on inlinr: its releases and advisories land in your feed, and the time spent on the migration branch shows on its page.

Latest releases

  1. 5.x · latest line
  2. 5.1.0

    21 Aug 2026

    This release makes is-plain-object friendlier for TypeScript users. The exported function is now a type guard, so successful checks narrow values to plain-object records, and the package export map now points TypeScript directly to the bundled declarations.

  3. 5.0.0

    9 Sep 2020
    • Migrated from default to named export (see why here #17):

    • Added native ESM support via exports mapping

  4. 4.x · maintenance
  5. 4.1.1

    24 Jul 2020

Dependency tracking

Know when your own dependencies move

This page watches is-plain-object. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 22 Nov 2026. Releases and advisories last read 22 Nov 2026.

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.