diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index d5c31beffba..3ef9bbce54b 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -31,4 +31,4 @@ jobs: - name: Run prettier run: pnpm run format - - uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c + - uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef diff --git a/.github/workflows/size-report.yml b/.github/workflows/size-report.yml index f9d2052b69c..0bfe4649e37 100644 --- a/.github/workflows/size-report.yml +++ b/.github/workflows/size-report.yml @@ -37,7 +37,7 @@ jobs: run: pnpm install - name: Download Size Data - uses: dawidd6/action-download-artifact@v6 + uses: dawidd6/action-download-artifact@v7 with: name: size-data run_id: ${{ github.event.workflow_run.id }} @@ -56,7 +56,7 @@ jobs: path: temp/size/base.txt - name: Download Previous Size Data - uses: dawidd6/action-download-artifact@v6 + uses: dawidd6/action-download-artifact@v7 with: branch: ${{ steps.pr-base.outputs.content }} workflow: size-data.yml diff --git a/package.json b/package.json index c14fc868e0f..0e7fbf86e29 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "version": "3.5.13", - "packageManager": "pnpm@9.15.2", + "packageManager": "pnpm@9.15.4", "type": "module", "scripts": { "dev": "node scripts/dev.js", @@ -69,23 +69,23 @@ "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-replace": "5.0.4", - "@swc/core": "^1.10.3", + "@swc/core": "^1.10.11", "@types/hash-sum": "^1.0.2", - "@types/node": "^22.10.2", + "@types/node": "^22.12.0", "@types/semver": "^7.5.8", "@types/serve-handler": "^6.1.4", - "@vitest/coverage-v8": "^2.1.8", + "@vitest/coverage-v8": "^3.0.2", "@vue/consolidate": "1.0.0", "conventional-changelog-cli": "^5.0.0", "enquirer": "^2.4.1", "esbuild": "^0.24.2", "esbuild-plugin-polyfill-node": "^0.3.0", - "eslint": "^9.17.0", + "eslint": "^9.18.0", "eslint-plugin-import-x": "^4.6.1", - "@vitest/eslint-plugin": "^1.1.20", + "@vitest/eslint-plugin": "^1.1.25", "estree-walker": "catalog:", - "jsdom": "^25.0.1", - "lint-staged": "^15.2.11", + "jsdom": "^26.0.0", + "lint-staged": "^15.4.1", "lodash": "^4.17.21", "magic-string": "^0.30.17", "markdown-table": "^3.0.4", @@ -95,9 +95,9 @@ "prettier": "^3.4.2", "pretty-bytes": "^6.1.1", "pug": "^3.0.3", - "puppeteer": "~23.3.0", + "puppeteer": "~24.1.0", "rimraf": "^6.0.1", - "rollup": "^4.29.1", + "rollup": "^4.32.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-esbuild": "^6.1.1", "rollup-plugin-polyfill-node": "^0.13.0", @@ -108,9 +108,9 @@ "todomvc-app-css": "^2.4.3", "tslib": "^2.8.1", "typescript": "~5.6.2", - "typescript-eslint": "^8.18.1", + "typescript-eslint": "^8.20.0", "vite": "catalog:", - "vitest": "^2.1.8" + "vitest": "^3.0.2" }, "pnpm": { "peerDependencyRules": { diff --git a/packages-private/sfc-playground/package.json b/packages-private/sfc-playground/package.json index 51175417ddf..e7ea7f37027 100644 --- a/packages-private/sfc-playground/package.json +++ b/packages-private/sfc-playground/package.json @@ -13,7 +13,7 @@ "vite": "catalog:" }, "dependencies": { - "@vue/repl": "^4.4.2", + "@vue/repl": "^4.4.3", "file-saver": "^2.0.5", "jszip": "^3.10.1", "vue": "workspace:*" diff --git a/packages-private/sfc-playground/src/download/template/package.json b/packages-private/sfc-playground/src/download/template/package.json index 65ca0e7a50d..19d74773e0d 100644 --- a/packages-private/sfc-playground/src/download/template/package.json +++ b/packages-private/sfc-playground/src/download/template/package.json @@ -12,6 +12,6 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", - "vite": "^6.0.6" + "vite": "^6.0.11" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 77a5146e52f..8340c076d32 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -49,7 +49,7 @@ "@vue/shared": "workspace:*", "estree-walker": "catalog:", "magic-string": "catalog:", - "postcss": "^8.4.49", + "postcss": "^8.5.1", "source-map-js": "catalog:" }, "devDependencies": { @@ -58,10 +58,10 @@ "hash-sum": "^2.0.0", "lru-cache": "10.1.0", "merge-source-map": "^1.1.0", - "minimatch": "~9.0.5", + "minimatch": "~10.0.1", "postcss-modules": "^6.0.1", "postcss-selector-parser": "^7.0.0", "pug": "^3.0.3", - "sass": "^1.83.0" + "sass": "^1.83.4" } } diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index fee05beed96..962b7bc7936 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -170,8 +170,6 @@ export function compileScript( const scriptLang = script && script.lang const scriptSetupLang = scriptSetup && scriptSetup.lang - let refBindings: string[] | undefined - if (!scriptSetup) { if (!script) { throw new Error(`[@vue/compiler-sfc] SFC contains no