Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Jun 22, 2024
1 parent 222ed1b commit 4e0a6b7
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 82 deletions.
155 changes: 78 additions & 77 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lunr": "^2.3.9",
"markdown-it": "^14.1.0",
"minimatch": "^9.0.4",
"shiki": "^1.6.5",
"shiki": "^1.9.0",
"yaml": "^2.4.5"
},
"peerDependencies": {
Expand All @@ -44,10 +44,10 @@
"eslint": "^9.5.0",
"mocha": "^10.4.0",
"prettier": "3.3.2",
"puppeteer": "^22.11.0",
"puppeteer": "^22.12.0",
"ts-node": "^10.9.2",
"typescript": "5.5.0-beta",
"typescript-eslint": "^7.13.0"
"typescript": "5.5.2",
"typescript-eslint": "^7.13.1"
},
"files": [
"/bin",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/highlighter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export async function loadHighlighter(lightTheme: BundledTheme, darkTheme: Bundl
if (highlighter) return;

const shiki = await import("shiki");
const hl = await shiki.getHighlighter({ themes: [lightTheme, darkTheme], langs });
const hl = await shiki.createHighlighter({ themes: [lightTheme, darkTheme], langs });
highlighter = new DoubleHighlighter(hl, lightTheme, darkTheme);
}

Expand Down

0 comments on commit 4e0a6b7

Please sign in to comment.