@vue/compat 3.6.0-beta.15 → 3.6.0-beta.16
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 +5 -5
- package/dist/vue.cjs.prod.js +5 -5
- package/dist/vue.esm-browser.js +5 -5
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.esm-bundler.js +8 -6
- package/dist/vue.global.js +5 -5
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +5 -5
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +8 -6
- package/dist/vue.runtime.global.js +5 -5
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -6307,7 +6307,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6307
6307
|
if (options.el) return vm.$mount(options.el);
|
|
6308
6308
|
else return vm;
|
|
6309
6309
|
}
|
|
6310
|
-
Vue.version = `2.6.14-compat:3.6.0-beta.
|
|
6310
|
+
Vue.version = `2.6.14-compat:3.6.0-beta.16`;
|
|
6311
6311
|
Vue.config = singletonApp.config;
|
|
6312
6312
|
Vue.use = (plugin, ...options) => {
|
|
6313
6313
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -9770,7 +9770,7 @@ function isMemoSame(cached, memo) {
|
|
|
9770
9770
|
}
|
|
9771
9771
|
//#endregion
|
|
9772
9772
|
//#region packages/runtime-core/src/index.ts
|
|
9773
|
-
const version = "3.6.0-beta.
|
|
9773
|
+
const version = "3.6.0-beta.16";
|
|
9774
9774
|
const warn = warn$1;
|
|
9775
9775
|
/**
|
|
9776
9776
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -10400,7 +10400,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
|
10400
10400
|
const existingInvoker = invokers[rawName];
|
|
10401
10401
|
if (nextValue && existingInvoker) existingInvoker.value = sanitizeEventValue(nextValue, rawName);
|
|
10402
10402
|
else {
|
|
10403
|
-
const [name, options] =
|
|
10403
|
+
const [name, options] = parseEventName(rawName);
|
|
10404
10404
|
if (nextValue) addEventListener(el, name, invokers[rawName] = createInvoker(sanitizeEventValue(nextValue, rawName), instance), options);
|
|
10405
10405
|
else if (existingInvoker) {
|
|
10406
10406
|
removeEventListener(el, name, existingInvoker, options);
|
|
@@ -10409,7 +10409,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
|
10409
10409
|
}
|
|
10410
10410
|
}
|
|
10411
10411
|
const optionsModifierRE = /(?:Once|Passive|Capture)$/;
|
|
10412
|
-
function
|
|
10412
|
+
function parseEventName(name) {
|
|
10413
10413
|
let options;
|
|
10414
10414
|
if (optionsModifierRE.test(name)) {
|
|
10415
10415
|
options = {};
|