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

@vuepress/plugin-prismjs

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/plugin-prismjs - npm Package Versions

1
10

2.0.0-beta.51

Diff

Changelog

Source

2.0.0-beta.51 (2022-08-28)

Bug Fixes

  • bundler-vite: do not change output entry of client bundle (close #1043) (b3565cb)
  • bundler-webpack: add extensionAlias config (697e7ae)
  • core: resolve app version correctly (2a93513)

Features

  • client: make args of defineClientConfig optional (e418e02)
  • support layouts option in client config (#1053) (a67a0bf)

Performance Improvements

  • reduce memory usage during rendering (ea0a2b2)

BREAKING CHANGES

  • theme API layouts has been removed, layouts should be set in client config instead of theme entry
  • 404 layout should be renamed to NotFound layout
  • node API app.layouts has been removed
meteorlxy
published 2.0.0-beta.50 •

Changelog

Source

2.0.0-beta.50 (2022-08-23)

Bug Fixes

  • cli: handle config file __dirname correctly (8171f4d)
  • plugin-active-header-links: keep query when updating hash (close #991) (0fdb021)
  • plugin-docsearch: handle navigation url correctly (close #1024) (b6ded16)
  • theme-default: fix initial open state of sidebar item (392297f)
  • workaround for vite hash issue (close #1008) (f8cdc9e)

Code Refactoring

  • markdown: bump sfc plugin to v0.9 (b0fc856)

Features

  • client: add devtools custom inspector (5568abe)
  • core: pass isServer flag to alias and define hooks (7862813)
  • migrate to pure ESM (#1030) (d283ffe)

BREAKING CHANGES

  • VuePress is now published as pure ESM packages
  • CommonJS config file is not supported anymore
  • markdown: type of node-api page.sfcBlocks has been changed
meteorlxy
published 2.0.0-beta.50-pre.1 •

meteorlxy
published 2.0.0-beta.50-pre •

meteorlxy
published 2.0.0-beta.49 •

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
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