fix: use named MarkdownIt type import for markdown-it v15 types

Update markdown-it to v15.0.3 and mime to v4.1.1.

Fixes #21
This commit is contained in:
theoludwig committed 2026-10-16 19:31:26 +02:00
1 parent 193e66bc14
commit 4de09bfdc0
4 files changed
+461 -249

No files matched your search

+452 -240
View File
File diff suppressed because it is too large. Load diff
+7 -7
View File
@@ -36,17 +36,17 @@
"release": "semantic-release"
},
"dependencies": {
"markdown-it": "15.0.1",
"mime": "4.1.0"
"markdown-it": "15.0.3",
"mime": "4.1.1"
},
"devDependencies": {
"@types/node": "26.6.2",
"@types/node": "26.6.5",
"eslint-config-conventions": "21.4.0",
"markdownlint": "0.41.1",
"markdownlint": "0.42.0",
"markdownlint-cli2": "0.23.3",
"oxfmt": "0.70.0",
"oxlint": "1.85.0",
"oxlint-tsgolint": "7.0.2002",
"oxfmt": "0.73.0",
"oxlint": "1.88.0",
"oxlint-tsgolint": "7.0.2004",
"semantic-release": "25.0.9",
"typescript": "7.0.2"
},
+1 -1
View File
@@ -1,4 +1,4 @@
import type MarkdownIt from "markdown-it"
import type { MarkdownIt } from "markdown-it"
import type { Rule } from "markdownlint"
declare const relativeLinksRule: Rule
+1 -1
View File
@@ -9,7 +9,7 @@
"allowJs": true,
"noEmit": true,
"rootDir": ".",
"skipLibCheck": true,
"skipLibCheck": false,
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,