Skip to content

Commit

Permalink
fix(deps): avoid shadow dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Aug 8, 2024
1 parent 3ef3e36 commit 2cc1d5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,22 @@
"paneforge": "^0.0.5",
"pyodide": "0.26.2",
"rehype-stringify": "^10.0.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"rollup-plugin-flatten-dir": "^1.0.1",
"shiki": "^1.12.1",
"svelte": "^4.2.18",
"svelte-portal": "^2.2.1",
"svelte-sonner": "0.3.27",
"unified": "^11.0.5",
"unocss": "^0.61.9",
"unzipit": "^1.4.3",
"vite": "^5.3.5"
},
"devDependencies": {
"@antfu/eslint-config": "^2.24.1",
"@types/mdast": "^4.0.4",
"@unocss/eslint-config": "^0.61.9",
"eslint": "^9.8.0",
"eslint-plugin-format": "^0.1.2",
Expand Down
5 changes: 3 additions & 2 deletions src/lib/components/reusable/WithMarkdown.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<script context="module">
import "../../md.css";
import { remark } from "remark";
import remarkGfm from "remark-gfm";
import remarkParse from "remark-parse";
import { unified } from "unified";
const processor = remark().use(remarkGfm);
const processor = unified().use(remarkParse).use(remarkGfm);
const parse = processor.parse.bind(processor);
</script>

Expand Down

0 comments on commit 2cc1d5b

Please sign in to comment.