markdownlint-cli 0.33.0 → 0.34.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 CHANGED
@@ -134,7 +134,7 @@ To run `markdownlint-cli` as part of a [pre-commit][pre-commit] workflow, add so
134
134
 
135
135
  ```yaml
136
136
  - repo: https://github.com/igorshubovych/markdownlint-cli
137
- rev: v0.33.0
137
+ rev: v0.34.0
138
138
  hooks:
139
139
  - id: markdownlint
140
140
  ```
package/markdownlint.js CHANGED
@@ -8,14 +8,14 @@ const Module = require('node:module');
8
8
  const os = require('node:os');
9
9
  const process = require('node:process');
10
10
  const program = require('commander');
11
-
12
- const options = program.opts();
13
11
  const glob = require('glob');
14
12
  const markdownlint = require('markdownlint');
15
13
  const rc = require('run-con');
16
14
  const minimatch = require('minimatch');
17
15
  const pkg = require('./package.json');
18
16
 
17
+ const options = program.opts();
18
+
19
19
  function posixPath(p) {
20
20
  return p.split(path.sep).join(path.posix.sep);
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdownlint-cli",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "MarkdownLint Command Line Interface",
5
5
  "main": "markdownlint.js",
6
6
  "bin": {
@@ -37,21 +37,21 @@
37
37
  },
38
38
  "homepage": "https://github.com/igorshubovych/markdownlint-cli#readme",
39
39
  "dependencies": {
40
- "commander": "~9.4.1",
40
+ "commander": "~10.0.1",
41
41
  "get-stdin": "~9.0.0",
42
- "glob": "~8.0.3",
42
+ "glob": "~10.2.2",
43
43
  "ignore": "~5.2.4",
44
44
  "js-yaml": "^4.1.0",
45
45
  "jsonc-parser": "~3.2.0",
46
- "markdownlint": "~0.27.0",
47
- "minimatch": "~5.1.2",
46
+ "markdownlint": "~0.28.2",
47
+ "minimatch": "~9.0.0",
48
48
  "run-con": "~1.2.11"
49
49
  },
50
50
  "devDependencies": {
51
- "ava": "^5.1.0",
52
- "execa": "^6.1.0",
53
- "test-rule-package": "./test/custom-rules/test-rule-package",
54
- "xo": "^0.53.1"
51
+ "ava": "^5.2.0",
52
+ "execa": "^7.1.1",
53
+ "markdownlint-cli-local-test-rule": "./test/custom-rules/markdownlint-cli-local-test-rule",
54
+ "xo": "^0.54.2"
55
55
  },
56
56
  "xo": {
57
57
  "prettier": true,