Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit d2b7e30

Browse files
authored
feat: drop lodash (#283)
1 parent 394a9de commit d2b7e30

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"@babel/runtime": "^7.10.1",
4040
"classnames": "2.x",
4141
"dom-align": "^1.7.0",
42-
"lodash": "^4.17.21",
43-
"rc-util": "^5.3.0",
42+
"rc-util": "^5.26.0",
4443
"resize-observer-polyfill": "^1.5.1"
4544
},
4645
"devDependencies": {

src/Align.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { alignElement, alignPoint } from 'dom-align';
7-
import isEqual from 'lodash/isEqual';
7+
import isEqual from 'rc-util/lib/isEqual';
88
import addEventListener from 'rc-util/lib/Dom/addEventListener';
99
import isVisible from 'rc-util/lib/Dom/isVisible';
1010
import useLayoutEffect from 'rc-util/lib/hooks/useLayoutEffect';

0 commit comments

Comments
 (0)