markuplint 3.6.0 → 3.6.1

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/types.d.ts CHANGED
@@ -1,26 +1,26 @@
1
1
  import type { Config, PlainData, RuleConfigValue, Violation } from '@markuplint/ml-config';
2
2
  import type { Document, Ruleset } from '@markuplint/ml-core';
3
3
  export interface MLResultInfo {
4
- readonly violations: readonly Violation[];
5
- readonly filePath: string;
6
- readonly sourceCode: string;
7
- readonly fixedCode: string;
4
+ readonly violations: readonly Violation[];
5
+ readonly filePath: string;
6
+ readonly sourceCode: string;
7
+ readonly fixedCode: string;
8
8
  }
9
9
  /**
10
10
  * @deprecated
11
11
  */
12
12
  export interface MLResultInfo_v1 {
13
- results: Violation[];
14
- filePath: string;
15
- sourceCode: string;
16
- fixedCode: string;
17
- document: Document<RuleConfigValue, PlainData> | null;
18
- parser: string;
19
- locale?: string;
20
- ruleset: Ruleset;
21
- configSet: {
22
- config: Config;
23
- files: string[];
24
- error: string[];
25
- };
13
+ results: Violation[];
14
+ filePath: string;
15
+ sourceCode: string;
16
+ fixedCode: string;
17
+ document: Document<RuleConfigValue, PlainData> | null;
18
+ parser: string;
19
+ locale?: string;
20
+ ruleset: Ruleset;
21
+ configSet: {
22
+ config: Config;
23
+ files: string[];
24
+ error: string[];
25
+ };
26
26
  }
package/lib/util.d.ts CHANGED
@@ -2,12 +2,12 @@ export declare function uuid(): string;
2
2
  export declare const markuplint: string;
3
3
  export declare function write(message: string): void;
4
4
  export declare namespace write {
5
- var _a: () => boolean;
6
- export { _a as break };
5
+ var _a: () => boolean;
6
+ export { _a as break };
7
7
  }
8
8
  export declare function error(message: string): void;
9
9
  export declare namespace error {
10
- var exit: () => never;
10
+ var exit: () => never;
11
11
  }
12
12
  export declare const head: (method: string, noColor?: boolean) => string;
13
13
  export declare function p(s: number | string, pad: number, start?: boolean): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markuplint",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "An HTML linter for all markup developers",
5
5
  "author": "Yusuke Hirao",
6
6
  "license": "MIT",
@@ -28,16 +28,16 @@
28
28
  "execa": "5"
29
29
  },
30
30
  "dependencies": {
31
- "@markuplint/create-rule-helper": "3.6.0",
32
- "@markuplint/file-resolver": "3.6.0",
33
- "@markuplint/html-parser": "3.6.0",
34
- "@markuplint/html-spec": "3.6.0",
31
+ "@markuplint/create-rule-helper": "3.6.1",
32
+ "@markuplint/file-resolver": "3.6.1",
33
+ "@markuplint/html-parser": "3.6.1",
34
+ "@markuplint/html-spec": "3.6.1",
35
35
  "@markuplint/i18n": "3.6.0",
36
36
  "@markuplint/ml-ast": "3.1.0",
37
- "@markuplint/ml-config": "3.6.0",
38
- "@markuplint/ml-core": "3.6.0",
39
- "@markuplint/ml-spec": "3.6.0",
40
- "@markuplint/rules": "3.6.0",
37
+ "@markuplint/ml-config": "3.6.1",
38
+ "@markuplint/ml-core": "3.6.1",
39
+ "@markuplint/ml-spec": "3.6.1",
40
+ "@markuplint/rules": "3.6.1",
41
41
  "@markuplint/shared": "3.5.0",
42
42
  "chokidar": "^3.5.3",
43
43
  "cli-color": "^2.0.3",
@@ -57,5 +57,5 @@
57
57
  "type-fest": "^3.6.1",
58
58
  "uuid": "^9.0.0"
59
59
  },
60
- "gitHead": "715dd53d3b1064a9bcf616c1533921cad9e3b187"
60
+ "gitHead": "3cdf5a088b2da03773d5d4461d0e65ec32290a00"
61
61
  }