chore: bump deps (#1853)

pull/1858/head
Divyansh Singh 2 years ago committed by GitHub
parent 5ae4fbde38
commit 08e07d643d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1 @@
shell-emulator=true shell-emulator=true
update-notifier=false

@ -132,7 +132,7 @@ Configure Markdown parser options. VitePress uses [Markdown-it](https://github.c
```js ```js
export default { export default {
markdown: { markdown: {
theme: 'material-palenight', theme: 'material-theme-palenight',
lineNumbers: true lineNumbers: true
} }
} }

@ -3,7 +3,7 @@
"version": "1.0.0-alpha.40", "version": "1.0.0-alpha.40",
"description": "Vite & Vue powered static site generator", "description": "Vite & Vue powered static site generator",
"type": "module", "type": "module",
"packageManager": "pnpm@7.9.2", "packageManager": "pnpm@7.26.1",
"main": "dist/node/index.js", "main": "dist/node/index.js",
"types": "types/index.d.ts", "types": "types/index.d.ts",
"exports": { "exports": {
@ -86,7 +86,7 @@
"@vue/devtools-api": "^6.5.0", "@vue/devtools-api": "^6.5.0",
"@vueuse/core": "^9.11.1", "@vueuse/core": "^9.11.1",
"body-scroll-lock": "4.0.0-beta.0", "body-scroll-lock": "4.0.0-beta.0",
"shiki": "^0.12.1", "shiki": "^0.13.0",
"vite": "^4.0.4", "vite": "^4.0.4",
"vue": "^3.2.45" "vue": "^3.2.45"
}, },
@ -98,7 +98,7 @@
"@mdit-vue/plugin-title": "^0.11.2", "@mdit-vue/plugin-title": "^0.11.2",
"@mdit-vue/plugin-toc": "^0.11.2", "@mdit-vue/plugin-toc": "^0.11.2",
"@mdit-vue/shared": "^0.11.2", "@mdit-vue/shared": "^0.11.2",
"@rollup/plugin-alias": "^4.0.2", "@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-commonjs": "23.0.4", "@rollup/plugin-commonjs": "23.0.4",
"@rollup/plugin-json": "^6.0.0", "@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
@ -125,7 +125,7 @@
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"debug": "^4.3.4", "debug": "^4.3.4",
"enquirer": "^2.3.6", "enquirer": "^2.3.6",
"esbuild": "^0.17.3", "esbuild": "^0.17.5",
"escape-html": "^1.0.3", "escape-html": "^1.0.3",
"execa": "^6.1.0", "execa": "^6.1.0",
"fast-glob": "^3.2.12", "fast-glob": "^3.2.12",
@ -146,13 +146,13 @@
"path-to-regexp": "^6.2.1", "path-to-regexp": "^6.2.1",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"pkg-dir": "5.0.0", "pkg-dir": "5.0.0",
"playwright-chromium": "^1.29.2", "playwright-chromium": "^1.30.0",
"polka": "1.0.0-next.22", "polka": "1.0.0-next.22",
"prettier": "^2.8.3", "prettier": "^2.8.3",
"prompts": "^2.4.2", "prompts": "^2.4.2",
"punycode": "^2.3.0", "punycode": "^2.3.0",
"rimraf": "^4.1.1", "rimraf": "^4.1.2",
"rollup": "^3.10.1", "rollup": "^3.12.0",
"rollup-plugin-dts": "^5.1.1", "rollup-plugin-dts": "^5.1.1",
"rollup-plugin-esbuild": "^5.0.0", "rollup-plugin-esbuild": "^5.0.0",
"semver": "^7.3.8", "semver": "^7.3.8",
@ -161,7 +161,7 @@
"sirv": "^2.0.2", "sirv": "^2.0.2",
"supports-color": "^9.3.1", "supports-color": "^9.3.1",
"typescript": "~4.9.4", "typescript": "~4.9.4",
"vitest": "^0.27.2", "vitest": "^0.28.3",
"vue-tsc": "^1.0.24", "vue-tsc": "^1.0.24",
"wait-on": "^7.0.1" "wait-on": "^7.0.1"
}, },

File diff suppressed because it is too large Load Diff

@ -56,7 +56,7 @@ const errorLevelProcessor = defineProcessor({
}) })
export async function highlight( export async function highlight(
theme: ThemeOptions = 'material-palenight', theme: ThemeOptions = 'material-theme-palenight',
defaultLang: string = '' defaultLang: string = ''
): Promise<(str: string, lang: string, attrs: string) => string> { ): Promise<(str: string, lang: string, attrs: string) => string> {
const hasSingleTheme = typeof theme === 'string' || 'name' in theme const hasSingleTheme = typeof theme === 'string' || 'name' in theme

Loading…
Cancel
Save