@vue/compat 3.3.0-beta.1 → 3.3.0-beta.3

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.
@@ -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.1"}`;
6299
+ Vue.version = `2.6.14-compat:${"3.3.0-beta.3"}`;
6300
6300
  Vue.config = singletonApp.config;
6301
6301
  Vue.use = (p, ...options) => {
6302
6302
  if (p && isFunction(p.install)) {
@@ -10550,14 +10550,6 @@ function getSlotsProxy(instance) {
10550
10550
  get(target, key) {
10551
10551
  track(instance, "get", "$slots");
10552
10552
  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
10553
  }
10562
10554
  }));
10563
10555
  }
@@ -10895,7 +10887,7 @@ function isMemoSame(cached, memo) {
10895
10887
  return true;
10896
10888
  }
10897
10889
 
10898
- const version = "3.3.0-beta.1";
10890
+ const version = "3.3.0-beta.3";
10899
10891
  const _ssrUtils = {
10900
10892
  createComponentInstance,
10901
10893
  setupComponent,
@@ -13846,6 +13838,7 @@ function parseAttributes(context, type) {
13846
13838
  return props;
13847
13839
  }
13848
13840
  function parseAttribute(context, nameSet) {
13841
+ var _a;
13849
13842
  const start = getCursor(context);
13850
13843
  const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
13851
13844
  const name = match[0];
@@ -13888,7 +13881,10 @@ function parseAttribute(context, nameSet) {
13888
13881
  let arg;
13889
13882
  if (match2[2]) {
13890
13883
  const isSlot = dirName === "slot";
13891
- const startOffset = name.lastIndexOf(match2[2]);
13884
+ const startOffset = name.lastIndexOf(
13885
+ match2[2],
13886
+ name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
13887
+ );
13892
13888
  const loc2 = getSelection(
13893
13889
  context,
13894
13890
  getNewPosition(context, start, startOffset),
@@ -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.1"}`;
6254
+ Vue.version = `2.6.14-compat:${"3.3.0-beta.3"}`;
6255
6255
  Vue.config = singletonApp.config;
6256
6256
  Vue.use = (p, ...options) => {
6257
6257
  if (p && isFunction(p.install)) {
@@ -10449,14 +10449,6 @@ Component that was made reactive: `,
10449
10449
  get(target, key) {
10450
10450
  track(instance, "get", "$slots");
10451
10451
  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
10452
  }
10461
10453
  }));
10462
10454
  }
@@ -10779,7 +10771,7 @@ Component that was made reactive: `,
10779
10771
  return true;
10780
10772
  }
10781
10773
 
10782
- const version = "3.3.0-beta.1";
10774
+ const version = "3.3.0-beta.3";
10783
10775
  const ssrUtils = null;
10784
10776
  const resolveFilter = resolveFilter$1 ;
10785
10777
  const _compatUtils = {
@@ -13668,6 +13660,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
13668
13660
  return props;
13669
13661
  }
13670
13662
  function parseAttribute(context, nameSet) {
13663
+ var _a;
13671
13664
  const start = getCursor(context);
13672
13665
  const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
13673
13666
  const name = match[0];
@@ -13710,7 +13703,10 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
13710
13703
  let arg;
13711
13704
  if (match2[2]) {
13712
13705
  const isSlot = dirName === "slot";
13713
- const startOffset = name.lastIndexOf(match2[2]);
13706
+ const startOffset = name.lastIndexOf(
13707
+ match2[2],
13708
+ name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
13709
+ );
13714
13710
  const loc2 = getSelection(
13715
13711
  context,
13716
13712
  getNewPosition(context, start, startOffset),