@vue/compiler-core 3.5.44 → 3.5.45

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.44
2
+ * @vue/compiler-core v3.5.45
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2972,7 +2972,11 @@ function getLoc(start, end) {
2972
2972
  };
2973
2973
  }
2974
2974
  function cloneLoc(loc) {
2975
- return getLoc(loc.start.offset, loc.end.offset);
2975
+ return {
2976
+ start: shared.extend({}, loc.start),
2977
+ end: shared.extend({}, loc.end),
2978
+ source: loc.source
2979
+ };
2976
2980
  }
2977
2981
  function setLocEnd(loc, end) {
2978
2982
  loc.end = tokenizer.getPos(end);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.44
2
+ * @vue/compiler-core v3.5.45
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2938,7 +2938,11 @@ function getLoc(start, end) {
2938
2938
  };
2939
2939
  }
2940
2940
  function cloneLoc(loc) {
2941
- return getLoc(loc.start.offset, loc.end.offset);
2941
+ return {
2942
+ start: shared.extend({}, loc.start),
2943
+ end: shared.extend({}, loc.end),
2944
+ source: loc.source
2945
+ };
2942
2946
  }
2943
2947
  function setLocEnd(loc, end) {
2944
2948
  loc.end = tokenizer.getPos(end);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.44
2
+ * @vue/compiler-core v3.5.45
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2636,7 +2636,11 @@ function getLoc(start, end) {
2636
2636
  };
2637
2637
  }
2638
2638
  function cloneLoc(loc) {
2639
- return getLoc(loc.start.offset, loc.end.offset);
2639
+ return {
2640
+ start: extend({}, loc.start),
2641
+ end: extend({}, loc.end),
2642
+ source: loc.source
2643
+ };
2640
2644
  }
2641
2645
  function setLocEnd(loc, end) {
2642
2646
  loc.end = tokenizer.getPos(end);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.5.44",
3
+ "version": "3.5.45",
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.29.9",
50
- "@vue/shared": "3.5.44",
49
+ "@babel/parser": "^7.29.12",
50
+ "@vue/shared": "3.5.45",
51
51
  "entities": "^7.0.1",
52
52
  "estree-walker": "^2.0.2",
53
53
  "source-map-js": "^1.2.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@babel/types": "^7.29.8"
56
+ "@babel/types": "^7.29.11"
57
57
  }
58
58
  }