Socket
Socket
Sign inDemoInstall

vuepress

Package Overview
Dependencies
51
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.0 to 0.7.1

.github/issue_template.md

14

CHANGELOG.md

@@ -0,1 +1,15 @@

<a name="0.7.1"></a>
## [0.7.1](https://github.com/vuejs/vuepress/compare/v0.7.0...v0.7.1) (2018-04-20)
### Bug Fixes
* infer source link label from repo url ([#168](https://github.com/vuejs/vuepress/issues/168)) ([c1bbd05](https://github.com/vuejs/vuepress/commit/c1bbd05))
* Only add language dropdown when there has more than one locale configured. ([#181](https://github.com/vuejs/vuepress/issues/181)) ([7f311da](https://github.com/vuejs/vuepress/commit/7f311da))
* prioritize frontmatter's title, description and lang ([#180](https://github.com/vuejs/vuepress/issues/180)) ([384c5c7](https://github.com/vuejs/vuepress/commit/384c5c7)), closes [#177](https://github.com/vuejs/vuepress/issues/177) [#184](https://github.com/vuejs/vuepress/issues/184)
* redirect /foo to /foo/ during dev (close [#183](https://github.com/vuejs/vuepress/issues/183)) ([99bc0aa](https://github.com/vuejs/vuepress/commit/99bc0aa))
* show navbar in more conditions (close [#170](https://github.com/vuejs/vuepress/issues/170)) ([748fa7f](https://github.com/vuejs/vuepress/commit/748fa7f))
<a name="0.7.0"></a>

@@ -2,0 +16,0 @@ # [0.7.0](https://github.com/vuejs/vuepress/compare/v0.6.1...v0.7.0) (2018-04-18)

@@ -66,2 +66,13 @@ import Vue from 'vue'

// redirect /foo to /foo/
router.beforeEach((to, from, next) => {
if (!/(\/|\.html)$/.test(to.path)) {
next(Object.assign({}, to, {
path: to.path + '/'
}))
} else {
next()
}
})
const options = {}

@@ -68,0 +79,0 @@

10

lib/app/dataMixin.js

@@ -40,3 +40,3 @@ import Vue from 'vue'

let defaultLang
Object.keys(locales).forEach(path => {
for (const path in locales) {
if (path === '/') {

@@ -47,13 +47,13 @@ defaultLang = locales[path]

}
})
}
return targetLang || defaultLang || {}
},
$title () {
return this.$localeConfig.title || this.$site.title || ''
return this.$page.frontmatter.title || this.$localeConfig.title || this.$site.title || ''
},
$description () {
return this.$localeConfig.description || this.$site.description || ''
return this.$page.frontmatter.description || this.$localeConfig.description || this.$site.description || ''
},
$lang () {
return this.$localeConfig.lang || 'en-US'
return this.$page.frontmatter.lang || this.$localeConfig.lang || 'en-US'
},

@@ -60,0 +60,0 @@ $localePath () {

{
"name": "vuepress",
"version": "0.7.0",
"version": "0.7.1",
"description": "Minimalistic doc generator with Vue component based layout system",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc