@vue/compiler-core 3.6.0-rc.14 → 3.6.0-rc.15

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.6.0-rc.14
2
+ * @vue/compiler-core v3.6.0-rc.15
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2885,7 +2885,11 @@ function getLoc(start, end) {
2885
2885
  };
2886
2886
  }
2887
2887
  function cloneLoc(loc) {
2888
- return getLoc(loc.start.offset, loc.end.offset);
2888
+ return {
2889
+ start: (0, _vue_shared.extend)({}, loc.start),
2890
+ end: (0, _vue_shared.extend)({}, loc.end),
2891
+ source: loc.source
2892
+ };
2889
2893
  }
2890
2894
  function setLocEnd(loc, end) {
2891
2895
  loc.end = tokenizer.getPos(end);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.6.0-rc.14
2
+ * @vue/compiler-core v3.6.0-rc.15
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2865,7 +2865,11 @@ function getLoc(start, end) {
2865
2865
  };
2866
2866
  }
2867
2867
  function cloneLoc(loc) {
2868
- return getLoc(loc.start.offset, loc.end.offset);
2868
+ return {
2869
+ start: (0, _vue_shared.extend)({}, loc.start),
2870
+ end: (0, _vue_shared.extend)({}, loc.end),
2871
+ source: loc.source
2872
+ };
2869
2873
  }
2870
2874
  function setLocEnd(loc, end) {
2871
2875
  loc.end = tokenizer.getPos(end);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.6.0-rc.14
2
+ * @vue/compiler-core v3.6.0-rc.15
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2219,7 +2219,11 @@ function getLoc(start, end) {
2219
2219
  };
2220
2220
  }
2221
2221
  function cloneLoc(loc) {
2222
- return getLoc(loc.start.offset, loc.end.offset);
2222
+ return {
2223
+ start: extend({}, loc.start),
2224
+ end: extend({}, loc.end),
2225
+ source: loc.source
2226
+ };
2223
2227
  }
2224
2228
  function setLocEnd(loc, end) {
2225
2229
  loc.end = tokenizer.getPos(end);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.6.0-rc.14",
3
+ "version": "3.6.0-rc.15",
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.6.0-rc.14",
49
+ "@babel/parser": "^7.29.12",
50
+ "@vue/shared": "3.6.0-rc.15",
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
  }