@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.
@@ -1893,8 +1893,10 @@ function checkRecursiveUpdates(seen, fn) {
1893
1893
  if (count > RECURSION_LIMIT) {
1894
1894
  const instance = fn.ownerInstance;
1895
1895
  const componentName = instance && getComponentName(instance.type);
1896
- warn(
1897
- `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.`
1896
+ handleError(
1897
+ `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.`,
1898
+ null,
1899
+ 10
1898
1900
  );
1899
1901
  return true;
1900
1902
  } else {
@@ -6412,7 +6414,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6412
6414
  return vm;
6413
6415
  }
6414
6416
  }
6415
- Vue.version = `2.6.14-compat:${"3.4.0-beta.3"}`;
6417
+ Vue.version = `2.6.14-compat:${"3.4.0-beta.4"}`;
6416
6418
  Vue.config = singletonApp.config;
6417
6419
  Vue.use = (p, ...options) => {
6418
6420
  if (p && isFunction(p.install)) {
@@ -8140,7 +8142,7 @@ function propHasMismatch(el, key, clientValue) {
8140
8142
  let actual;
8141
8143
  let expected;
8142
8144
  if (key === "class") {
8143
- actual = el.className;
8145
+ actual = el.getAttribute("class");
8144
8146
  expected = normalizeClass(clientValue);
8145
8147
  if (actual !== expected) {
8146
8148
  mismatchType = mismatchKey = `class`;
@@ -11116,7 +11118,7 @@ function isMemoSame(cached, memo) {
11116
11118
  return true;
11117
11119
  }
11118
11120
 
11119
- const version = "3.4.0-beta.3";
11121
+ const version = "3.4.0-beta.4";
11120
11122
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11121
11123
  const ssrUtils = null;
11122
11124
  const resolveFilter = resolveFilter$1 ;
@@ -12575,7 +12577,9 @@ const modifierGuards = {
12575
12577
  exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
12576
12578
  };
12577
12579
  const withModifiers = (fn, modifiers) => {
12578
- return fn._withMods || (fn._withMods = (event, ...args) => {
12580
+ const cache = fn._withMods || (fn._withMods = {});
12581
+ const cacheKey = modifiers.join(".");
12582
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
12579
12583
  for (let i = 0; i < modifiers.length; i++) {
12580
12584
  const guard = modifierGuards[modifiers[i]];
12581
12585
  if (guard && guard(event, modifiers))
@@ -12610,7 +12614,9 @@ const withKeys = (fn, modifiers) => {
12610
12614
  );
12611
12615
  }
12612
12616
  }
12613
- return fn._withKeys || (fn._withKeys = (event) => {
12617
+ const cache = fn._withKeys || (fn._withKeys = {});
12618
+ const cacheKey = modifiers.join(".");
12619
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
12614
12620
  if (!("key" in event)) {
12615
12621
  return;
12616
12622
  }