From c831b978f97ca280acdbbf9e014969337fe77bd8 Mon Sep 17 00:00:00 2001 From: Arvin Xu Date: Sun, 18 Feb 2024 17:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20chore:=20pin=20vite=20and=20vite?= =?UTF-8?q?st=20to=20fix=20test=20(#1317)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📌 chore: pin vite to fix test * 📌 chore: pin vite to fix test * 📌 chore: pin vite to fix test --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0b6a297e37d8..4345ad324938 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,7 @@ "@types/ua-parser-js": "^0.7", "@types/uuid": "^9", "@umijs/lint": "^4", - "@vitest/coverage-v8": "^1", + "@vitest/coverage-v8": "~1.2.2", "ajv-keywords": "^5.1.0", "commitlint": "^18", "consola": "^3", @@ -189,7 +189,8 @@ "typescript": "^5", "unified": "^11", "unist-util-visit": "^5", - "vitest": "^1", + "vite": "5.1.1", + "vitest": "~1.2.2", "vitest-canvas-mock": "^0.3" }, "publishConfig": {