Socket
Socket
Sign inDemoInstall

vitepress

Package Overview
Dependencies
Maintainers
3
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vitepress - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## [0.10.5](https://github.com/vuejs/vitepress/compare/v0.10.4...v0.10.5) (2021-01-02)
### Bug Fixes
- vite 2.0.0-beta.2 compat ([991a443](https://github.com/vuejs/vitepress/commit/991a443c70c6173aa0100fcccf57f3565e9e38d9))
## [0.10.4](https://github.com/vuejs/vitepress/compare/v0.10.3...v0.10.4) (2021-01-01)

@@ -2,0 +8,0 @@

8

dist/node/plugin.js

@@ -117,4 +117,5 @@ "use strict";

},
async handleHotUpdate(file, mods, read, server) {
async handleHotUpdate(ctx) {
// handle config hmr
const { file, read, server } = ctx;
if (file === configPath) {

@@ -142,3 +143,6 @@ const newData = await config_1.resolveSiteData(root);

// reload the content component
return vuePlugin.handleHotUpdate(file, mods, () => vueSrc, server);
return vuePlugin.handleHotUpdate({
...ctx,
read: () => vueSrc
});
}

@@ -145,0 +149,0 @@ }

{
"name": "vitepress",
"version": "0.10.4",
"version": "0.10.5",
"description": "Vite & Vue powered static site generator",

@@ -68,3 +68,3 @@ "main": "dist/node/index.js",

"@docsearch/js": "^1.0.0-alpha.28",
"@vitejs/plugin-vue": "^1.0.2",
"@vitejs/plugin-vue": "^1.0.3",
"@vue/compiler-sfc": "^3.0.5",

@@ -92,3 +92,3 @@ "@vue/server-renderer": "^3.0.5",

"slash": "^3.0.0",
"vite": "^2.0.0-alpha.5",
"vite": "^2.0.0-beta.2",
"vue": "^3.0.5"

@@ -95,0 +95,0 @@ },

Sorry, the diff of this file is not supported yet

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