@markuplint/ml-core 5.1.0 → 5.1.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/CHANGELOG.md +4 -0
- package/lib/ml-core.d.ts +5 -0
- package/lib/ml-core.js +5 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.1.1](https://github.com/markuplint/markuplint/compare/v5.1.0...v5.1.1) (2026-10-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @markuplint/ml-core
|
|
9
|
+
|
|
6
10
|
# [5.1.0](https://github.com/markuplint/markuplint/compare/v5.0.1...v5.1.0) (2026-10-08)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/lib/ml-core.d.ts
CHANGED
|
@@ -8,6 +8,11 @@ import { Document } from './ml-dom/index.js';
|
|
|
8
8
|
* config-level violations (e.g. the CLI's per-run dedupe and failed-file
|
|
9
9
|
* counting in `packages/markuplint/src/cli/command.ts`) reference the same
|
|
10
10
|
* literal `MLCore.verify()` emits, instead of duplicating the string.
|
|
11
|
+
*
|
|
12
|
+
* Two severities share it. `MLCore.verify()` emits `warning`: the rest of the
|
|
13
|
+
* config is still usable, so the file is linted. `MLEngine` emits `error`,
|
|
14
|
+
* as the file's only violation, when the config cannot be loaded at all
|
|
15
|
+
* (`ConfigLoadError`): no rule has looked at the file, so it must not pass.
|
|
11
16
|
*/
|
|
12
17
|
export declare const CONFIG_ERROR_RULE_ID = "config-error";
|
|
13
18
|
/**
|
package/lib/ml-core.js
CHANGED
|
@@ -10,6 +10,11 @@ const resultLog = log.extend('result');
|
|
|
10
10
|
* config-level violations (e.g. the CLI's per-run dedupe and failed-file
|
|
11
11
|
* counting in `packages/markuplint/src/cli/command.ts`) reference the same
|
|
12
12
|
* literal `MLCore.verify()` emits, instead of duplicating the string.
|
|
13
|
+
*
|
|
14
|
+
* Two severities share it. `MLCore.verify()` emits `warning`: the rest of the
|
|
15
|
+
* config is still usable, so the file is linted. `MLEngine` emits `error`,
|
|
16
|
+
* as the file's only violation, when the config cannot be loaded at all
|
|
17
|
+
* (`ConfigLoadError`): no rule has looked at the file, so it must not pass.
|
|
13
18
|
*/
|
|
14
19
|
export const CONFIG_ERROR_RULE_ID = 'config-error';
|
|
15
20
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/ml-core",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "The core module of markuplint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"./lib/configs.js": "./lib/configs.browser.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@markuplint/config-presets": "5.1.
|
|
38
|
-
"@markuplint/html-parser": "5.1.
|
|
39
|
-
"@markuplint/html-spec": "5.1.
|
|
40
|
-
"@markuplint/i18n": "5.1.
|
|
41
|
-
"@markuplint/ml-ast": "5.1.
|
|
42
|
-
"@markuplint/ml-config": "5.1.
|
|
43
|
-
"@markuplint/ml-spec": "5.1.
|
|
44
|
-
"@markuplint/parser-utils": "5.1.
|
|
45
|
-
"@markuplint/selector": "5.1.
|
|
46
|
-
"@markuplint/shared": "5.1.
|
|
37
|
+
"@markuplint/config-presets": "5.1.1",
|
|
38
|
+
"@markuplint/html-parser": "5.1.1",
|
|
39
|
+
"@markuplint/html-spec": "5.1.1",
|
|
40
|
+
"@markuplint/i18n": "5.1.1",
|
|
41
|
+
"@markuplint/ml-ast": "5.1.1",
|
|
42
|
+
"@markuplint/ml-config": "5.1.1",
|
|
43
|
+
"@markuplint/ml-spec": "5.1.1",
|
|
44
|
+
"@markuplint/parser-utils": "5.1.1",
|
|
45
|
+
"@markuplint/selector": "5.1.1",
|
|
46
|
+
"@markuplint/shared": "5.1.1",
|
|
47
47
|
"@types/debug": "4.1.13",
|
|
48
48
|
"debug": "4.4.3",
|
|
49
49
|
"is-plain-object": "5.0.0",
|
|
50
50
|
"type-fest": "5.6.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "a940c8526e971d590d97395ce924910221208820"
|
|
53
53
|
}
|