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

@vuepress/shared-utils

Package Overview
Dependencies
Maintainers
7
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/shared-utils - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

6

lib/inferTitle.js

@@ -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"
}
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