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

jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdoc - npm Package Compare versions

Comparing version 3.6.5 to 3.6.6

.vscode/launch.json

16

CHANGES.md

@@ -6,2 +6,18 @@ # JSDoc 3 change history

## 3.6.6 (September 2020)
Fixes an issue that could cause members of an interface to be tracked incorrectly if the interface
was both defined as an ES2015 class and assigned to a variable. For example:
```js
/** @interface */
foo.Bar = class {
constructor() {
/** This member was missing from the generated docs. */
this.baz = null;
}
}
```
## 3.6.5 (July 2020)

@@ -8,0 +24,0 @@

2

lib/jsdoc/src/parser.js

@@ -542,3 +542,3 @@ /**

// walk up to the closest class we can find
else if (doclet.kind === 'class' || doclet.kind === 'module') {
else if (doclet.kind === 'class' || doclet.kind === 'interface' || doclet.kind === 'module') {
result = doclet.longname;

@@ -545,0 +545,0 @@ }

@@ -332,8 +332,5 @@ /**

combined = jsdoc.doclet.combine(doclet, parentDoclet);
combined.longname = parentDoclet.longname;
if (parentDoclet.memberof) {
combined.memberof = parentDoclet.memberof;
}
// We prefer the parent doclet because it has the correct kind, longname, and memberof.
// The child doclet might or might not have the correct kind, longname, and memberof.
combined = jsdoc.doclet.combine(parentDoclet, doclet);
parser.addResult(combined);

@@ -340,0 +337,0 @@

{
"name": "jsdoc",
"version": "3.6.5",
"revision": "1595462156621",
"version": "3.6.6",
"revision": "1600568714547",
"description": "An API documentation generator for JavaScript.",

@@ -6,0 +6,0 @@ "keywords": [

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