markdownlint-cli 0.40.0 → 0.41.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
@@ -139,7 +139,7 @@ To run `markdownlint-cli` as part of a [pre-commit][pre-commit] workflow, add so
139
139
 
140
140
  ```yaml
141
141
  - repo: https://github.com/igorshubovych/markdownlint-cli
142
- rev: v0.40.0
142
+ rev: v0.41.0
143
143
  hooks:
144
144
  - id: markdownlint
145
145
  ```
package/markdownlint.js CHANGED
@@ -38,8 +38,7 @@ function yamlParse(text) {
38
38
  }
39
39
 
40
40
  function tomlParse(text) {
41
- // It is necessary to add the prototype manually because of https://github.com/BinaryMuse/toml-node/issues/55
42
- return require('deep-extend')({}, require('toml').parse(text));
41
+ return require('smol-toml').parse(text);
43
42
  }
44
43
 
45
44
  const exitCodes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdownlint-cli",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "description": "MarkdownLint Command Line Interface",
5
5
  "main": "markdownlint.js",
6
6
  "bin": {
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "homepage": "https://github.com/igorshubovych/markdownlint-cli#readme",
39
39
  "dependencies": {
40
- "commander": "~12.0.0",
40
+ "commander": "~12.1.0",
41
41
  "get-stdin": "~9.0.0",
42
- "glob": "~10.3.12",
42
+ "glob": "~10.4.1",
43
43
  "ignore": "~5.3.1",
44
44
  "js-yaml": "^4.1.0",
45
45
  "jsonc-parser": "~3.2.1",
@@ -47,11 +47,11 @@
47
47
  "markdownlint": "~0.34.0",
48
48
  "minimatch": "~9.0.4",
49
49
  "run-con": "~1.3.2",
50
- "toml": "~3.0.0"
50
+ "smol-toml": "~1.2.0"
51
51
  },
52
52
  "devDependencies": {
53
- "ava": "^6.1.2",
54
- "execa": "^8.0.1",
53
+ "ava": "^6.1.3",
54
+ "execa": "^9.1.0",
55
55
  "markdownlint-cli-local-test-rule": "./test/custom-rules/markdownlint-cli-local-test-rule",
56
56
  "xo": "^0.58.0"
57
57
  },