From 8d33ba1dd8274bb4bb014b32fa84083360126717 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 17 Aug 2021 16:04:48 +0200 Subject: [PATCH] fix(resolver): add dependency on `jest-haste-map` (#11759) --- CHANGELOG.md | 1 + packages/jest-resolve/package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4b0bfcefd3d..60e15e30b962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - `[jest-environment-node]` Add `Event` and `EventTarget` to node global environment. ([#11705](https://github.com/facebook/jest/issues/11705)) - `[jest-mock]` Fix `spyOn` to use `Object.prototype.hasOwnProperty` [#11721](https://github.com/facebook/jest/pull/11721) +- `[jest-resolver]` Add dependency on `jest-haste-map` [#11759](https://github.com/facebook/jest/pull/11759) ### Chore & Maintenance diff --git a/packages/jest-resolve/package.json b/packages/jest-resolve/package.json index a9bb1239e690..c69a1429c3dd 100644 --- a/packages/jest-resolve/package.json +++ b/packages/jest-resolve/package.json @@ -18,6 +18,7 @@ "chalk": "^4.0.0", "escalade": "^3.1.1", "graceful-fs": "^4.2.4", + "jest-haste-map": "^27.0.6", "jest-pnp-resolver": "^1.2.2", "jest-util": "^27.0.6", "jest-validate": "^27.0.6", @@ -26,8 +27,7 @@ }, "devDependencies": { "@types/graceful-fs": "^4.1.3", - "@types/resolve": "^1.20.0", - "jest-haste-map": "^27.0.6" + "@types/resolve": "^1.20.0" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"