@vue/compiler-core 3.5.22 → 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.22
2
+ * @vue/compiler-core v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6617,7 +6617,8 @@ const transformMemo = (node, context) => {
6617
6617
  const transformVBindShorthand = (node, context) => {
6618
6618
  if (node.type === 1) {
6619
6619
  for (const prop of node.props) {
6620
- if (prop.type === 7 && prop.name === "bind" && !prop.exp) {
6620
+ if (prop.type === 7 && prop.name === "bind" && (!prop.exp || // #13930 :foo in in-DOM templates will be parsed into :foo="" by browser
6621
+ false) && prop.arg) {
6621
6622
  const arg = prop.arg;
6622
6623
  if (arg.type !== 4 || !arg.isStatic) {
6623
6624
  context.onError(
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.22
2
+ * @vue/compiler-core v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6494,7 +6494,8 @@ const transformMemo = (node, context) => {
6494
6494
  const transformVBindShorthand = (node, context) => {
6495
6495
  if (node.type === 1) {
6496
6496
  for (const prop of node.props) {
6497
- if (prop.type === 7 && prop.name === "bind" && !prop.exp) {
6497
+ if (prop.type === 7 && prop.name === "bind" && (!prop.exp || // #13930 :foo in in-DOM templates will be parsed into :foo="" by browser
6498
+ false) && prop.arg) {
6498
6499
  const arg = prop.arg;
6499
6500
  if (arg.type !== 4 || !arg.isStatic) {
6500
6501
  context.onError(
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.22
2
+ * @vue/compiler-core v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5711,7 +5711,8 @@ const transformMemo = (node, context) => {
5711
5711
  const transformVBindShorthand = (node, context) => {
5712
5712
  if (node.type === 1) {
5713
5713
  for (const prop of node.props) {
5714
- if (prop.type === 7 && prop.name === "bind" && !prop.exp) {
5714
+ if (prop.type === 7 && prop.name === "bind" && (!prop.exp || // #13930 :foo in in-DOM templates will be parsed into :foo="" by browser
5715
+ prop.exp.type === 4 && !prop.exp.content.trim()) && prop.arg) {
5715
5716
  const arg = prop.arg;
5716
5717
  if (arg.type !== 4 || !arg.isStatic) {
5717
5718
  context.onError(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.5.22",
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",
@@ -46,13 +46,13 @@
46
46
  },
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
48
48
  "dependencies": {
49
- "@babel/parser": "^7.28.4",
49
+ "@babel/parser": "^7.28.5",
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.22"
53
+ "@vue/shared": "3.5.24"
54
54
  },
55
55
  "devDependencies": {
56
- "@babel/types": "^7.28.4"
56
+ "@babel/types": "^7.28.5"
57
57
  }
58
58
  }