@tsslint/cli 1.5.15 → 1.5.16
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/lib/worker.js +6 -6
- package/package.json +4 -4
package/lib/worker.js
CHANGED
|
@@ -131,17 +131,17 @@ function create() {
|
|
|
131
131
|
setup(...args) {
|
|
132
132
|
return sendRequest(setup, ...args);
|
|
133
133
|
},
|
|
134
|
-
async lint(...
|
|
135
|
-
const [res, newCache] = await sendRequest(lint,
|
|
136
|
-
Object.assign(
|
|
134
|
+
async lint(...[fileName, fix, cache]) {
|
|
135
|
+
const [res, newCache] = await sendRequest(lint, fileName, fix, cache);
|
|
136
|
+
Object.assign(cache, newCache); // Sync the cache
|
|
137
137
|
return res;
|
|
138
138
|
},
|
|
139
139
|
hasCodeFixes(...args) {
|
|
140
140
|
return sendRequest(hasCodeFixes, ...args);
|
|
141
141
|
},
|
|
142
|
-
async hasRules(...
|
|
143
|
-
const [res, newCache] = await sendRequest(hasRules,
|
|
144
|
-
Object.assign(
|
|
142
|
+
async hasRules(...[fileName, cache]) {
|
|
143
|
+
const [res, newCache] = await sendRequest(hasRules, fileName, cache);
|
|
144
|
+
Object.assign(cache, newCache); // Sync the cache
|
|
145
145
|
return res;
|
|
146
146
|
},
|
|
147
147
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsslint/cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tsslint": "./bin/tsslint.js"
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@clack/prompts": "^0.8.2",
|
|
19
|
-
"@tsslint/config": "1.5.
|
|
20
|
-
"@tsslint/core": "1.5.
|
|
19
|
+
"@tsslint/config": "1.5.16",
|
|
20
|
+
"@tsslint/core": "1.5.16",
|
|
21
21
|
"@volar/language-core": "~2.4.0",
|
|
22
22
|
"@volar/typescript": "~2.4.0",
|
|
23
23
|
"glob": "^10.4.1",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"@vue-vine/language-service": "latest",
|
|
31
31
|
"@vue/language-core": "latest"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "85adb15843ec5c20916568fd8409b2adb9016a52"
|
|
34
34
|
}
|