@shined/doctor-binding 0.0.35 → 0.0.37
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 +9 -9
- package/index.js +1 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* auto-generated by NAPI-RS */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export declare class
|
|
4
|
-
static create(cwd: string):
|
|
3
|
+
export declare class JsSpecifications {
|
|
4
|
+
static create(cwd: string, opts?: JsSpecificationsRenderOpts | undefined | null): JsSpecifications
|
|
5
5
|
validateNpmrc(): Promise<Array<JsMessages>>
|
|
6
6
|
validateNodeVersion(): Promise<Array<JsMessages>>
|
|
7
7
|
validatePackageJson(): Promise<Array<JsMessages>>
|
|
8
8
|
validateLint(): Promise<Array<JsMessages>>
|
|
9
|
-
validateAll(
|
|
9
|
+
validateAll(): Promise<Array<JsMessages>>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export declare function cloc(paths: Array<string>, opts?: JsClocOpts | undefined | null): Array<JsLanguageStats>
|
|
@@ -292,12 +292,6 @@ export interface JsMessages {
|
|
|
292
292
|
diagnostics: Array<JsDiagnostics>
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
export interface JsRenderOpts {
|
|
296
|
-
withDashboard?: boolean
|
|
297
|
-
maxRenderCount?: number
|
|
298
|
-
quiet?: boolean
|
|
299
|
-
}
|
|
300
|
-
|
|
301
295
|
export declare const enum JsSeverity {
|
|
302
296
|
Error = 'Error',
|
|
303
297
|
Warning = 'Warning',
|
|
@@ -319,6 +313,12 @@ export interface JsSourceSpan {
|
|
|
319
313
|
length: number
|
|
320
314
|
}
|
|
321
315
|
|
|
316
|
+
export interface JsSpecificationsRenderOpts {
|
|
317
|
+
withDashboard?: boolean
|
|
318
|
+
maxRenderCount?: number
|
|
319
|
+
quiet?: boolean
|
|
320
|
+
}
|
|
321
|
+
|
|
322
322
|
export interface LabeledLoc {
|
|
323
323
|
span: Span
|
|
324
324
|
loc: Location
|
package/index.js
CHANGED
|
@@ -375,7 +375,7 @@ if (!nativeBinding) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
module.exports = nativeBinding
|
|
378
|
-
module.exports.
|
|
378
|
+
module.exports.JsSpecifications = nativeBinding.JsSpecifications
|
|
379
379
|
module.exports.cloc = nativeBinding.cloc
|
|
380
380
|
module.exports.initializeLogger = nativeBinding.initializeLogger
|
|
381
381
|
module.exports.JsLanguageType = nativeBinding.JsLanguageType
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shined/doctor-binding",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -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.
|
|
24
|
-
"@shined/doctor-binding-darwin-arm64": "0.0.
|
|
25
|
-
"@shined/doctor-binding-win32-x64-msvc": "0.0.
|
|
26
|
-
"@shined/doctor-binding-win32-arm64-msvc": "0.0.
|
|
27
|
-
"@shined/doctor-binding-linux-x64-gnu": "0.0.
|
|
28
|
-
"@shined/doctor-binding-linux-x64-musl": "0.0.
|
|
29
|
-
"@shined/doctor-binding-linux-arm64-gnu": "0.0.
|
|
30
|
-
"@shined/doctor-binding-linux-arm64-musl": "0.0.
|
|
23
|
+
"@shined/doctor-binding-darwin-x64": "0.0.37",
|
|
24
|
+
"@shined/doctor-binding-darwin-arm64": "0.0.37",
|
|
25
|
+
"@shined/doctor-binding-win32-x64-msvc": "0.0.37",
|
|
26
|
+
"@shined/doctor-binding-win32-arm64-msvc": "0.0.37",
|
|
27
|
+
"@shined/doctor-binding-linux-x64-gnu": "0.0.37",
|
|
28
|
+
"@shined/doctor-binding-linux-x64-musl": "0.0.37",
|
|
29
|
+
"@shined/doctor-binding-linux-arm64-gnu": "0.0.37",
|
|
30
|
+
"@shined/doctor-binding-linux-arm64-musl": "0.0.37"
|
|
31
31
|
}
|
|
32
32
|
}
|