vue-tsc 1.0.16 → 1.0.17
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.js +3 -4
- package/package.json +4 -4
package/out/index.js
CHANGED
|
@@ -120,13 +120,12 @@ _options, _host, _oldProgram, _configFileParsingDiagnostics) {
|
|
|
120
120
|
if (vueCompilerOptions.hooks) {
|
|
121
121
|
const index = ((_b = (_a = shared_1.state.hook) === null || _a === void 0 ? void 0 : _a.index) !== null && _b !== void 0 ? _b : -1) + 1;
|
|
122
122
|
if (index < vueCompilerOptions.hooks.length) {
|
|
123
|
-
const
|
|
124
|
-
const
|
|
125
|
-
const cb = require(require.resolve(cbPath, { paths: [dir] }));
|
|
123
|
+
const hookPath = vueCompilerOptions.hooks[index];
|
|
124
|
+
const hook = require(hookPath);
|
|
126
125
|
shared_1.state.hook = {
|
|
127
126
|
program,
|
|
128
127
|
index,
|
|
129
|
-
worker: (() => __awaiter(this, void 0, void 0, function* () { return yield
|
|
128
|
+
worker: (() => __awaiter(this, void 0, void 0, function* () { return yield hook(program); }))(),
|
|
130
129
|
};
|
|
131
130
|
throw 'hook';
|
|
132
131
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-tsc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"vue-tsc": "./bin/vue-tsc.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@volar/vue-language-core": "1.0.
|
|
21
|
-
"@volar/vue-typescript": "1.0.
|
|
20
|
+
"@volar/vue-language-core": "1.0.17",
|
|
21
|
+
"@volar/vue-typescript": "1.0.17"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"typescript": "*"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "b66b64f579b5cafee9b8d70aa9f9303f39b6df49"
|
|
27
27
|
}
|