@vue/compiler-sfc 3.4.3 → 3.4.4

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.
@@ -4274,6 +4274,7 @@ function doCompileTemplate({
4274
4274
  }
4275
4275
  if (inAST == null ? void 0 : inAST.transformed) {
4276
4276
  const newAST = (ssr ? CompilerDOM__namespace : compiler).parse(inAST.source, {
4277
+ ...compilerOptions,
4277
4278
  parseMode: "sfc",
4278
4279
  onError: (e) => errors.push(e)
4279
4280
  });
@@ -11215,10 +11216,7 @@ const scss = (source, map, options, load = require) => {
11215
11216
  if (map) {
11216
11217
  return {
11217
11218
  code: result.css.toString(),
11218
- map: merge$1(
11219
- map,
11220
- result.map.toJSON ? result.map.toJSON() : JSON.parse(result.map.toString())
11221
- ),
11219
+ map: merge$1(map, JSON.parse(result.map.toString())),
11222
11220
  errors: [],
11223
11221
  dependencies
11224
11222
  };
@@ -20593,7 +20591,7 @@ function isStaticNode(node) {
20593
20591
  return false;
20594
20592
  }
20595
20593
 
20596
- const version = "3.4.3";
20594
+ const version = "3.4.4";
20597
20595
  const parseCache = parseCache$1;
20598
20596
  const errorMessages = {
20599
20597
  ...CompilerDOM.errorMessages,
@@ -32631,10 +32631,10 @@ function doCompileTemplate({
32631
32631
  inAST = void 0;
32632
32632
  }
32633
32633
  if (inAST == null ? void 0 : inAST.transformed) {
32634
- const newAST = (ssr ? CompilerDOM : compiler).parse(inAST.source, {
32634
+ const newAST = (ssr ? CompilerDOM : compiler).parse(inAST.source, __spreadProps$5(__spreadValues$6({}, compilerOptions), {
32635
32635
  parseMode: "sfc",
32636
32636
  onError: (e) => errors.push(e)
32637
- });
32637
+ }));
32638
32638
  const template = newAST.children.find(
32639
32639
  (node) => node.type === 1 && node.tag === "template"
32640
32640
  );
@@ -43978,10 +43978,7 @@ const scss = (source, map, options, load = require) => {
43978
43978
  if (map) {
43979
43979
  return {
43980
43980
  code: result.css.toString(),
43981
- map: merge$1(
43982
- map,
43983
- result.map.toJSON ? result.map.toJSON() : JSON.parse(result.map.toString())
43984
- ),
43981
+ map: merge$1(map, JSON.parse(result.map.toString())),
43985
43982
  errors: [],
43986
43983
  dependencies
43987
43984
  };
@@ -48612,7 +48609,7 @@ var __spreadValues = (a, b) => {
48612
48609
  }
48613
48610
  return a;
48614
48611
  };
48615
- const version = "3.4.3";
48612
+ const version = "3.4.4";
48616
48613
  const parseCache = parseCache$1;
48617
48614
  const errorMessages = __spreadValues(__spreadValues({}, errorMessages$1), DOMErrorMessages);
48618
48615
  const walk = walk$2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-sfc",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "description": "@vue/compiler-sfc",
5
5
  "main": "dist/compiler-sfc.cjs.js",
6
6
  "module": "dist/compiler-sfc.esm-browser.js",
@@ -37,10 +37,10 @@
37
37
  "magic-string": "^0.30.5",
38
38
  "postcss": "^8.4.32",
39
39
  "source-map-js": "^1.0.2",
40
- "@vue/compiler-core": "3.4.3",
41
- "@vue/compiler-ssr": "3.4.3",
42
- "@vue/compiler-dom": "3.4.3",
43
- "@vue/shared": "3.4.3"
40
+ "@vue/compiler-core": "3.4.4",
41
+ "@vue/shared": "3.4.4",
42
+ "@vue/compiler-dom": "3.4.4",
43
+ "@vue/compiler-ssr": "3.4.4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@babel/types": "^7.23.6",
@@ -50,8 +50,8 @@
50
50
  "merge-source-map": "^1.1.0",
51
51
  "minimatch": "^9.0.3",
52
52
  "postcss-modules": "^6.0.0",
53
- "postcss-selector-parser": "^6.0.13",
53
+ "postcss-selector-parser": "^6.0.15",
54
54
  "pug": "^3.0.2",
55
- "sass": "^1.69.5"
55
+ "sass": "^1.69.7"
56
56
  }
57
57
  }