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.2.3-beta.1 to 0.2.3

14

lib/YuqueClient.js

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

href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.1/build/styles/default.min.css">
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.1/build/highlight.min.js"></script>
<link href="${npmCssUrl}" rel="stylesheet">
<link rel="stylesheet"
href="${config.highlightTheme || 'https://cdn.jsdelivr.net/npm/highlightjs@9.16.2/styles/github-gist.css'}">
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.1/build/highlight.min.js"></script>
<link href="${npmCssUrl}" rel="stylesheet">
${themeStyleTag || ''}

@@ -169,2 +169,12 @@ <script>

});
let previousUrl = "";
const observer = new MutationObserver(() => {
if (window.location.href !== previousUrl) {
previousUrl = window.location.href;
document.querySelectorAll('pre.ne-codeblock').forEach((el) => {
hljs.highlightElement(el);
});
}
});
observer.observe(document, { subtree: true, childList: true });
</script>

@@ -171,0 +181,0 @@ </head>

2

package.json
{
"name": "@ablula/egg-yuque-viewer",
"author": "mark.ck",
"version": "0.2.3-beta.1",
"version": "0.2.3",
"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