markuplint 4.11.4 → 4.11.5
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 +6 -0
- package/lib/testing-tool/index.js +3 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [4.11.5](https://github.com/markuplint/markuplint/compare/markuplint@4.11.4...markuplint@4.11.5) (2025-02-04)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **markuplint:** fix default options of the `mlRuleTest` ([3d85bfd](https://github.com/markuplint/markuplint/commit/3d85bfdb5cc1a121797613d76f02757b1816072d))
|
|
11
|
+
|
|
6
12
|
## [4.11.4](https://github.com/markuplint/markuplint/compare/markuplint@4.11.3...markuplint@4.11.4) (2024-12-04)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package markuplint
|
|
@@ -21,6 +21,9 @@ export async function mlTest(sourceCode, config, rules, locale = 'en', fix = fal
|
|
|
21
21
|
export async function mlRuleTest(rule, sourceCode,
|
|
22
22
|
// eslint-disable-next-line unicorn/no-object-as-default-parameter
|
|
23
23
|
config = { rule: true }, fix = false, locale = 'en') {
|
|
24
|
+
if (config.rule === undefined && (config.nodeRule || config.childNodeRule)) {
|
|
25
|
+
config.rule = true;
|
|
26
|
+
}
|
|
24
27
|
const _config = {
|
|
25
28
|
...config,
|
|
26
29
|
rules: config.rule === undefined
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markuplint",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.5",
|
|
4
4
|
"description": "An HTML linter for all markup developers",
|
|
5
5
|
"author": "Yusuke Hirao",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,25 +27,25 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@markuplint/cli-utils": "4.4.10",
|
|
30
|
-
"@markuplint/file-resolver": "4.9.
|
|
31
|
-
"@markuplint/html-parser": "4.6.
|
|
32
|
-
"@markuplint/html-spec": "4.
|
|
30
|
+
"@markuplint/file-resolver": "4.9.10",
|
|
31
|
+
"@markuplint/html-parser": "4.6.15",
|
|
32
|
+
"@markuplint/html-spec": "4.12.0",
|
|
33
33
|
"@markuplint/i18n": "4.6.0",
|
|
34
34
|
"@markuplint/ml-ast": "4.4.9",
|
|
35
|
-
"@markuplint/ml-config": "4.8.
|
|
36
|
-
"@markuplint/ml-core": "4.
|
|
37
|
-
"@markuplint/ml-spec": "4.9.
|
|
38
|
-
"@markuplint/rules": "4.10.
|
|
35
|
+
"@markuplint/ml-config": "4.8.7",
|
|
36
|
+
"@markuplint/ml-core": "4.12.0",
|
|
37
|
+
"@markuplint/ml-spec": "4.9.2",
|
|
38
|
+
"@markuplint/rules": "4.10.8",
|
|
39
39
|
"@markuplint/shared": "4.4.10",
|
|
40
40
|
"@types/debug": "4.1.12",
|
|
41
|
-
"chokidar": "4.0.
|
|
42
|
-
"debug": "4.
|
|
41
|
+
"chokidar": "4.0.3",
|
|
42
|
+
"debug": "4.4.0",
|
|
43
43
|
"get-stdin": "9.0.0",
|
|
44
44
|
"meow": "13.2.0",
|
|
45
45
|
"os-locale": "6.0.2",
|
|
46
46
|
"strict-event-emitter": "0.5.1",
|
|
47
47
|
"strip-ansi": "7.1.0",
|
|
48
|
-
"type-fest": "4.
|
|
48
|
+
"type-fest": "4.33.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "687a84e00546b8f1f2ed88125fe507239723c8d8"
|
|
51
51
|
}
|