Skip to content

Commit

Permalink
fix: allow marked v6 (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech authored Aug 5, 2023
1 parent afea812 commit 518e125
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 82 deletions.
123 changes: 45 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"homepage": "https://github.com/UziTech/marked-katex-extension#readme",
"peerDependencies": {
"marked": "^4 || ^5"
"marked": "^4 || ^5 || ^6"
},
"devDependencies": {
"@babel/core": "^7.22.9",
Expand All @@ -53,7 +53,6 @@
"@semantic-release/github": "^9.0.4",
"@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.4",
"@types/marked": "^5.0.1",
"babel-jest": "^29.6.2",
"cheerio": "^1.0.0-rc.12",
"eslint": "^8.45.0",
Expand All @@ -62,7 +61,7 @@
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"jest-cli": "^29.6.2",
"marked": "^5.1.2",
"marked": "^6.0.0",
"node-fetch": "^3.3.2",
"rollup": "^3.27.0",
"semantic-release": "^21.0.7",
Expand Down
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default function markedKatex(options?: import('katex').KatexOptions): import('marked').marked.MarkedExtension
export default function markedKatex(options?: import('katex').KatexOptions): import('marked').MarkedExtension

0 comments on commit 518e125

Please sign in to comment.