vue-tsc 1.4.2 → 1.4.3

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.
package/bin/vue-tsc.js CHANGED
@@ -19,7 +19,7 @@ fs.readFileSync = (...args) => {
19
19
  // proxy createProgram apis
20
20
  tryReplace(/function createProgram\(.+\) {/, s => s + ` return require(${JSON.stringify(proxyApiPath)}).createProgram(...arguments);`);
21
21
 
22
- // patches logic for checking root file existance in build program for incremental builds
22
+ // patches logic for checking root file extension in build program for incremental builds
23
23
  if (semver.gt(tsPkg.version, '5.0.0')) {
24
24
  tryReplace(`for (const existingRoot of buildInfoVersionMap.roots) {`, `for (const existingRoot of buildInfoVersionMap.roots
25
25
  .filter(file => !file.toLowerCase().includes('__vls_'))
package/out/index.js CHANGED
@@ -10,8 +10,6 @@ function createProgram(options) {
10
10
  throw toThrow('js emit is not supported');
11
11
  if (!options.options.noEmit && options.options.noEmitOnError)
12
12
  throw toThrow('noEmitOnError is not supported');
13
- if (options.options.composite || options.options.incremental)
14
- throw toThrow('composite / incremental is not supported');
15
13
  if (options.options.extendedDiagnostics || options.options.generateTrace)
16
14
  throw toThrow('--extendedDiagnostics / --generateTrace is not supported, please run `Write Virtual Files` in VSCode to write virtual files and use `--extendedDiagnostics` / `--generateTrace` via tsc instead of vue-tsc to debug.');
17
15
  if (!options.host)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tsc",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -17,12 +17,12 @@
17
17
  "vue-tsc": "./bin/vue-tsc.js"
18
18
  },
19
19
  "dependencies": {
20
- "@volar/vue-language-core": "1.4.2",
21
- "@volar/vue-typescript": "1.4.2",
20
+ "@volar/vue-language-core": "1.4.3",
21
+ "@volar/vue-typescript": "1.4.3",
22
22
  "semver": "^7.3.8"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "typescript": "*"
26
26
  },
27
- "gitHead": "7879b086f9e5c4a9e748014d5469370d0f3de378"
27
+ "gitHead": "5236d30f9eec38c9537af66471c587821f11ef82"
28
28
  }