New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vuepress-theme-hope

Package Overview
Dependencies
Maintainers
1
Versions
622
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-theme-hope - npm Package Compare versions

Comparing version 0.0.5-alpha1 to 0.0.5-alpha2

lib/assign.js

15

enhanceApp.js

@@ -5,8 +5,8 @@ /*

* @LastEditors: Mr.Hope
* @LastEditTime: 2019-10-11 19:56:21
* @LastEditTime: 2019-10-11 22:32:57
* @Description: Vuepress增强配置
*/
const resolveSideBar = require('./lib/resolve-sideBar');
const assign = require('./lib/assign');
export default ({

@@ -20,2 +20,11 @@ Vue, // VuePress 正在使用的 Vue 构造函数

// // 设置图标前缀
// if (themeConfig.iconPrefix === undefined) themeConfig.iconPrefix = 'icon-';
// // 设置默认页脚
// if (!themeConfig.footer)
// themeConfig.footer = { text: 'MIT Licensed | Copyright © 2019-present Mr.Hope' };
// else if (!themeConfig.footer.text)
// themeConfig.footer.text = 'MIT Licensed | Copyright © 2019-present Mr.Hope';
const themeConfigDefault = {

@@ -84,3 +93,3 @@

siteData.themeConfig = Object.assign(themeConfigDefault, themeConfig);
assign(themeConfigDefault, themeConfig);
};

9

index.js

@@ -5,3 +5,3 @@ /*

* @LastEditors: Mr.Hope
* @LastEditTime: 2019-10-08 20:56:12
* @LastEditTime: 2019-10-11 20:44:23
* @Description: 主题配置

@@ -31,2 +31,9 @@ */

/** 添加脚注、上下角标功能 */
extendMarkdown: md => {
md.use(require('markdown-it-footnote'));
md.use(require('markdown-it-sub'));
md.use(require('markdown-it-sup'));
},
/** 插件选项 */

@@ -33,0 +40,0 @@ plugins: [

{
"name": "vuepress-theme-hope",
"version": "0.0.5-alpha1",
"version": "0.0.5-alpha2",
"description": "a light vuepress theme",

@@ -27,2 +27,5 @@ "main": "index.js",

"leancloud-storage": "^3.15.0",
"markdown-it-footnote": "^3.0.2",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"moment": "^2.24.0",

@@ -29,0 +32,0 @@ "screenfull": "5.0.0",

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