@vue/compat 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.
@@ -6341,7 +6341,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6341
6341
  return vm;
6342
6342
  }
6343
6343
  }
6344
- Vue.version = `2.6.14-compat:${"3.3.12"}`;
6344
+ Vue.version = `2.6.14-compat:${"3.3.13"}`;
6345
6345
  Vue.config = singletonApp.config;
6346
6346
  Vue.use = (p, ...options) => {
6347
6347
  if (p && isFunction(p.install)) {
@@ -10999,7 +10999,7 @@ function isMemoSame(cached, memo) {
10999
10999
  return true;
11000
11000
  }
11001
11001
 
11002
- const version = "3.3.12";
11002
+ const version = "3.3.13";
11003
11003
  const _ssrUtils = {
11004
11004
  createComponentInstance,
11005
11005
  setupComponent,
@@ -12503,7 +12503,9 @@ const modifierGuards = {
12503
12503
  exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
12504
12504
  };
12505
12505
  const withModifiers = (fn, modifiers) => {
12506
- return fn._withMods || (fn._withMods = (event, ...args) => {
12506
+ const cache = fn._withMods || (fn._withMods = {});
12507
+ const cacheKey = modifiers.join(".");
12508
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
12507
12509
  for (let i = 0; i < modifiers.length; i++) {
12508
12510
  const guard = modifierGuards[modifiers[i]];
12509
12511
  if (guard && guard(event, modifiers))
@@ -12538,7 +12540,9 @@ const withKeys = (fn, modifiers) => {
12538
12540
  );
12539
12541
  }
12540
12542
  }
12541
- return fn._withKeys || (fn._withKeys = (event) => {
12543
+ const cache = fn._withKeys || (fn._withKeys = {});
12544
+ const cacheKey = modifiers.join(".");
12545
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
12542
12546
  if (!("key" in event)) {
12543
12547
  return;
12544
12548
  }
@@ -6296,7 +6296,7 @@ If this is a native custom element, make sure to exclude it from component resol
6296
6296
  return vm;
6297
6297
  }
6298
6298
  }
6299
- Vue.version = `2.6.14-compat:${"3.3.12"}`;
6299
+ Vue.version = `2.6.14-compat:${"3.3.13"}`;
6300
6300
  Vue.config = singletonApp.config;
6301
6301
  Vue.use = (p, ...options) => {
6302
6302
  if (p && isFunction(p.install)) {
@@ -10883,7 +10883,7 @@ Component that was made reactive: `,
10883
10883
  return true;
10884
10884
  }
10885
10885
 
10886
- const version = "3.3.12";
10886
+ const version = "3.3.13";
10887
10887
  const ssrUtils = null;
10888
10888
  const resolveFilter = resolveFilter$1 ;
10889
10889
  const _compatUtils = {
@@ -12326,7 +12326,9 @@ Component that was made reactive: `,
12326
12326
  exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
12327
12327
  };
12328
12328
  const withModifiers = (fn, modifiers) => {
12329
- return fn._withMods || (fn._withMods = (event, ...args) => {
12329
+ const cache = fn._withMods || (fn._withMods = {});
12330
+ const cacheKey = modifiers.join(".");
12331
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
12330
12332
  for (let i = 0; i < modifiers.length; i++) {
12331
12333
  const guard = modifierGuards[modifiers[i]];
12332
12334
  if (guard && guard(event, modifiers))
@@ -12361,7 +12363,9 @@ Component that was made reactive: `,
12361
12363
  );
12362
12364
  }
12363
12365
  }
12364
- return fn._withKeys || (fn._withKeys = (event) => {
12366
+ const cache = fn._withKeys || (fn._withKeys = {});
12367
+ const cacheKey = modifiers.join(".");
12368
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
12365
12369
  if (!("key" in event)) {
12366
12370
  return;
12367
12371
  }