@jsdoc/parse
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -22,2 +22,3 @@ /* | ||
const PROTOTYPE_OWNER_REGEXP = /^(.+?)(\.prototype|#)$/; | ||
const { SCOPE } = name; | ||
@@ -164,2 +165,3 @@ | ||
function processAlias(parser, doclet, astNode) { | ||
let match; | ||
let memberofName; | ||
@@ -171,4 +173,5 @@ | ||
// "class" refers to the owner of the prototype, not the prototype itself | ||
if (/^(.+?)(\.prototype|#)$/.test(memberofName)) { | ||
memberofName = RegExp.$1; | ||
match = memberofName.match(PROTOTYPE_OWNER_REGEXP); | ||
if (match) { | ||
memberofName = match[1]; | ||
} | ||
@@ -175,0 +178,0 @@ doclet.alias = memberofName; |
@@ -106,4 +106,4 @@ /* | ||
_removeListeners() { | ||
this._docletStore._removeListeners(); | ||
_stopListening() { | ||
this._docletStore.stopListening(); | ||
} | ||
@@ -110,0 +110,0 @@ |
{ | ||
"name": "@jsdoc/parse", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Parses, and extracts information from, source code.", | ||
@@ -16,6 +16,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@jsdoc/ast": "^0.2.5", | ||
"@jsdoc/core": "^0.5.4", | ||
"@jsdoc/doclet": "^0.2.5", | ||
"@jsdoc/util": "^0.3.0", | ||
"@jsdoc/ast": "^0.2.6", | ||
"@jsdoc/core": "^0.5.5", | ||
"@jsdoc/doclet": "^0.2.6", | ||
"@jsdoc/util": "^0.3.1", | ||
"escape-string-regexp": "^5.0.0" | ||
@@ -42,3 +42,3 @@ }, | ||
}, | ||
"gitHead": "f86ee6afe09ec6743221507a6ca2d358f9243263" | ||
"gitHead": "3fddc126ab49149c425d59abf6dde0289dd4eac3" | ||
} |
65970
1540
Updated@jsdoc/ast@^0.2.6
Updated@jsdoc/core@^0.5.5
Updated@jsdoc/doclet@^0.2.6
Updated@jsdoc/util@^0.3.1