vue 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.esm-browser.js +12 -6
- package/dist/vue.esm-browser.prod.js +3 -3
- package/dist/vue.global.js +12 -6
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +12 -6
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.global.js +12 -6
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +6 -6
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1958,8 +1958,10 @@ function checkRecursiveUpdates(seen, fn) {
|
|
|
1958
1958
|
if (count > RECURSION_LIMIT) {
|
|
1959
1959
|
const instance = fn.ownerInstance;
|
|
1960
1960
|
const componentName = instance && getComponentName(instance.type);
|
|
1961
|
-
|
|
1962
|
-
`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
|
|
1961
|
+
handleError(
|
|
1962
|
+
`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.`,
|
|
1963
|
+
null,
|
|
1964
|
+
10
|
|
1963
1965
|
);
|
|
1964
1966
|
return true;
|
|
1965
1967
|
} else {
|
|
@@ -6572,7 +6574,7 @@ function propHasMismatch(el, key, clientValue) {
|
|
|
6572
6574
|
let actual;
|
|
6573
6575
|
let expected;
|
|
6574
6576
|
if (key === "class") {
|
|
6575
|
-
actual = el.
|
|
6577
|
+
actual = el.getAttribute("class");
|
|
6576
6578
|
expected = normalizeClass(clientValue);
|
|
6577
6579
|
if (actual !== expected) {
|
|
6578
6580
|
mismatchType = mismatchKey = `class`;
|
|
@@ -9441,7 +9443,7 @@ function isMemoSame(cached, memo) {
|
|
|
9441
9443
|
return true;
|
|
9442
9444
|
}
|
|
9443
9445
|
|
|
9444
|
-
const version = "3.4.0-beta.
|
|
9446
|
+
const version = "3.4.0-beta.4";
|
|
9445
9447
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9446
9448
|
const ssrUtils = null;
|
|
9447
9449
|
const resolveFilter = null;
|
|
@@ -10804,7 +10806,9 @@ const modifierGuards = {
|
|
|
10804
10806
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
10805
10807
|
};
|
|
10806
10808
|
const withModifiers = (fn, modifiers) => {
|
|
10807
|
-
|
|
10809
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
10810
|
+
const cacheKey = modifiers.join(".");
|
|
10811
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
10808
10812
|
for (let i = 0; i < modifiers.length; i++) {
|
|
10809
10813
|
const guard = modifierGuards[modifiers[i]];
|
|
10810
10814
|
if (guard && guard(event, modifiers))
|
|
@@ -10823,7 +10827,9 @@ const keyNames = {
|
|
|
10823
10827
|
delete: "backspace"
|
|
10824
10828
|
};
|
|
10825
10829
|
const withKeys = (fn, modifiers) => {
|
|
10826
|
-
|
|
10830
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
10831
|
+
const cacheKey = modifiers.join(".");
|
|
10832
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
10827
10833
|
if (!("key" in event)) {
|
|
10828
10834
|
return;
|
|
10829
10835
|
}
|