@es-joy/jsdoccomment
Advanced tools
Comparing version 0.22.0 to 0.22.1
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.22.1 | ||
- fix: ensure `getJSDocComment` does not treat block comments as JSDoc unless | ||
their first asterisk is followed by whitespace | ||
## 0.22.0 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.22.0", | ||
"version": "0.22.1", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
@@ -236,3 +236,3 @@ /** | ||
tokenBefore.type === 'Block' && | ||
tokenBefore.value.charAt(0) === '*' && | ||
(/^\*\s/u).test(tokenBefore.value) && | ||
currentNode.loc.start.line - tokenBefore.loc.end.line >= minLines && | ||
@@ -239,0 +239,0 @@ currentNode.loc.start.line - tokenBefore.loc.end.line <= maxLines |
Sorry, the diff of this file is not supported yet
67485