vue 3.3.12 → 3.3.13

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.
@@ -9191,7 +9191,7 @@ Component that was made reactive: `,
9191
9191
  return true;
9192
9192
  }
9193
9193
 
9194
- const version = "3.3.12";
9194
+ const version = "3.3.13";
9195
9195
  const ssrUtils = null;
9196
9196
  const resolveFilter = null;
9197
9197
  const compatUtils = null;
@@ -10538,7 +10538,9 @@ Component that was made reactive: `,
10538
10538
  exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
10539
10539
  };
10540
10540
  const withModifiers = (fn, modifiers) => {
10541
- return fn._withMods || (fn._withMods = (event, ...args) => {
10541
+ const cache = fn._withMods || (fn._withMods = {});
10542
+ const cacheKey = modifiers.join(".");
10543
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
10542
10544
  for (let i = 0; i < modifiers.length; i++) {
10543
10545
  const guard = modifierGuards[modifiers[i]];
10544
10546
  if (guard && guard(event, modifiers))
@@ -10557,7 +10559,9 @@ Component that was made reactive: `,
10557
10559
  delete: "backspace"
10558
10560
  };
10559
10561
  const withKeys = (fn, modifiers) => {
10560
- return fn._withKeys || (fn._withKeys = (event) => {
10562
+ const cache = fn._withKeys || (fn._withKeys = {});
10563
+ const cacheKey = modifiers.join(".");
10564
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
10561
10565
  if (!("key" in event)) {
10562
10566
  return;
10563
10567
  }