@vuepress/shared-utils
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -7,8 +7,8 @@ "use strict"; | ||
module.exports = function (frontmatter, strippedContent) { | ||
if (frontmatter.title) { | ||
return deeplyParseHeaders_1.default(frontmatter.title); | ||
} | ||
if (frontmatter.home) { | ||
return 'Home'; | ||
} | ||
if (frontmatter.title) { | ||
return deeplyParseHeaders_1.default(frontmatter.title); | ||
} | ||
const match = strippedContent.trim().match(/^#+\s+(.*)/); | ||
@@ -15,0 +15,0 @@ if (match) { |
{ | ||
"name": "@vuepress/shared-utils", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "shared-utils for vuepress", | ||
@@ -11,3 +11,3 @@ "keywords": [ | ||
], | ||
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/shared-utils#readme", | ||
"homepage": "https://github.com/vuejs/vuepress/blob/master/packages/@vuepress/shared-utils#readme", | ||
"bugs": { | ||
@@ -50,3 +50,3 @@ "url": "https://github.com/vuejs/vuepress/issues" | ||
}, | ||
"gitHead": "1841c9f26e09237c7acfd7c0166c85c5d1af6265" | ||
"gitHead": "460069685976a8a71ce9ba10a66dd1dcfa530b82" | ||
} |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
43032
0