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

@ablula/egg-yuque-viewer

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ablula/egg-yuque-viewer - npm Package Compare versions

Comparing version 0.1.8-beta.3 to 0.1.8-beta.4

7

lib/YuqueClient.js

@@ -131,2 +131,4 @@ 'use strict';

const themeStyleTag = config.themeStyle && `<link href="${config.themeStyle}" rel="stylesheet">` || null;
const npmCssUrl = config.npmCssUrl || `https://cdn.jsdelivr.net/npm/${config.npm}/build/index.css`;
const npmJsUrl = config.npmCssUrl || `https://cdn.jsdelivr.net/npm/${config.npm}/build/index.js`;
return `<!DOCTYPE html>

@@ -138,3 +140,4 @@ <html lang="zh-CN">

<title>${config.title || 'Ablula-Yuque'}</title>
<link href="https://cdn.jsdelivr.net/npm/${config.npm}/build/index.css" rel="stylesheet">
<link rel="shortcut icon" href="${config.favicon || 'favicon.ico'}">
<link href="${npmCssUrl}" rel="stylesheet">
${themeStyleTag || ''}

@@ -154,3 +157,3 @@ </head>

}, config, { token: null }))}</script>
<script src="https://cdn.jsdelivr.net/npm/${config.npm}/build/index.js"></script>
<script src="${npmJsUrl}"></script>
</html>`;

@@ -157,0 +160,0 @@ }

{
"name": "@ablula/egg-yuque-viewer",
"author": "mark.ck",
"version": "0.1.8-beta.3",
"version": "0.1.8-beta.4",
"description": "egg plugin for yuque viewer",

@@ -6,0 +6,0 @@ "eggPlugin": {

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