@vue/compat 3.5.23 → 3.5.24

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.23
2
+ * @vue/compat v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7327,7 +7327,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7327
7327
  return vm;
7328
7328
  }
7329
7329
  }
7330
- Vue.version = `2.6.14-compat:${"3.5.23"}`;
7330
+ Vue.version = `2.6.14-compat:${"3.5.24"}`;
7331
7331
  Vue.config = singletonApp.config;
7332
7332
  Vue.use = (plugin, ...options) => {
7333
7333
  if (plugin && isFunction(plugin.install)) {
@@ -12501,7 +12501,7 @@ function isMemoSame(cached, memo) {
12501
12501
  return true;
12502
12502
  }
12503
12503
 
12504
- const version = "3.5.23";
12504
+ const version = "3.5.24";
12505
12505
  const warn = warn$1 ;
12506
12506
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12507
12507
  const devtools = devtools$1 ;
@@ -18965,17 +18965,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
18965
18965
  knownIds
18966
18966
  );
18967
18967
  const children = [];
18968
- const isTSNode = TS_NODE_TYPES.includes(ast.type);
18969
18968
  ids.sort((a, b) => a.start - b.start);
18970
18969
  ids.forEach((id, i) => {
18971
18970
  const start = id.start - 1;
18972
18971
  const end = id.end - 1;
18973
18972
  const last = ids[i - 1];
18974
- if (!(isTSNode && i === 0)) {
18975
- const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
18976
- if (leadingText.length || id.prefix) {
18977
- children.push(leadingText + (id.prefix || ``));
18978
- }
18973
+ const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
18974
+ if (leadingText.length || id.prefix) {
18975
+ children.push(leadingText + (id.prefix || ``));
18979
18976
  }
18980
18977
  const source = rawExp.slice(start, end);
18981
18978
  children.push(
@@ -18990,7 +18987,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
18990
18987
  id.isConstant ? 3 : 0
18991
18988
  )
18992
18989
  );
18993
- if (i === ids.length - 1 && end < rawExp.length && !isTSNode) {
18990
+ if (i === ids.length - 1 && end < rawExp.length) {
18994
18991
  children.push(rawExp.slice(end));
18995
18992
  }
18996
18993
  });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.23
2
+ * @vue/compat v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5872,7 +5872,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5872
5872
  return vm;
5873
5873
  }
5874
5874
  }
5875
- Vue.version = `2.6.14-compat:${"3.5.23"}`;
5875
+ Vue.version = `2.6.14-compat:${"3.5.24"}`;
5876
5876
  Vue.config = singletonApp.config;
5877
5877
  Vue.use = (plugin, ...options) => {
5878
5878
  if (plugin && isFunction(plugin.install)) {
@@ -10047,7 +10047,7 @@ function isMemoSame(cached, memo) {
10047
10047
  return true;
10048
10048
  }
10049
10049
 
10050
- const version = "3.5.23";
10050
+ const version = "3.5.24";
10051
10051
  const warn$1 = NOOP;
10052
10052
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10053
10053
  const devtools = void 0;
@@ -16213,17 +16213,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
16213
16213
  knownIds
16214
16214
  );
16215
16215
  const children = [];
16216
- const isTSNode = TS_NODE_TYPES.includes(ast.type);
16217
16216
  ids.sort((a, b) => a.start - b.start);
16218
16217
  ids.forEach((id, i) => {
16219
16218
  const start = id.start - 1;
16220
16219
  const end = id.end - 1;
16221
16220
  const last = ids[i - 1];
16222
- if (!(isTSNode && i === 0)) {
16223
- const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
16224
- if (leadingText.length || id.prefix) {
16225
- children.push(leadingText + (id.prefix || ``));
16226
- }
16221
+ const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
16222
+ if (leadingText.length || id.prefix) {
16223
+ children.push(leadingText + (id.prefix || ``));
16227
16224
  }
16228
16225
  const source = rawExp.slice(start, end);
16229
16226
  children.push(
@@ -16238,7 +16235,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
16238
16235
  id.isConstant ? 3 : 0
16239
16236
  )
16240
16237
  );
16241
- if (i === ids.length - 1 && end < rawExp.length && !isTSNode) {
16238
+ if (i === ids.length - 1 && end < rawExp.length) {
16242
16239
  children.push(rawExp.slice(end));
16243
16240
  }
16244
16241
  });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.23
2
+ * @vue/compat v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7277,7 +7277,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7277
7277
  return vm;
7278
7278
  }
7279
7279
  }
7280
- Vue.version = `2.6.14-compat:${"3.5.23"}`;
7280
+ Vue.version = `2.6.14-compat:${"3.5.24"}`;
7281
7281
  Vue.config = singletonApp.config;
7282
7282
  Vue.use = (plugin, ...options) => {
7283
7283
  if (plugin && isFunction(plugin.install)) {
@@ -12451,7 +12451,7 @@ function isMemoSame(cached, memo) {
12451
12451
  return true;
12452
12452
  }
12453
12453
 
12454
- const version = "3.5.23";
12454
+ const version = "3.5.24";
12455
12455
  const warn = warn$1 ;
12456
12456
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12457
12457
  const devtools = devtools$1 ;