From 13e5464ae1b34eebbdc5d65723ae1ca3677b32f9 Mon Sep 17 00:00:00 2001 From: inottn Date: Sat, 15 Jun 2024 19:47:34 +0800 Subject: [PATCH] chore: update vue to v3.4.29 and enable skipped cases (#12939) --- packages/vant-cli/package.json | 2 +- packages/vant-compat/package.json | 4 +- packages/vant-use/package.json | 2 +- packages/vant/package.json | 4 +- .../{demo.skip.ts.snap => demo.spec.ts.snap} | 1 + packages/vant/src/form/test/demo.skip.ts | 7 - packages/vant/src/form/test/demo.spec.ts | 4 + .../{demo.skip.ts.snap => demo.spec.ts.snap} | 10 + ...{index.skip.ts.snap => index.spec.ts.snap} | 2 + packages/vant/src/stepper/test/demo.skip.ts | 7 - packages/vant/src/stepper/test/demo.spec.ts | 4 + .../test/{index.skip.ts => index.spec.ts} | 3 - pnpm-lock.yaml | 218 +++++++++--------- 13 files changed, 132 insertions(+), 136 deletions(-) rename packages/vant/src/form/test/__snapshots__/{demo.skip.ts.snap => demo.spec.ts.snap} (99%) delete mode 100644 packages/vant/src/form/test/demo.skip.ts create mode 100644 packages/vant/src/form/test/demo.spec.ts rename packages/vant/src/stepper/test/__snapshots__/{demo.skip.ts.snap => demo.spec.ts.snap} (97%) rename packages/vant/src/stepper/test/__snapshots__/{index.skip.ts.snap => index.spec.ts.snap} (97%) delete mode 100644 packages/vant/src/stepper/test/demo.skip.ts create mode 100644 packages/vant/src/stepper/test/demo.spec.ts rename packages/vant/src/stepper/test/{index.skip.ts => index.spec.ts} (98%) diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 460482b40..c6ea47181 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -43,7 +43,7 @@ "@types/lodash": "^4.17.5", "@types/markdown-it": "^13.0.8", "rimraf": "^5.0.7", - "vue": "^3.4.27" + "vue": "^3.4.29" }, "dependencies": { "@babel/core": "^7.24.7", diff --git a/packages/vant-compat/package.json b/packages/vant-compat/package.json index 4781cddf7..ac6653128 100644 --- a/packages/vant-compat/package.json +++ b/packages/vant-compat/package.json @@ -36,9 +36,9 @@ "author": "chenjiahan", "license": "MIT", "devDependencies": { - "@vue/runtime-core": "^3.4.27", + "@vue/runtime-core": "^3.4.29", "vant": "workspace:*", - "vue": "^3.4.27", + "vue": "^3.4.29", "esbuild": "^0.20.2", "rimraf": "^5.0.7", "typescript": "^5.4.5" diff --git a/packages/vant-use/package.json b/packages/vant-use/package.json index de819c241..aa2ecddfd 100644 --- a/packages/vant-use/package.json +++ b/packages/vant-use/package.json @@ -41,7 +41,7 @@ "esbuild": "^0.20.2", "rimraf": "^5.0.7", "typescript": "^5.4.5", - "vue": "^3.4.27" + "vue": "^3.4.29" }, "peerDependencies": { "vue": "^3.0.0" diff --git a/packages/vant/package.json b/packages/vant/package.json index 01c6dd746..4e1c1c166 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -62,7 +62,7 @@ "@vitejs/plugin-vue": "^5.0.5", "@vitejs/plugin-vue-jsx": "^3.1.0", "@vitest/coverage-istanbul": "^1.6.0", - "@vue/runtime-core": "^3.4.27", + "@vue/runtime-core": "^3.4.29", "@vue/test-utils": "^2.4.6", "csstype": "^3.1.3", "diffable-html": "^5.0.0", @@ -71,7 +71,7 @@ "vite": "^5.2.13", "vitest": "^1.6.0", "vitest-canvas-mock": "^0.3.3", - "vue": "^3.4.27", + "vue": "^3.4.29", "vue-router": "^4.3.2" }, "sideEffects": [ diff --git a/packages/vant/src/form/test/__snapshots__/demo.skip.ts.snap b/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap similarity index 99% rename from packages/vant/src/form/test/__snapshots__/demo.skip.ts.snap rename to packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap index 65efa5c8b..aedb7df5c 100644 --- a/packages/vant/src/form/test/__snapshots__/demo.skip.ts.snap +++ b/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap @@ -335,6 +335,7 @@ exports[`should render demo and match snapshot 1`] = ` aria-valuemax="Infinity" aria-valuemin="1" aria-valuenow="1" + value="1" >