@es-joy/jsdoccomment
Advanced tools
Comparing version 0.23.4 to 0.23.5
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.23.5 | ||
- fix(`commentParserToESTree`): avoid duplicating tag names | ||
## 0.23.4 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.23.4", | ||
"version": "0.23.5", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
@@ -198,8 +198,12 @@ import {parse as jsdocTypePrattParse} from 'jsdoc-type-pratt-parser'; | ||
if (!tokens.name) { | ||
let i = 0; | ||
let i = 1; | ||
while (source[idx + i]) { | ||
const {tokens: { | ||
name, | ||
postName | ||
postName, | ||
tag: tg | ||
}} = source[idx + i]; | ||
if (tg) { | ||
break; | ||
} | ||
if (name) { | ||
@@ -206,0 +210,0 @@ tkns.name = name; |
Sorry, the diff of this file is not supported yet
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
71371
1462