@vue/runtime-core 3.4.35 → 3.4.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/runtime-core.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.4.
|
|
2
|
+
* @vue/runtime-core v3.4.36
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3905,6 +3905,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
3905
3905
|
}
|
|
3906
3906
|
if (props) {
|
|
3907
3907
|
{
|
|
3908
|
+
const isCustomElement = el.tagName.includes("-");
|
|
3908
3909
|
for (const key in props) {
|
|
3909
3910
|
if (// #11189 skip if this node has directives that have created hooks
|
|
3910
3911
|
// as it could have mutated the DOM in any possible way
|
|
@@ -3912,7 +3913,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
3912
3913
|
logMismatchError();
|
|
3913
3914
|
}
|
|
3914
3915
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || shared.isOn(key) && !shared.isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
3915
|
-
key[0] === ".") {
|
|
3916
|
+
key[0] === "." || isCustomElement) {
|
|
3916
3917
|
patchProp(el, key, null, props[key], void 0, parentComponent);
|
|
3917
3918
|
}
|
|
3918
3919
|
}
|
|
@@ -8133,7 +8134,7 @@ function isMemoSame(cached, memo) {
|
|
|
8133
8134
|
return true;
|
|
8134
8135
|
}
|
|
8135
8136
|
|
|
8136
|
-
const version = "3.4.
|
|
8137
|
+
const version = "3.4.36";
|
|
8137
8138
|
const warn = warn$1 ;
|
|
8138
8139
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8139
8140
|
const devtools = devtools$1 ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.4.
|
|
2
|
+
* @vue/runtime-core v3.4.36
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2939,9 +2939,10 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
2939
2939
|
}
|
|
2940
2940
|
if (props) {
|
|
2941
2941
|
if (forcePatch || !optimized || patchFlag & (16 | 32)) {
|
|
2942
|
+
const isCustomElement = el.tagName.includes("-");
|
|
2942
2943
|
for (const key in props) {
|
|
2943
2944
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || shared.isOn(key) && !shared.isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
2944
|
-
key[0] === ".") {
|
|
2945
|
+
key[0] === "." || isCustomElement) {
|
|
2945
2946
|
patchProp(el, key, null, props[key], void 0, parentComponent);
|
|
2946
2947
|
}
|
|
2947
2948
|
}
|
|
@@ -6305,7 +6306,7 @@ function isMemoSame(cached, memo) {
|
|
|
6305
6306
|
return true;
|
|
6306
6307
|
}
|
|
6307
6308
|
|
|
6308
|
-
const version = "3.4.
|
|
6309
|
+
const version = "3.4.36";
|
|
6309
6310
|
const warn$1 = shared.NOOP;
|
|
6310
6311
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6311
6312
|
const devtools = void 0;
|
package/dist/runtime-core.d.ts
CHANGED
|
@@ -1356,7 +1356,7 @@ type InferDefaults<T> = {
|
|
|
1356
1356
|
type NativeType = null | number | string | boolean | symbol | Function;
|
|
1357
1357
|
type InferDefault<P, T> = ((props: P) => T & {}) | (T extends NativeType ? T : never);
|
|
1358
1358
|
type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = Readonly<MappedOmit<T, keyof Defaults>> & {
|
|
1359
|
-
readonly [K in keyof Defaults]-?: K extends keyof T ? Defaults[K] extends undefined ? T[K] : NotUndefined<T[K]> : never;
|
|
1359
|
+
readonly [K in keyof Defaults]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never;
|
|
1360
1360
|
} & {
|
|
1361
1361
|
readonly [K in BKeys]-?: K extends keyof Defaults ? Defaults[K] extends undefined ? boolean | undefined : boolean : boolean;
|
|
1362
1362
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.4.
|
|
2
|
+
* @vue/runtime-core v3.4.36
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3911,6 +3911,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
3911
3911
|
}
|
|
3912
3912
|
if (props) {
|
|
3913
3913
|
if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ || forcePatch || !optimized || patchFlag & (16 | 32)) {
|
|
3914
|
+
const isCustomElement = el.tagName.includes("-");
|
|
3914
3915
|
for (const key in props) {
|
|
3915
3916
|
if ((!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && // #11189 skip if this node has directives that have created hooks
|
|
3916
3917
|
// as it could have mutated the DOM in any possible way
|
|
@@ -3918,7 +3919,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
3918
3919
|
logMismatchError();
|
|
3919
3920
|
}
|
|
3920
3921
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
3921
|
-
key[0] === ".") {
|
|
3922
|
+
key[0] === "." || isCustomElement) {
|
|
3922
3923
|
patchProp(el, key, null, props[key], void 0, parentComponent);
|
|
3923
3924
|
}
|
|
3924
3925
|
}
|
|
@@ -8202,7 +8203,7 @@ function isMemoSame(cached, memo) {
|
|
|
8202
8203
|
return true;
|
|
8203
8204
|
}
|
|
8204
8205
|
|
|
8205
|
-
const version = "3.4.
|
|
8206
|
+
const version = "3.4.36";
|
|
8206
8207
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8207
8208
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8208
8209
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.36",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/
|
|
50
|
-
"@vue/
|
|
49
|
+
"@vue/reactivity": "3.4.36",
|
|
50
|
+
"@vue/shared": "3.4.36"
|
|
51
51
|
}
|
|
52
52
|
}
|