fix(deps): remove vulnerable docs tooling
Docs security / security (push) Successful in 7s
Docs verify / verify (push) Successful in 12s
Conventional commits / commits (pull_request) Successful in 13s
Docs security / security (pull_request) Successful in 7s
Docs verify / verify (pull_request) Successful in 12s

Replace CLI2's unpatched braces dependency with markdownlint-cli.

Preserve link checks and CHANGELOG rules; pin patched release and parser dependencies.
This commit is contained in:
2026-10-03 19:47:30 +03:00
parent 65c8bc14d0
commit 97fe6144ea
7 changed files with 359 additions and 500 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"extends": ".markdownlint.json",
"MD024": {
"siblings_only": true
}
}
-21
View File
@@ -1,21 +0,0 @@
{
"config": {
"MD013": false
},
"customRules": [
"markdownlint-rule-relative-links"
],
"overrides": [
{
"filter": [
"CHANGELOG.md"
],
"config": {
"MD024": {
"siblings_only": true
}
},
"combine": "merge"
}
]
}
+1
View File
@@ -0,0 +1 @@
module.exports = require('markdownlint-rule-relative-links').default;
+3
View File
@@ -0,0 +1,3 @@
{
"MD013": false
}
+4 -3
View File
@@ -177,9 +177,10 @@ Markdown-only правки не требуют тестов приложения
`security.yml` при push, PR и ежедневно проверяет всю Git-историю через
Gitleaks 8.30.1 с redacted-выводом и все npm dependencies через
`npm audit --include=dev --audit-level=low`. Override `smol-toml` исправляет
DoS в TOML parser markdownlint-cli2; его можно удалить, когда родительский
пакет примет исправленную версию.
`npm audit --include=dev --audit-level=low`. Overrides `smol-toml` и `js-yaml`
исправляют DoS в parsers markdownlint-cli; overrides для release-it обновляют
уязвимые basic-ftp и undici. Их можно удалить, когда родительские пакеты
примут исправленные версии.
Renovate объединяет minor/patch updates; major требует согласования в
Dependency Dashboard, automerge не включён. Required checks включаются
+336 -472
View File
File diff suppressed because it is too large Load Diff
+9 -4
View File
@@ -6,7 +6,7 @@
"node": "24.21.0"
},
"scripts": {
"lint": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
"lint": "markdownlint --dot --rules .markdownlint-rule-relative-links.cjs --ignore node_modules --ignore CHANGELOG.md -- \"**/*.md\" && markdownlint --config .markdownlint-changelog.json --rules .markdownlint-rule-relative-links.cjs -- CHANGELOG.md",
"verify": "npm run lint && git diff --check",
"release:preview": "release-it --dry-run --ci",
"release:prepare": "release-it --ci",
@@ -17,13 +17,18 @@
"@commitlint/config-conventional": "21.2.2",
"@release-it/conventional-changelog": "12.0.0",
"conventional-changelog-conventionalcommits": "10.4.0",
"markdownlint-cli2": "0.23.2",
"markdownlint-rule-relative-links": "5.1.2",
"markdownlint-cli": "0.49.1",
"markdownlint-rule-relative-links": "5.1.3",
"release-it": "21.0.2"
},
"overrides": {
"markdownlint-cli2@0.23.2": {
"markdownlint-cli@0.49.1": {
"js-yaml": "5.4.2",
"smol-toml": "1.8.0"
},
"release-it": {
"basic-ftp": "6.2.1",
"undici": "7.29.1"
}
}
}