From c7217675413d076b929f1d139d6913546b3d588c Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Sun, 29 Jun 2025 01:31:57 +0900 Subject: [PATCH] fix: replace lodash with es-toolkit --- package.json | 2 +- src/to-have-form-values.js | 2 +- src/to-have-selection.js | 2 +- src/to-have-value.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a9ddf16..441c2a6 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.5", "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,