Skip to content

Commit a3de556

Browse files
committed
chore: upgrade deps
1 parent f005b92 commit a3de556

6 files changed

Lines changed: 238 additions & 239 deletions

File tree

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"@vercel/analytics": "^1.6.1",
1111
"@vercel/speed-insights": "^1.3.1",
1212
"docus": "latest",
13-
"markdown-it": "^14.1.0",
13+
"markdown-it": "^14.1.1",
1414
"markdown-it-math": "^5.2.1",
1515
"comark": "workspace:*",
1616
"nuxt": "^4.3.1",
17-
"nuxt-studio": "1.3.1"
17+
"nuxt-studio": "1.3.2"
1818
}
1919
}

examples/react-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react-dom": "^19.2.4"
1616
},
1717
"devDependencies": {
18-
"@types/react": "^19.2.13",
18+
"@types/react": "^19.2.14",
1919
"@types/react-dom": "^19.2.3",
2020
"@vitejs/plugin-react": "^5.1.4",
2121
"autoprefixer": "^10.4.24",

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "0.0.1",
55
"private": true,
6-
"packageManager": "pnpm@10.29.2",
6+
"packageManager": "pnpm@10.29.3",
77
"description": "Comark monorepo",
88
"author": "",
99
"license": "MIT",
@@ -28,12 +28,9 @@
2828
"devDependencies": {
2929
"@nuxt/eslint-config": "^1.15.1",
3030
"@release-it/conventional-changelog": "^10.0.5",
31-
"@types/node": "^25.2.2",
31+
"@types/node": "^25.2.3",
3232
"@vitejs/plugin-vue": "^6.0.4",
3333
"eslint": "^10.0.0",
34-
"markdown-it-cjk-friendly": "^2.0.2",
35-
"markdown-it-sub": "^2.0.0",
36-
"markdown-it-task-lists": "^2.1.1",
3734
"nuxt": "^4.3.1",
3835
"release-it": "^19.2.4",
3936
"remark-gfm": "^4.0.1",

packages/comark/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"github-slugger": "^2.0.0",
6161
"hast-util-to-string": "^3.0.1",
6262
"js-yaml": "^4.1.1",
63-
"markdown-it": "^14.1.0",
63+
"markdown-it": "^14.1.1",
6464
"markdown-it-mdc": "^0.2.10",
6565
"minimark": "^1.0.0",
6666
"obuild": "^0.4.27",

packages/comark/src/internal/parse/token-processor.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
import type { ComarkNode, ComarkTree } from 'comark/ast'
2-
import MarkdownIt from 'markdown-it'
3-
// @ts-expect-error - No declaration file
4-
import markdownItSub from 'markdown-it-sub'
5-
import markdownItMDC from 'markdown-it-mdc'
6-
7-
const md = new MarkdownIt()
8-
.use(markdownItSub)
9-
.use(markdownItMDC)
102

113
// Mapping from token types to tag names
124
const BLOCK_TAG_MAP: Record<string, string> = {
@@ -289,10 +281,6 @@ function extractMDCAttributes(
289281
return { attrs: {}, nextIndex: startIndex }
290282
}
291283

292-
export function getMarkdownIt() {
293-
return md
294-
}
295-
296284
function processBlockToken(tokens: any[], startIndex: number, insideNestedContext: boolean = false): { node: ComarkNode | null, nextIndex: number } {
297285
const token = tokens[startIndex]
298286

0 commit comments

Comments
 (0)