@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.
- package/dist/vue.cjs.js +9 -5
- package/dist/vue.cjs.prod.js +9 -5
- package/dist/vue.esm-browser.js +8 -4
- package/dist/vue.esm-browser.prod.js +3 -3
- package/dist/vue.esm-bundler.js +8 -4
- package/dist/vue.global.js +8 -4
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +8 -4
- package/dist/vue.runtime.esm-browser.prod.js +5 -5
- package/dist/vue.runtime.esm-bundler.js +8 -4
- package/dist/vue.runtime.global.js +8 -4
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
|
@@ -6228,7 +6228,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6228
6228
|
return vm;
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6231
|
+
Vue.version = `2.6.14-compat:${"3.3.13"}`;
|
|
6232
6232
|
Vue.config = singletonApp.config;
|
|
6233
6233
|
Vue.use = (p, ...options) => {
|
|
6234
6234
|
if (p && isFunction(p.install)) {
|
|
@@ -10821,7 +10821,7 @@ function isMemoSame(cached, memo) {
|
|
|
10821
10821
|
return true;
|
|
10822
10822
|
}
|
|
10823
10823
|
|
|
10824
|
-
const version = "3.3.
|
|
10824
|
+
const version = "3.3.13";
|
|
10825
10825
|
const ssrUtils = null;
|
|
10826
10826
|
const resolveFilter = resolveFilter$1 ;
|
|
10827
10827
|
const _compatUtils = {
|
|
@@ -12276,7 +12276,9 @@ const modifierGuards = {
|
|
|
12276
12276
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
12277
12277
|
};
|
|
12278
12278
|
const withModifiers = (fn, modifiers) => {
|
|
12279
|
-
|
|
12279
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
12280
|
+
const cacheKey = modifiers.join(".");
|
|
12281
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
12280
12282
|
for (let i = 0; i < modifiers.length; i++) {
|
|
12281
12283
|
const guard = modifierGuards[modifiers[i]];
|
|
12282
12284
|
if (guard && guard(event, modifiers))
|
|
@@ -12311,7 +12313,9 @@ const withKeys = (fn, modifiers) => {
|
|
|
12311
12313
|
);
|
|
12312
12314
|
}
|
|
12313
12315
|
}
|
|
12314
|
-
|
|
12316
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
12317
|
+
const cacheKey = modifiers.join(".");
|
|
12318
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
12315
12319
|
if (!("key" in event)) {
|
|
12316
12320
|
return;
|
|
12317
12321
|
}
|