Socket
Socket
Sign inDemoInstall

jsdoc-to-markdown

Package Overview
Dependencies
80
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-alpha.14 to 2.0.0-alpha.15

6

es5/lib/stats.js

@@ -64,3 +64,3 @@ 'use strict';

usageStats.enable().start().screenView(screenName, { hitParams: metrics });
usageStats.enable();

@@ -70,2 +70,3 @@ if (sync) {

var output = command(options);
usageStats.start().screenView(screenName, { hitParams: metrics });
finished();

@@ -81,2 +82,3 @@ return {

v: command(options).then(function (output) {
usageStats.start().screenView(screenName, { hitParams: metrics });
finished();

@@ -115,5 +117,5 @@ return output;

usageStats.save();
if (usageStats.hitsQueued() >= 20) usageStats.send().catch(function (err) {
if (usageStats.hitsQueued() >= 19) usageStats.send().catch(function (err) {
return console.error(err.stack);
});
}
{
"name": "jsdoc-to-markdown",
"author": "Lloyd Brookes",
"version": "2.0.0-alpha.14",
"version": "2.0.0-alpha.15",
"description": "jsdoc-annotated source in, markdown API docs out.",

@@ -6,0 +6,0 @@ "repository": "https://github.com/jsdoc2md/jsdoc-to-markdown",

@@ -64,6 +64,3 @@ 'use strict'

usageStats
.enable()
.start()
.screenView(screenName, { hitParams: metrics })
usageStats.enable()

@@ -73,2 +70,5 @@ if (sync) {

const output = command(options)
usageStats
.start()
.screenView(screenName, { hitParams: metrics })
finished()

@@ -82,2 +82,5 @@ return output

.then(output => {
usageStats
.start()
.screenView(screenName, { hitParams: metrics })
finished()

@@ -113,3 +116,3 @@ return output

usageStats.save()
if (usageStats.hitsQueued() >= 20) usageStats.send().catch(err => console.error(err.stack))
if (usageStats.hitsQueued() >= 19) usageStats.send().catch(err => console.error(err.stack))
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc