@vue/compat 3.4.0-beta.3 → 3.4.0-beta.4
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 +38 -18
- package/dist/vue.cjs.prod.js +33 -15
- package/dist/vue.esm-browser.js +13 -7
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.esm-bundler.js +13 -7
- package/dist/vue.global.js +13 -7
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +13 -7
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +13 -7
- package/dist/vue.runtime.global.js +13 -7
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1964,8 +1964,10 @@ function checkRecursiveUpdates(seen, fn) {
|
|
|
1964
1964
|
if (count > RECURSION_LIMIT) {
|
|
1965
1965
|
const instance = fn.ownerInstance;
|
|
1966
1966
|
const componentName = instance && getComponentName(instance.type);
|
|
1967
|
-
|
|
1968
|
-
`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function
|
|
1967
|
+
handleError(
|
|
1968
|
+
`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1969
|
+
null,
|
|
1970
|
+
10
|
|
1969
1971
|
);
|
|
1970
1972
|
return true;
|
|
1971
1973
|
} else {
|
|
@@ -6517,7 +6519,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6517
6519
|
return vm;
|
|
6518
6520
|
}
|
|
6519
6521
|
}
|
|
6520
|
-
Vue.version = `2.6.14-compat:${"3.4.0-beta.
|
|
6522
|
+
Vue.version = `2.6.14-compat:${"3.4.0-beta.4"}`;
|
|
6521
6523
|
Vue.config = singletonApp.config;
|
|
6522
6524
|
Vue.use = (p, ...options) => {
|
|
6523
6525
|
if (p && isFunction(p.install)) {
|
|
@@ -8258,7 +8260,7 @@ function propHasMismatch(el, key, clientValue) {
|
|
|
8258
8260
|
let actual;
|
|
8259
8261
|
let expected;
|
|
8260
8262
|
if (key === "class") {
|
|
8261
|
-
actual = el.
|
|
8263
|
+
actual = el.getAttribute("class");
|
|
8262
8264
|
expected = normalizeClass(clientValue);
|
|
8263
8265
|
if (actual !== expected) {
|
|
8264
8266
|
mismatchType = mismatchKey = `class`;
|
|
@@ -11305,7 +11307,7 @@ function isMemoSame(cached, memo) {
|
|
|
11305
11307
|
return true;
|
|
11306
11308
|
}
|
|
11307
11309
|
|
|
11308
|
-
const version = "3.4.0-beta.
|
|
11310
|
+
const version = "3.4.0-beta.4";
|
|
11309
11311
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11310
11312
|
const _ssrUtils = {
|
|
11311
11313
|
createComponentInstance,
|
|
@@ -12813,7 +12815,9 @@ const modifierGuards = {
|
|
|
12813
12815
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
12814
12816
|
};
|
|
12815
12817
|
const withModifiers = (fn, modifiers) => {
|
|
12816
|
-
|
|
12818
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
12819
|
+
const cacheKey = modifiers.join(".");
|
|
12820
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
12817
12821
|
for (let i = 0; i < modifiers.length; i++) {
|
|
12818
12822
|
const guard = modifierGuards[modifiers[i]];
|
|
12819
12823
|
if (guard && guard(event, modifiers))
|
|
@@ -12848,7 +12852,9 @@ const withKeys = (fn, modifiers) => {
|
|
|
12848
12852
|
);
|
|
12849
12853
|
}
|
|
12850
12854
|
}
|
|
12851
|
-
|
|
12855
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
12856
|
+
const cacheKey = modifiers.join(".");
|
|
12857
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
12852
12858
|
if (!("key" in event)) {
|
|
12853
12859
|
return;
|
|
12854
12860
|
}
|
package/dist/vue.global.js
CHANGED
|
@@ -1961,8 +1961,10 @@ var Vue = (function () {
|
|
|
1961
1961
|
if (count > RECURSION_LIMIT) {
|
|
1962
1962
|
const instance = fn.ownerInstance;
|
|
1963
1963
|
const componentName = instance && getComponentName(instance.type);
|
|
1964
|
-
|
|
1965
|
-
`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function
|
|
1964
|
+
handleError(
|
|
1965
|
+
`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1966
|
+
null,
|
|
1967
|
+
10
|
|
1966
1968
|
);
|
|
1967
1969
|
return true;
|
|
1968
1970
|
} else {
|
|
@@ -6480,7 +6482,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6480
6482
|
return vm;
|
|
6481
6483
|
}
|
|
6482
6484
|
}
|
|
6483
|
-
Vue.version = `2.6.14-compat:${"3.4.0-beta.
|
|
6485
|
+
Vue.version = `2.6.14-compat:${"3.4.0-beta.4"}`;
|
|
6484
6486
|
Vue.config = singletonApp.config;
|
|
6485
6487
|
Vue.use = (p, ...options) => {
|
|
6486
6488
|
if (p && isFunction(p.install)) {
|
|
@@ -8208,7 +8210,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8208
8210
|
let actual;
|
|
8209
8211
|
let expected;
|
|
8210
8212
|
if (key === "class") {
|
|
8211
|
-
actual = el.
|
|
8213
|
+
actual = el.getAttribute("class");
|
|
8212
8214
|
expected = normalizeClass(clientValue);
|
|
8213
8215
|
if (actual !== expected) {
|
|
8214
8216
|
mismatchType = mismatchKey = `class`;
|
|
@@ -11178,7 +11180,7 @@ Component that was made reactive: `,
|
|
|
11178
11180
|
return true;
|
|
11179
11181
|
}
|
|
11180
11182
|
|
|
11181
|
-
const version = "3.4.0-beta.
|
|
11183
|
+
const version = "3.4.0-beta.4";
|
|
11182
11184
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11183
11185
|
const ssrUtils = null;
|
|
11184
11186
|
const resolveFilter = resolveFilter$1 ;
|
|
@@ -12625,7 +12627,9 @@ Component that was made reactive: `,
|
|
|
12625
12627
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
12626
12628
|
};
|
|
12627
12629
|
const withModifiers = (fn, modifiers) => {
|
|
12628
|
-
|
|
12630
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
12631
|
+
const cacheKey = modifiers.join(".");
|
|
12632
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
12629
12633
|
for (let i = 0; i < modifiers.length; i++) {
|
|
12630
12634
|
const guard = modifierGuards[modifiers[i]];
|
|
12631
12635
|
if (guard && guard(event, modifiers))
|
|
@@ -12660,7 +12664,9 @@ Component that was made reactive: `,
|
|
|
12660
12664
|
);
|
|
12661
12665
|
}
|
|
12662
12666
|
}
|
|
12663
|
-
|
|
12667
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
12668
|
+
const cacheKey = modifiers.join(".");
|
|
12669
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
12664
12670
|
if (!("key" in event)) {
|
|
12665
12671
|
return;
|
|
12666
12672
|
}
|