@vue/compiler-sfc 3.4.14 → 3.4.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-sfc v3.4.14
2
+ * @vue/compiler-sfc v3.4.15
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -18367,7 +18367,8 @@ function resolveFS(ctx) {
18367
18367
  file = file.replace(/\.ts$/, "");
18368
18368
  }
18369
18369
  return fs.readFile(file);
18370
- }
18370
+ },
18371
+ realpath: fs.realpath
18371
18372
  };
18372
18373
  }
18373
18374
  function resolveTypeFromImport(ctx, node, name, scope) {
@@ -18495,7 +18496,7 @@ function resolveWithTS(containingFile, source, ts2, fs) {
18495
18496
  if (filename.endsWith(".vue.ts")) {
18496
18497
  filename = filename.replace(/\.ts$/, "");
18497
18498
  }
18498
- return filename;
18499
+ return fs.realpath ? fs.realpath(filename) : filename;
18499
18500
  }
18500
18501
  }
18501
18502
  function loadTSConfig(configPath, ts2, fs) {
@@ -20608,7 +20609,7 @@ function isStaticNode(node) {
20608
20609
  return false;
20609
20610
  }
20610
20611
 
20611
- const version = "3.4.14";
20612
+ const version = "3.4.15";
20612
20613
  const parseCache = parseCache$1;
20613
20614
  const errorMessages = {
20614
20615
  ...CompilerDOM.errorMessages,
@@ -130,6 +130,7 @@ export interface SFCScriptCompileOptions {
130
130
  fs?: {
131
131
  fileExists(file: string): boolean;
132
132
  readFile(file: string): string | undefined;
133
+ realpath?(file: string): string;
133
134
  };
134
135
  /**
135
136
  * Transform Vue SFCs into custom elements.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-sfc v3.4.14
2
+ * @vue/compiler-sfc v3.4.15
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -46461,7 +46461,8 @@ function resolveFS(ctx) {
46461
46461
  file = file.replace(/\.ts$/, "");
46462
46462
  }
46463
46463
  return fs.readFile(file);
46464
- }
46464
+ },
46465
+ realpath: fs.realpath
46465
46466
  };
46466
46467
  }
46467
46468
  function resolveTypeFromImport(ctx, node, name, scope) {
@@ -48648,7 +48649,7 @@ var __spreadValues = (a, b) => {
48648
48649
  }
48649
48650
  return a;
48650
48651
  };
48651
- const version = "3.4.14";
48652
+ const version = "3.4.15";
48652
48653
  const parseCache = parseCache$1;
48653
48654
  const errorMessages = __spreadValues(__spreadValues({}, errorMessages$1), DOMErrorMessages);
48654
48655
  const walk = walk$2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-sfc",
3
- "version": "3.4.14",
3
+ "version": "3.4.15",
4
4
  "description": "@vue/compiler-sfc",
5
5
  "main": "dist/compiler-sfc.cjs.js",
6
6
  "module": "dist/compiler-sfc.esm-browser.js",
@@ -47,10 +47,10 @@
47
47
  "magic-string": "^0.30.5",
48
48
  "postcss": "^8.4.33",
49
49
  "source-map-js": "^1.0.2",
50
- "@vue/compiler-core": "3.4.14",
51
- "@vue/compiler-dom": "3.4.14",
52
- "@vue/shared": "3.4.14",
53
- "@vue/compiler-ssr": "3.4.14"
50
+ "@vue/compiler-core": "3.4.15",
51
+ "@vue/shared": "3.4.15",
52
+ "@vue/compiler-dom": "3.4.15",
53
+ "@vue/compiler-ssr": "3.4.15"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/types": "^7.23.6",