@shined/doctor-binding 0.0.39 → 0.0.41

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.d.ts +13 -12
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -1,15 +1,16 @@
1
1
  /* auto-generated by NAPI-RS */
2
2
  /* eslint-disable */
3
3
  export declare class JsSpecifications {
4
- static create(cwd: string, opts?: JsSpecificationsRenderOpts | undefined | null): JsSpecifications
4
+ static create(cwd: string, opts?: RawSpecificationsRenderOpts | 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
+ validateSyntax(): Promise<Array<JsMessages>>
9
10
  validateAll(): Promise<Array<JsMessages>>
10
11
  }
11
12
 
12
- export declare function cloc(paths: Array<string>, opts?: JsClocOpts | undefined | null): Array<JsLanguageStats>
13
+ export declare function cloc(paths: Array<string>, opts?: RawClocOpts | undefined | null): Array<JsLanguageStats>
13
14
 
14
15
  export interface Diagnostic {
15
16
  fileName: string
@@ -31,10 +32,6 @@ export interface GlobJsArgs {
31
32
 
32
33
  export declare function initializeLogger(level?: LogLevel | undefined | null): void
33
34
 
34
- export interface JsClocOpts {
35
- ignore?: Array<string>
36
- }
37
-
38
35
  export interface JsDiagnostics {
39
36
  message: string
40
37
  code?: string
@@ -313,12 +310,6 @@ export interface JsSourceSpan {
313
310
  length: number
314
311
  }
315
312
 
316
- export interface JsSpecificationsRenderOpts {
317
- withDashboard?: boolean
318
- maxRenderCount?: number
319
- quiet?: boolean
320
- }
321
-
322
313
  export interface LabeledLoc {
323
314
  span: Span
324
315
  loc: Location
@@ -346,6 +337,16 @@ export interface Position {
346
337
  col: number
347
338
  }
348
339
 
340
+ export interface RawClocOpts {
341
+ ignore?: Array<string>
342
+ }
343
+
344
+ export interface RawSpecificationsRenderOpts {
345
+ withDashboard?: boolean
346
+ maxRenderCount?: number
347
+ quiet?: boolean
348
+ }
349
+
349
350
  export interface Response {
350
351
  rc: string
351
352
  map: Record<string, number>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shined/doctor-binding",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
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.39",
24
- "@shined/doctor-binding-darwin-arm64": "0.0.39",
25
- "@shined/doctor-binding-win32-x64-msvc": "0.0.39",
26
- "@shined/doctor-binding-win32-arm64-msvc": "0.0.39",
27
- "@shined/doctor-binding-linux-x64-gnu": "0.0.39",
28
- "@shined/doctor-binding-linux-x64-musl": "0.0.39",
29
- "@shined/doctor-binding-linux-arm64-gnu": "0.0.39",
30
- "@shined/doctor-binding-linux-arm64-musl": "0.0.39"
23
+ "@shined/doctor-binding-darwin-x64": "0.0.41",
24
+ "@shined/doctor-binding-darwin-arm64": "0.0.41",
25
+ "@shined/doctor-binding-win32-x64-msvc": "0.0.41",
26
+ "@shined/doctor-binding-win32-arm64-msvc": "0.0.41",
27
+ "@shined/doctor-binding-linux-x64-gnu": "0.0.41",
28
+ "@shined/doctor-binding-linux-x64-musl": "0.0.41",
29
+ "@shined/doctor-binding-linux-arm64-gnu": "0.0.41",
30
+ "@shined/doctor-binding-linux-arm64-musl": "0.0.41"
31
31
  }
32
32
  }