@vuepress/client
Advanced tools
Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.6
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.0.0-alpha.6](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2020-12-09) | ||
### Features | ||
* **client:** remove built-in debug component ([a5962bb](https://github.com/vuepress/vuepress-next/commit/a5962bb82483f56800b33b4e35c50dcb49fd48b1)) | ||
# 2.0.0-alpha.1 (2020-12-01) | ||
@@ -8,0 +19,0 @@ |
@@ -10,3 +10,3 @@ import { computed, h } from 'vue'; | ||
import { siteData, pageData, resolvePageData, pageFrontmatterSymbol, resolvePageFrontmatter, pageHeadSymbol, resolvePageHead, pageHeadTitleSymbol, resolvePageHeadTitle, pageLangSymbol, resolvePageLang, routeLocaleSymbol, resolveRouteLocale, themeDataSymbol, resolveThemeData, themeLocaleDataSymbol, resolveThemeLocaleData, siteLocaleDataSymbol, resolveSiteLocaleData, useUpdateHead, } from './injections'; | ||
import { Content, Debug, OutboundLink } from './components'; | ||
import { Content, OutboundLink } from './components'; | ||
import { withBase } from './utils'; | ||
@@ -134,3 +134,2 @@ /** | ||
app.component('Content', Content); | ||
app.component('Debug', __DEV__ ? Debug : () => null); | ||
app.component('OutboundLink', OutboundLink); | ||
@@ -137,0 +136,0 @@ /* eslint-enable vue/match-component-file-name */ |
export * from './Content'; | ||
export * from './Debug'; | ||
export * from './OutboundLink'; | ||
export * from './Vuepress'; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './Content'; | ||
export * from './Debug'; | ||
export * from './OutboundLink'; | ||
export * from './Vuepress'; | ||
//# sourceMappingURL=index.js.map |
@@ -23,3 +23,3 @@ import { ref, readonly } from 'vue'; | ||
}; | ||
if (module.hot) { | ||
if (import.meta.webpackHot) { | ||
// reuse vue HMR runtime | ||
@@ -26,0 +26,0 @@ __VUE_HMR_RUNTIME__.updatePageData = (newPageData) => { |
@@ -7,4 +7,4 @@ import { readonly, ref } from 'vue'; | ||
}; | ||
if (module.hot) { | ||
module.hot.accept('@internal/pagesData', () => { | ||
if (import.meta.webpackHot) { | ||
import.meta.webpackHot.accept('@internal/pagesData', () => { | ||
pagesData.value = readonly(pagesDataRaw); | ||
@@ -11,0 +11,0 @@ console.log('[vuepress] pagesData is updated'); |
@@ -7,4 +7,4 @@ import { readonly, ref } from 'vue'; | ||
}; | ||
if (module.hot) { | ||
module.hot.accept('@internal/siteData', () => { | ||
if (import.meta.webpackHot) { | ||
import.meta.webpackHot.accept('@internal/siteData', () => { | ||
siteData.value = readonly(siteDataRaw); | ||
@@ -11,0 +11,0 @@ console.log('[vuepress] siteData is updated'); |
{ | ||
"name": "@vuepress/client", | ||
"version": "2.0.0-alpha.1", | ||
"version": "2.0.0-alpha.6", | ||
"description": "Client package of VuePress", | ||
@@ -31,5 +31,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/shared": "2.0.0-alpha.1", | ||
"vue": "^3.0.0", | ||
"vue-router": "4.0.0-rc.5" | ||
"@vuepress/shared": "2.0.0-alpha.6", | ||
"vue": "^3.0.4", | ||
"vue-router": "4.0.1" | ||
}, | ||
@@ -39,3 +39,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "1fd0bfafc443cddfb40af6647353ef02708b739a" | ||
"gitHead": "5eae35bda71fe7a4a01cfb636027b20b43b1d430" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65095
115
787
+ Added@vuepress/shared@2.0.0-alpha.6(transitive)
+ Addedvue-router@4.0.1(transitive)
- Removed@vuepress/shared@2.0.0-alpha.1(transitive)
- Removedvue-router@4.0.0-rc.5(transitive)
Updatedvue@^3.0.4
Updatedvue-router@4.0.1