Comparing version 3.3.2 to 3.3.3
@@ -6,2 +6,9 @@ # JSDoc 3 change history | ||
## 3.3.3 (September 2015) | ||
+ Symbols named `prototype` are now handled correctly. (#891) | ||
+ Fixed an issue that could cause JSDoc to go into an infinite loop when a module is documented twice. (#975) | ||
+ Fixed an issue that could cause parsing errors on valid regular expressions. (#1053) | ||
## 3.3.2 (June 2015) | ||
@@ -8,0 +15,0 @@ |
@@ -77,2 +77,7 @@ /** | ||
function prototypeToPunc(name) { | ||
// don't mangle symbols named "prototype" | ||
if (name === 'prototype') { | ||
return name; | ||
} | ||
return name.replace(/(?:^|\.)prototype\.?/g, SCOPE.PUNC.INSTANCE); | ||
@@ -79,0 +84,0 @@ } |
@@ -762,6 +762,13 @@ /*global env: true */ | ||
var doc = doclet; | ||
var previousDoc; | ||
while (doc) { | ||
previousDoc = doc; | ||
doc = find(data, {longname: doc.memberof})[0]; | ||
// prevent infinite loop that can be caused by duplicated module definitions | ||
if (previousDoc === doc) { | ||
break; | ||
} | ||
if (doc) { | ||
@@ -768,0 +775,0 @@ ancestors.unshift(doc); |
{ | ||
"name": "jsdoc", | ||
"version": "3.3.2", | ||
"revision": "1434234028109", | ||
"version": "3.3.3", | ||
"revision": "1442963657639", | ||
"description": "An API documentation generator for JavaScript.", | ||
@@ -19,3 +19,3 @@ "keywords": [ | ||
"escape-string-regexp": "~1.0.2", | ||
"esprima": "https://github.com/ariya/esprima/tarball/49a2eccb243f29bd653b11e9419241a9d726af7c", | ||
"esprima": "1.2.5", | ||
"js2xmlparser": "~0.1.7", | ||
@@ -22,0 +22,0 @@ "marked": "~0.3.2", |
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
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
2507424
150
12139
1
+ Addedesprima@1.2.5(transitive)
Updatedesprima@1.2.5