diff --git a/package.json b/package.json index 06dff5675efbfe..5c88c7f6cbed0b 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,9 @@ }, "devDependencies": { "@babel/types": "^7.20.2", - "@microsoft/api-extractor": "^7.33.5", + "@microsoft/api-extractor": "^7.33.6", "@rollup/plugin-typescript": "^8.5.0", - "@types/babel__core": "^7.1.19", + "@types/babel__core": "^7.1.20", "@types/babel__standalone": "^7.1.4", "@types/convert-source-map": "^1.5.2", "@types/cross-spawn": "^6.0.2", @@ -58,12 +58,12 @@ "@types/semver": "^7.3.13", "@types/stylus": "^0.48.38", "@types/ws": "^8.5.3", - "@typescript-eslint/eslint-plugin": "^5.42.0", - "@typescript-eslint/parser": "^5.42.0", + "@typescript-eslint/eslint-plugin": "^5.42.1", + "@typescript-eslint/parser": "^5.42.1", "conventional-changelog-cli": "^2.2.2", "esbuild": "^0.15.9", "eslint": "^8.27.0", - "eslint-define-config": "^1.11.0", + "eslint-define-config": "^1.12.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-node": "^11.1.0", "execa": "^6.1.0", @@ -74,7 +74,7 @@ "npm-run-all": "^4.1.5", "picocolors": "^1.0.0", "playwright-chromium": "^1.27.1", - "pnpm": "^7.14.2", + "pnpm": "^7.15.0", "prettier": "2.7.1", "prompts": "^2.4.2", "resolve": "^1.22.1", @@ -84,13 +84,13 @@ "semver": "^7.3.8", "simple-git-hooks": "^2.8.1", "tslib": "^2.4.1", - "tsx": "^3.11.0", + "tsx": "^3.12.1", "typescript": "^4.6.4", "unbuild": "^0.9.4", "vite": "workspace:*", - "vitepress": "^1.0.0-alpha.27", - "vitest": "^0.24.5", - "vue": "^3.2.41" + "vitepress": "^1.0.0-alpha.28", + "vitest": "^0.25.1", + "vue": "^3.2.45" }, "simple-git-hooks": { "pre-commit": "pnpm exec lint-staged --concurrent false", @@ -110,7 +110,7 @@ "eslint --cache --fix" ] }, - "packageManager": "pnpm@7.14.2", + "packageManager": "pnpm@7.15.0", "pnpm": { "overrides": { "vite": "workspace:*", diff --git a/packages/create-vite/template-preact-ts/package.json b/packages/create-vite/template-preact-ts/package.json index d31cfe09d91737..ebf1f86536eb05 100644 --- a/packages/create-vite/template-preact-ts/package.json +++ b/packages/create-vite/template-preact-ts/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "preact": "^10.11.2" + "preact": "^10.11.3" }, "devDependencies": { "@preact/preset-vite": "^2.4.0", diff --git a/packages/create-vite/template-preact/package.json b/packages/create-vite/template-preact/package.json index 1d20644a83bb22..73fc85f1a6570a 100644 --- a/packages/create-vite/template-preact/package.json +++ b/packages/create-vite/template-preact/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "preact": "^10.11.2" + "preact": "^10.11.3" }, "devDependencies": { "@preact/preset-vite": "^2.4.0", diff --git a/packages/create-vite/template-svelte-ts/package.json b/packages/create-vite/template-svelte-ts/package.json index 2d8ffac0d57b16..18f607fd76992c 100644 --- a/packages/create-vite/template-svelte-ts/package.json +++ b/packages/create-vite/template-svelte-ts/package.json @@ -10,9 +10,9 @@ "check": "svelte-check --tsconfig ./tsconfig.json" }, "devDependencies": { - "@sveltejs/vite-plugin-svelte": "^1.1.0", + "@sveltejs/vite-plugin-svelte": "^1.1.1", "@tsconfig/svelte": "^3.0.0", - "svelte": "^3.52.0", + "svelte": "^3.53.1", "svelte-check": "^2.9.2", "svelte-preprocess": "^4.10.7", "tslib": "^2.4.1", diff --git a/packages/create-vite/template-svelte/package.json b/packages/create-vite/template-svelte/package.json index 3bd283b1785120..66c10bf45f63fb 100644 --- a/packages/create-vite/template-svelte/package.json +++ b/packages/create-vite/template-svelte/package.json @@ -9,8 +9,8 @@ "preview": "vite preview" }, "devDependencies": { - "@sveltejs/vite-plugin-svelte": "^1.1.0", - "svelte": "^3.52.0", + "@sveltejs/vite-plugin-svelte": "^1.1.1", + "svelte": "^3.53.1", "vite": "^3.2.3" } } diff --git a/packages/create-vite/template-vue-ts/package.json b/packages/create-vite/template-vue-ts/package.json index d2d8483c67b007..eaba77614d6b41 100644 --- a/packages/create-vite/template-vue-ts/package.json +++ b/packages/create-vite/template-vue-ts/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" }, "devDependencies": { "@vitejs/plugin-vue": "^3.2.0", diff --git a/packages/create-vite/template-vue/package.json b/packages/create-vite/template-vue/package.json index 5fb9c7ffaf3763..96d8f0a4bda11d 100644 --- a/packages/create-vite/template-vue/package.json +++ b/packages/create-vite/template-vue/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" }, "devDependencies": { "@vitejs/plugin-vue": "^3.2.0", diff --git a/packages/plugin-legacy/package.json b/packages/plugin-legacy/package.json index 7f3dfd599401b3..8b203d7536cb85 100644 --- a/packages/plugin-legacy/package.json +++ b/packages/plugin-legacy/package.json @@ -35,8 +35,8 @@ }, "homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme", "dependencies": { - "@babel/standalone": "^7.20.2", - "core-js": "^3.26.0", + "@babel/standalone": "^7.20.4", + "core-js": "^3.26.1", "magic-string": "^0.26.7", "regenerator-runtime": "^0.13.10", "systemjs": "^6.13.0" diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index 5ec8beadebc5ee..8738daa468a4de 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -46,6 +46,6 @@ "slash": "^5.0.0", "source-map": "^0.6.1", "vite": "workspace:*", - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/packages/plugin-vue/src/handleHotUpdate.ts b/packages/plugin-vue/src/handleHotUpdate.ts index 0db6b23f936280..782ce8747209ee 100644 --- a/packages/plugin-vue/src/handleHotUpdate.ts +++ b/packages/plugin-vue/src/handleHotUpdate.ts @@ -205,7 +205,7 @@ function hasScriptChanged(prev: SFCDescriptor, next: SFCDescriptor): boolean { // this is only available in vue@^3.2.23 const prevImports = prevResolvedScript?.imports if (prevImports) { - return next.shouldForceReload(prevImports) + return !next.template || next.shouldForceReload(prevImports) } return false diff --git a/packages/vite/package.json b/packages/vite/package.json index 9724a83a2dc0e7..4cc39e7f156009 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -59,7 +59,7 @@ "//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!", "dependencies": { "esbuild": "^0.15.9", - "postcss": "^8.4.18", + "postcss": "^8.4.19", "resolve": "^1.22.1", "rollup": "~3.3.0" }, @@ -68,7 +68,7 @@ }, "devDependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/parser": "^7.20.2", + "@babel/parser": "^7.20.3", "@babel/types": "^7.20.2", "@jridgewell/trace-mapping": "^0.3.17", "@rollup/plugin-alias": "^4.0.2", diff --git a/playground/alias/package.json b/playground/alias/package.json index a1bb3913f0f694..d9f145331777b3 100644 --- a/playground/alias/package.json +++ b/playground/alias/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "aliased-module": "file:./dir/module", - "vue": "^3.2.41", - "@vue/shared": "^3.2.41" + "vue": "^3.2.45", + "@vue/shared": "^3.2.45" }, "devDependencies": { "resolve-linked": "workspace:*" diff --git a/playground/backend-integration/package.json b/playground/backend-integration/package.json index b78ce126637e9f..7941502b6a439d 100644 --- a/playground/backend-integration/package.json +++ b/playground/backend-integration/package.json @@ -9,8 +9,8 @@ "preview": "vite preview" }, "devDependencies": { - "sass": "^1.56.0", - "tailwindcss": "^3.2.2", + "sass": "^1.56.1", + "tailwindcss": "^3.2.4", "fast-glob": "^3.2.12" } } diff --git a/playground/css-sourcemap/package.json b/playground/css-sourcemap/package.json index 2a997ff650116f..8892a42fae1f99 100644 --- a/playground/css-sourcemap/package.json +++ b/playground/css-sourcemap/package.json @@ -11,7 +11,7 @@ "devDependencies": { "less": "^4.1.3", "magic-string": "^0.26.7", - "sass": "^1.56.0", + "sass": "^1.56.1", "stylus": "^0.59.0", "sugarss": "^4.0.1" } diff --git a/playground/css/package.json b/playground/css/package.json index 5c7d3cf23c20b2..14971a77f73166 100644 --- a/playground/css/package.json +++ b/playground/css/package.json @@ -17,7 +17,7 @@ "fast-glob": "^3.2.12", "less": "^4.1.3", "postcss-nested": "^5.0.6", - "sass": "^1.56.0", + "sass": "^1.56.1", "stylus": "^0.59.0", "sugarss": "^4.0.1" } diff --git a/playground/extensions/package.json b/playground/extensions/package.json index d48892cd508450..d4debfdccd2553 100644 --- a/playground/extensions/package.json +++ b/playground/extensions/package.json @@ -9,6 +9,6 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/external/dep-that-imports-vue/package.json b/playground/external/dep-that-imports-vue/package.json index eb5996dc7c44ef..3a57f33cdf5eda 100644 --- a/playground/external/dep-that-imports-vue/package.json +++ b/playground/external/dep-that-imports-vue/package.json @@ -3,6 +3,6 @@ "private": true, "version": "0.0.0", "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/external/dep-that-requires-vue/package.json b/playground/external/dep-that-requires-vue/package.json index 90c7881c380b11..b96a6e4f360abd 100644 --- a/playground/external/dep-that-requires-vue/package.json +++ b/playground/external/dep-that-requires-vue/package.json @@ -3,6 +3,6 @@ "private": true, "version": "0.0.0", "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/external/package.json b/playground/external/package.json index 0846f9b431b3a9..0cdff004e174ac 100644 --- a/playground/external/package.json +++ b/playground/external/package.json @@ -14,6 +14,6 @@ }, "devDependencies": { "vite": "workspace:*", - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/json/package.json b/playground/json/package.json index b46a730d00cbff..2347cb2e1ebfb7 100644 --- a/playground/json/package.json +++ b/playground/json/package.json @@ -14,6 +14,6 @@ "devDependencies": { "express": "^4.18.2", "json-module": "file:./json-module", - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/multiple-entrypoints/package.json b/playground/multiple-entrypoints/package.json index 9e6e1f332e30fe..a64997aedc5af1 100644 --- a/playground/multiple-entrypoints/package.json +++ b/playground/multiple-entrypoints/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "fast-glob": "^3.2.12", - "sass": "^1.56.0" + "sass": "^1.56.1" } } diff --git a/playground/object-hooks/package.json b/playground/object-hooks/package.json index d48892cd508450..d4debfdccd2553 100644 --- a/playground/object-hooks/package.json +++ b/playground/object-hooks/package.json @@ -9,6 +9,6 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/optimize-deps/package.json b/playground/optimize-deps/package.json index f89e71e5678e49..48c49e9f0719ed 100644 --- a/playground/optimize-deps/package.json +++ b/playground/optimize-deps/package.json @@ -34,7 +34,7 @@ "react-dom": "^18.2.0", "resolve-linked": "workspace:0.0.0", "url": "^0.11.0", - "vue": "^3.2.41", + "vue": "^3.2.45", "vuex": "^4.1.0", "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0" diff --git a/playground/package.json b/playground/package.json index 24691574ef0e95..f9ec47a6f1d277 100644 --- a/playground/package.json +++ b/playground/package.json @@ -6,7 +6,7 @@ "convert-source-map": "^1.9.0", "css-color-names": "^1.0.1", "kill-port": "^1.6.1", - "node-fetch": "^3.2.10", + "node-fetch": "^3.3.0", "sirv": "^2.0.2" } } diff --git a/playground/preload/package.json b/playground/preload/package.json index 1bf632dd4f02c5..12859e7951138d 100644 --- a/playground/preload/package.json +++ b/playground/preload/package.json @@ -17,7 +17,7 @@ "preview:preload-disabled": "vite preview --config vite.config-preload-disabled.ts" }, "dependencies": { - "vue": "^3.2.41", + "vue": "^3.2.45", "vue-router": "^4.1.6" }, "devDependencies": { diff --git a/playground/ssr-vue/package.json b/playground/ssr-vue/package.json index 2b9686405d00fc..85d71d5d6945d6 100644 --- a/playground/ssr-vue/package.json +++ b/playground/ssr-vue/package.json @@ -17,7 +17,7 @@ "dependencies": { "example-external-component": "file:example-external-component", "pinia": "^2.0.23", - "vue": "^3.2.41", + "vue": "^3.2.45", "vue-router": "^4.1.6" }, "devDependencies": { diff --git a/playground/tailwind-sourcemap/package.json b/playground/tailwind-sourcemap/package.json index e449d9eaf17c2d..b78bfa043c38a3 100644 --- a/playground/tailwind-sourcemap/package.json +++ b/playground/tailwind-sourcemap/package.json @@ -9,6 +9,6 @@ "preview": "vite preview" }, "dependencies": { - "tailwindcss": "^3.2.2" + "tailwindcss": "^3.2.4" } } diff --git a/playground/tailwind/package.json b/playground/tailwind/package.json index 6152f8ee7046ad..ec823d2016ef3b 100644 --- a/playground/tailwind/package.json +++ b/playground/tailwind/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "autoprefixer": "^10.4.13", - "tailwindcss": "^3.2.2", - "vue": "^3.2.41", + "tailwindcss": "^3.2.4", + "vue": "^3.2.45", "vue-router": "^4.1.6" }, "devDependencies": { diff --git a/playground/vue-jsx/package.json b/playground/vue-jsx/package.json index b1233f58d33417..93cc7b3ece32d8 100644 --- a/playground/vue-jsx/package.json +++ b/playground/vue-jsx/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" }, "devDependencies": { "@vitejs/plugin-vue": "workspace:*", diff --git a/playground/vue-legacy/package.json b/playground/vue-legacy/package.json index 77b810bb28a164..7d102dcbadaea1 100644 --- a/playground/vue-legacy/package.json +++ b/playground/vue-legacy/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" }, "devDependencies": { "@vitejs/plugin-vue": "workspace:*", diff --git a/playground/vue-lib/package.json b/playground/vue-lib/package.json index f8f10ac1724a22..6a96a8cae661ae 100644 --- a/playground/vue-lib/package.json +++ b/playground/vue-lib/package.json @@ -9,7 +9,7 @@ "build-consumer": "vite build --config ./vite.config.consumer.ts" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" }, "devDependencies": { "@vitejs/plugin-vue": "workspace:*" diff --git a/playground/vue-server-origin/package.json b/playground/vue-server-origin/package.json index aa05838faf82d5..b5d1d345828888 100644 --- a/playground/vue-server-origin/package.json +++ b/playground/vue-server-origin/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" }, "devDependencies": { "@vitejs/plugin-vue": "workspace:*" diff --git a/playground/vue-sourcemap/package.json b/playground/vue-sourcemap/package.json index 92073bf1c0e205..5d1f164595dc2f 100644 --- a/playground/vue-sourcemap/package.json +++ b/playground/vue-sourcemap/package.json @@ -12,9 +12,9 @@ "@vitejs/plugin-vue": "workspace:*", "less": "^4.1.3", "postcss-nested": "^5.0.6", - "sass": "^1.56.0" + "sass": "^1.56.1" }, "dependencies": { - "vue": "^3.2.41" + "vue": "^3.2.45" } } diff --git a/playground/vue/__tests__/vue.spec.ts b/playground/vue/__tests__/vue.spec.ts index 51dbf82a480aff..828ede276b0729 100644 --- a/playground/vue/__tests__/vue.spec.ts +++ b/playground/vue/__tests__/vue.spec.ts @@ -188,7 +188,7 @@ describe('hmr', () => { }) test('should re-render when template is emptied', async () => { - editFile('Hmr.vue', () => '') + editFile('Hmr.vue', (code) => code.replace(/