vue-tsc 1.8.5 → 1.8.6

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/out/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as ts from 'typescript';
1
+ import type * as ts from 'typescript/lib/tsserverlibrary';
2
2
  import * as vue from '@vue/language-core';
3
3
  import * as vueTs from '@vue/typescript';
4
4
  export type Hook = (program: _Program) => void;
package/out/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createProgram = void 0;
4
- const ts = require("typescript");
5
4
  const vue = require("@vue/language-core");
6
5
  const vueTs = require("@vue/typescript");
7
6
  const shared_1 = require("./shared");
@@ -15,6 +14,7 @@ function createProgram(options) {
15
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.');
16
15
  if (!options.host)
17
16
  throw toThrow('!options.host');
17
+ const ts = require('typescript');
18
18
  let program = options.oldProgram;
19
19
  if (shared_1.state.hook) {
20
20
  program = shared_1.state.hook.program;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tsc",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
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
- "@vue/language-core": "1.8.5",
21
- "@vue/typescript": "1.8.5",
20
+ "@vue/language-core": "1.8.6",
21
+ "@vue/typescript": "1.8.6",
22
22
  "semver": "^7.3.8"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "typescript": "*"
26
26
  },
27
- "gitHead": "971820b55ea42cb7e8c8ba7c35c8998d5572b420"
27
+ "gitHead": "9da8afee02bc7251ae97716480ba31f8aff2794a"
28
28
  }