@vue/compiler-core 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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.23
2
+ * @vue/compiler-core v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4595,17 +4595,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
4595
4595
  knownIds
4596
4596
  );
4597
4597
  const children = [];
4598
- const isTSNode = TS_NODE_TYPES.includes(ast.type);
4599
4598
  ids.sort((a, b) => a.start - b.start);
4600
4599
  ids.forEach((id, i) => {
4601
4600
  const start = id.start - 1;
4602
4601
  const end = id.end - 1;
4603
4602
  const last = ids[i - 1];
4604
- if (!(isTSNode && i === 0)) {
4605
- const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
4606
- if (leadingText.length || id.prefix) {
4607
- children.push(leadingText + (id.prefix || ``));
4608
- }
4603
+ const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
4604
+ if (leadingText.length || id.prefix) {
4605
+ children.push(leadingText + (id.prefix || ``));
4609
4606
  }
4610
4607
  const source = rawExp.slice(start, end);
4611
4608
  children.push(
@@ -4620,7 +4617,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
4620
4617
  id.isConstant ? 3 : 0
4621
4618
  )
4622
4619
  );
4623
- if (i === ids.length - 1 && end < rawExp.length && !isTSNode) {
4620
+ if (i === ids.length - 1 && end < rawExp.length) {
4624
4621
  children.push(rawExp.slice(end));
4625
4622
  }
4626
4623
  });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.23
2
+ * @vue/compiler-core v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4519,17 +4519,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
4519
4519
  knownIds
4520
4520
  );
4521
4521
  const children = [];
4522
- const isTSNode = TS_NODE_TYPES.includes(ast.type);
4523
4522
  ids.sort((a, b) => a.start - b.start);
4524
4523
  ids.forEach((id, i) => {
4525
4524
  const start = id.start - 1;
4526
4525
  const end = id.end - 1;
4527
4526
  const last = ids[i - 1];
4528
- if (!(isTSNode && i === 0)) {
4529
- const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
4530
- if (leadingText.length || id.prefix) {
4531
- children.push(leadingText + (id.prefix || ``));
4532
- }
4527
+ const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
4528
+ if (leadingText.length || id.prefix) {
4529
+ children.push(leadingText + (id.prefix || ``));
4533
4530
  }
4534
4531
  const source = rawExp.slice(start, end);
4535
4532
  children.push(
@@ -4544,7 +4541,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
4544
4541
  id.isConstant ? 3 : 0
4545
4542
  )
4546
4543
  );
4547
- if (i === ids.length - 1 && end < rawExp.length && !isTSNode) {
4544
+ if (i === ids.length - 1 && end < rawExp.length) {
4548
4545
  children.push(rawExp.slice(end));
4549
4546
  }
4550
4547
  });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.23
2
+ * @vue/compiler-core v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.5.23",
3
+ "version": "3.5.24",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -50,7 +50,7 @@
50
50
  "entities": "^4.5.0",
51
51
  "estree-walker": "^2.0.2",
52
52
  "source-map-js": "^1.2.1",
53
- "@vue/shared": "3.5.23"
53
+ "@vue/shared": "3.5.24"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/types": "^7.28.5"