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

docdash-custom

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docdash-custom - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "docdash-custom",
"version": "1.1.2",
"version": "1.1.3",
"description": "A clean, responsive documentation template theme for JSDoc 3 inspired by lodash and minami",

@@ -5,0 +5,0 @@ "main": "publish.js",

@@ -431,3 +431,2 @@ /*global env: true */

var nav = '<h2><a href="index.html">Home</a></h2>';
nav += '<h2><a href="version.html">Versions</a></h2>';
var seen = {};

@@ -708,4 +707,2 @@ var seenTutorials = {};

generate('', 'Versions', [{kind: 'mainpage', readme: renderVersionContent()}], versionUrl);
// index page displays information from package.json and lists files

@@ -719,3 +716,3 @@ var files = find({kind: 'file'});

kind: 'mainpage',
readme: opts.readme,
readme: renderHomeContent(),
longname: (opts.mainpagetitle) ? opts.mainpagetitle : 'Main Page'

@@ -796,3 +793,3 @@ }]

function renderVersionContent() {
function renderHomeContent() {
const env = require('jsdoc/env');

@@ -804,8 +801,7 @@ const fs = require('jsdoc/fs');

if (env.opts.versionPage) {
let content = fs.readFileSync(env.opts.versionPage, env.opts.encoding);
if (env.opts.homePage) {
let content = fs.readFileSync(env.opts.homePage, env.opts.encoding);
const parse = markdown.getParser();
let template = ejs.compile(content);
const tagInfo = env.conf.tagInfo.map(item => ({"version": item.version, "description": parse(item.description) }))
content = template({version: env.conf.version, tagInfo})
content = template({...env.conf, tagInfo})
versionHtml = parse(content);

@@ -812,0 +808,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