Skip to content

Commit

Permalink
chore(deps): bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 16, 2023
1 parent 050eb87 commit 5f6abc1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.19.2",
"jsdom": "^22.1.0",
"markdown-it-shikiji": "^0.9.3",
"markdown-it-shikiji": "^0.9.5",
"postcss": "^8.4.32",
"postcss-html": "^1.5.0",
"rimraf": "^5.0.5",
"rollup-plugin-visualizer": "^5.11.0",
"sass": "^1.69.5",
"semantic-release": "^22.0.12",
"shikiji": "^0.9.3",
"shikiji": "^0.9.5",
"stylelint": "^15.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended-scss": "^13.1.0",
Expand Down
32 changes: 16 additions & 16 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/composables/useShikiji.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { fromHighlighter } from 'markdown-it-shikiji'
import { fromHighlighter } from 'markdown-it-shikiji/core'

Check failure on line 1 in src/composables/useShikiji.ts

View workflow job for this annotation

GitHub Actions / Run Tests

Cannot find module 'markdown-it-shikiji/core' or its corresponding type declarations.
import { getHighlighterCore } from 'shikiji/core'
import { getWasmInlined } from 'shikiji/wasm'

export default function useShikiji() {
const MarkdownItShikiji = async (theme: 'light' | 'dark' = 'light') => {
// TODO: Remove `any` type
const highlighter: any = await getHighlighterCore({
const highlighter = await getHighlighterCore({
themes: [
import('shikiji/themes/github-light.mjs'),
import('shikiji/themes/github-dark.mjs'),
Expand Down

0 comments on commit 5f6abc1

Please sign in to comment.