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

0.15.4

Diff

Changelog

Source

0.15.4 (2021-06-19)

Bug Fixes

  • avoid scroll behavior reliance on .nav-bar class (9b35dfc)
yyx990803
published 0.15.3 •

Changelog

Source

0.15.3 (2021-06-15)

Bug Fixes

  • avoid error when theme does not have .nav-bar class (a9d5800)
  • avoid resetting head tags on hmr/page switch (f52f20e)
  • watch config file when using srcDir (348f19a)
yyx990803
published 0.15.2 •

Changelog

Source

0.15.2 (2021-06-15)

Bug Fixes

  • force optimize vue to avoid duplication when linked (eefba39)
yyx990803
published 0.15.1 •

Changelog

Source

0.15.1 (2021-06-14)

Features

  • support passing vite config in vitepress config file via vite option (3737b10)
  • support srcDir config option (aaf4910)

Performance Improvements

  • avoid double resolve user config on startup (5733fc6)

BREAKING CHANGES

  • Some config options have changed.

    • vueOptions renamed to vue
    • alias option has been removed. Use vite.resovle.alias instead.
yyx990803
published 0.15.0 •

Changelog

Source

0.15.0 (2021-06-14)

Bug Fixes

  • fix frontmatter sidebarDepth for headers (424a4ca)
  • fix vue code block type indication (76fa173)

Features

  • more efficient useData() method that exposes all data (0661063)

BREAKING CHANGES

  • The following methods are removed.

    • useSiteData
    • useSiteDataByRoute
    • usePageData
    • useFrontmatter

    Instead, use the new useData() method:

    // before
    import { useSiteDataByRoute, usePageData } from 'vitepress'
    const site = useSiteDataByRoute()
    const page = usePageData()
    const theme = computed(() => site.value.themeConfig)
    
    // after
    import { useData } from 'vitepress'
    const { site, page, theme } = useData()
    

    All destructured values are computed refs injected from app root so they are created only once globally.

  • All global mixin properties (e.g. $site) except $frontmatter are removed. Always use useData() to retrieve VitePress data in Vue components.

antfu
published 0.14.1 •

Changelog

Source

0.14.1 (2021-06-08)

Bug Fixes

posva
published 0.14.0 •

Changelog

Source

0.14.0 (2021-05-27)

Bug Fixes

  • chinese filenames can't build (#217) (#262) (b940397)
  • theme: set search box min-width for >=751px (#286) (9589a5d)
  • detect public folder for dead link (#290) (3aa185f)
  • remove unnecessary 'vite/dynamic-import-polyfill' (6b4a4aa)

Features

  • Vite version bumped to ^2.3.4
  • exclude option (#281) (71a5e1c)
  • Render titles for social sharing and improve home page sharing (#263) (e651f97)
posva
published 0.13.2 •

Changelog

Source

0.13.2 (2021-04-26)

Bug Fixes

  • search: silence warning for prop (0716ffa)
posva
published 0.13.1 •

Changelog

Source

0.13.1 (2021-04-26)

Bug Fixes

kiaking
published 0.13.0 •

Changelog

Source

0.13.0 (2021-04-08)

Bug Fixes

Features

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