vue-tsc 2.2.10 → 3.0.0-alpha.10

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -6,7 +6,7 @@ const vue = require("@vue/language-core");
6
6
  const windowsPathReg = /\\/g;
7
7
  function run(tscPath = require.resolve('typescript/lib/tsc')) {
8
8
  let runExtensions = ['.vue'];
9
- const extensionsChangedException = new Error('extensions changed');
9
+ let extensionsChangedException;
10
10
  const main = () => (0, runTsc_1.runTsc)(tscPath, runExtensions, (ts, options) => {
11
11
  const { configFilePath } = options.options;
12
12
  const vueOptions = typeof configFilePath === 'string'
@@ -20,7 +20,7 @@ function run(tscPath = require.resolve('typescript/lib/tsc')) {
20
20
  }
21
21
  else {
22
22
  runExtensions = allExtensions;
23
- throw extensionsChangedException;
23
+ throw extensionsChangedException = new Error('extensions changed');
24
24
  }
25
25
  });
26
26
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tsc",
3
- "version": "2.2.10",
3
+ "version": "3.0.0-alpha.10",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "bin",
@@ -20,11 +20,11 @@
20
20
  "typescript": ">=5.0.0"
21
21
  },
22
22
  "dependencies": {
23
- "@volar/typescript": "~2.4.11",
24
- "@vue/language-core": "2.2.10"
23
+ "@volar/typescript": "~2.4.13",
24
+ "@vue/language-core": "3.0.0-alpha.10"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.10.4"
28
28
  },
29
- "gitHead": "0422c03ffa4958431c9cd3cd19ae51f726c30b07"
29
+ "gitHead": "28308b4f76cc80c7632f39ae7e0944f1889661a2"
30
30
  }