Skip to content

Commit

Permalink
Merge pull request #2935 from udecode/fix/slateTextDiff
Browse files Browse the repository at this point in the history
fix lodash import
  • Loading branch information
zbeyens authored Feb 7, 2024
2 parents 99c5dff + ee8b482 commit 051ef5d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-clocks-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@udecode/plate-suggestion": patch
---

fix lodash import
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-restricted-syntax */
import { TDescendant, TOperation } from '@udecode/plate-common';
import { isEqual } from 'lodash';
import isEqual from 'lodash/isEqual.js';

import { slateDiff } from '../../slate-diff';
import { copyWithout } from '../utils/copy-without';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isElement, isText, TDescendant } from '@udecode/plate-common';
import { isEqual } from 'lodash';
import isEqual from 'lodash/isEqual.js';

import { copyWithout } from './copy-without';

Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6884,7 +6884,7 @@ __metadata:
languageName: unknown
linkType: soft

"@udecode/plate-suggestion@npm:30.4.0, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion":
"@udecode/plate-suggestion@npm:30.4.1, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion":
version: 0.0.0-use.local
resolution: "@udecode/plate-suggestion@workspace:packages/suggestion"
dependencies:
Expand Down Expand Up @@ -7083,7 +7083,7 @@ __metadata:
"@udecode/plate-serializer-docx": "npm:30.1.2"
"@udecode/plate-serializer-html": "npm:30.1.2"
"@udecode/plate-serializer-md": "npm:30.2.1"
"@udecode/plate-suggestion": "npm:30.4.0"
"@udecode/plate-suggestion": "npm:30.4.1"
"@udecode/plate-tabbable": "npm:30.1.2"
"@udecode/plate-table": "npm:30.1.2"
"@udecode/plate-toggle": "npm:30.3.2"
Expand Down

0 comments on commit 051ef5d

Please sign in to comment.