@vue/runtime-core 3.5.2 → 3.5.3
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.5.
|
|
2
|
+
* @vue/runtime-core v3.5.3
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1399,6 +1399,7 @@ function getInnerChild$1(vnode) {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
function setTransitionHooks(vnode, hooks) {
|
|
1401
1401
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
1402
|
+
vnode.transition = hooks;
|
|
1402
1403
|
setTransitionHooks(vnode.component.subTree, hooks);
|
|
1403
1404
|
} else if (vnode.shapeFlag & 128) {
|
|
1404
1405
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
@@ -1443,7 +1444,7 @@ function defineComponent(options, extraOptions) {
|
|
|
1443
1444
|
function useId() {
|
|
1444
1445
|
const i = getCurrentInstance();
|
|
1445
1446
|
if (i) {
|
|
1446
|
-
return (i.appContext.config.idPrefix || "v") + "
|
|
1447
|
+
return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
|
|
1447
1448
|
} else {
|
|
1448
1449
|
warn$1(
|
|
1449
1450
|
`useId() is called when there is no active component instance to be associated with.`
|
|
@@ -5159,7 +5160,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5159
5160
|
endMeasure(instance, `hydrate`);
|
|
5160
5161
|
}
|
|
5161
5162
|
};
|
|
5162
|
-
if (isAsyncWrapperVNode) {
|
|
5163
|
+
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
5163
5164
|
type.__asyncHydrate(
|
|
5164
5165
|
el,
|
|
5165
5166
|
instance,
|
|
@@ -6330,8 +6331,7 @@ function renderComponentRoot(instance) {
|
|
|
6330
6331
|
data,
|
|
6331
6332
|
setupState,
|
|
6332
6333
|
ctx,
|
|
6333
|
-
inheritAttrs
|
|
6334
|
-
isMounted
|
|
6334
|
+
inheritAttrs
|
|
6335
6335
|
} = instance;
|
|
6336
6336
|
const prev = setCurrentRenderingInstance(instance);
|
|
6337
6337
|
let result;
|
|
@@ -6451,7 +6451,7 @@ function renderComponentRoot(instance) {
|
|
|
6451
6451
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
6452
6452
|
);
|
|
6453
6453
|
}
|
|
6454
|
-
root
|
|
6454
|
+
setTransitionHooks(root, vnode.transition);
|
|
6455
6455
|
}
|
|
6456
6456
|
if (setRoot) {
|
|
6457
6457
|
setRoot(root);
|
|
@@ -8231,7 +8231,7 @@ function isMemoSame(cached, memo) {
|
|
|
8231
8231
|
return true;
|
|
8232
8232
|
}
|
|
8233
8233
|
|
|
8234
|
-
const version = "3.5.
|
|
8234
|
+
const version = "3.5.3";
|
|
8235
8235
|
const warn = warn$1 ;
|
|
8236
8236
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8237
8237
|
const devtools = devtools$1 ;
|
|
@@ -8244,7 +8244,9 @@ const _ssrUtils = {
|
|
|
8244
8244
|
isVNode: isVNode,
|
|
8245
8245
|
normalizeVNode,
|
|
8246
8246
|
getComponentPublicInstance,
|
|
8247
|
-
ensureValidVNode
|
|
8247
|
+
ensureValidVNode,
|
|
8248
|
+
pushWarningContext,
|
|
8249
|
+
popWarningContext
|
|
8248
8250
|
};
|
|
8249
8251
|
const ssrUtils = _ssrUtils ;
|
|
8250
8252
|
const resolveFilter = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.3
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -10,6 +10,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
var reactivity = require('@vue/reactivity');
|
|
11
11
|
var shared = require('@vue/shared');
|
|
12
12
|
|
|
13
|
+
function pushWarningContext(vnode) {
|
|
14
|
+
}
|
|
15
|
+
function popWarningContext() {
|
|
16
|
+
}
|
|
13
17
|
function assertNumber(val, type) {
|
|
14
18
|
return;
|
|
15
19
|
}
|
|
@@ -967,6 +971,7 @@ function getInnerChild$1(vnode) {
|
|
|
967
971
|
}
|
|
968
972
|
function setTransitionHooks(vnode, hooks) {
|
|
969
973
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
974
|
+
vnode.transition = hooks;
|
|
970
975
|
setTransitionHooks(vnode.component.subTree, hooks);
|
|
971
976
|
} else if (vnode.shapeFlag & 128) {
|
|
972
977
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
@@ -1011,7 +1016,7 @@ function defineComponent(options, extraOptions) {
|
|
|
1011
1016
|
function useId() {
|
|
1012
1017
|
const i = getCurrentInstance();
|
|
1013
1018
|
if (i) {
|
|
1014
|
-
return (i.appContext.config.idPrefix || "v") + "
|
|
1019
|
+
return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
|
|
1015
1020
|
}
|
|
1016
1021
|
}
|
|
1017
1022
|
function markAsyncBoundary(instance) {
|
|
@@ -3928,7 +3933,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3928
3933
|
null
|
|
3929
3934
|
);
|
|
3930
3935
|
};
|
|
3931
|
-
if (isAsyncWrapperVNode) {
|
|
3936
|
+
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
3932
3937
|
type.__asyncHydrate(
|
|
3933
3938
|
el,
|
|
3934
3939
|
instance,
|
|
@@ -4956,8 +4961,7 @@ function renderComponentRoot(instance) {
|
|
|
4956
4961
|
data,
|
|
4957
4962
|
setupState,
|
|
4958
4963
|
ctx,
|
|
4959
|
-
inheritAttrs
|
|
4960
|
-
isMounted
|
|
4964
|
+
inheritAttrs
|
|
4961
4965
|
} = instance;
|
|
4962
4966
|
const prev = setCurrentRenderingInstance(instance);
|
|
4963
4967
|
let result;
|
|
@@ -5034,7 +5038,7 @@ function renderComponentRoot(instance) {
|
|
|
5034
5038
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
5035
5039
|
}
|
|
5036
5040
|
if (vnode.transition) {
|
|
5037
|
-
root
|
|
5041
|
+
setTransitionHooks(root, vnode.transition);
|
|
5038
5042
|
}
|
|
5039
5043
|
{
|
|
5040
5044
|
result = root;
|
|
@@ -6395,7 +6399,7 @@ function isMemoSame(cached, memo) {
|
|
|
6395
6399
|
return true;
|
|
6396
6400
|
}
|
|
6397
6401
|
|
|
6398
|
-
const version = "3.5.
|
|
6402
|
+
const version = "3.5.3";
|
|
6399
6403
|
const warn$1 = shared.NOOP;
|
|
6400
6404
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6401
6405
|
const devtools = void 0;
|
|
@@ -6408,7 +6412,9 @@ const _ssrUtils = {
|
|
|
6408
6412
|
isVNode: isVNode,
|
|
6409
6413
|
normalizeVNode,
|
|
6410
6414
|
getComponentPublicInstance,
|
|
6411
|
-
ensureValidVNode
|
|
6415
|
+
ensureValidVNode,
|
|
6416
|
+
pushWarningContext,
|
|
6417
|
+
popWarningContext
|
|
6412
6418
|
};
|
|
6413
6419
|
const ssrUtils = _ssrUtils ;
|
|
6414
6420
|
const resolveFilter = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.3
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1403,6 +1403,7 @@ function getInnerChild$1(vnode) {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
function setTransitionHooks(vnode, hooks) {
|
|
1405
1405
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
1406
|
+
vnode.transition = hooks;
|
|
1406
1407
|
setTransitionHooks(vnode.component.subTree, hooks);
|
|
1407
1408
|
} else if (vnode.shapeFlag & 128) {
|
|
1408
1409
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
@@ -1447,7 +1448,7 @@ function defineComponent(options, extraOptions) {
|
|
|
1447
1448
|
function useId() {
|
|
1448
1449
|
const i = getCurrentInstance();
|
|
1449
1450
|
if (i) {
|
|
1450
|
-
return (i.appContext.config.idPrefix || "v") + "
|
|
1451
|
+
return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
|
|
1451
1452
|
} else if (!!(process.env.NODE_ENV !== "production")) {
|
|
1452
1453
|
warn$1(
|
|
1453
1454
|
`useId() is called when there is no active component instance to be associated with.`
|
|
@@ -5216,7 +5217,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5216
5217
|
endMeasure(instance, `hydrate`);
|
|
5217
5218
|
}
|
|
5218
5219
|
};
|
|
5219
|
-
if (isAsyncWrapperVNode) {
|
|
5220
|
+
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
5220
5221
|
type.__asyncHydrate(
|
|
5221
5222
|
el,
|
|
5222
5223
|
instance,
|
|
@@ -6387,8 +6388,7 @@ function renderComponentRoot(instance) {
|
|
|
6387
6388
|
data,
|
|
6388
6389
|
setupState,
|
|
6389
6390
|
ctx,
|
|
6390
|
-
inheritAttrs
|
|
6391
|
-
isMounted
|
|
6391
|
+
inheritAttrs
|
|
6392
6392
|
} = instance;
|
|
6393
6393
|
const prev = setCurrentRenderingInstance(instance);
|
|
6394
6394
|
let result;
|
|
@@ -6508,7 +6508,7 @@ function renderComponentRoot(instance) {
|
|
|
6508
6508
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
6509
6509
|
);
|
|
6510
6510
|
}
|
|
6511
|
-
root
|
|
6511
|
+
setTransitionHooks(root, vnode.transition);
|
|
6512
6512
|
}
|
|
6513
6513
|
if (!!(process.env.NODE_ENV !== "production") && setRoot) {
|
|
6514
6514
|
setRoot(root);
|
|
@@ -8302,7 +8302,7 @@ function isMemoSame(cached, memo) {
|
|
|
8302
8302
|
return true;
|
|
8303
8303
|
}
|
|
8304
8304
|
|
|
8305
|
-
const version = "3.5.
|
|
8305
|
+
const version = "3.5.3";
|
|
8306
8306
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8307
8307
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8308
8308
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -8315,7 +8315,9 @@ const _ssrUtils = {
|
|
|
8315
8315
|
isVNode: isVNode,
|
|
8316
8316
|
normalizeVNode,
|
|
8317
8317
|
getComponentPublicInstance,
|
|
8318
|
-
ensureValidVNode
|
|
8318
|
+
ensureValidVNode,
|
|
8319
|
+
pushWarningContext,
|
|
8320
|
+
popWarningContext
|
|
8319
8321
|
};
|
|
8320
8322
|
const ssrUtils = _ssrUtils ;
|
|
8321
8323
|
const resolveFilter = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
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/shared": "3.5.
|
|
50
|
-
"@vue/reactivity": "3.5.
|
|
49
|
+
"@vue/shared": "3.5.3",
|
|
50
|
+
"@vue/reactivity": "3.5.3"
|
|
51
51
|
}
|
|
52
52
|
}
|