This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+20 -9
View File
@@ -1,11 +1,11 @@
{
"name": "@vitest/mocker",
"type": "module",
"version": "4.0.18",
"version": "4.1.9",
"description": "Vitest module mocker implementation",
"license": "MIT",
"funding": "https://opencollective.com/vitest",
"homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/mocker#readme",
"homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/mocker",
"repository": {
"type": "git",
"url": "git+https://github.com/vitest-dev/vitest.git",
@@ -14,6 +14,11 @@
"bugs": {
"url": "https://github.com/vitest-dev/vitest/issues"
},
"keywords": [
"vitest",
"test",
"mock"
],
"sideEffects": false,
"exports": {
".": {
@@ -44,7 +49,11 @@
"types": "./dist/register.d.ts",
"default": "./dist/register.js"
},
"./*": "./*"
"./transforms": {
"types": "./dist/transforms.d.ts",
"default": "./dist/transforms.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
@@ -55,7 +64,7 @@
],
"peerDependencies": {
"msw": "^2.4.9",
"vite": "^6.0.0 || ^7.0.0-0"
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"msw": {
@@ -68,16 +77,18 @@
"dependencies": {
"estree-walker": "^3.0.3",
"magic-string": "^0.30.21",
"@vitest/spy": "4.0.18"
"@vitest/spy": "4.1.9"
},
"devDependencies": {
"@types/estree": "^1.0.8",
"acorn-walk": "^8.3.4",
"msw": "^2.12.3",
"acorn-walk": "^8.3.5",
"cjs-module-lexer": "^2.2.0",
"es-module-lexer": "^2.0.0",
"msw": "^2.12.10",
"pathe": "^2.0.3",
"vite": "^6.3.5",
"@vitest/spy": "4.0.18",
"@vitest/utils": "4.0.18"
"@vitest/spy": "4.1.9",
"@vitest/utils": "4.1.9"
},
"scripts": {
"build": "premove dist && rollup -c",