Socket
Socket
Sign inDemoInstall

clean-jsdoc-theme

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clean-jsdoc-theme - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

2

package.json
{
"name": "clean-jsdoc-theme",
"version": "4.2.1",
"version": "4.2.2",
"description": "A beautifully crafted theme/template for JSDoc 3. This theme/template looks and feels like a premium theme/template. This is a fully mobile responsive theme and also fully customizable theme.",

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

@@ -104,3 +104,3 @@ const _ = require('lodash');

else if (kind === 'typedef' && type && type.names && type.names.length) {
for (var i = 0, l = type.names.length; i < l; i++) {
for (let i = 0, l = type.names.length; i < l; i++) {
if (type.names[i].toLowerCase() === 'function') {

@@ -183,3 +183,3 @@ needsSig = true;

if (attribs && attribs.length) {
htmlsafe(`(${attribs.join(', ')}) `);
attribsString = htmlsafe(`(${attribs.join(', ')}) `);
}

@@ -237,4 +237,5 @@

var signatureOutput = '';
let signatureOutput = '';
if (f.signature) {

@@ -250,2 +251,3 @@ signatureOutput =

f.signature = signatureOutput;
}

@@ -416,3 +418,3 @@

var methods =
const methods =
sectionName === SECTION_TYPE.Tutorials ||

@@ -452,7 +454,7 @@ sectionName === SECTION_TYPE.Global

var name = method.longname.split(
let name = method.longname.split(
method.scope === 'static' ? '.' : '#'
);
var first = name[0];
var last = name[1];
const first = name[0];
const last = name[1];

@@ -519,7 +521,7 @@ name = first + ' &rtrif; ' + last;

function buildSidebar(members) {
var title = themeOpts.title || 'Home';
const title = themeOpts.title || 'Home';
var isHTML = RegExp.prototype.test.bind(/(<([^>]+)>)/i);
const isHTML = RegExp.prototype.test.bind(/(<([^>]+)>)/i);
var nav = {
const nav = {
sections: [],

@@ -540,9 +542,9 @@ };

var seen = {};
var seenTutorials = {};
var seenGlobal = {};
const seen = {};
const seenTutorials = {};
const seenGlobal = {};
var sectionsOrder = themeOpts.sections || defaultSections;
const sectionsOrder = themeOpts.sections || defaultSections;
var sections = {
const sections = {
[SECTION_TYPE.Modules]: buildSidebarMembers({

@@ -625,3 +627,3 @@ itemHeading: 'Modules',

} else {
var errorMsg = `While building nav. Section name: ${section} is not recognized.
const errorMsg = `While building nav. Section name: ${section} is not recognized.
Accepted sections are: ${defaultSections.join(', ')}

@@ -628,0 +630,0 @@ `;

# clean-jsdoc-theme
[![Stars](https://img.shields.io/github/stars/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme) [![Fork](https://img.shields.io/github/forks/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/fork) ![Version](https://img.shields.io/badge/version-4.2.1-005bff) [![Issues Open](https://img.shields.io/github/issues/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues) [![Contributors](https://img.shields.io/github/contributors/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/graphs/contributors) [![Build Status](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme.svg?branch=production)](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme) [![license](https://img.shields.io/github/license/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/LICENSE)
[![Stars](https://img.shields.io/github/stars/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme) [![Fork](https://img.shields.io/github/forks/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/fork) ![Version](https://img.shields.io/badge/version-4.2.2-005bff) [![Issues Open](https://img.shields.io/github/issues/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues) [![Contributors](https://img.shields.io/github/contributors/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/graphs/contributors) [![Build Status](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme.svg?branch=production)](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme) [![license](https://img.shields.io/github/license/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/LICENSE)
<br>

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