1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-28 17:39:57 +02:00

Upgrade is-plain-object to v5.0.0 (#4500)

* Upgrade `is-plain-object` to v5.0.0

The `is-plain-object` package recently had a major version upgrade that
broke libraries which import its default export, such as this one. This
causes issues when other packages in the same application require a
higher version of `is-plain-object`, resulting in an error originating
in Slate's codebase. To remedy this, Slate is now depending on
`is-plain-object@^5.0.0` and its import references across the codebase
have been updated.

Fixes #4499

* Add changeset

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
This commit is contained in:
Tom Scott
2021-09-09 15:55:13 -04:00
committed by GitHub
parent 2065c5bdfd
commit 50bb3d7e32
15 changed files with 25 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
import isPlainObject from 'is-plain-object'
import { isPlainObject } from 'is-plain-object'
import { Element } from 'slate'
import {
createAnchor,