From f4aca014ed700ae832dcdd3456c7ac804b4e90aa Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Tue, 3 May 2022 23:34:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0vuepress=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 vuepress 相关依赖, beta.41 -> beta.43; 调整plugin代码 --- docs/package.json | 14 +- package.json | 2 +- packages/plugin-caniuse/package.json | 8 +- packages/plugin-caniuse/src/node/plugin.ts | 4 +- packages/theme/package.json | 32 +- packages/theme/src/node/plugins/caniuse.ts | 8 +- packages/theme/src/node/plugins/comment.ts | 22 +- packages/theme/src/node/plugins/container.ts | 0 packages/theme/src/node/plugins/copyCode.ts | 38 +- .../src/node/plugins/externalLinkIcon.ts | 6 +- packages/theme/src/node/plugins/git.ts | 14 + packages/theme/src/node/plugins/index.ts | 10 +- packages/theme/src/node/plugins/mediumZoom.ts | 8 +- packages/theme/src/node/plugins/nprogress.ts | 8 +- packages/theme/src/node/plugins/palette.ts | 4 +- packages/theme/src/node/plugins/prismjs.ts | 8 +- packages/theme/src/node/plugins/search.ts | 8 +- packages/theme/src/node/plugins/seo.ts | 26 +- packages/theme/src/shared/options/plugin.ts | 2 + pnpm-lock.yaml | 382 +++++++++--------- 20 files changed, 318 insertions(+), 286 deletions(-) delete mode 100644 packages/theme/src/node/plugins/container.ts create mode 100644 packages/theme/src/node/plugins/git.ts diff --git a/docs/package.json b/docs/package.json index 4ce66399..18ea6588 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,16 +4,16 @@ "scripts": { "docs:build": "vuepress build --clean-cache", "docs:clean": "rimraf .vuepress/.temp .vuepress/.cache .vuepress/dist", - "docs:dev": "vuepress dev --clean-cache", - "docs:serve": "anywhere -s -h localhost -d .vuepress/dist" + "docs:dev": "vuepress-cli dev --clean-cache", + "docs:serve": "anywhere-cli -s -h localhost -d .vuepress/dist" }, "dependencies": { "@vuepress-plume/vuepress-theme-plume": "workspace:*", - "@vuepress/bundler-vite": "2.0.0-beta.41", - "@vuepress/bundler-webpack": "2.0.0-beta.41", - "@vuepress/cli": "2.0.0-beta.41", - "@vuepress/client": "2.0.0-beta.41", - "@vuepress/utils": "2.0.0-beta.41", + "@vuepress/bundler-vite": "2.0.0-beta.43", + "@vuepress/bundler-webpack": "2.0.0-beta.43", + "@vuepress/cli": "2.0.0-beta.43", + "@vuepress/client": "2.0.0-beta.43", + "@vuepress/utils": "2.0.0-beta.43", "anywhere": "^1.5.0", "sass-loader": "^12.6.0", "vue": "^3.2.33" diff --git a/package.json b/package.json index 36b6384a..ff50e4ff 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "rimraf": "^3.0.2", "sort-package-json": "^1.55.0", "typescript": "^4.6.3", - "vite": "^2.9.6" + "vite": "^2.9.7" }, "engines": { "node": ">=14", diff --git a/packages/plugin-caniuse/package.json b/packages/plugin-caniuse/package.json index 848c164d..9b230c0c 100644 --- a/packages/plugin-caniuse/package.json +++ b/packages/plugin-caniuse/package.json @@ -24,10 +24,10 @@ "ts:watch": "tsc -b tsconfig.build.json --watch" }, "dependencies": { - "@vuepress/cli": "2.0.0-beta.41", - "@vuepress/client": "2.0.0-beta.41", - "@vuepress/core": "2.0.0-beta.41", - "@vuepress/utils": "2.0.0-beta.41", + "@vuepress/cli": "2.0.0-beta.43", + "@vuepress/client": "2.0.0-beta.43", + "@vuepress/core": "2.0.0-beta.43", + "@vuepress/utils": "2.0.0-beta.43", "markdown-it-container": "^3.0.0" }, "devDependencies": { diff --git a/packages/plugin-caniuse/src/node/plugin.ts b/packages/plugin-caniuse/src/node/plugin.ts index 0a73ab8a..dc5ec36b 100644 --- a/packages/plugin-caniuse/src/node/plugin.ts +++ b/packages/plugin-caniuse/src/node/plugin.ts @@ -1,4 +1,4 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin, PluginObject } from '@vuepress/core' import { path } from '@vuepress/utils' import * as container from 'markdown-it-container' import type * as Token from 'markdown-it/lib/token' @@ -10,7 +10,7 @@ const isMode = (mode: CanIUseMode): boolean => modeMap.includes(mode) export const caniusePlugin = ({ mode = modeMap[0], -}: CanIUsePluginOptions): PluginObject => { +}: CanIUsePluginOptions): Plugin => { mode = isMode(mode) ? mode : modeMap[0] const type = 'caniuse' const validateReg = new RegExp(`^${type}\\s+(.*)$`) diff --git a/packages/theme/package.json b/packages/theme/package.json index 686e406f..ec6118a8 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -29,21 +29,22 @@ "dependencies": { "@types/lodash.merge": "^4.6.6", "@vuepress-plume/vuepress-plugin-caniuse": "workspace:*", - "@vuepress/client": "2.0.0-beta.41", - "@vuepress/core": "2.0.0-beta.41", - "@vuepress/plugin-active-header-links": "2.0.0-beta.41", - "@vuepress/plugin-container": "2.0.0-beta.41", - "@vuepress/plugin-docsearch": "2.0.0-beta.41", - "@vuepress/plugin-external-link-icon": "2.0.0-beta.41", - "@vuepress/plugin-medium-zoom": "2.0.0-beta.41", - "@vuepress/plugin-nprogress": "2.0.0-beta.41", - "@vuepress/plugin-palette": "2.0.0-beta.41", - "@vuepress/plugin-prismjs": "2.0.0-beta.41", - "@vuepress/plugin-search": "2.0.0-beta.41", - "@vuepress/plugin-theme-data": "2.0.0-beta.41", - "@vuepress/plugin-toc": "2.0.0-beta.41", - "@vuepress/shared": "2.0.0-beta.41", - "@vuepress/utils": "2.0.0-beta.41", + "@vuepress/client": "2.0.0-beta.43", + "@vuepress/core": "2.0.0-beta.43", + "@vuepress/plugin-active-header-links": "2.0.0-beta.43", + "@vuepress/plugin-container": "2.0.0-beta.43", + "@vuepress/plugin-docsearch": "2.0.0-beta.43", + "@vuepress/plugin-external-link-icon": "2.0.0-beta.43", + "@vuepress/plugin-git": "2.0.0-beta.43", + "@vuepress/plugin-medium-zoom": "2.0.0-beta.43", + "@vuepress/plugin-nprogress": "2.0.0-beta.43", + "@vuepress/plugin-palette": "2.0.0-beta.43", + "@vuepress/plugin-prismjs": "2.0.0-beta.43", + "@vuepress/plugin-search": "2.0.0-beta.43", + "@vuepress/plugin-theme-data": "2.0.0-beta.43", + "@vuepress/plugin-toc": "2.0.0-beta.43", + "@vuepress/shared": "2.0.0-beta.43", + "@vuepress/utils": "2.0.0-beta.43", "@vueuse/core": "^8.2.3", "chokidar": "^3.5.3", "date-fns": "^2.28.0", @@ -60,6 +61,7 @@ "vuepress-plugin-copy-code2": "2.0.0-beta.47", "vuepress-plugin-md-enhance": "2.0.0-beta.47", "vuepress-plugin-reading-time2": "2.0.0-beta.47", + "vuepress-plugin-sass-palette": "2.0.0-beta.47", "vuepress-plugin-seo2": "2.0.0-beta.47", "vuepress-plugin-sitemap2": "2.0.0-beta.47" }, diff --git a/packages/theme/src/node/plugins/caniuse.ts b/packages/theme/src/node/plugins/caniuse.ts index 691b635c..2d1b2e84 100644 --- a/packages/theme/src/node/plugins/caniuse.ts +++ b/packages/theme/src/node/plugins/caniuse.ts @@ -1,11 +1,9 @@ import { caniusePlugin } from '@vuepress-plume/vuepress-plugin-caniuse' -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import type { PlumeThemePluginOptions } from '../../shared' -export const resolveCanIUse = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { - if (plugins.caniuse === false) return false +export const resolveCanIUse = (plugins: PlumeThemePluginOptions): Plugin => { + if (plugins.caniuse === false) return [] as unknown as Plugin return caniusePlugin( plugins.caniuse || { mode: 'embed', diff --git a/packages/theme/src/node/plugins/comment.ts b/packages/theme/src/node/plugins/comment.ts index 1c1cebdd..4851500e 100644 --- a/packages/theme/src/node/plugins/comment.ts +++ b/packages/theme/src/node/plugins/comment.ts @@ -1,12 +1,16 @@ -import type { PluginObject } from '@vuepress/core' -// import type { CommentOptions } from 'vuepress-plugin-comment2' -// import { commentPlugin } from 'vuepress-plugin-comment2' +import type { App, Plugin } from '@vuepress/core' +import { commentPlugin } from 'vuepress-plugin-comment2' +import type { CommentOptions } from 'vuepress-plugin-comment2' import type { PlumeThemePluginOptions } from '../../shared' -export const resolveComment = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { - if (plugins.comment === false) return false - // return commentPlugin(plugins.comment as CommentOptions) - return false +type PluginFunc = (options: CommentOptions, app: App) => Plugin + +export const resolveComment = (plugins: PlumeThemePluginOptions): Plugin => { + if (!plugins.comment) return [] as unknown as Plugin + return (app: App) => { + return (commentPlugin as unknown as PluginFunc)( + plugins.comment as CommentOptions, + app + ) + } } diff --git a/packages/theme/src/node/plugins/container.ts b/packages/theme/src/node/plugins/container.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/packages/theme/src/node/plugins/copyCode.ts b/packages/theme/src/node/plugins/copyCode.ts index 25912483..86eae1cb 100644 --- a/packages/theme/src/node/plugins/copyCode.ts +++ b/packages/theme/src/node/plugins/copyCode.ts @@ -1,22 +1,24 @@ -import type { PluginObject } from '@vuepress/core' -// import { copyCodePlugin } from 'vuepress-plugin-copy-code2' +import type { App, Plugin } from '@vuepress/core' +import { copyCodePlugin } from 'vuepress-plugin-copy-code2' import type { PlumeThemePluginOptions } from '../../shared' -export const resolveCopyCode = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { - if (plugins.copyCode === false) return false +type PluginFunc = (options: any, app: App) => Plugin - // return copyCodePlugin( - // plugins.copyCode || { - // selector: '.page-content div[class*="language-"] pre', - // locales: { - // '/': { - // copy: '复制成功', - // hint: '复制代码', - // }, - // }, - // } - // ) - return false +export const resolveCopyCode = (plugins: PlumeThemePluginOptions): Plugin => { + if (plugins.copyCode === false) return [] as unknown as Plugin + return (app: App) => { + console.log(app.dir.source()) + return (copyCodePlugin as unknown as PluginFunc)( + plugins.copyCode || { + selector: '.page-content div[class*="language-"] pre', + locales: { + '/': { + copy: '复制成功', + hint: '复制代码', + }, + }, + }, + app + ) + } } diff --git a/packages/theme/src/node/plugins/externalLinkIcon.ts b/packages/theme/src/node/plugins/externalLinkIcon.ts index 3f6fe1ad..56120dfb 100644 --- a/packages/theme/src/node/plugins/externalLinkIcon.ts +++ b/packages/theme/src/node/plugins/externalLinkIcon.ts @@ -1,4 +1,4 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import { externalLinkIconPlugin } from '@vuepress/plugin-external-link-icon' import type { PlumeThemeLocaleOptions, @@ -8,8 +8,8 @@ import type { export const resolveExternalLinkIconPlugin = ( plugins: PlumeThemePluginOptions, localeOptions: PlumeThemeLocaleOptions -): PluginObject | false => { - if (plugins.externalLinkIcon === false) return false +): Plugin => { + if (plugins.externalLinkIcon === false) return [] as unknown as Plugin return externalLinkIconPlugin({ locales: Object.entries(localeOptions.locales || {}).reduce( (result, [key, value]) => { diff --git a/packages/theme/src/node/plugins/git.ts b/packages/theme/src/node/plugins/git.ts new file mode 100644 index 00000000..87f4e6a5 --- /dev/null +++ b/packages/theme/src/node/plugins/git.ts @@ -0,0 +1,14 @@ +import type { Plugin } from '@vuepress/core' +import { gitPlugin } from '@vuepress/plugin-git' +import type { PlumeThemePluginOptions } from '../../shared' + +const isProd = process.env.NODE_ENV === 'production' + +export const resolveGit = (plugins: PlumeThemePluginOptions): Plugin => { + if (plugins.git === false || !isProd) return [] as unknown as Plugin + return gitPlugin({ + createdTime: true, + updatedTime: true, + contributors: false, + }) +} diff --git a/packages/theme/src/node/plugins/index.ts b/packages/theme/src/node/plugins/index.ts index 4deeda71..638c51bc 100644 --- a/packages/theme/src/node/plugins/index.ts +++ b/packages/theme/src/node/plugins/index.ts @@ -1,4 +1,4 @@ -import type { PluginConfig, PluginObject } from '@vuepress/core' +import type { PluginConfig } from '@vuepress/core' import type { PlumeThemeLocaleOptions, PlumeThemePluginOptions, @@ -8,6 +8,7 @@ import { resolveCanIUse } from './caniuse' // import { resolveComment } from './comment' // import { resolveCopyCode } from './copyCode' import { resolveExternalLinkIconPlugin } from './externalLinkIcon' +import { resolveGit } from './git' // import { resolveMarkdownEnhance } from './markdownEnhance' import { resolveMediumZoom } from './mediumZoom' import { resolveNprogress } from './nprogress' @@ -22,15 +23,16 @@ export const getPlugins = ( plugins: PlumeThemePluginOptions, localeOptions: PlumeThemeLocaleOptions ): PluginConfig => { - const resolvePlugins: (PluginObject | false)[] = [ - resolveActiveHeaderLink(), + const resolvePlugins: PluginConfig = [ resolvePalette(), + resolveActiveHeaderLink(), resolveNprogress(plugins), resolveMediumZoom(plugins), resolveCanIUse(plugins), resolveExternalLinkIconPlugin(plugins, localeOptions), resolveSearch(plugins), resolvePrismjs(plugins), + resolveGit(plugins), // resolveCopyCode(plugins), // resolveMarkdownEnhance(plugins), // resolveComment(plugins), @@ -38,5 +40,5 @@ export const getPlugins = ( // resolveSeo(plugins, localeOptions), resolveThemeData(localeOptions), ] - return resolvePlugins.filter((plugin) => plugin) as PluginObject[] + return resolvePlugins } diff --git a/packages/theme/src/node/plugins/mediumZoom.ts b/packages/theme/src/node/plugins/mediumZoom.ts index dfd5eeac..eb697164 100644 --- a/packages/theme/src/node/plugins/mediumZoom.ts +++ b/packages/theme/src/node/plugins/mediumZoom.ts @@ -1,11 +1,9 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import { mediumZoomPlugin } from '@vuepress/plugin-medium-zoom' import type { PlumeThemePluginOptions } from '../../shared' -export const resolveMediumZoom = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { - if (plugins.mediumZoom === false) return false +export const resolveMediumZoom = (plugins: PlumeThemePluginOptions): Plugin => { + if (plugins.mediumZoom === false) return [] as unknown as Plugin return mediumZoomPlugin({ selector: '.page-content > img, .page-content :not(a) > img', zoomOptions: {}, diff --git a/packages/theme/src/node/plugins/nprogress.ts b/packages/theme/src/node/plugins/nprogress.ts index 4848a368..b240288b 100644 --- a/packages/theme/src/node/plugins/nprogress.ts +++ b/packages/theme/src/node/plugins/nprogress.ts @@ -1,10 +1,8 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import { nprogressPlugin } from '@vuepress/plugin-nprogress' import type { PlumeThemePluginOptions } from '../../shared' -export const resolveNprogress = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { - if (plugins.nprogress === false) return false +export const resolveNprogress = (plugins: PlumeThemePluginOptions): Plugin => { + if (plugins.nprogress === false) return [] as unknown as Plugin return nprogressPlugin() } diff --git a/packages/theme/src/node/plugins/palette.ts b/packages/theme/src/node/plugins/palette.ts index 44e7aea3..a1e2cd94 100644 --- a/packages/theme/src/node/plugins/palette.ts +++ b/packages/theme/src/node/plugins/palette.ts @@ -1,6 +1,6 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import { palettePlugin } from '@vuepress/plugin-palette' -export const resolvePalette = (): PluginObject => { +export const resolvePalette = (): Plugin => { return palettePlugin({ preset: 'sass' }) } diff --git a/packages/theme/src/node/plugins/prismjs.ts b/packages/theme/src/node/plugins/prismjs.ts index 64412fe8..9de5169e 100644 --- a/packages/theme/src/node/plugins/prismjs.ts +++ b/packages/theme/src/node/plugins/prismjs.ts @@ -1,10 +1,8 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import { prismjsPlugin } from '@vuepress/plugin-prismjs' import type { PlumeThemePluginOptions } from '../../shared' -export const resolvePrismjs = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { - if (plugins.prismjs === false) return false +export const resolvePrismjs = (plugins: PlumeThemePluginOptions): Plugin => { + if (plugins.prismjs === false) return [] as unknown as Plugin return prismjsPlugin() } diff --git a/packages/theme/src/node/plugins/search.ts b/packages/theme/src/node/plugins/search.ts index c9894ed5..a9b83882 100644 --- a/packages/theme/src/node/plugins/search.ts +++ b/packages/theme/src/node/plugins/search.ts @@ -1,16 +1,14 @@ -import type { PluginObject } from '@vuepress/core' +import type { Plugin } from '@vuepress/core' import { docsearchPlugin } from '@vuepress/plugin-docsearch' import { searchPlugin } from '@vuepress/plugin-search' import type { PlumeThemePluginOptions } from '../../shared' -export const resolveSearch = ( - plugins: PlumeThemePluginOptions -): PluginObject | false => { +export const resolveSearch = (plugins: PlumeThemePluginOptions): Plugin => { if (plugins.search !== false) { return searchPlugin(plugins.search) } if (plugins.docsearch) { return docsearchPlugin(plugins.docsearch) } - return false + return [] as unknown as Plugin } diff --git a/packages/theme/src/node/plugins/seo.ts b/packages/theme/src/node/plugins/seo.ts index 830f071c..94fb588b 100644 --- a/packages/theme/src/node/plugins/seo.ts +++ b/packages/theme/src/node/plugins/seo.ts @@ -1,18 +1,26 @@ -import type { PluginObject } from '@vuepress/core' -// import { seoPlugin } from 'vuepress-plugin-seo2' +import type { App, Plugin } from '@vuepress/core' +import { seoPlugin } from 'vuepress-plugin-seo2' +import type { SeoOptions } from 'vuepress-plugin-seo2' import type { PlumeThemeLocaleOptions, PlumeThemePluginOptions, } from '../../shared' +type PluginFunc = (options: SeoOptions, app: App) => Plugin + export const resolveSeo = ( plugins: PlumeThemePluginOptions, localeOptions: PlumeThemeLocaleOptions -): PluginObject | false => { - if (plugins.sitemap === false || !localeOptions.hostname) return false - // return seoPlugin({ - // hostname: localeOptions.hostname, - // author: localeOptions.avatar?.name, - // }) - return false +): Plugin => { + if (plugins.sitemap === false || !localeOptions.hostname) + return [] as unknown as Plugin + return (app: App) => { + ;(seoPlugin as unknown as PluginFunc)( + { + hostname: localeOptions.hostname || '', + author: localeOptions.avatar?.name, + }, + app + ) + } } diff --git a/packages/theme/src/shared/options/plugin.ts b/packages/theme/src/shared/options/plugin.ts index 6f617b96..0490443e 100644 --- a/packages/theme/src/shared/options/plugin.ts +++ b/packages/theme/src/shared/options/plugin.ts @@ -27,6 +27,8 @@ export interface PlumeThemePluginOptions { prismjs?: false + git?: false + nprogress?: false mediumZoom?: false diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53c3fe9e..34cdb1a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,21 +6,22 @@ importers: specifiers: '@types/lodash.merge': ^4.6.6 '@vuepress-plume/vuepress-plugin-caniuse': workspace:* - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/plugin-active-header-links': 2.0.0-beta.41 - '@vuepress/plugin-container': 2.0.0-beta.41 - '@vuepress/plugin-docsearch': 2.0.0-beta.41 - '@vuepress/plugin-external-link-icon': 2.0.0-beta.41 - '@vuepress/plugin-medium-zoom': 2.0.0-beta.41 - '@vuepress/plugin-nprogress': 2.0.0-beta.41 - '@vuepress/plugin-palette': 2.0.0-beta.41 - '@vuepress/plugin-prismjs': 2.0.0-beta.41 - '@vuepress/plugin-search': 2.0.0-beta.41 - '@vuepress/plugin-theme-data': 2.0.0-beta.41 - '@vuepress/plugin-toc': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/plugin-active-header-links': 2.0.0-beta.43 + '@vuepress/plugin-container': 2.0.0-beta.43 + '@vuepress/plugin-docsearch': 2.0.0-beta.43 + '@vuepress/plugin-external-link-icon': 2.0.0-beta.43 + '@vuepress/plugin-git': 2.0.0-beta.43 + '@vuepress/plugin-medium-zoom': 2.0.0-beta.43 + '@vuepress/plugin-nprogress': 2.0.0-beta.43 + '@vuepress/plugin-palette': 2.0.0-beta.43 + '@vuepress/plugin-prismjs': 2.0.0-beta.43 + '@vuepress/plugin-search': 2.0.0-beta.43 + '@vuepress/plugin-theme-data': 2.0.0-beta.43 + '@vuepress/plugin-toc': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 '@vueuse/core': ^8.2.3 chokidar: ^3.5.3 date-fns: ^2.28.0 @@ -37,33 +38,35 @@ importers: vuepress-plugin-copy-code2: 2.0.0-beta.47 vuepress-plugin-md-enhance: 2.0.0-beta.47 vuepress-plugin-reading-time2: 2.0.0-beta.47 + vuepress-plugin-sass-palette: 2.0.0-beta.47 vuepress-plugin-seo2: 2.0.0-beta.47 vuepress-plugin-sitemap2: 2.0.0-beta.47 dependencies: '@types/lodash.merge': 4.6.7 '@vuepress-plume/vuepress-plugin-caniuse': link:../plugin-caniuse - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/plugin-active-header-links': 2.0.0-beta.41 - '@vuepress/plugin-container': 2.0.0-beta.41 - '@vuepress/plugin-docsearch': 2.0.0-beta.41 - '@vuepress/plugin-external-link-icon': 2.0.0-beta.41 - '@vuepress/plugin-medium-zoom': 2.0.0-beta.41 - '@vuepress/plugin-nprogress': 2.0.0-beta.41 - '@vuepress/plugin-palette': 2.0.0-beta.41 - '@vuepress/plugin-prismjs': 2.0.0-beta.41 - '@vuepress/plugin-search': 2.0.0-beta.41 - '@vuepress/plugin-theme-data': 2.0.0-beta.41 - '@vuepress/plugin-toc': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/plugin-active-header-links': 2.0.0-beta.43 + '@vuepress/plugin-container': 2.0.0-beta.43 + '@vuepress/plugin-docsearch': 2.0.0-beta.43 + '@vuepress/plugin-external-link-icon': 2.0.0-beta.43 + '@vuepress/plugin-git': 2.0.0-beta.43 + '@vuepress/plugin-medium-zoom': 2.0.0-beta.43 + '@vuepress/plugin-nprogress': 2.0.0-beta.43 + '@vuepress/plugin-palette': 2.0.0-beta.43 + '@vuepress/plugin-prismjs': 2.0.0-beta.43 + '@vuepress/plugin-search': 2.0.0-beta.43 + '@vuepress/plugin-theme-data': 2.0.0-beta.43 + '@vuepress/plugin-toc': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 '@vueuse/core': 8.3.1_vue@3.2.33 chokidar: 3.5.3 date-fns: 2.28.0 gray-matter: 4.0.3 json2yaml: 1.1.0 lodash.merge: 4.6.2 - nanoid: 3.3.3 + nanoid: 3.3.4 sass: 1.51.0 sass-loader: 12.6.0_sass@1.51.0 ts-debounce: 4.0.0 @@ -73,6 +76,7 @@ importers: vuepress-plugin-copy-code2: 2.0.0-beta.47 vuepress-plugin-md-enhance: 2.0.0-beta.47 vuepress-plugin-reading-time2: 2.0.0-beta.47 + vuepress-plugin-sass-palette: 2.0.0-beta.47 vuepress-plugin-seo2: 2.0.0-beta.47 vuepress-plugin-sitemap2: 2.0.0-beta.47 @@ -206,25 +210,25 @@ packages: '@babel/highlight': 7.17.9 dev: false - /@babel/compat-data/7.17.7: - resolution: {integrity: sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==} + /@babel/compat-data/7.17.10: + resolution: {integrity: sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==} engines: {node: '>=6.9.0'} dev: false - /@babel/core/7.17.9: - resolution: {integrity: sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==} + /@babel/core/7.17.10: + resolution: {integrity: sha512-liKoppandF3ZcBnIYFjfSDHZLKdLHGJRkoWtG8zQyGJBQfIYobpnVGI5+pLBNtS6psFLDzyq8+h5HiVljW9PNA==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.0 '@babel/code-frame': 7.16.7 - '@babel/generator': 7.17.9 - '@babel/helper-compilation-targets': 7.17.7_@babel+core@7.17.9 + '@babel/generator': 7.17.10 + '@babel/helper-compilation-targets': 7.17.10_@babel+core@7.17.10 '@babel/helper-module-transforms': 7.17.7 '@babel/helpers': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.10 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -234,23 +238,23 @@ packages: - supports-color dev: false - /@babel/generator/7.17.9: - resolution: {integrity: sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==} + /@babel/generator/7.17.10: + resolution: {integrity: sha512-46MJZZo9y3o4kmhBVc7zW7i8dtR1oIK/sdO5NcfcZRhTGYi+KKJRtHNgsU6c4VUcJmUNV/LQdebD/9Dlv4K+Tg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 + '@jridgewell/gen-mapping': 0.1.1 jsesc: 2.5.2 - source-map: 0.5.7 dev: false - /@babel/helper-compilation-targets/7.17.7_@babel+core@7.17.9: - resolution: {integrity: sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==} + /@babel/helper-compilation-targets/7.17.10_@babel+core@7.17.10: + resolution: {integrity: sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.17.7 - '@babel/core': 7.17.9 + '@babel/compat-data': 7.17.10 + '@babel/core': 7.17.10 '@babel/helper-validator-option': 7.16.7 browserslist: 4.20.3 semver: 6.3.0 @@ -260,7 +264,7 @@ packages: resolution: {integrity: sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-function-name/7.17.9: @@ -268,21 +272,21 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.16.7 - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-hoist-variables/7.16.7: resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-module-imports/7.16.7: resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-module-transforms/7.17.7: @@ -295,8 +299,8 @@ packages: '@babel/helper-split-export-declaration': 7.16.7 '@babel/helper-validator-identifier': 7.16.7 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 transitivePeerDependencies: - supports-color dev: false @@ -305,14 +309,14 @@ packages: resolution: {integrity: sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-split-export-declaration/7.16.7: resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-validator-identifier/7.16.7: @@ -330,8 +334,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 transitivePeerDependencies: - supports-color dev: false @@ -345,8 +349,8 @@ packages: js-tokens: 4.0.0 dev: false - /@babel/parser/7.17.9: - resolution: {integrity: sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==} + /@babel/parser/7.17.10: + resolution: {integrity: sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==} engines: {node: '>=6.0.0'} hasBin: true dev: false @@ -356,30 +360,30 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/parser': 7.17.9 - '@babel/types': 7.17.0 + '@babel/parser': 7.17.10 + '@babel/types': 7.17.10 dev: false - /@babel/traverse/7.17.9: - resolution: {integrity: sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==} + /@babel/traverse/7.17.10: + resolution: {integrity: sha512-VmbrTHQteIdUUQNTb+zE12SHS/xQVIShmBPhlNP12hD5poF2pbITW1Z4172d03HegaQWhLffdkRJYtAzp0AGcw==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/generator': 7.17.9 + '@babel/generator': 7.17.10 '@babel/helper-environment-visitor': 7.16.7 '@babel/helper-function-name': 7.17.9 '@babel/helper-hoist-variables': 7.16.7 '@babel/helper-split-export-declaration': 7.16.7 - '@babel/parser': 7.17.9 - '@babel/types': 7.17.0 + '@babel/parser': 7.17.10 + '@babel/types': 7.17.10 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color dev: false - /@babel/types/7.17.0: - resolution: {integrity: sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==} + /@babel/types/7.17.10: + resolution: {integrity: sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-validator-identifier': 7.16.7 @@ -432,7 +436,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/set-array': 1.1.0 - '@jridgewell/sourcemap-codec': 1.4.11 + '@jridgewell/sourcemap-codec': 1.4.12 dev: false /@jridgewell/resolve-uri/3.0.6: @@ -445,15 +449,15 @@ packages: engines: {node: '>=6.0.0'} dev: false - /@jridgewell/sourcemap-codec/1.4.11: - resolution: {integrity: sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==} + /@jridgewell/sourcemap-codec/1.4.12: + resolution: {integrity: sha512-az/NhpIwP3K33ILr0T2bso+k2E/SLf8Yidd8mHl0n6sCQ4YdyC8qDhZA6kOPDNDBA56ZnIjngVl0U3jREA0BUA==} dev: false /@jridgewell/trace-mapping/0.3.9: resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} dependencies: '@jridgewell/resolve-uri': 3.0.6 - '@jridgewell/sourcemap-codec': 1.4.11 + '@jridgewell/sourcemap-codec': 1.4.12 dev: false /@lit/reactive-element/1.3.2: @@ -505,7 +509,7 @@ packages: /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 17.0.30 + '@types/node': 17.0.31 dev: false /@types/hash-sum/1.0.0: @@ -549,8 +553,8 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: false - /@types/node/17.0.30: - resolution: {integrity: sha512-oNBIZjIqyHYP8VCNAV9uEytXVeXG2oR0w9lgAXro20eugRQfY002qr3CUl6BAe+Yf/z3CRjPdz27Pu6WWtuSRw==} + /@types/node/17.0.31: + resolution: {integrity: sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==} dev: false /@types/prop-types/15.7.5: @@ -568,7 +572,7 @@ packages: /@types/sax/1.2.4: resolution: {integrity: sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==} dependencies: - '@types/node': 17.0.30 + '@types/node': 17.0.31 dev: false /@types/scheduler/0.16.2: @@ -582,7 +586,7 @@ packages: /@vue/compiler-core/3.2.33: resolution: {integrity: sha512-AAmr52ji3Zhk7IKIuigX2osWWsb2nQE5xsdFYjdnmtQ4gymmqXbjLvkSE174+fF3A3kstYrTgGkqgOEbsdLDpw==} dependencies: - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.10 '@vue/shared': 3.2.33 estree-walker: 2.0.2 source-map: 0.6.1 @@ -598,7 +602,7 @@ packages: /@vue/compiler-sfc/3.2.33: resolution: {integrity: sha512-H8D0WqagCr295pQjUYyO8P3IejM3vEzeCO1apzByAEaAR/WimhMYczHfZVvlCE/9yBaEu/eu9RdiWr0kF8b71Q==} dependencies: - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.10 '@vue/compiler-core': 3.2.33 '@vue/compiler-dom': 3.2.33 '@vue/compiler-ssr': 3.2.33 @@ -606,7 +610,7 @@ packages: '@vue/shared': 3.2.33 estree-walker: 2.0.2 magic-string: 0.25.9 - postcss: 8.4.12 + postcss: 8.4.13 source-map: 0.6.1 dev: false @@ -624,7 +628,7 @@ packages: /@vue/reactivity-transform/3.2.33: resolution: {integrity: sha512-4UL5KOIvSQb254aqenW4q34qMXbfZcmEsV/yVidLUgvwYQQ/D21bGX3DlgPUGI3c4C+iOnNmDCkIxkILoX/Pyw==} dependencies: - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.10 '@vue/compiler-core': 3.2.33 '@vue/shared': 3.2.33 estree-walker: 2.0.2 @@ -675,11 +679,11 @@ packages: vue-router: 4.0.14_vue@3.2.33 dev: false - /@vuepress/client/2.0.0-beta.41: - resolution: {integrity: sha512-K9EBrOm7Wgy+7C7fo3vBP8nLIG1zt+5+JXsl1DHuj7h3ZFh8MJrhx22lkI5rVgbSJjz2AmQzz15JQ+W8j5Lqhg==} + /@vuepress/client/2.0.0-beta.43: + resolution: {integrity: sha512-G7rb/Jj1C1fj22+rcdbp0mF2y+1me3GSpPcF2k/9Lo+6U4V7AchhsM6kiCbGWcIWSmrV0IpyLjNEJbYO1PniUw==} dependencies: '@vue/devtools-api': 6.1.4 - '@vuepress/shared': 2.0.0-beta.41 + '@vuepress/shared': 2.0.0-beta.43 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 dev: false @@ -697,13 +701,13 @@ packages: - supports-color dev: false - /@vuepress/core/2.0.0-beta.41: - resolution: {integrity: sha512-xzzMTqfJJIadS8R9ifkoz7jkDtIX3ApmWBeSFuGX6Ck/enCcYsLz7QYdw4e90jbaZwS1vXUbHP84Ei4lCTPBZA==} + /@vuepress/core/2.0.0-beta.43: + resolution: {integrity: sha512-WvphpFV7ctoCcsNzvKyj+U2kgr28AZkoWEYIvqOv60KlBozAuQVDD8k47yZ+XKt+778OcJ3QqKzNDJnRps9sQw==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/markdown': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/markdown': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 gray-matter: 4.0.3 toml: 3.0.0 vue: 3.2.33 @@ -725,12 +729,12 @@ packages: - supports-color dev: false - /@vuepress/markdown/2.0.0-beta.41: - resolution: {integrity: sha512-pBHQukRvWSAWJVEJo6mqEB+V2YVR5Dkx/ceVPkWVk/pru8FmLe3DrnZNIIdJeUfeyox5EwjyKwbaqUCOEBJEig==} + /@vuepress/markdown/2.0.0-beta.43: + resolution: {integrity: sha512-jyT/AvxFjY8fRAX/AmewwOfyRYPhSwa2z9/eosOZCotcqyw6gGwnFhtXXMIEgD4whoS7a9PPYUelhedlpzMVdw==} dependencies: '@types/markdown-it': 12.2.3 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 markdown-it: 13.0.0 markdown-it-anchor: 8.6.2_4zkvjt4xbdvvu5d3ev3iw7tqxi markdown-it-emoji: 2.0.2 @@ -739,12 +743,12 @@ packages: - supports-color dev: false - /@vuepress/plugin-active-header-links/2.0.0-beta.41: - resolution: {integrity: sha512-muPSD3THPoIAPwprHqHTCHvvZNepxFmG4raCgOaXVBvo+Orq9Nxv7PywbrWc++DuHsSIIWXbLh/j0NWCuEliog==} + /@vuepress/plugin-active-header-links/2.0.0-beta.43: + resolution: {integrity: sha512-I3dzOVO6zD7z31U0SuRYOwE5bLpFN0Crdwurr3PoSK6MJwAJ4IkKplKfGAJnhQFUXzYteg6I8PJS34AFrLrxnQ==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 ts-debounce: 4.0.0 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 @@ -766,31 +770,31 @@ packages: - supports-color dev: false - /@vuepress/plugin-container/2.0.0-beta.41: - resolution: {integrity: sha512-TMYMUGctE29SawUTDzz1qUvVRp3DMFJ0EJhRUkrlxcokwLsnedX4mFl8dolHVPjQNLwm/+JrNcq/8zO0cCu8Ww==} + /@vuepress/plugin-container/2.0.0-beta.43: + resolution: {integrity: sha512-VEylRRgt8+dvQDUWQSneNbkJEZN4lqs9z9hwjfVJq+ZEy18P204GtAsOzi+EmRX4urFpaliQoWzxZtcFzq3R0Q==} dependencies: '@types/markdown-it': 12.2.3 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/markdown': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/markdown': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 markdown-it: 13.0.0 markdown-it-container: 3.0.0 transitivePeerDependencies: - supports-color dev: false - /@vuepress/plugin-docsearch/2.0.0-beta.41: - resolution: {integrity: sha512-xOouTU7SEsnjKyHWRqa1RDIbk72TWWu3U4g8wJUYVBDJGv280QntDZZug2L62gzVzSlwPnLZSVrZGfaq7UBzCg==} + /@vuepress/plugin-docsearch/2.0.0-beta.43: + resolution: {integrity: sha512-qThQeTr9hGO9W1bgZp+v4yst2EDvqOMohWabdjpmQSf9/3d80oNJMK7Sz+97zpXwumK7xwsKcVDX4LlFZMEjLg==} dependencies: '@docsearch/css': 3.0.0 '@docsearch/js': 3.0.0_@types+react@17.0.44 '@docsearch/react': 3.0.0_@types+react@17.0.44 '@types/react': 17.0.44 - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 ts-debounce: 4.0.0 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 @@ -801,14 +805,14 @@ packages: - supports-color dev: false - /@vuepress/plugin-external-link-icon/2.0.0-beta.41: - resolution: {integrity: sha512-YO30PLrttRuMrtp0a5uO2kS8+TiGH102KeXvP7CzQoWyeyJH9qEgiiagX5pkdlJVQ3hGK0b/BdGzCVPBFsXDvQ==} + /@vuepress/plugin-external-link-icon/2.0.0-beta.43: + resolution: {integrity: sha512-xNp61yPZeGgcc3YDVMb0eu/VDdno/tJE1heNF0m9N8l/YwhdkQ3AuZvATGgWh9fMKBNHnbO9neTuJSaG4FzZjw==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/markdown': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/markdown': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 vue: 3.2.33 transitivePeerDependencies: - supports-color @@ -823,56 +827,65 @@ packages: - supports-color dev: false - /@vuepress/plugin-medium-zoom/2.0.0-beta.41: - resolution: {integrity: sha512-RWjclUzOWSl1SGPORzJVbiwdZnljq2hEqUveGm3vXiD0gbwAgWJXGoH/JF1DJi/FSo1OyKm3qy36CLBvcBJqDQ==} + /@vuepress/plugin-git/2.0.0-beta.43: + resolution: {integrity: sha512-fcYyoqGE3KXY+vucOOwYab2Q/m0afovg1CVetlYnKoRhfqLLJjghIHfEOikp48mm7j5LkcFzb6UBuc8XqYV/MA==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/core': 2.0.0-beta.43 + execa: 5.1.1 + transitivePeerDependencies: + - supports-color + dev: false + + /@vuepress/plugin-medium-zoom/2.0.0-beta.43: + resolution: {integrity: sha512-p/wQVX/k7RV6gu6yt4NombLmUdHjhvP6NEVy3vXfLDroTU0jsG9YMC2bh7i+Ht1tqjGUK8Jea+6JX0prEPzMow==} + dependencies: + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 medium-zoom: 1.0.6 vue: 3.2.33 transitivePeerDependencies: - supports-color dev: false - /@vuepress/plugin-nprogress/2.0.0-beta.41: - resolution: {integrity: sha512-4woo9LJV9shLBTeDfRcgZ0nm176U/FJYhZ1ZIqnTFZe2DotAXN483BOVX3rcy3UFC7WQlXL2/nRGIzEzMEOaeQ==} + /@vuepress/plugin-nprogress/2.0.0-beta.43: + resolution: {integrity: sha512-NMqk8RFUh+JxgMvWKyFn1Xb/9OkWeQQqmxW9MZB7X845GlVacp41rxbJGe3Sw4JKJ6/PnVbRNlBVJX/JO4Ok2w==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 transitivePeerDependencies: - supports-color dev: false - /@vuepress/plugin-palette/2.0.0-beta.41: - resolution: {integrity: sha512-dZ4nd3xsO/aWegl2itX6ge/R7fr0jjmR0j3vrR0S+xs0uGgghjaUTwZDcKqB5Gx+3O6poQAWuJn2PT9kiuGihQ==} + /@vuepress/plugin-palette/2.0.0-beta.43: + resolution: {integrity: sha512-9ijmk5Qpfx0ncdEHhdoPZP4LABzlj5ot9r0KU9IR+OVMySB/39dc4kElfrZCpfnXMx9CYZMd5drhlLj4TUsxnw==} dependencies: - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 chokidar: 3.5.3 transitivePeerDependencies: - supports-color dev: false - /@vuepress/plugin-prismjs/2.0.0-beta.41: - resolution: {integrity: sha512-y7JpYsygyXKl317CESkfsDeSQ6vGB8sKkKFCrs4Q57AmfeJtdggflBzwjBheNtjJeGiQ4eFit2CJjENaCddbcA==} + /@vuepress/plugin-prismjs/2.0.0-beta.43: + resolution: {integrity: sha512-u5ARmX0pr26tcJBbXri1/04hWsy6neaG9oUY1L8D28L/Sb9+7dvzfzvfWPonQLSe7sYs2w8xNvmuFvguldb5mA==} dependencies: - '@vuepress/core': 2.0.0-beta.41 + '@vuepress/core': 2.0.0-beta.43 prismjs: 1.28.0 transitivePeerDependencies: - supports-color dev: false - /@vuepress/plugin-search/2.0.0-beta.41: - resolution: {integrity: sha512-jI5jKIgo6LzNlzjb6NNXcXoJVg3B+Lgc05gNQtcG/l7RaJgpijNJ+MrF07ZJRdqhmVEMUMXRTsUQhhT3OqxOXQ==} + /@vuepress/plugin-search/2.0.0-beta.43: + resolution: {integrity: sha512-q1py7LajaFFDM12zWjcWw6i8vOn3s3nT05+4zTVH+zf4qa4M3gabPa/M2Jx/hUU3wYXzviZMMjw3KFYM1CGNjw==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 chokidar: 3.5.3 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 @@ -893,25 +906,25 @@ packages: - supports-color dev: false - /@vuepress/plugin-theme-data/2.0.0-beta.41: - resolution: {integrity: sha512-jdn+1VoCxsjKY8F7U8KpNsuw15cB8E7k0G6Z0pvMl7sOya5+/bLrw0IWfHaCsqiUEsvJZbbbvO7vrNOPxq1wqQ==} + /@vuepress/plugin-theme-data/2.0.0-beta.43: + resolution: {integrity: sha512-Y3uFcCdgCZrqZl0Blc+7v3DJivJVrdzqG4/ul74Bmu2IbgsP6RYCtMGrMvslTu9vhW/gEeNsL2v7kSVkUyjTvA==} dependencies: '@vue/devtools-api': 6.1.4 - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/shared': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/shared': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 vue: 3.2.33 transitivePeerDependencies: - supports-color dev: false - /@vuepress/plugin-toc/2.0.0-beta.41: - resolution: {integrity: sha512-HWDqiBMVAK3WjcEGqryTQ9+VjOVbgKIB7v8kHPQIT53bQz22KE8FTR1IZ/LTSJX4o4KZUmS/LSwNeSD/FZxNxg==} + /@vuepress/plugin-toc/2.0.0-beta.43: + resolution: {integrity: sha512-S3/6cL07HO2UYA+Ml6OBW8U/EWrD7lrG8DT/v4Gf4m2vU7+eJqErbXoGINjKO9hzNT1ko1uNAGBnBOkTopYi6Q==} dependencies: - '@vuepress/client': 2.0.0-beta.41 - '@vuepress/core': 2.0.0-beta.41 - '@vuepress/utils': 2.0.0-beta.41 + '@vuepress/client': 2.0.0-beta.43 + '@vuepress/core': 2.0.0-beta.43 + '@vuepress/utils': 2.0.0-beta.43 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 transitivePeerDependencies: @@ -924,8 +937,8 @@ packages: '@vue/shared': 3.2.33 dev: false - /@vuepress/shared/2.0.0-beta.41: - resolution: {integrity: sha512-8EezR5iiuEt4BL9mftjgxqSCAASuPjyvA30Ftpf79C1d3C7GC/H/3bEymfh6jCUbKEOxVc+9DX4/znVRfvEkRw==} + /@vuepress/shared/2.0.0-beta.43: + resolution: {integrity: sha512-MzO81IMmwmoJiU5g+U3+RhXCsQ5rdv/WQxj8xqozl3hRNpmzmF0Pi/Kc06P+5bZb2kVqv1eZIdQ9U91K9mi8HA==} dependencies: '@vue/shared': 3.2.33 dev: false @@ -948,12 +961,12 @@ packages: - supports-color dev: false - /@vuepress/utils/2.0.0-beta.41: - resolution: {integrity: sha512-G63N/AJhgtfOnxzWdvbsHw2LgRPU+bns8p/sh6XKNIswDkleRN+tj85GtswaJXL/cDMnAkrA1h395nHs/6UBow==} + /@vuepress/utils/2.0.0-beta.43: + resolution: {integrity: sha512-T56eQJdj5U7ZZLvL9zwH2rMrhQkba3YxEtrQehtKqfQ75NYfG8l+SjF9I1cMb/ujbFsv2YWBFsOyjZYtSiR8rA==} dependencies: '@types/debug': 4.1.7 '@types/fs-extra': 9.0.13 - '@vuepress/shared': 2.0.0-beta.41 + '@vuepress/shared': 2.0.0-beta.43 chalk: 4.1.2 debug: 4.3.4 fs-extra: 10.1.0 @@ -1001,14 +1014,14 @@ packages: vue-demi: 0.12.5_vue@3.2.33 dev: false - /@waline/client/2.0.6: - resolution: {integrity: sha512-vlr4aCN9c8LjALaTRj8UyMNlgXzgSj0nb4LZg8XBwqOqt5ONVTx5CXwArpWos8tX4So6iqRwbb/33ph5BLOCvw==} + /@waline/client/2.1.0: + resolution: {integrity: sha512-cvJLHvvwUzC7tvkHtWnXEeoLmhNECdSOfGD8TJ7hsji6OjoZeiFz1bpbq6TD+0kh6JEKSaCf9rPWFVyvQ5enRA==} engines: {node: '>=12.20.0'} dependencies: '@vueuse/core': 8.3.1_vue@3.2.33 autosize: 5.0.1 hanabi: 0.4.0 - marked: 4.0.14 + marked: 4.0.15 vue: 3.2.33 transitivePeerDependencies: - '@vue/composition-api' @@ -1151,8 +1164,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001334 - electron-to-chromium: 1.4.127 + caniuse-lite: 1.0.30001335 + electron-to-chromium: 1.4.131 escalade: 3.1.1 node-releases: 2.0.4 picocolors: 1.0.0 @@ -1165,8 +1178,8 @@ packages: ieee754: 1.2.1 dev: false - /caniuse-lite/1.0.30001334: - resolution: {integrity: sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw==} + /caniuse-lite/1.0.30001335: + resolution: {integrity: sha512-ddP1Tgm7z2iIxu6QTtbZUv6HJxSaV/PZeSrWFZtbY4JZ69tOeNhBCl3HyRQgeNZKE5AOn1kpV7fhljigy0Ty3w==} dev: false /chalk/1.1.3: @@ -1855,8 +1868,8 @@ packages: resolution: {integrity: sha512-OFP2u/3T1R5CEgWCEONuJ1a5+MFKnOYpkywpUSxv/dj1LeBT1erK+JwM7zK0ROy2BRhqVCf0LRw/kHqKuMkVGg==} dev: false - /electron-to-chromium/1.4.127: - resolution: {integrity: sha512-nhD6S8nKI0O2MueC6blNOEZio+/PWppE/pevnf3LOlQA/fKPCrDp2Ao4wx4LFwmIkJpVdFdn2763YWLy9ENIZg==} + /electron-to-chromium/1.4.131: + resolution: {integrity: sha512-oi3YPmaP87hiHn0c4ePB67tXaF+ldGhxvZnT19tW9zX6/Ej+pLN0Afja5rQ6S+TND7I9EuwQTT8JYn1k7R7rrw==} dev: false /end-of-stream/1.4.4: @@ -2317,8 +2330,8 @@ packages: uc.micro: 1.0.6 dev: false - /linkify-it/4.0.0: - resolution: {integrity: sha512-QAxkXyzT/TXgwGyY4rTgC95Ex6/lZ5/lYTV9nug6eJt93BCBQGOE47D/g2+/m5J1MrVLr2ot97OXkBZ9bBpR4A==} + /linkify-it/4.0.1: + resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==} dependencies: uc.micro: 1.0.6 dev: false @@ -2419,13 +2432,13 @@ packages: dependencies: argparse: 2.0.1 entities: 3.0.1 - linkify-it: 4.0.0 + linkify-it: 4.0.1 mdurl: 1.0.1 uc.micro: 1.0.6 dev: false - /marked/4.0.14: - resolution: {integrity: sha512-HL5sSPE/LP6U9qKgngIIPTthuxC0jrfxpYMZ3LdGDD3vTnLs59m2Z7r6+LNDR3ToqEQdkKd6YaaEfJhodJmijQ==} + /marked/4.0.15: + resolution: {integrity: sha512-esX5lPdTfG4p8LDkv+obbRCyOKzB+820ZZyMOXJZygZBHrH9b3xXR64X4kT3sPe9Nx8qQXbmcz6kFSMt4Nfk6Q==} engines: {node: '>= 12'} hasBin: true dev: false @@ -2503,8 +2516,8 @@ packages: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} dev: false - /nanoid/3.3.3: - resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==} + /nanoid/3.3.4: + resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true dev: false @@ -2658,11 +2671,11 @@ packages: engines: {node: '>=12.13.0'} dev: false - /postcss/8.4.12: - resolution: {integrity: sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==} + /postcss/8.4.13: + resolution: {integrity: sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.3 + nanoid: 3.3.4 picocolors: 1.0.0 source-map-js: 1.0.2 dev: false @@ -2855,7 +2868,7 @@ packages: engines: {node: '>=12.0.0', npm: '>=5.6.0'} hasBin: true dependencies: - '@types/node': 17.0.30 + '@types/node': 17.0.31 '@types/sax': 1.2.4 arg: 5.0.1 sax: 1.2.4 @@ -2871,11 +2884,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /source-map/0.5.7: - resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=} - engines: {node: '>=0.10.0'} - dev: false - /source-map/0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} @@ -2979,8 +2987,8 @@ packages: resolution: {integrity: sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg==} dev: false - /twikoo/1.5.8: - resolution: {integrity: sha512-Yz4BZfl9QG9ndrILC1las1/N0ZIgGmYPku14XICakoFmlXxB5K2Xurq+TypxijfkzugB5NzPY7eaIuBSLZAN/g==} + /twikoo/1.5.9: + resolution: {integrity: sha512-A/7adZbnXJSQzdDPJQFvzWZ3+guV5tAD5q2hrJLuXTXLSpm3l9jIZqBlQ3WiNROfcdOYPJ9MuShya/R2/fwXhw==} dev: false /type-fest/0.21.3: @@ -3051,9 +3059,9 @@ packages: '@mr-hope/vuepress-shared': 2.0.0-beta.47 '@vuepress/client': 2.0.0-beta.38 '@vuepress/utils': 2.0.0-beta.38 - '@waline/client': 2.0.6 + '@waline/client': 2.1.0 giscus: 1.0.3 - twikoo: 1.5.8 + twikoo: 1.5.9 vue: 3.2.33 vue-router: 4.0.14_vue@3.2.33 vuepress-plugin-sass-palette: 2.0.0-beta.47 @@ -3087,7 +3095,7 @@ packages: /vuepress-plugin-md-enhance/2.0.0-beta.47: resolution: {integrity: sha512-VH5aAdOcJmTdBVdLFXqwzoRUvEQh3EkNO4nzbMkVoChVSMJAJZE2rurq3udGZqM9kGhsKCx34JFm74D4X/zlxA==} dependencies: - '@babel/core': 7.17.9 + '@babel/core': 7.17.10 '@mr-hope/vuepress-shared': 2.0.0-beta.47 '@types/katex': 0.14.0 '@types/markdown-it': 12.2.3