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.
- package/dist/vue.esm-browser.js +7 -3
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.global.js +7 -3
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +7 -3
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.global.js +7 -3
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +6 -6
package/dist/vue.esm-browser.js
CHANGED
|
@@ -9194,7 +9194,7 @@ function isMemoSame(cached, memo) {
|
|
|
9194
9194
|
return true;
|
|
9195
9195
|
}
|
|
9196
9196
|
|
|
9197
|
-
const version = "3.3.
|
|
9197
|
+
const version = "3.3.13";
|
|
9198
9198
|
const ssrUtils = null;
|
|
9199
9199
|
const resolveFilter = null;
|
|
9200
9200
|
const compatUtils = null;
|
|
@@ -10553,7 +10553,9 @@ const modifierGuards = {
|
|
|
10553
10553
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
10554
10554
|
};
|
|
10555
10555
|
const withModifiers = (fn, modifiers) => {
|
|
10556
|
-
|
|
10556
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
10557
|
+
const cacheKey = modifiers.join(".");
|
|
10558
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
10557
10559
|
for (let i = 0; i < modifiers.length; i++) {
|
|
10558
10560
|
const guard = modifierGuards[modifiers[i]];
|
|
10559
10561
|
if (guard && guard(event, modifiers))
|
|
@@ -10572,7 +10574,9 @@ const keyNames = {
|
|
|
10572
10574
|
delete: "backspace"
|
|
10573
10575
|
};
|
|
10574
10576
|
const withKeys = (fn, modifiers) => {
|
|
10575
|
-
|
|
10577
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
10578
|
+
const cacheKey = modifiers.join(".");
|
|
10579
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
10576
10580
|
if (!("key" in event)) {
|
|
10577
10581
|
return;
|
|
10578
10582
|
}
|