@vue/compat 3.3.0-beta.2 → 3.3.0-beta.4
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 +12 -13
- package/dist/vue.cjs.prod.js +12 -5
- package/dist/vue.esm-browser.js +10 -11
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +10 -11
- package/dist/vue.global.js +10 -11
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +5 -10
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +5 -10
- package/dist/vue.runtime.global.js +5 -10
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -6296,7 +6296,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6296
6296
|
return vm;
|
|
6297
6297
|
}
|
|
6298
6298
|
}
|
|
6299
|
-
Vue.version = `2.6.14-compat:${"3.3.0-beta.
|
|
6299
|
+
Vue.version = `2.6.14-compat:${"3.3.0-beta.4"}`;
|
|
6300
6300
|
Vue.config = singletonApp.config;
|
|
6301
6301
|
Vue.use = (p, ...options) => {
|
|
6302
6302
|
if (p && isFunction(p.install)) {
|
|
@@ -9916,6 +9916,9 @@ const normalizeRef = ({
|
|
|
9916
9916
|
ref_key,
|
|
9917
9917
|
ref_for
|
|
9918
9918
|
}) => {
|
|
9919
|
+
if (typeof ref === "number") {
|
|
9920
|
+
ref = "" + ref;
|
|
9921
|
+
}
|
|
9919
9922
|
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
|
|
9920
9923
|
};
|
|
9921
9924
|
function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
|
|
@@ -10550,14 +10553,6 @@ function getSlotsProxy(instance) {
|
|
|
10550
10553
|
get(target, key) {
|
|
10551
10554
|
track(instance, "get", "$slots");
|
|
10552
10555
|
return target[key];
|
|
10553
|
-
},
|
|
10554
|
-
set() {
|
|
10555
|
-
warn(`setupContext.slots is readonly.`);
|
|
10556
|
-
return false;
|
|
10557
|
-
},
|
|
10558
|
-
deleteProperty() {
|
|
10559
|
-
warn(`setupContext.slots is readonly.`);
|
|
10560
|
-
return false;
|
|
10561
10556
|
}
|
|
10562
10557
|
}));
|
|
10563
10558
|
}
|
|
@@ -10895,7 +10890,7 @@ function isMemoSame(cached, memo) {
|
|
|
10895
10890
|
return true;
|
|
10896
10891
|
}
|
|
10897
10892
|
|
|
10898
|
-
const version = "3.3.0-beta.
|
|
10893
|
+
const version = "3.3.0-beta.4";
|
|
10899
10894
|
const _ssrUtils = {
|
|
10900
10895
|
createComponentInstance,
|
|
10901
10896
|
setupComponent,
|
|
@@ -13846,6 +13841,7 @@ function parseAttributes(context, type) {
|
|
|
13846
13841
|
return props;
|
|
13847
13842
|
}
|
|
13848
13843
|
function parseAttribute(context, nameSet) {
|
|
13844
|
+
var _a;
|
|
13849
13845
|
const start = getCursor(context);
|
|
13850
13846
|
const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
|
|
13851
13847
|
const name = match[0];
|
|
@@ -13888,7 +13884,10 @@ function parseAttribute(context, nameSet) {
|
|
|
13888
13884
|
let arg;
|
|
13889
13885
|
if (match2[2]) {
|
|
13890
13886
|
const isSlot = dirName === "slot";
|
|
13891
|
-
const startOffset = name.lastIndexOf(
|
|
13887
|
+
const startOffset = name.lastIndexOf(
|
|
13888
|
+
match2[2],
|
|
13889
|
+
name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
|
|
13890
|
+
);
|
|
13892
13891
|
const loc2 = getSelection(
|
|
13893
13892
|
context,
|
|
13894
13893
|
getNewPosition(context, start, startOffset),
|
package/dist/vue.global.js
CHANGED
|
@@ -6251,7 +6251,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6251
6251
|
return vm;
|
|
6252
6252
|
}
|
|
6253
6253
|
}
|
|
6254
|
-
Vue.version = `2.6.14-compat:${"3.3.0-beta.
|
|
6254
|
+
Vue.version = `2.6.14-compat:${"3.3.0-beta.4"}`;
|
|
6255
6255
|
Vue.config = singletonApp.config;
|
|
6256
6256
|
Vue.use = (p, ...options) => {
|
|
6257
6257
|
if (p && isFunction(p.install)) {
|
|
@@ -9834,6 +9834,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9834
9834
|
ref_key,
|
|
9835
9835
|
ref_for
|
|
9836
9836
|
}) => {
|
|
9837
|
+
if (typeof ref === "number") {
|
|
9838
|
+
ref = "" + ref;
|
|
9839
|
+
}
|
|
9837
9840
|
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
|
|
9838
9841
|
};
|
|
9839
9842
|
function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
|
|
@@ -10449,14 +10452,6 @@ Component that was made reactive: `,
|
|
|
10449
10452
|
get(target, key) {
|
|
10450
10453
|
track(instance, "get", "$slots");
|
|
10451
10454
|
return target[key];
|
|
10452
|
-
},
|
|
10453
|
-
set() {
|
|
10454
|
-
warn(`setupContext.slots is readonly.`);
|
|
10455
|
-
return false;
|
|
10456
|
-
},
|
|
10457
|
-
deleteProperty() {
|
|
10458
|
-
warn(`setupContext.slots is readonly.`);
|
|
10459
|
-
return false;
|
|
10460
10455
|
}
|
|
10461
10456
|
}));
|
|
10462
10457
|
}
|
|
@@ -10779,7 +10774,7 @@ Component that was made reactive: `,
|
|
|
10779
10774
|
return true;
|
|
10780
10775
|
}
|
|
10781
10776
|
|
|
10782
|
-
const version = "3.3.0-beta.
|
|
10777
|
+
const version = "3.3.0-beta.4";
|
|
10783
10778
|
const ssrUtils = null;
|
|
10784
10779
|
const resolveFilter = resolveFilter$1 ;
|
|
10785
10780
|
const _compatUtils = {
|
|
@@ -13668,6 +13663,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
13668
13663
|
return props;
|
|
13669
13664
|
}
|
|
13670
13665
|
function parseAttribute(context, nameSet) {
|
|
13666
|
+
var _a;
|
|
13671
13667
|
const start = getCursor(context);
|
|
13672
13668
|
const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
|
|
13673
13669
|
const name = match[0];
|
|
@@ -13710,7 +13706,10 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
13710
13706
|
let arg;
|
|
13711
13707
|
if (match2[2]) {
|
|
13712
13708
|
const isSlot = dirName === "slot";
|
|
13713
|
-
const startOffset = name.lastIndexOf(
|
|
13709
|
+
const startOffset = name.lastIndexOf(
|
|
13710
|
+
match2[2],
|
|
13711
|
+
name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
|
|
13712
|
+
);
|
|
13714
13713
|
const loc2 = getSelection(
|
|
13715
13714
|
context,
|
|
13716
13715
|
getNewPosition(context, start, startOffset),
|