Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vuepress/shared

Package Overview
Dependencies
Maintainers
6
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/shared - npm Package Versions

1
8

2.0.0-beta.49

Diff

Changelog

Source

2.0.0-beta.49 (2022-07-11)

Bug Fixes

  • bundler-vite: handle process.env replacement in dev (20f8a3f)
  • cli: check dest path correctly (close #954) (6a18c91)
  • theme-default: fallback select language aria-label correctly (d450478)
  • theme-default: fix 404 page style regression (close #963) (6a26f0b)
  • theme-default: fix minor issues of collapsible sidebar (close #967) (022e611)
  • theme-default: make headings anchor non-selectable (#973) (5020fc1)

Code Refactoring

  • markdown: externalize custom component plugin (a1909c0)
  • markdown: externalize headers and title plugin (8441569)
  • markdown: externalize sfc plugin (a23aaa1)

Features

  • markdown: support frontmatter options (6056e37)
  • theme-default: try to keep current hash across languages (a13c1e7)
  • utils: add isChildPath util (698e599)

BREAKING CHANGES

  • markdown: markdown.extractHeaders has been renamed to markdown.headers
  • markdown: markdown.extractTitle has been renamed to markdown.title
  • markdown: markdown.hoistTags has been renamed to markdown.sfc
  • markdown: node-api page.hoistedTags has been renamed to page.sfcBlocks
  • markdown: markdown.customComponent has been renamed to markdown.component
meteorlxy
published 2.0.0-beta.48 •

Changelog

Source

2.0.0-beta.48 (2022-06-11)

Bug Fixes

  • plugin-docsearch: keep base in result items (close #933) (35ebc91)
  • shared: check markdown links correctly (252f4ac)

Performance Improvements

  • replace object literals with json when generating client codes (6db42f0)
meteorlxy
published 2.0.0-beta.47 •

Changelog

Source

2.0.0-beta.47 (2022-06-10)

Bug Fixes

  • plugin-active-header-links: remove hash at page top (close #913) (#920) (268fa6d)
  • plugin-docsearch: fix search modal on mobile (52fda1e)
  • plugin-docsearch: use min-width to avoid layout shift after initialization (b208be5)
  • theme-default: fix header anchor offset regression (e4b4ded)

Features

  • bundler-vite: enable vue prod devtools in debug mode (39fe57b)
  • bundler-webpack: enable vue prod devtools in debug mode (4acc725)
  • core: support permalinkPattern in app options (close #778) (#834) (07fbe43)
  • markdown: support markdown.slugify option (0143ba6)
  • plugin-pwa: improve types definition (e7590f4)
  • plugin-search: improve search input hotkeys (close #746) (#831) (c98d70a)
  • theme-default: support colorMode and colorModeSwitch options (close #796) (d89cf86)

Performance Improvements

  • bundler-vite: only apply workaround plugin for serve (05b88e6)

BREAKING CHANGES

  • theme-default: darkMode has been replaced with colorMode and colorModeSwitch
  • theme-default: toggleDarkMode has been renamed to toggleColorMode
meteorlxy
published 2.0.0-beta.46 •

Changelog

Source

2.0.0-beta.46 (2022-05-26)

Bug Fixes

  • core: wrap page content to avoid issues of fragment (close #688) (fb76656)
  • markdown: resolve srcset attr of html img tags (close #809) (#818) (ea53747)
  • plugin-pwa-popup: fix component setup regression (close #903) (3daecdd)
  • plugin-pwa: make the options optional (e781f0a)
  • theme-default: access dom after mounted (#895) (68be74d)
  • theme-default: use lighter bg color for inline code (0c9b5ce)

Features

  • bundler-vite: use development mode when debugging (77dc5fc)
  • bundler-webpack: use development mode when debugging (close #734) (977114e)
  • plugin-external-link-icon: add frontmatter type (964c308)
  • plugin-git: support gitInclude frontmatter (close #449) (#460) (4f5a9af)
  • theme-default: add page-content-top and page-content-bottom slots (close #857) (51f30a2)
meteorlxy
published 2.0.0-beta.45 •

Changelog

Source

2.0.0-beta.45 (2022-05-14)

meteorlxy
published 2.0.0-beta.44 •

Changelog

Source

2.0.0-beta.44 (2022-05-14)

Bug Fixes

  • theme-default: allow non-url-encoded filename in theme config (close #884) (dd1d240)

Features

  • cli: add check for base and dest config (c060a6c)
  • cli: allow .cjs config file (e1152d1)
  • core: merge all client files hooks into clientConfigFile (#888) (ad8b5a8)
  • markdown: improve line-number DOM structure (#819) (d938852)
  • markdown: prepend base to absolute links to markdown files (close #653) (e4155a0)
  • theme-default: normalize html and body font-size (#817) (fd26901)

BREAKING CHANGES

  • markdown: now absolute links to markdown files will be treated as internal links, and do not need to prepend base manually
  • core: clientAppEnhanceFiles, clientAppRootComponentFiles and clientAppSetupFiles hooks are removed, use clientConfigFile hook instead
  • core: conventional file .vuepress/clientAppEnhance.{js,ts} has been renamed to .vuepress/client.{js,ts}, and the usage has been changed too
meteorlxy
published 2.0.0-beta.43 •

Changelog

Source

2.0.0-beta.43 (2022-05-02)

Bug Fixes

  • avoid processing extendsBundlerOptions hook twice in build (close #863) (8d69ffb)
  • bundler-vite: only set client packages in noExternal (close #866) (ff62e2a)
  • cli: avoid bin name conflicts (close #869) (6d7db43)

Features

  • markdown: support vPre for inline code (close #683) (ef2a014)

BREAKING CHANGES

  • markdown: type of code.vPre option changed from boolean to Record<'block' | 'inline', boolean>
meteorlxy
published 2.0.0-beta.42 •

Changelog

Source

2.0.0-beta.42 (2022-05-01)

Build System

Features

  • core: support extendsBundlerOptions hook (9c56052)

BREAKING CHANGES

  • drop support for node 12
meteorlxy
published 2.0.0-beta.41 •

Changelog

Source

2.0.0-beta.41 (2022-04-25)

Bug Fixes

  • bundler-vite: add client package to peerDependencies (a82fc60)
  • plugin-nprogress: fork nprogress to local (45770b1)
meteorlxy
published 2.0.0-beta.40 •

Changelog

Source

2.0.0-beta.40 (2022-04-25)

Bug Fixes

  • allow building multiple times in the same dest dir (close #772) (30bb4a8)
  • bundler-vite: disable scss charset by default (f3f8772)
  • bundler-vite: fix build failure when there are no css files (close #697) (#829) (f6101a5)
  • bundler-vite: remove redundant use of postcss-csso (close #759) (00c27c3)
  • client: support hot-reload of frontmatter head (effa95f)
  • plugin-active-header-links: do not append hash at page top (close #693) (#722) (f71cb50)
  • plugin-palette: fix sass import when path contains spaces (close #481) (#814) (bbea812)

Code Refactoring

  • drop support for using bundler, theme and plugins by name (#843) (b85b1c3)

Features

  • cli: enable sourcemap for ts files (close #457) (bf8c4bc)
  • core: enable prefetch by default (9d40851)
  • markdown: bump markdown-it to v13 (09a3637)
  • markdown: improve code fence language detection (close #752) (#815) (1c4d237)
  • plugin-docsearch: remove preact dependency (bb4a2ca)

BREAKING CHANGES

  • config bundler should import the bundler directly, and bundlerConfig has been removed
  • config theme should import the theme directly, and themeConfig has been removed
  • config plugins should import the plugins directly
  • theme API plugins should import the plugins directly
  • theme API extends should import the parent theme directly
  • plugin function and theme function should no longer accept user options as the first param, please check out the guide for how to write a plugin and a theme
  • core: default value of shouldPrefetch option has been changed from false to true
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