Compare commits

...
5 Commits
Author SHA1 Message Date
theoludwig 4de09bfdc0 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
2026-10-16 19:31:26 +02:00
theoludwig 193e66bc14 fix: update markdown-it to v15.0.1 2026-09-24 15:44:11 +02:00
theoludwig 86308ce34c fix: update markdown-it to v14.3.0 2026-07-25 17:24:49 +08:00
theoludwig be2c1746c2 chore: lint:typescript 2026-07-03 16:51:56 +02:00
theoludwig 21fbd5f963 build(deps): update latest 2026-07-03 16:45:32 +02:00
9 changed files with 1153 additions and 537 deletions

No files matched your search

+2 -2
View File
@@ -10,10 +10,10 @@ jobs:
lint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
- uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
- name: "Setup Node.js"
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020" # v7.0.0
with:
node-version: "lts/*"
cache: "npm"
+2 -2
View File
@@ -17,13 +17,13 @@ jobs:
pull-requests: "write"
id-token: "write"
steps:
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
- uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: "Setup Node.js"
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020" # v7.0.0
with:
node-version: "lts/*"
cache: "npm"
+2 -2
View File
@@ -17,10 +17,10 @@ jobs:
- "macos-latest"
runs-on: "${{ matrix.runs-on }}"
steps:
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
- uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
- name: "Setup Node.js"
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020" # v7.0.0
with:
node-version: "lts/*"
cache: "npm"
+3
View File
@@ -6,5 +6,8 @@
"browser": true,
"node": true,
"shared-node-browser": true
},
"rules": {
"unicorn/prefer-number-coercion": "off"
}
}
+1130 -517
View File
File diff suppressed because it is too large. Load diff
+10 -11
View File
@@ -36,20 +36,19 @@
"release": "semantic-release"
},
"dependencies": {
"markdown-it": "14.2.0",
"mime": "4.1.0"
"markdown-it": "15.0.3",
"mime": "4.1.1"
},
"devDependencies": {
"@types/markdown-it": "14.1.2",
"@types/node": "25.9.2",
"@types/node": "26.6.5",
"eslint-config-conventions": "21.4.0",
"markdownlint": "0.40.0",
"markdownlint-cli2": "0.22.1",
"oxfmt": "0.54.0",
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"semantic-release": "25.0.3",
"typescript": "6.0.3"
"markdownlint": "0.42.0",
"markdownlint-cli2": "0.23.3",
"oxfmt": "0.73.0",
"oxlint": "1.88.0",
"oxlint-tsgolint": "7.0.2004",
"semantic-release": "25.0.9",
"typescript": "7.0.2"
},
"engines": {
"node": ">=22.0.0"
+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
+2 -1
View File
@@ -29,7 +29,8 @@ const relativeLinksRule = {
filterTokens(params, "inline", (token) => {
const children = token.children ?? []
for (const child of children) {
const { type, attrs, lineNumber } = child
const { type, lineNumber } = child
const attrs = child.attrs ?? []
/** @type {string | undefined} */
let hrefSrc
+1 -1
View File
@@ -9,7 +9,7 @@
"allowJs": true,
"noEmit": true,
"rootDir": ".",
"skipLibCheck": true,
"skipLibCheck": false,
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,