@vue/compat 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/vue.cjs.js +15 -10
- package/dist/vue.cjs.prod.js +19 -10
- package/dist/vue.esm-browser.js +15 -10
- package/dist/vue.esm-browser.prod.js +3 -3
- package/dist/vue.esm-bundler.js +15 -10
- package/dist/vue.global.js +12 -9
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +15 -10
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +15 -10
- package/dist/vue.runtime.global.js +12 -9
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.3
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -621,6 +621,9 @@ function isDirty(sub) {
|
|
|
621
621
|
return false;
|
|
622
622
|
}
|
|
623
623
|
function refreshComputed(computed) {
|
|
624
|
+
if (computed.flags & 2) {
|
|
625
|
+
return false;
|
|
626
|
+
}
|
|
624
627
|
if (computed.flags & 4 && !(computed.flags & 16)) {
|
|
625
628
|
return;
|
|
626
629
|
}
|
|
@@ -1905,8 +1908,8 @@ class ComputedRefImpl {
|
|
|
1905
1908
|
* @internal
|
|
1906
1909
|
*/
|
|
1907
1910
|
notify() {
|
|
1908
|
-
this.flags |= 16;
|
|
1909
1911
|
if (activeSub !== this) {
|
|
1912
|
+
this.flags |= 16;
|
|
1910
1913
|
this.dep.notify();
|
|
1911
1914
|
} else if (!!(process.env.NODE_ENV !== "production")) ;
|
|
1912
1915
|
}
|
|
@@ -4102,6 +4105,7 @@ function getInnerChild$1(vnode) {
|
|
|
4102
4105
|
}
|
|
4103
4106
|
function setTransitionHooks(vnode, hooks) {
|
|
4104
4107
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
4108
|
+
vnode.transition = hooks;
|
|
4105
4109
|
setTransitionHooks(vnode.component.subTree, hooks);
|
|
4106
4110
|
} else if (vnode.shapeFlag & 128) {
|
|
4107
4111
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
@@ -4146,7 +4150,7 @@ function defineComponent(options, extraOptions) {
|
|
|
4146
4150
|
function useId() {
|
|
4147
4151
|
const i = getCurrentInstance();
|
|
4148
4152
|
if (i) {
|
|
4149
|
-
return (i.appContext.config.idPrefix || "v") + "
|
|
4153
|
+
return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
|
|
4150
4154
|
} else if (!!(process.env.NODE_ENV !== "production")) {
|
|
4151
4155
|
warn$1(
|
|
4152
4156
|
`useId() is called when there is no active component instance to be associated with.`
|
|
@@ -7064,7 +7068,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7064
7068
|
return vm;
|
|
7065
7069
|
}
|
|
7066
7070
|
}
|
|
7067
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7071
|
+
Vue.version = `2.6.14-compat:${"3.5.3"}`;
|
|
7068
7072
|
Vue.config = singletonApp.config;
|
|
7069
7073
|
Vue.use = (plugin, ...options) => {
|
|
7070
7074
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -9009,7 +9013,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
9009
9013
|
endMeasure(instance, `hydrate`);
|
|
9010
9014
|
}
|
|
9011
9015
|
};
|
|
9012
|
-
if (isAsyncWrapperVNode) {
|
|
9016
|
+
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
9013
9017
|
type.__asyncHydrate(
|
|
9014
9018
|
el,
|
|
9015
9019
|
instance,
|
|
@@ -10217,8 +10221,7 @@ function renderComponentRoot(instance) {
|
|
|
10217
10221
|
data,
|
|
10218
10222
|
setupState,
|
|
10219
10223
|
ctx,
|
|
10220
|
-
inheritAttrs
|
|
10221
|
-
isMounted
|
|
10224
|
+
inheritAttrs
|
|
10222
10225
|
} = instance;
|
|
10223
10226
|
const prev = setCurrentRenderingInstance(instance);
|
|
10224
10227
|
let result;
|
|
@@ -10359,7 +10362,7 @@ function renderComponentRoot(instance) {
|
|
|
10359
10362
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
10360
10363
|
);
|
|
10361
10364
|
}
|
|
10362
|
-
root
|
|
10365
|
+
setTransitionHooks(root, vnode.transition);
|
|
10363
10366
|
}
|
|
10364
10367
|
if (!!(process.env.NODE_ENV !== "production") && setRoot) {
|
|
10365
10368
|
setRoot(root);
|
|
@@ -12232,7 +12235,7 @@ function isMemoSame(cached, memo) {
|
|
|
12232
12235
|
return true;
|
|
12233
12236
|
}
|
|
12234
12237
|
|
|
12235
|
-
const version = "3.5.
|
|
12238
|
+
const version = "3.5.3";
|
|
12236
12239
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
12237
12240
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12238
12241
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -12245,7 +12248,9 @@ const _ssrUtils = {
|
|
|
12245
12248
|
isVNode: isVNode,
|
|
12246
12249
|
normalizeVNode,
|
|
12247
12250
|
getComponentPublicInstance,
|
|
12248
|
-
ensureValidVNode
|
|
12251
|
+
ensureValidVNode,
|
|
12252
|
+
pushWarningContext,
|
|
12253
|
+
popWarningContext
|
|
12249
12254
|
};
|
|
12250
12255
|
const ssrUtils = _ssrUtils ;
|
|
12251
12256
|
const resolveFilter = resolveFilter$1 ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.3
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -624,6 +624,9 @@ var Vue = (function () {
|
|
|
624
624
|
return false;
|
|
625
625
|
}
|
|
626
626
|
function refreshComputed(computed) {
|
|
627
|
+
if (computed.flags & 2) {
|
|
628
|
+
return false;
|
|
629
|
+
}
|
|
627
630
|
if (computed.flags & 4 && !(computed.flags & 16)) {
|
|
628
631
|
return;
|
|
629
632
|
}
|
|
@@ -1898,8 +1901,8 @@ var Vue = (function () {
|
|
|
1898
1901
|
* @internal
|
|
1899
1902
|
*/
|
|
1900
1903
|
notify() {
|
|
1901
|
-
this.flags |= 16;
|
|
1902
1904
|
if (activeSub !== this) {
|
|
1905
|
+
this.flags |= 16;
|
|
1903
1906
|
this.dep.notify();
|
|
1904
1907
|
}
|
|
1905
1908
|
}
|
|
@@ -4086,6 +4089,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
4086
4089
|
}
|
|
4087
4090
|
function setTransitionHooks(vnode, hooks) {
|
|
4088
4091
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
4092
|
+
vnode.transition = hooks;
|
|
4089
4093
|
setTransitionHooks(vnode.component.subTree, hooks);
|
|
4090
4094
|
} else if (vnode.shapeFlag & 128) {
|
|
4091
4095
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
@@ -4130,7 +4134,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
4130
4134
|
function useId() {
|
|
4131
4135
|
const i = getCurrentInstance();
|
|
4132
4136
|
if (i) {
|
|
4133
|
-
return (i.appContext.config.idPrefix || "v") + "
|
|
4137
|
+
return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
|
|
4134
4138
|
} else {
|
|
4135
4139
|
warn$1(
|
|
4136
4140
|
`useId() is called when there is no active component instance to be associated with.`
|
|
@@ -7026,7 +7030,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
7026
7030
|
return vm;
|
|
7027
7031
|
}
|
|
7028
7032
|
}
|
|
7029
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7033
|
+
Vue.version = `2.6.14-compat:${"3.5.3"}`;
|
|
7030
7034
|
Vue.config = singletonApp.config;
|
|
7031
7035
|
Vue.use = (plugin, ...options) => {
|
|
7032
7036
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -8931,7 +8935,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8931
8935
|
endMeasure(instance, `hydrate`);
|
|
8932
8936
|
}
|
|
8933
8937
|
};
|
|
8934
|
-
if (isAsyncWrapperVNode) {
|
|
8938
|
+
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
8935
8939
|
type.__asyncHydrate(
|
|
8936
8940
|
el,
|
|
8937
8941
|
instance,
|
|
@@ -10117,8 +10121,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
10117
10121
|
data,
|
|
10118
10122
|
setupState,
|
|
10119
10123
|
ctx,
|
|
10120
|
-
inheritAttrs
|
|
10121
|
-
isMounted
|
|
10124
|
+
inheritAttrs
|
|
10122
10125
|
} = instance;
|
|
10123
10126
|
const prev = setCurrentRenderingInstance(instance);
|
|
10124
10127
|
let result;
|
|
@@ -10259,7 +10262,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
10259
10262
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
10260
10263
|
);
|
|
10261
10264
|
}
|
|
10262
|
-
root
|
|
10265
|
+
setTransitionHooks(root, vnode.transition);
|
|
10263
10266
|
}
|
|
10264
10267
|
if (setRoot) {
|
|
10265
10268
|
setRoot(root);
|
|
@@ -12104,7 +12107,7 @@ Component that was made reactive: `,
|
|
|
12104
12107
|
return true;
|
|
12105
12108
|
}
|
|
12106
12109
|
|
|
12107
|
-
const version = "3.5.
|
|
12110
|
+
const version = "3.5.3";
|
|
12108
12111
|
const warn = warn$1 ;
|
|
12109
12112
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12110
12113
|
const devtools = devtools$1 ;
|