markdownlint-cli 0.48.0 → 0.49.0
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/README.md +1 -1
- package/markdownlint.js +2 -2
- package/package.json +12 -12
package/README.md
CHANGED
package/markdownlint.js
CHANGED
|
@@ -16,7 +16,7 @@ import jsonpointer from 'jsonpointer';
|
|
|
16
16
|
const require = Module.createRequire(import.meta.url);
|
|
17
17
|
const options = program.opts();
|
|
18
18
|
// The following two values are copied from package.json (and validated by tests)
|
|
19
|
-
const version = '0.
|
|
19
|
+
const version = '0.49.0';
|
|
20
20
|
const description = 'MarkdownLint Command Line Interface';
|
|
21
21
|
|
|
22
22
|
function markdownItFactory() {
|
|
@@ -78,7 +78,7 @@ function readConfiguration(userConfigFile) {
|
|
|
78
78
|
// However I have to do it to overwrite configuration from .markdownlint.{jsonc,json,yaml,yml}.
|
|
79
79
|
if (userConfigFile) {
|
|
80
80
|
try {
|
|
81
|
-
const jsConfigFile = /\.c?js$/
|
|
81
|
+
const jsConfigFile = /\.c?js$/iv.test(userConfigFile);
|
|
82
82
|
const userConfig = jsConfigFile ? require(path.resolve(processCwd, userConfigFile)) : readConfig(userConfigFile, configParsers);
|
|
83
83
|
config = require('deep-extend')(config, userConfig);
|
|
84
84
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdownlint-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"description": "MarkdownLint Command Line Interface",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "markdownlint.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"markdownlint": "markdownlint.js"
|
|
9
9
|
},
|
|
10
10
|
"engines": {
|
|
11
|
-
"node": ">=
|
|
11
|
+
"node": ">=22"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"invalid": "node ./markdownlint.js --config test/test-config.json -- test/incorrect.md",
|
|
@@ -38,24 +38,24 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/igorshubovych/markdownlint-cli#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"commander": "~
|
|
41
|
+
"commander": "~15.0.0",
|
|
42
42
|
"deep-extend": "~0.6.0",
|
|
43
43
|
"ignore": "~7.0.5",
|
|
44
|
-
"js-yaml": "~4.
|
|
44
|
+
"js-yaml": "~4.2.0",
|
|
45
45
|
"jsonc-parser": "~3.3.1",
|
|
46
46
|
"jsonpointer": "~5.0.1",
|
|
47
|
-
"markdownlint": "~0.
|
|
48
|
-
"markdown-it": "~14.
|
|
49
|
-
"minimatch": "~10.2.
|
|
47
|
+
"markdownlint": "~0.41.0",
|
|
48
|
+
"markdown-it": "~14.2.0",
|
|
49
|
+
"minimatch": "~10.2.5",
|
|
50
50
|
"run-con": "~1.3.2",
|
|
51
|
-
"smol-toml": "~1.6.
|
|
52
|
-
"tinyglobby": "~0.2.
|
|
51
|
+
"smol-toml": "~1.6.1",
|
|
52
|
+
"tinyglobby": "~0.2.17"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"ava": "^
|
|
55
|
+
"ava": "^8.0.1",
|
|
56
56
|
"markdownlint-cli-local-test-rule": "./test/custom-rules/markdownlint-cli-local-test-rule",
|
|
57
|
-
"nano-spawn": "^2.
|
|
58
|
-
"xo": "^
|
|
57
|
+
"nano-spawn": "^2.1.0",
|
|
58
|
+
"xo": "^2.0.2"
|
|
59
59
|
},
|
|
60
60
|
"xo": {
|
|
61
61
|
"prettier": true,
|