Skip to content

Commit 66c6902

Browse files
authored
merge minor into vapor
1 parent 9ab8e4c commit 66c6902

File tree

10 files changed

+563
-517
lines changed

10 files changed

+563
-517
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Please make sure to respect issue requirements and use [the new issue helper](ht
3434

3535
## Stay In Touch
3636

37-
- [Twitter](https://twitter.com/vuejs)
37+
- [X](https://x.com/vuejs)
3838
- [Blog](https://blog.vuejs.org/)
3939
- [Job Board](https://vuejobs.com/?ref=vuejs)
4040

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"version": "3.5.13",
4-
"packageManager": "pnpm@10.6.5",
4+
"packageManager": "pnpm@10.7.0",
55
"type": "module",
66
"scripts": {
77
"dev": "node scripts/dev.js",
@@ -69,21 +69,21 @@
6969
"@rollup/plugin-json": "^6.1.0",
7070
"@rollup/plugin-node-resolve": "^16.0.1",
7171
"@rollup/plugin-replace": "5.0.4",
72-
"@swc/core": "^1.11.12",
72+
"@swc/core": "^1.11.13",
7373
"@types/hash-sum": "^1.0.2",
74-
"@types/node": "^22.13.13",
75-
"@types/semver": "^7.5.8",
74+
"@types/node": "^22.13.14",
75+
"@types/semver": "^7.7.0",
7676
"@types/serve-handler": "^6.1.4",
7777
"@vitest/ui": "^3.0.2",
7878
"@vitest/coverage-v8": "^3.0.9",
7979
"@vitest/eslint-plugin": "^1.1.38",
8080
"@vue/consolidate": "1.0.0",
8181
"conventional-changelog-cli": "^5.0.0",
8282
"enquirer": "^2.4.1",
83-
"esbuild": "^0.25.1",
83+
"esbuild": "^0.25.2",
8484
"esbuild-plugin-polyfill-node": "^0.3.0",
8585
"eslint": "^9.23.0",
86-
"eslint-plugin-import-x": "^4.9.1",
86+
"eslint-plugin-import-x": "^4.9.4",
8787
"estree-walker": "catalog:",
8888
"jsdom": "^26.0.0",
8989
"lint-staged": "^15.5.0",
@@ -98,7 +98,7 @@
9898
"pug": "^3.0.3",
9999
"puppeteer": "~24.4.0",
100100
"rimraf": "^6.0.1",
101-
"rollup": "^4.37.0",
101+
"rollup": "^4.38.0",
102102
"rollup-plugin-dts": "^6.2.1",
103103
"rollup-plugin-esbuild": "^6.2.1",
104104
"rollup-plugin-polyfill-node": "^0.13.0",
@@ -109,7 +109,7 @@
109109
"todomvc-app-css": "^2.4.3",
110110
"tslib": "^2.8.1",
111111
"typescript": "~5.6.2",
112-
"typescript-eslint": "^8.27.0",
112+
"typescript-eslint": "^8.28.0",
113113
"vite": "catalog:",
114114
"vitest": "^3.0.9"
115115
},

packages-private/sfc-playground/src/download/template/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
},
1313
"devDependencies": {
1414
"@vitejs/plugin-vue": "^5.2.3",
15-
"vite": "^6.2.2"
15+
"vite": "^6.2.3"
1616
}
1717
}

packages/compiler-core/src/parser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ const tokenizer = new Tokenizer(stack, {
388388
CompilerDeprecationTypes.COMPILER_V_BIND_SYNC,
389389
currentOptions,
390390
currentProp.loc,
391-
currentProp.rawName,
391+
currentProp.arg!.loc.source,
392392
)
393393
) {
394394
currentProp.name = 'model'

packages/reactivity/src/computed.ts

-6
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@ export class ComputedRefImpl<T = any> implements Dependency, Subscriber {
119119
// dev only
120120
onTrigger?: (event: DebuggerEvent) => void
121121

122-
/**
123-
* Dev only
124-
* @internal
125-
*/
126-
_warnRecursive?: boolean
127-
128122
constructor(
129123
public fn: ComputedGetter<T>,
130124
private readonly setter: ComputedSetter<T> | undefined,
+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
import { type ComputedRefImpl, computed as _computed } from '@vue/reactivity'
2-
import { getCurrentInstance, isInSSRComponentSetup } from './component'
1+
import { computed as _computed } from '@vue/reactivity'
2+
import { isInSSRComponentSetup } from './component'
33

44
export const computed: typeof _computed = (
55
getterOrOptions: any,
66
debugOptions?: any,
77
) => {
88
// @ts-expect-error
9-
const c = _computed(getterOrOptions, debugOptions, isInSSRComponentSetup)
10-
if (__DEV__) {
11-
const i = getCurrentInstance()
12-
if (i && i.appContext.config.warnRecursiveComputed) {
13-
;(c as unknown as ComputedRefImpl<any>)._warnRecursive = true
14-
}
15-
}
16-
return c as any
9+
return _computed(getterOrOptions, debugOptions, isInSSRComponentSetup) as any
1710
}

packages/runtime-core/src/apiCreateApp.ts

-6
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,6 @@ export interface GenericAppConfig {
140140
trace: string,
141141
) => void
142142

143-
/**
144-
* TODO document for 3.5
145-
* Enable warnings for computed getters that recursively trigger itself.
146-
*/
147-
warnRecursiveComputed?: boolean
148-
149143
/**
150144
* Whether to throw unhandled errors in production.
151145
* Default is `false` to avoid crashing on any error (and only logs it)

packages/shared/src/domAttrConfig.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,12 @@ export function shouldSetAsAttr(tagName: string, key: string): boolean {
163163
// them as attributes.
164164
// Note that `contentEditable` doesn't have this problem: its DOM
165165
// property is also enumerated string values.
166-
if (key === 'spellcheck' || key === 'draggable' || key === 'translate') {
166+
if (
167+
key === 'spellcheck' ||
168+
key === 'draggable' ||
169+
key === 'translate' ||
170+
key === 'autocorrect'
171+
) {
167172
return true
168173
}
169174

0 commit comments

Comments
 (0)