Skip to content

Releases: jonschlinkert/is-plain-object

v5.0.0

09 Sep 16:36
Compare
Choose a tag to compare

ESM/TypeScript

- import isPlainObject from 'is-plain-object';
+ import { isPlainObject } from 'is-plain-object';

CommonJS

- const isPlainObject = require('is-plain-object');
+ const { isPlainObject } = require('is-plain-object');
  • Added native ESM support via exports mapping

v4.1.0

21 Jul 11:01
Compare
Choose a tag to compare

Reduced size and added type guide to ts definition (thanks to @lifeiscontent)

v4.0.0

21 Jul 00:10
Compare
Choose a tag to compare

In this release Object.create(null) is considered as plain object as well.

v3.0.0

06 May 13:14
Compare
Choose a tag to compare

In this release we provided module entry point. This may be breaking for some users who use bundlers.

Bower support was also dropped as not widely used these days.

2.0.1

25 Oct 13:05
Compare
Choose a tag to compare
metadata updates