@vue/compat 3.5.19 → 3.5.20
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 +9 -10
- package/dist/vue.cjs.prod.js +9 -7
- package/dist/vue.esm-browser.js +9 -10
- package/dist/vue.esm-browser.prod.js +3 -3
- package/dist/vue.esm-bundler.js +9 -10
- package/dist/vue.global.js +9 -10
- package/dist/vue.global.prod.js +3 -3
- package/dist/vue.runtime.esm-browser.js +9 -10
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +9 -10
- package/dist/vue.runtime.global.js +9 -10
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1091,7 +1091,7 @@ const arrayInstrumentations = {
|
|
|
1091
1091
|
join(separator) {
|
|
1092
1092
|
return reactiveReadArray(this).join(separator);
|
|
1093
1093
|
},
|
|
1094
|
-
// keys() iterator only reads `length`, no
|
|
1094
|
+
// keys() iterator only reads `length`, no optimization required
|
|
1095
1095
|
lastIndexOf(...args) {
|
|
1096
1096
|
return searchProxy(this, "lastIndexOf", args);
|
|
1097
1097
|
},
|
|
@@ -1443,7 +1443,7 @@ function createInstrumentations(readonly, shallow) {
|
|
|
1443
1443
|
get size() {
|
|
1444
1444
|
const target = this["__v_raw"];
|
|
1445
1445
|
!readonly && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
1446
|
-
return
|
|
1446
|
+
return target.size;
|
|
1447
1447
|
},
|
|
1448
1448
|
has(key) {
|
|
1449
1449
|
const target = this["__v_raw"];
|
|
@@ -6086,7 +6086,7 @@ function legacyRenderSlot(instance, name, fallback, props, bindObject) {
|
|
|
6086
6086
|
}
|
|
6087
6087
|
return renderSlot(instance.slots, name, props, fallback && (() => fallback));
|
|
6088
6088
|
}
|
|
6089
|
-
function
|
|
6089
|
+
function legacyResolveScopedSlots(fns, raw, hasDynamicKeys) {
|
|
6090
6090
|
return createSlots(
|
|
6091
6091
|
raw || { $stable: !hasDynamicKeys },
|
|
6092
6092
|
mapKeyToName(fns)
|
|
@@ -6253,7 +6253,7 @@ function installCompatInstanceProperties(map) {
|
|
|
6253
6253
|
_b: () => legacyBindObjectProps,
|
|
6254
6254
|
_v: () => createTextVNode,
|
|
6255
6255
|
_e: () => createCommentVNode,
|
|
6256
|
-
_u: () =>
|
|
6256
|
+
_u: () => legacyResolveScopedSlots,
|
|
6257
6257
|
_g: () => legacyBindObjectListeners,
|
|
6258
6258
|
_d: () => legacyBindDynamicKeys,
|
|
6259
6259
|
_p: () => legacyPrependModifier
|
|
@@ -7172,7 +7172,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7172
7172
|
return vm;
|
|
7173
7173
|
}
|
|
7174
7174
|
}
|
|
7175
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7175
|
+
Vue.version = `2.6.14-compat:${"3.5.20"}`;
|
|
7176
7176
|
Vue.config = singletonApp.config;
|
|
7177
7177
|
Vue.use = (plugin, ...options) => {
|
|
7178
7178
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12322,7 +12322,7 @@ function isMemoSame(cached, memo) {
|
|
|
12322
12322
|
return true;
|
|
12323
12323
|
}
|
|
12324
12324
|
|
|
12325
|
-
const version = "3.5.
|
|
12325
|
+
const version = "3.5.20";
|
|
12326
12326
|
const warn = warn$1 ;
|
|
12327
12327
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12328
12328
|
const devtools = devtools$1 ;
|
|
@@ -12766,6 +12766,8 @@ function patchClass(el, value, isSVG) {
|
|
|
12766
12766
|
const vShowOriginalDisplay = Symbol("_vod");
|
|
12767
12767
|
const vShowHidden = Symbol("_vsh");
|
|
12768
12768
|
const vShow = {
|
|
12769
|
+
// used for prop mismatch check during hydration
|
|
12770
|
+
name: "show",
|
|
12769
12771
|
beforeMount(el, { value }, { transition }) {
|
|
12770
12772
|
el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
|
|
12771
12773
|
if (transition && value) {
|
|
@@ -12799,9 +12801,6 @@ const vShow = {
|
|
|
12799
12801
|
setDisplay(el, value);
|
|
12800
12802
|
}
|
|
12801
12803
|
};
|
|
12802
|
-
{
|
|
12803
|
-
vShow.name = "show";
|
|
12804
|
-
}
|
|
12805
12804
|
function setDisplay(el, value) {
|
|
12806
12805
|
el.style.display = value ? el[vShowOriginalDisplay] : "none";
|
|
12807
12806
|
el[vShowHidden] = !value;
|