Skip to content

Commit c721767

Browse files
committed
fix: replace lodash with es-toolkit
1 parent 918b6fb commit c721767

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"chalk": "^3.0.0",
8686
"css.escape": "^1.5.1",
8787
"dom-accessibility-api": "^0.6.3",
88-
"lodash": "^4.17.21",
88+
"es-toolkit": "^1.39.5",
8989
"redent": "^3.0.0"
9090
},
9191
"devDependencies": {

src/to-have-form-values.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import isEqualWith from 'lodash/isEqualWith.js'
1+
import isEqualWith from 'es-toolkit/compat/isEqualWith'
22
import escape from 'css.escape'
33
import {
44
checkHtmlElement,

src/to-have-selection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import isEqualWith from 'lodash/isEqualWith.js'
1+
import isEqualWith from 'es-toolkit/compat/isEqualWith'
22
import {checkHtmlElement, compareArraysAsSet, getMessage} from './utils'
33

44
/**

src/to-have-value.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import isEqualWith from 'lodash/isEqualWith.js'
1+
import isEqualWith from 'es-toolkit/compat/isEqualWith'
22
import {
33
checkHtmlElement,
44
getMessage,

0 commit comments

Comments
 (0)