Comparing version 3.6.5 to 3.6.6
@@ -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 @@ |
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1529558
124
12585