diff --git a/package.json b/package.json index a9ddf16..a9540f4 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "chalk": "^3.0.0", "css.escape": "^1.5.1", "dom-accessibility-api": "^0.6.3", - "lodash": "^4.17.21", + "es-toolkit": "^1.39.0", "redent": "^3.0.0" }, "devDependencies": { diff --git a/src/to-have-form-values.js b/src/to-have-form-values.js index cd479d6..7e528b9 100644 --- a/src/to-have-form-values.js +++ b/src/to-have-form-values.js @@ -1,4 +1,4 @@ -import isEqualWith from 'lodash/isEqualWith.js' +import isEqualWith from 'es-toolkit/compat/isEqualWith' import escape from 'css.escape' import { checkHtmlElement, diff --git a/src/to-have-selection.js b/src/to-have-selection.js index 4eb7478..7e6cec8 100644 --- a/src/to-have-selection.js +++ b/src/to-have-selection.js @@ -1,4 +1,4 @@ -import isEqualWith from 'lodash/isEqualWith.js' +import isEqualWith from 'es-toolkit/compat/isEqualWith' import {checkHtmlElement, compareArraysAsSet, getMessage} from './utils' /** diff --git a/src/to-have-value.js b/src/to-have-value.js index 37cca52..50d853f 100644 --- a/src/to-have-value.js +++ b/src/to-have-value.js @@ -1,4 +1,4 @@ -import isEqualWith from 'lodash/isEqualWith.js' +import isEqualWith from 'es-toolkit/compat/isEqualWith' import { checkHtmlElement, getMessage,