vitepress 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,44 +1,55 @@
1
1
  <script setup lang="ts">
2
- import { onMounted, ref } from 'vue'
2
+ import { computed, onMounted, ref } from 'vue'
3
3
  import { withBase } from 'vitepress'
4
4
  import { useData } from './composables/data'
5
5
  import { useLangs } from './composables/langs'
6
6
 
7
- const { site, theme } = useData()
7
+ const { site } = useData()
8
8
  const { localeLinks } = useLangs({ removeCurrent: false })
9
9
 
10
- const root = ref('/')
10
+ const locale = ref({
11
+ link: '/',
12
+ index: 'root'
13
+ })
14
+
11
15
  onMounted(() => {
12
16
  const path = window.location.pathname
13
17
  .replace(site.value.base, '')
14
18
  .replace(/(^.*?\/).*$/, '/$1')
15
19
  if (localeLinks.value.length) {
16
- root.value =
17
- localeLinks.value.find(({ link }) => link.startsWith(path))?.link ||
18
- localeLinks.value[0].link
20
+ locale.value =
21
+ localeLinks.value.find(({ link }) => link.startsWith(path)) ||
22
+ localeLinks.value[0]
19
23
  }
20
24
  })
25
+
26
+ const notFound = computed(() => ({
27
+ code: 404,
28
+ title: 'PAGE NOT FOUND',
29
+ quote:
30
+ "But if you don't change your direction, and if you keep looking, you may end up where you are heading.",
31
+ linkLabel: 'go to home',
32
+ linkText: 'Take me home',
33
+ ...(locale.value.index === 'root'
34
+ ? site.value.themeConfig?.notFound
35
+ : site.value.locales?.[locale.value.index]?.themeConfig?.notFound)
36
+ }))
21
37
  </script>
22
38
 
23
39
  <template>
24
40
  <div class="NotFound">
25
- <p class="code">{{ theme.notFound?.code ?? '404' }}</p>
26
- <h1 class="title">{{ theme.notFound?.title ?? 'PAGE NOT FOUND' }}</h1>
41
+ <p class="code">{{ notFound.code }}</p>
42
+ <h1 class="title">{{ notFound.title }}</h1>
27
43
  <div class="divider" />
28
- <blockquote class="quote">
29
- {{
30
- theme.notFound?.quote ??
31
- "But if you don't change your direction, and if you keep looking, you may end up where you are heading."
32
- }}
33
- </blockquote>
44
+ <blockquote class="quote">{{ notFound.quote }}</blockquote>
34
45
 
35
46
  <div class="action">
36
47
  <a
37
48
  class="link"
38
- :href="withBase(root)"
39
- :aria-label="theme.notFound?.linkLabel ?? 'go to home'"
49
+ :href="withBase(locale.link)"
50
+ :aria-label="notFound.linkLabel"
40
51
  >
41
- {{ theme.notFound?.linkText ?? 'Take me home' }}
52
+ {{ notFound.linkText }}
42
53
  </a>
43
54
  </div>
44
55
  </div>
@@ -25,7 +25,8 @@ useActiveAnchor(container, marker)
25
25
  </script>
26
26
 
27
27
  <template>
28
- <div
28
+ <nav
29
+ aria-labelledby="doc-outline-aria-label"
29
30
  class="VPDocAsideOutline"
30
31
  :class="{ 'has-outline': headers.length > 0 }"
31
32
  ref="container"
@@ -34,16 +35,18 @@ useActiveAnchor(container, marker)
34
35
  <div class="content">
35
36
  <div class="outline-marker" ref="marker" />
36
37
 
37
- <div class="outline-title" role="heading" aria-level="2">{{ resolveTitle(theme) }}</div>
38
+ <div
39
+ aria-level="2"
40
+ class="outline-title"
41
+ id="doc-outline-aria-label"
42
+ role="heading"
43
+ >
44
+ {{ resolveTitle(theme) }}
45
+ </div>
38
46
 
39
- <nav aria-labelledby="doc-outline-aria-label">
40
- <span class="visually-hidden" id="doc-outline-aria-label">
41
- Table of Contents for current page
42
- </span>
43
- <VPDocOutlineItem :headers="headers" :root="true" />
44
- </nav>
47
+ <VPDocOutlineItem :headers="headers" :root="true" />
45
48
  </div>
46
- </div>
49
+ </nav>
47
50
  </template>
48
51
 
49
52
  <style scoped>
@@ -39,7 +39,13 @@ const showFooter = computed(() => {
39
39
  </div>
40
40
  </div>
41
41
 
42
- <nav v-if="control.prev?.link || control.next?.link" class="prev-next">
42
+ <nav
43
+ v-if="control.prev?.link || control.next?.link"
44
+ class="prev-next"
45
+ aria-labelledby="doc-footer-aria-label"
46
+ >
47
+ <span class="visually-hidden" id="doc-footer-aria-label">Pager</span>
48
+
43
49
  <div class="pager">
44
50
  <VPLink v-if="control.prev?.link" class="pager-link prev" :href="control.prev.link">
45
51
  <span class="desc" v-html="theme.docFooter?.prev || 'Previous page'"></span>
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
- import { onClickOutside, onKeyStroke } from '@vueuse/core'
2
+ import { onKeyStroke } from '@vueuse/core'
3
3
  import { onContentUpdated } from 'vitepress'
4
- import { nextTick, ref } from 'vue'
4
+ import { nextTick, ref, watch } from 'vue'
5
5
  import { useData } from '../composables/data'
6
6
  import { resolveTitle, type MenuItem } from '../composables/outline'
7
7
  import VPDocOutlineItem from './VPDocOutlineItem.vue'
@@ -17,8 +17,18 @@ const vh = ref(0)
17
17
  const main = ref<HTMLDivElement>()
18
18
  const items = ref<HTMLDivElement>()
19
19
 
20
- onClickOutside(main, () => {
21
- open.value = false
20
+ function closeOnClickOutside(e: Event) {
21
+ if (!main.value?.contains(e.target as Node)) {
22
+ open.value = false
23
+ }
24
+ }
25
+
26
+ watch(open, (value) => {
27
+ if (value) {
28
+ document.addEventListener('click', closeOnClickOutside)
29
+ return
30
+ }
31
+ document.removeEventListener('click', closeOnClickOutside)
22
32
  })
23
33
 
24
34
  onKeyStroke('Escape', () => {
@@ -71,6 +71,11 @@ const translate = createSearchTranslate(defaultTranslations)
71
71
  outline: 5px auto -webkit-focus-ring-color;
72
72
  }
73
73
 
74
+ .DocSearch-Button-Key--pressed {
75
+ transform: none;
76
+ box-shadow: none;
77
+ }
78
+
74
79
  .DocSearch-Button:focus:not(:focus-visible) {
75
80
  outline: none !important;
76
81
  }
@@ -4,6 +4,7 @@ import { useData } from './data';
4
4
  export function useLangs({ removeCurrent = true, correspondingLink = false } = {}) {
5
5
  const { site, localeIndex, page, theme, hash } = useData();
6
6
  const currentLang = computed(() => ({
7
+ index: localeIndex.value,
7
8
  label: site.value.locales[localeIndex.value]?.label,
8
9
  link: site.value.locales[localeIndex.value]?.link ||
9
10
  (localeIndex.value === 'root' ? '/' : `/${localeIndex.value}/`)
@@ -11,6 +12,7 @@ export function useLangs({ removeCurrent = true, correspondingLink = false } = {
11
12
  const localeLinks = computed(() => Object.entries(site.value.locales).flatMap(([key, value]) => removeCurrent && currentLang.value.label === value.label
12
13
  ? []
13
14
  : {
15
+ index: key,
14
16
  text: value.label,
15
17
  link: normalizeLink(value.link || (key === 'root' ? '/' : `/${key}/`), theme.value.i18nRouting !== false && correspondingLink, page.value.relativePath.slice(currentLang.value.link.length - 1), !site.value.cleanUrls) + hash.value
16
18
  }));
@@ -146,12 +146,40 @@ html body {
146
146
  U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
147
147
  }
148
148
 
149
- /* Chinese quotes rendering fix. 中英文弯引号共享 Unicode 码位,确保引号使用中文字体渲染 */
150
149
  @font-face {
151
- font-family: 'Chinese Quotes';
152
- src: local('PingFang SC Regular'), local('PingFang SC'), local('SimHei'),
153
- local('Source Han Sans SC');
154
- unicode-range: U+2018, U+2019, U+201C, U+201D; /* 分别是 ‘’“” */
150
+ font-family: 'Punctuation SC';
151
+ font-weight: 400;
152
+ src: local('PingFang SC Regular'), local('Noto Sans CJK SC'),
153
+ local('Microsoft YaHei');
154
+ unicode-range: U+201C, U+201D, U+2018, U+2019, U+2E3A, U+2014, U+2013, U+2026,
155
+ U+00B7, U+007E, U+002F;
156
+ }
157
+
158
+ @font-face {
159
+ font-family: 'Punctuation SC';
160
+ font-weight: 500;
161
+ src: local('PingFang SC Medium'), local('Noto Sans CJK SC'),
162
+ local('Microsoft YaHei');
163
+ unicode-range: U+201C, U+201D, U+2018, U+2019, U+2E3A, U+2014, U+2013, U+2026,
164
+ U+00B7, U+007E, U+002F;
165
+ }
166
+
167
+ @font-face {
168
+ font-family: 'Punctuation SC';
169
+ font-weight: 600;
170
+ src: local('PingFang SC Semibold'), local('Noto Sans CJK SC Bold'),
171
+ local('Microsoft YaHei Bold');
172
+ unicode-range: U+201C, U+201D, U+2018, U+2019, U+2E3A, U+2014, U+2013, U+2026,
173
+ U+00B7, U+007E, U+002F;
174
+ }
175
+
176
+ @font-face {
177
+ font-family: 'Punctuation SC';
178
+ font-weight: 700;
179
+ src: local('PingFang SC Semibold'), local('Noto Sans CJK SC Bold'),
180
+ local('Microsoft YaHei Bold');
181
+ unicode-range: U+201C, U+201D, U+2018, U+2019, U+2E3A, U+2014, U+2013, U+2026,
182
+ U+00B7, U+007E, U+002F;
155
183
  }
156
184
 
157
185
  /* Generate the subsetted fonts using: `pyftsubset <file>.woff2 --unicodes="<range>" --output-file="inter-<style>-<subset>.woff2" --flavor=woff2` */
@@ -261,15 +261,20 @@
261
261
  * -------------------------------------------------------------------------- */
262
262
 
263
263
  :root {
264
- --vp-font-family-base: 'Chinese Quotes', Inter, ui-sans-serif, system-ui,
265
- sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
266
- 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
267
- 'Noto Color Emoji';
268
- --vp-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
264
+ --vp-font-family-base: 'Inter', ui-sans-serif, system-ui, sans-serif,
265
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
266
+ --vp-font-family-mono: ui-monospace, 'Menlo', 'Monaco', 'Consolas',
269
267
  'Liberation Mono', 'Courier New', monospace;
270
268
  font-optical-sizing: auto;
271
269
  }
272
270
 
271
+ :root:lang(zh) {
272
+ --vp-font-family-base: 'Punctuation SC', 'Inter', ui-sans-serif, system-ui,
273
+ 'PingFang SC', 'Noto Sans CJK SC', 'Noto Sans SC', 'Heiti SC', 'DengXian',
274
+ 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
275
+ 'Segoe UI Symbol', 'Noto Color Emoji';
276
+ }
277
+
273
278
  /**
274
279
  * Shadows
275
280
  * -------------------------------------------------------------------------- */
package/dist/node/cli.js CHANGED
@@ -1,6 +1,8 @@
1
- import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-DZ7Ijn1Q.js';
1
+ import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-CXVdC751.js';
2
2
  import { createLogger } from 'vite';
3
3
  import 'path';
4
+ import 'shiki';
5
+ import '@shikijs/transformers';
4
6
  import 'url';
5
7
  import 'crypto';
6
8
  import 'module';
@@ -27,8 +29,6 @@ import 'querystring';
27
29
  import 'tty';
28
30
  import 'constants';
29
31
  import 'node:crypto';
30
- import 'shiki';
31
- import '@shikijs/transformers';
32
32
  import 'minisearch';
33
33
 
34
34
  function hasKey(obj, keys) {
@@ -394,6 +394,7 @@ const root = argv._[command ? 1 : 0];
394
394
  if (root) {
395
395
  argv.root = root;
396
396
  }
397
+ let restartPromise;
397
398
  if (!command || command === "dev") {
398
399
  if (argv.force) {
399
400
  delete argv.force;
@@ -401,8 +402,15 @@ if (!command || command === "dev") {
401
402
  }
402
403
  const createDevServer = async () => {
403
404
  const server = await createServer(root, argv, async () => {
404
- await server.close();
405
- await createDevServer();
405
+ if (!restartPromise) {
406
+ restartPromise = (async () => {
407
+ await server.close();
408
+ await createDevServer();
409
+ })().finally(() => {
410
+ restartPromise = void 0;
411
+ });
412
+ }
413
+ return restartPromise;
406
414
  });
407
415
  await server.listen();
408
416
  logVersion(server.config.logger);
@@ -1,7 +1,7 @@
1
1
  import { normalizePath } from 'vite';
2
2
  export { loadEnv } from 'vite';
3
- import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-DZ7Ijn1Q.js';
4
- export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-DZ7Ijn1Q.js';
3
+ import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-CXVdC751.js';
4
+ export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-CXVdC751.js';
5
5
  import path from 'path';
6
6
  import 'crypto';
7
7
  import 'module';
@@ -131,6 +131,7 @@ var postcssPrefixSelector = function postcssPrefixSelector(options) {
131
131
  '-webkit-keyframes',
132
132
  '-moz-keyframes',
133
133
  '-o-keyframes',
134
+ '-ms-keyframes',
134
135
  ];
135
136
 
136
137
  if (rule.parent && keyframeRules.includes(rule.parent.name)) {
@@ -37357,19 +37357,12 @@ const linkPlugin = (md, externalAttrs, base) => {
37357
37357
  };
37358
37358
 
37359
37359
  function restoreEntities(md) {
37360
- md.core.ruler.before("text_join", "entity", (state) => {
37361
- for (const token of state.tokens) {
37362
- if (token.type !== "inline" || !token.children)
37363
- continue;
37364
- for (const child of token.children) {
37365
- if (child.type === "text_special" && child.info === "entity") {
37366
- child.type = "entity";
37367
- }
37368
- }
37360
+ md.core.ruler.disable("text_join");
37361
+ md.renderer.rules.text_special = (tokens, idx) => {
37362
+ if (tokens[idx].info === "entity") {
37363
+ return tokens[idx].markup;
37369
37364
  }
37370
- });
37371
- md.renderer.rules.entity = (tokens, idx) => {
37372
- return tokens[idx].markup;
37365
+ return md.utils.escapeHtml(tokens[idx].content);
37373
37366
  };
37374
37367
  }
37375
37368
 
@@ -46530,7 +46523,7 @@ async function generateSitemap(siteConfig) {
46530
46523
  }
46531
46524
 
46532
46525
  /**
46533
- * @vue/shared v3.4.23
46526
+ * @vue/shared v3.4.25
46534
46527
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
46535
46528
  * @license MIT
46536
46529
  **/
@@ -46628,7 +46621,7 @@ function escapeHtml(string) {
46628
46621
 
46629
46622
  var escape$1 = /*@__PURE__*/getDefaultExportFromCjs(escapeHtml_1);
46630
46623
 
46631
- var version = "1.1.2";
46624
+ var version = "1.1.4";
46632
46625
 
46633
46626
  async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags) {
46634
46627
  const routePath = `/${page.replace(/\.md$/, "")}`;
@@ -47021,7 +47014,7 @@ function q$1({onlyFirst:t=!1}={}){const u=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?
47021
47014
  `).length-1;this.output.write(src.cursor.move(-999,u*-1));}render(){const u=R(this._render(this)??"",process.stdout.columns,{hard:!0});if(u!==this._prevFrame){if(this.state==="initial")this.output.write(src.cursor.hide);else {const F=aD(this._prevFrame,u);if(this.restoreCursor(),F&&F?.length===1){const e=F[0];this.output.write(src.cursor.move(0,e)),this.output.write(src.erase.lines(1));const s=u.split(`
47022
47015
  `);this.output.write(s[e]),this._prevFrame=u,this.output.write(src.cursor.move(0,s.length-e-1));return}else if(F&&F?.length>1){const e=F[0];this.output.write(src.cursor.move(0,e)),this.output.write(src.erase.down());const s=u.split(`
47023
47016
  `).slice(e);this.output.write(s.join(`
47024
- `)),this._prevFrame=u;return}this.output.write(src.erase.down());}this.output.write(u),this.state==="initial"&&(this.state="active"),this._prevFrame=u;}}};class xD extends x$1{get cursor(){return this.value?0:1}get _value(){return this.cursor===0}constructor(u){super(u,!1),this.value=!!u.initialValue,this.on("value",()=>{this.value=this._value;}),this.on("confirm",F=>{this.output.write(src.cursor.move(0,-1)),this.value=F,this.state="submit",this.close();}),this.on("cursor",()=>{this.value=!this.value;});}}var bD=Object.defineProperty,wD=(t,u,F)=>u in t?bD(t,u,{enumerable:!0,configurable:!0,writable:!0,value:F}):t[u]=F,Z=(t,u,F)=>(wD(t,typeof u!="symbol"?u+"":u,F),F);let yD=class extends x$1{constructor(u){super(u,!1),Z(this,"options"),Z(this,"cursor",0),this.options=u.options,this.cursor=this.options.findIndex(({value:F})=>F===u.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",F=>{switch(F){case"left":case"up":this.cursor=this.cursor===0?this.options.length-1:this.cursor-1;break;case"down":case"right":this.cursor=this.cursor===this.options.length-1?0:this.cursor+1;break}this.changeValue();});}get _value(){return this.options[this.cursor]}changeValue(){this.value=this._value.value;}};var SD=Object.defineProperty,jD=(t,u,F)=>u in t?SD(t,u,{enumerable:!0,configurable:!0,writable:!0,value:F}):t[u]=F,MD=(t,u,F)=>(jD(t,typeof u!="symbol"?u+"":u,F),F);class TD extends x$1{constructor(u){super(u),MD(this,"valueWithCursor",""),this.on("finalize",()=>{this.value||(this.value=u.defaultValue),this.valueWithCursor=this.value;}),this.on("value",()=>{if(this.cursor>=this.value.length)this.valueWithCursor=`${this.value}${c$1.inverse(c$1.hidden("_"))}`;else {const F=this.value.slice(0,this.cursor),e=this.value.slice(this.cursor);this.valueWithCursor=`${F}${c$1.inverse(e[0])}${e.slice(1)}`;}});}get cursor(){return this._cursor}}globalThis.process.platform.startsWith("win");
47017
+ `)),this._prevFrame=u;return}this.output.write(src.erase.down());}this.output.write(u),this.state==="initial"&&(this.state="active"),this._prevFrame=u;}}};class xD extends x$1{get cursor(){return this.value?0:1}get _value(){return this.cursor===0}constructor(u){super(u,!1),this.value=!!u.initialValue,this.on("value",()=>{this.value=this._value;}),this.on("confirm",F=>{this.output.write(src.cursor.move(0,-1)),this.value=F,this.state="submit",this.close();}),this.on("cursor",()=>{this.value=!this.value;});}}var bD=Object.defineProperty,wD=(t,u,F)=>u in t?bD(t,u,{enumerable:!0,configurable:!0,writable:!0,value:F}):t[u]=F,Z=(t,u,F)=>(wD(t,typeof u!="symbol"?u+"":u,F),F);let yD=class extends x$1{constructor(u){super(u,!1),Z(this,"options"),Z(this,"cursor",0),this.options=u.options,this.cursor=this.options.findIndex(({value:F})=>F===u.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",F=>{switch(F){case"left":case"up":this.cursor=this.cursor===0?this.options.length-1:this.cursor-1;break;case"down":case"right":this.cursor=this.cursor===this.options.length-1?0:this.cursor+1;break}this.changeValue();});}get _value(){return this.options[this.cursor]}changeValue(){this.value=this._value.value;}};var SD=Object.defineProperty,jD=(t,u,F)=>u in t?SD(t,u,{enumerable:!0,configurable:!0,writable:!0,value:F}):t[u]=F,MD=(t,u,F)=>(jD(t,u+"",F),F);class TD extends x$1{constructor(u){super(u),MD(this,"valueWithCursor",""),this.on("finalize",()=>{this.value||(this.value=u.defaultValue),this.valueWithCursor=this.value;}),this.on("value",()=>{if(this.cursor>=this.value.length)this.valueWithCursor=`${this.value}${c$1.inverse(c$1.hidden("_"))}`;else {const F=this.value.slice(0,this.cursor),e=this.value.slice(this.cursor);this.valueWithCursor=`${F}${c$1.inverse(e[0])}${e.slice(1)}`;}});}get cursor(){return this._cursor}}globalThis.process.platform.startsWith("win");
47025
47018
 
47026
47019
  function q(){return process$2.platform!=="win32"?process$2.env.TERM!=="linux":Boolean(process$2.env.CI)||Boolean(process$2.env.WT_SESSION)||Boolean(process$2.env.TERMINUS_SUBLIME)||process$2.env.ConEmuTask==="{cmd::Cmder}"||process$2.env.TERM_PROGRAM==="Terminus-Sublime"||process$2.env.TERM_PROGRAM==="vscode"||process$2.env.TERM==="xterm-256color"||process$2.env.TERM==="alacritty"||process$2.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const _=q(),o=(r,n)=>_?r:n,H=o("\u25C6","*"),I=o("\u25A0","x"),x=o("\u25B2","x"),S=o("\u25C7","o"),K=o("\u250C","T"),a=o("\u2502","|"),d=o("\u2514","\u2014"),b=o("\u25CF",">"),E=o("\u25CB"," "),y=r=>{switch(r){case"initial":case"active":return c$1.cyan(H);case"cancel":return c$1.red(I);case"error":return c$1.yellow(x);case"submit":return c$1.green(S)}},te=r=>new TD({validate:r.validate,placeholder:r.placeholder,defaultValue:r.defaultValue,initialValue:r.initialValue,render(){const n=`${c$1.gray(a)}
47027
47020
  ${y(this.state)} ${r.message}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitepress",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Vite & Vue powered static site generator",
5
5
  "keywords": [
6
6
  "vite",
@@ -77,8 +77,8 @@
77
77
  "mark.js": "8.11.1",
78
78
  "minisearch": "^6.3.0",
79
79
  "shiki": "^1.3.0",
80
- "vite": "^5.2.9",
81
- "vue": "^3.4.23"
80
+ "vite": "^5.2.10",
81
+ "vue": "^3.4.25"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@clack/prompts": "^0.7.0",
@@ -109,7 +109,7 @@
109
109
  "@types/node": "^20.12.7",
110
110
  "@types/postcss-prefix-selector": "^1.16.3",
111
111
  "@types/prompts": "^2.4.9",
112
- "@vue/shared": "^3.4.23",
112
+ "@vue/shared": "^3.4.25",
113
113
  "chokidar": "^3.6.0",
114
114
  "conventional-changelog-cli": "^4.1.0",
115
115
  "cross-spawn": "^7.0.3",
@@ -123,7 +123,7 @@
123
123
  "gray-matter": "^4.0.3",
124
124
  "lint-staged": "^15.2.2",
125
125
  "lodash.template": "^4.5.0",
126
- "lru-cache": "^10.2.0",
126
+ "lru-cache": "^10.2.1",
127
127
  "markdown-it": "^14.1.0",
128
128
  "markdown-it-anchor": "^8.6.7",
129
129
  "markdown-it-attrs": "^4.1.6",
@@ -141,12 +141,12 @@
141
141
  "pkg-dir": "^8.0.0",
142
142
  "playwright-chromium": "^1.43.1",
143
143
  "polka": "1.0.0-next.25",
144
- "postcss-prefix-selector": "^1.16.0",
144
+ "postcss-prefix-selector": "^1.16.1",
145
145
  "prettier": "^3.2.5",
146
146
  "prompts": "^2.4.2",
147
147
  "punycode": "^2.3.1",
148
148
  "rimraf": "^5.0.5",
149
- "rollup": "^4.14.3",
149
+ "rollup": "^4.17.0",
150
150
  "rollup-plugin-dts": "^6.1.0",
151
151
  "rollup-plugin-esbuild": "^6.1.1",
152
152
  "semver": "^7.6.0",
@@ -156,8 +156,8 @@
156
156
  "sort-package-json": "^2.10.0",
157
157
  "supports-color": "^9.4.0",
158
158
  "typescript": "^5.4.5",
159
- "vitest": "^1.5.0",
160
- "vue-tsc": "^2.0.13",
159
+ "vitest": "^1.5.2",
160
+ "vue-tsc": "^2.0.14",
161
161
  "wait-on": "^7.2.0"
162
162
  },
163
163
  "peerDependencies": {