@shined/doctor-binding 0.0.21-snapshot.8 → 0.0.21
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/index.d.ts +4 -4
- package/index.js +2 -2
- package/package.json +10 -10
package/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface DoctorOptions {
|
|
|
18
18
|
withDashboard?: boolean
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function getLangStats(paths: Array<string>): Array<LangStats>
|
|
22
22
|
|
|
23
23
|
export interface GlobJsArgs {
|
|
24
24
|
ignore?: Array<string>
|
|
@@ -39,14 +39,14 @@ export interface LabeledLoc {
|
|
|
39
39
|
loc: Location
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export interface
|
|
43
|
-
|
|
42
|
+
export interface LangStats {
|
|
43
|
+
lang: LangType
|
|
44
44
|
code: number
|
|
45
45
|
comments: number
|
|
46
46
|
blanks: number
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export declare const enum
|
|
49
|
+
export declare const enum LangType {
|
|
50
50
|
ABNF = 'ABNF',
|
|
51
51
|
Abap = 'Abap',
|
|
52
52
|
ActionScript = 'ActionScript',
|
package/index.js
CHANGED
|
@@ -375,11 +375,11 @@ if (!nativeBinding) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
module.exports.doctor = nativeBinding.doctor
|
|
378
|
-
module.exports.
|
|
378
|
+
module.exports.getLangStats = nativeBinding.getLangStats
|
|
379
379
|
module.exports.initializeLogger = nativeBinding.initializeLogger
|
|
380
380
|
module.exports.innerDebugLint = nativeBinding.innerDebugLint
|
|
381
381
|
module.exports.innerLint = nativeBinding.innerLint
|
|
382
|
-
module.exports.
|
|
382
|
+
module.exports.LangType = nativeBinding.LangType
|
|
383
383
|
module.exports.LogLevel = nativeBinding.LogLevel
|
|
384
384
|
module.exports.NaPiCategory = nativeBinding.NaPiCategory
|
|
385
385
|
module.exports.NapiSeverity = nativeBinding.NapiSeverity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shined/doctor-binding",
|
|
3
|
-
"version": "0.0.21
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public",
|
|
11
|
-
"tag": "
|
|
11
|
+
"tag": "latest"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"index.js",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/sheinsight/doctor-engine#readme",
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@shined/doctor-binding-darwin-x64": "0.0.21
|
|
24
|
-
"@shined/doctor-binding-darwin-arm64": "0.0.21
|
|
25
|
-
"@shined/doctor-binding-win32-x64-msvc": "0.0.21
|
|
26
|
-
"@shined/doctor-binding-win32-arm64-msvc": "0.0.21
|
|
27
|
-
"@shined/doctor-binding-linux-x64-gnu": "0.0.21
|
|
28
|
-
"@shined/doctor-binding-linux-x64-musl": "0.0.21
|
|
29
|
-
"@shined/doctor-binding-linux-arm64-gnu": "0.0.21
|
|
30
|
-
"@shined/doctor-binding-linux-arm64-musl": "0.0.21
|
|
23
|
+
"@shined/doctor-binding-darwin-x64": "0.0.21",
|
|
24
|
+
"@shined/doctor-binding-darwin-arm64": "0.0.21",
|
|
25
|
+
"@shined/doctor-binding-win32-x64-msvc": "0.0.21",
|
|
26
|
+
"@shined/doctor-binding-win32-arm64-msvc": "0.0.21",
|
|
27
|
+
"@shined/doctor-binding-linux-x64-gnu": "0.0.21",
|
|
28
|
+
"@shined/doctor-binding-linux-x64-musl": "0.0.21",
|
|
29
|
+
"@shined/doctor-binding-linux-arm64-gnu": "0.0.21",
|
|
30
|
+
"@shined/doctor-binding-linux-arm64-musl": "0.0.21"
|
|
31
31
|
}
|
|
32
32
|
}
|