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

jsdoc-api

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdoc-api - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

tmp/out/o32g7csq7v2bc8hxxszjpds4isze1vy94cqz1cwdz7jk0529.js.html

10

es5/jsdoc-command.js
'use strict';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

@@ -11,4 +11,2 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var path = require('path');
var promiseFinally = require('promise.prototype.finally');
promiseFinally.shim();

@@ -49,7 +47,7 @@ var JsdocCommand = function () {

return this.output.then(function (result) {
_this.postExecute();
return result;
}).catch(function (err) {
_this.postExecute();
throw err;
}).finally(function () {
return _this.postExecute();
});

@@ -113,3 +111,3 @@ } else {

var _ret = function () {
var fs = require('then-fs');
var fs = require('fs-then-native');
var promises = _this2.inputFileSet.files.map(function (file) {

@@ -116,0 +114,0 @@ return fs.readFile(file, 'utf8');

2

es5/jsdoc.js

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

var homePath = require('home-path');
var fs = require('then-fs');
var fs = require('fs-then-native');

@@ -25,0 +25,0 @@ var CACHE_DIR = path.resolve(homePath(), '.jsdoc-api');

{
"name": "jsdoc-api",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "2.0.4",
"version": "2.0.5",
"description": "A programmatic interface for jsdoc",

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

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

var path = require('path')
var fs = require('then-fs')
var fs = require('fs-then-native')
var a = require('core-assert')

@@ -9,0 +9,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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