Socket
Socket
Sign inDemoInstall

vitepress

Package Overview
Dependencies
Maintainers
5
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vitepress - npm Package Versions

1
24

1.0.0-rc.13

Diff

Changelog

Source

1.0.0-rc.13 (2023-09-13)

Bug Fixes

  • theme: allow wrapping feature icons (a1e1267), closes #2923
  • theme: local search enter key with the search result (#2937) (00ef2f1)

Features

  • theme: add search insights boolean to algolia search (#2940) (32aa2a7)

Reverts

  • Revert "feat(theme): use inert to avoid traverse menus and content with keyboard" (#2953) (54891df), closes #2953 #2932
brc-dd
published 1.0.0-rc.12 •

Changelog

Source

1.0.0-rc.12 (2023-09-10)

Bug Fixes

  • theme: prevent closing local search box on key enter (#2933) (e544b41)
  • theme: use brand color on search highlight (dfc0fbf), closes #2902

Features

  • highlight nav by default when one of the items is matched (#2893) (b1fbece)
  • process md includes before building local search index (#2906) (c6ff5c7)
  • support for customizing the starting line number in a code block (#2917) (c0ce7f7)
  • theme: allow setting target in home features (#2897) (cb49673)
  • theme: use inert to avoid traverse menus and content with keyboard (#2932) (070fc0a)
brc-dd
published 1.0.0-rc.11 •

Changelog

Source

1.0.0-rc.11 (2023-09-10)

Bug Fixes

  • init: missing mts extension on windows (195ebe9), closes #2886
  • respect attrs on custom containers (8b76167)
  • temp workaround for broken navigation from 404 to home (a18d544), closes #2891
  • theme: dropdown menu partially hidden by the homepage footer when it is too long (#2904) (a60f079)
  • theme: improve contrast of search highlight text (#2887) (20f9770)
  • theme: link hover color inside a custom block (#2876) (39784ca)
  • theme: prevent layout shift in search button key (#2889) (0088434)
  • theme: search button key misplaced on safari (18adc07)
  • types: NavItem can only have either link or items (#2880) (12ef12d)

Features

brc-dd
published 1.0.0-rc.10 •

Changelog

Source

1.0.0-rc.10 (2023-08-28)

Bug Fixes

  • pseudo styles being removed with postcssIsolateStyles (21b4f8c), closes #2868 #2867
  • resolve snippets from original file path - align with include behavior (8aa032f)

Features

  • allow overriding mdit-vue/component options (4f01f1a)

Reverts

  • "fix: createContentLoader generates invalid url when sets base" (#2865) (6be5a7e)
brc-dd
published 1.0.0-rc.9 •

Changelog

Source

1.0.0-rc.9 (2023-08-28)

Bug Fixes

  • a11y/theme: disable transitions if user prefers reduced motion (fc5092f)
  • build: respect preserveSymlinks (#2780) (1bda710)
  • cli/init: print the correct packageManager (#2787) (b388b0a)
  • cli/init: terminal message has not enough contrast (#2786) (4d9d977)
  • restart server on theme creation/deletion (#2785) (e0be677)
  • scroll-to-top in iOS when opens sidebar (#2803) (3dab9a6)
  • stackblitz not working on firefox (877f643), closes #2817
  • theme: docsearch variables not applying properly on ios beta (436e99a)
  • theme: improve logo svg and add art dir (1f8c58a)
  • theme: prevent sidebar re-render unless there is actual change (33962e0), closes #2796
  • theme: revert 79 to 179 in yellow-soft (#2858) (74fcb60)
  • theme: show only one carbon ad at a time (5ced0cc)
  • theme: ssr issues on deno (e8edd0a)

Features

  • allow customizing markdown renderer used for local search indexing (#2770) (00dc1e6)
  • export postcssIsolateStyles for vp-raw (3c736c1)
  • theme: allow overriding code copied text from css (#2833) (e8ef1aa)
  • theme: allow overriding last updated time in doc footer from frontmatter (#2848) (9a062a6)
  • theme: allow providing custom toggle-appearance function (#2844) (a5f2eac)
  • theme: allow setting rel and target on sidebar links (e477cdf), closes #2851
  • theme: export VPButton and VPSponsors (#2767) (6960ec1)
  • theme: export VPImage (#2814) (f242140)
  • theme: improve color system (#2797) (e4f5c51), closes #2100

BREAKING CHANGES

  • pathname:// protocol is dropped. Specify target="_self" or target="_blank" instead. Refer docs to learn more.
  • Shiki's default theme is now changed to github-light and github-dark. If you want to use the old theme, you can set markdown.theme in your config to 'material-theme-palenight'.
  • Internal logic of isDark is changed to use vueuse. It might impact your custom theme. You can customize its behavior using appearance option.
  • Default theme's color system is updated to make it more easily customizable. Refer the PR for new variables.
brc-dd
published 1.0.0-rc.8 •

brc-dd
published 1.0.0-rc.7 •

brc-dd
published 1.0.0-rc.6 •

brc-dd
published 1.0.0-rc.5 •

brc-dd
published 1.0.0-rc.4 •

Changelog

Source

1.0.0-rc.4 (2023-08-08)

Bug Fixes

  • createContentLoader generates invalid url when base is set (#2714) (0f38eb4)
  • build: make outDir from cli work properly (17378c0), closes #2716
  • build: nested rewrites not working properly (0f421d7)
  • client: handle empty hash in links (#2738) (c6c983e)
  • fix sitemap path resolution (481a5e3), closes #2749
  • theme: align max-width media queries (d31051a)
  • theme: allow using h1 headings in outline (e3f8fc7), closes #1529
  • theme: close dropdown menus after an item is clicked (#2380) (e54eea3)
  • theme: don't reset scroll position on changing tab in code groups (039798a), closes #2732 #2362
  • theme: dont show transparent navbar other than home (#2742) (1d6254b)
  • theme: hide outline marker on scroll to top (81e7405)
  • theme: outline marker flicks when navigating towards above (e8ebf1b), closes #2665 #2676
  • theme: override docsearch button bg (063b0e5), closes #2735
  • theme: respect feature icon dimensions set from frontmatter (93823a8), closes #1886
  • theme: scroll code group tab into view on selection (1a6efba), closes #2355
  • theme: update sidebar active link status on hash change (#2736) (3840eaa)
  • regression/theme: fix sidebar collapsing (#2753) (9a4ee07)
  • cli: generate mjs file on init if "type": "module" is not present (23d7511)
  • theme: language menu undefined text (#2755) (c9d4655)

Features

  • theme: final re-brand (#2727) (c0d838b)
  • allow html blocks inside code groups (#2719) (7f0c18e)
  • build: add markdown.preConfig option (ce85726), closes #1382
  • build: allow overriding vite config loading (#2750) (1bed154)
  • client: allow customizing scrollOffset padding (20b509c), closes #2739
  • client: allow overriding props on Content (1179484), closes #2712
  • i18n with sitemap (#2708) (7778187)
  • search: allow enabling detailed view by default (4af5975), closes #2690
  • theme: allow adding custom layouts (f4a5c43), closes #2547
  • theme: allow customizing default theme's 404 page (d7e2254), closes #2715
  • theme: allow customizing prev/next text from config file (09a4fdc), closes #1373
  • theme: allow overriding logo link (2a7422b), closes #1683
  • theme: allow passing html in nav links (69251b7), closes #1652
  • theme: allow setting base path in sidebar items (#2734) (52884d9)

Reverts

BREAKING CHANGES

  • Node v18+ is now required to run VitePress.
  • VitePress now only provides ESM API. Refer #2703 for details.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc