@vue/compiler-core 3.4.26 → 3.4.27

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.4.26
2
+ * @vue/compiler-core v3.4.27
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5892,7 +5892,7 @@ function processSlotOutlet(node, context) {
5892
5892
  };
5893
5893
  }
5894
5894
 
5895
- const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
5895
+ const fnExpRE = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
5896
5896
  const transformOn = (dir, node, context, augmentor) => {
5897
5897
  const { loc, modifiers, arg } = dir;
5898
5898
  if (!dir.exp && !modifiers.length) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.4.26
2
+ * @vue/compiler-core v3.4.27
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5776,7 +5776,7 @@ function processSlotOutlet(node, context) {
5776
5776
  };
5777
5777
  }
5778
5778
 
5779
- const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
5779
+ const fnExpRE = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
5780
5780
  const transformOn = (dir, node, context, augmentor) => {
5781
5781
  const { loc, modifiers, arg } = dir;
5782
5782
  if (!dir.exp && !modifiers.length) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.4.26
2
+ * @vue/compiler-core v3.4.27
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5135,7 +5135,7 @@ function processSlotOutlet(node, context) {
5135
5135
  };
5136
5136
  }
5137
5137
 
5138
- const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
5138
+ const fnExpRE = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
5139
5139
  const transformOn = (dir, node, context, augmentor) => {
5140
5140
  const { loc, modifiers, arg } = dir;
5141
5141
  if (!dir.exp && !modifiers.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.4.26",
3
+ "version": "3.4.27",
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.0",
53
- "@vue/shared": "3.4.26"
53
+ "@vue/shared": "3.4.27"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/types": "^7.24.0"