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.2 to 0.1.3

8

lib/index.js

@@ -50,6 +50,6 @@ 'use strict';

router.get(`Static Resources-${view}/js`, `${view}/index.js`, async ctx => {
return ctx.redirect(`https://unpkg.com/${_config.npm}/build/index.js`);
return ctx.redirect(`https://cdn.jsdelivr.net/npm/${_config.npm}/build/index.js`);
});
router.get(`Static Resources-${view}/css`, `${view}/index.css`, async ctx => {
return ctx.redirect(`https://unpkg.com/${_config.npm}/build/index.css`);
return ctx.redirect(`https://cdn.jsdelivr.net/npm/${_config.npm}/build/index.css`);
});

@@ -67,3 +67,3 @@

<title>${_config.title || 'Ablula-Yuque'}</title>
<link href="https://unpkg.com/${_config.npm}/build/index.css" rel="stylesheet"></head>
<link href="https://cdn.jsdelivr.net/npm/${_config.npm}/build/index.css" rel="stylesheet"></head>
<body>

@@ -79,3 +79,3 @@ <noscript>

}, _config))}</script>
<script src="https://unpkg.com/${_config.npm}/build/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/${_config.npm}/build/index.js"></script>
</html>`;

@@ -82,0 +82,0 @@ next();

{
"name": "@ablula/egg-yuque-viewer",
"author": "mark.ck",
"version": "0.1.2",
"version": "0.1.3",
"description": "egg plugin for yuque viewer",

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

@@ -51,3 +51,3 @@ # egg-yuque-viewer

view: '/documents',
token: 'lXioZgnPjfP6tNkxGOvT3x1rbTqNMGWlzW5pIIVn',
token: '',
darkMode: true,

@@ -54,0 +54,0 @@ lightColor: '#ffffff00',

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