@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.
@@ -6276,7 +6276,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6276
6276
  return vm;
6277
6277
  }
6278
6278
  }
6279
- Vue.version = `2.6.14-compat:${"3.3.12"}`;
6279
+ Vue.version = `2.6.14-compat:${"3.3.13"}`;
6280
6280
  Vue.config = singletonApp.config;
6281
6281
  Vue.use = (p, ...options) => {
6282
6282
  if (p && isFunction(p.install)) {
@@ -10934,7 +10934,7 @@ function isMemoSame(cached, memo) {
10934
10934
  return true;
10935
10935
  }
10936
10936
 
10937
- const version = "3.3.12";
10937
+ const version = "3.3.13";
10938
10938
  const _ssrUtils = {
10939
10939
  createComponentInstance,
10940
10940
  setupComponent,
@@ -12438,7 +12438,9 @@ const modifierGuards = {
12438
12438
  exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
12439
12439
  };
12440
12440
  const withModifiers = (fn, modifiers) => {
12441
- return fn._withMods || (fn._withMods = (event, ...args) => {
12441
+ const cache = fn._withMods || (fn._withMods = {});
12442
+ const cacheKey = modifiers.join(".");
12443
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
12442
12444
  for (let i = 0; i < modifiers.length; i++) {
12443
12445
  const guard = modifierGuards[modifiers[i]];
12444
12446
  if (guard && guard(event, modifiers))
@@ -12473,7 +12475,9 @@ const withKeys = (fn, modifiers) => {
12473
12475
  );
12474
12476
  }
12475
12477
  }
12476
- return fn._withKeys || (fn._withKeys = (event) => {
12478
+ const cache = fn._withKeys || (fn._withKeys = {});
12479
+ const cacheKey = modifiers.join(".");
12480
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
12477
12481
  if (!("key" in event)) {
12478
12482
  return;
12479
12483
  }
@@ -6231,7 +6231,7 @@ If this is a native custom element, make sure to exclude it from component resol
6231
6231
  return vm;
6232
6232
  }
6233
6233
  }
6234
- Vue.version = `2.6.14-compat:${"3.3.12"}`;
6234
+ Vue.version = `2.6.14-compat:${"3.3.13"}`;
6235
6235
  Vue.config = singletonApp.config;
6236
6236
  Vue.use = (p, ...options) => {
6237
6237
  if (p && isFunction(p.install)) {
@@ -10818,7 +10818,7 @@ Component that was made reactive: `,
10818
10818
  return true;
10819
10819
  }
10820
10820
 
10821
- const version = "3.3.12";
10821
+ const version = "3.3.13";
10822
10822
  const ssrUtils = null;
10823
10823
  const resolveFilter = resolveFilter$1 ;
10824
10824
  const _compatUtils = {
@@ -12261,7 +12261,9 @@ Component that was made reactive: `,
12261
12261
  exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
12262
12262
  };
12263
12263
  const withModifiers = (fn, modifiers) => {
12264
- return fn._withMods || (fn._withMods = (event, ...args) => {
12264
+ const cache = fn._withMods || (fn._withMods = {});
12265
+ const cacheKey = modifiers.join(".");
12266
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
12265
12267
  for (let i = 0; i < modifiers.length; i++) {
12266
12268
  const guard = modifierGuards[modifiers[i]];
12267
12269
  if (guard && guard(event, modifiers))
@@ -12296,7 +12298,9 @@ Component that was made reactive: `,
12296
12298
  );
12297
12299
  }
12298
12300
  }
12299
- return fn._withKeys || (fn._withKeys = (event) => {
12301
+ const cache = fn._withKeys || (fn._withKeys = {});
12302
+ const cacheKey = modifiers.join(".");
12303
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
12300
12304
  if (!("key" in event)) {
12301
12305
  return;
12302
12306
  }