@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
package/dist/vue.cjs.js
CHANGED
|
@@ -6393,7 +6393,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6393
6393
|
return vm;
|
|
6394
6394
|
}
|
|
6395
6395
|
}
|
|
6396
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6396
|
+
Vue.version = `2.6.14-compat:${"3.3.13"}`;
|
|
6397
6397
|
Vue.config = singletonApp.config;
|
|
6398
6398
|
Vue.use = (p, ...options) => {
|
|
6399
6399
|
if (p && isFunction(p.install)) {
|
|
@@ -10998,7 +10998,7 @@ function isMemoSame(cached, memo) {
|
|
|
10998
10998
|
return true;
|
|
10999
10999
|
}
|
|
11000
11000
|
|
|
11001
|
-
const version = "3.3.
|
|
11001
|
+
const version = "3.3.13";
|
|
11002
11002
|
const _ssrUtils = {
|
|
11003
11003
|
createComponentInstance,
|
|
11004
11004
|
setupComponent,
|
|
@@ -12444,7 +12444,9 @@ const modifierGuards = {
|
|
|
12444
12444
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
12445
12445
|
};
|
|
12446
12446
|
const withModifiers = (fn, modifiers) => {
|
|
12447
|
-
|
|
12447
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
12448
|
+
const cacheKey = modifiers.join(".");
|
|
12449
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
12448
12450
|
for (let i = 0; i < modifiers.length; i++) {
|
|
12449
12451
|
const guard = modifierGuards[modifiers[i]];
|
|
12450
12452
|
if (guard && guard(event, modifiers))
|
|
@@ -12479,7 +12481,9 @@ const withKeys = (fn, modifiers) => {
|
|
|
12479
12481
|
);
|
|
12480
12482
|
}
|
|
12481
12483
|
}
|
|
12482
|
-
|
|
12484
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
12485
|
+
const cacheKey = modifiers.join(".");
|
|
12486
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
12483
12487
|
if (!("key" in event)) {
|
|
12484
12488
|
return;
|
|
12485
12489
|
}
|
|
@@ -13145,7 +13149,7 @@ const isMemberExpressionNode = (path, context) => {
|
|
|
13145
13149
|
if (ret.type === "TSAsExpression" || ret.type === "TSTypeAssertion") {
|
|
13146
13150
|
ret = ret.expression;
|
|
13147
13151
|
}
|
|
13148
|
-
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier";
|
|
13152
|
+
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier" && ret.name !== "undefined";
|
|
13149
13153
|
} catch (e) {
|
|
13150
13154
|
return false;
|
|
13151
13155
|
}
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -5111,7 +5111,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5111
5111
|
return vm;
|
|
5112
5112
|
}
|
|
5113
5113
|
}
|
|
5114
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
5114
|
+
Vue.version = `2.6.14-compat:${"3.3.13"}`;
|
|
5115
5115
|
Vue.config = singletonApp.config;
|
|
5116
5116
|
Vue.use = (p, ...options) => {
|
|
5117
5117
|
if (p && isFunction(p.install)) {
|
|
@@ -8840,7 +8840,7 @@ function isMemoSame(cached, memo) {
|
|
|
8840
8840
|
return true;
|
|
8841
8841
|
}
|
|
8842
8842
|
|
|
8843
|
-
const version = "3.3.
|
|
8843
|
+
const version = "3.3.13";
|
|
8844
8844
|
const _ssrUtils = {
|
|
8845
8845
|
createComponentInstance,
|
|
8846
8846
|
setupComponent,
|
|
@@ -10237,7 +10237,9 @@ const modifierGuards = {
|
|
|
10237
10237
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
10238
10238
|
};
|
|
10239
10239
|
const withModifiers = (fn, modifiers) => {
|
|
10240
|
-
|
|
10240
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
10241
|
+
const cacheKey = modifiers.join(".");
|
|
10242
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
10241
10243
|
for (let i = 0; i < modifiers.length; i++) {
|
|
10242
10244
|
const guard = modifierGuards[modifiers[i]];
|
|
10243
10245
|
if (guard && guard(event, modifiers))
|
|
@@ -10266,7 +10268,9 @@ const withKeys = (fn, modifiers) => {
|
|
|
10266
10268
|
}
|
|
10267
10269
|
}
|
|
10268
10270
|
}
|
|
10269
|
-
|
|
10271
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
10272
|
+
const cacheKey = modifiers.join(".");
|
|
10273
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
10270
10274
|
if (!("key" in event)) {
|
|
10271
10275
|
return;
|
|
10272
10276
|
}
|
|
@@ -10866,7 +10870,7 @@ const isMemberExpressionNode = (path, context) => {
|
|
|
10866
10870
|
if (ret.type === "TSAsExpression" || ret.type === "TSTypeAssertion") {
|
|
10867
10871
|
ret = ret.expression;
|
|
10868
10872
|
}
|
|
10869
|
-
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier";
|
|
10873
|
+
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier" && ret.name !== "undefined";
|
|
10870
10874
|
} catch (e) {
|
|
10871
10875
|
return false;
|
|
10872
10876
|
}
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -6293,7 +6293,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6293
6293
|
return vm;
|
|
6294
6294
|
}
|
|
6295
6295
|
}
|
|
6296
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6296
|
+
Vue.version = `2.6.14-compat:${"3.3.13"}`;
|
|
6297
6297
|
Vue.config = singletonApp.config;
|
|
6298
6298
|
Vue.use = (p, ...options) => {
|
|
6299
6299
|
if (p && isFunction(p.install)) {
|
|
@@ -10886,7 +10886,7 @@ function isMemoSame(cached, memo) {
|
|
|
10886
10886
|
return true;
|
|
10887
10887
|
}
|
|
10888
10888
|
|
|
10889
|
-
const version = "3.3.
|
|
10889
|
+
const version = "3.3.13";
|
|
10890
10890
|
const ssrUtils = null;
|
|
10891
10891
|
const resolveFilter = resolveFilter$1 ;
|
|
10892
10892
|
const _compatUtils = {
|
|
@@ -12341,7 +12341,9 @@ const modifierGuards = {
|
|
|
12341
12341
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
12342
12342
|
};
|
|
12343
12343
|
const withModifiers = (fn, modifiers) => {
|
|
12344
|
-
|
|
12344
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
12345
|
+
const cacheKey = modifiers.join(".");
|
|
12346
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
12345
12347
|
for (let i = 0; i < modifiers.length; i++) {
|
|
12346
12348
|
const guard = modifierGuards[modifiers[i]];
|
|
12347
12349
|
if (guard && guard(event, modifiers))
|
|
@@ -12376,7 +12378,9 @@ const withKeys = (fn, modifiers) => {
|
|
|
12376
12378
|
);
|
|
12377
12379
|
}
|
|
12378
12380
|
}
|
|
12379
|
-
|
|
12381
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
12382
|
+
const cacheKey = modifiers.join(".");
|
|
12383
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
12380
12384
|
if (!("key" in event)) {
|
|
12381
12385
|
return;
|
|
12382
12386
|
}
|