@es-joy/jsdoccomment
Advanced tools
Comparing version 0.28.0 to 0.28.1
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.28.1 | ||
- fix(`getReducedASTNode`): token checking | ||
- build: add Node 18 support (@WikiRik) | ||
- chore: update devDeps. | ||
## 0.28.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.28.0", | ||
"version": "0.28.1", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
@@ -166,5 +166,5 @@ /** | ||
token = sourceCode.getTokenBefore(token, {includeComments: true}); | ||
} while (token.type === 'Punctuator' && token.value === '('); | ||
} while (token && token.type === 'Punctuator' && token.value === '('); | ||
if (token.type === 'Block') { | ||
if (token && token.type === 'Block') { | ||
return node; | ||
@@ -171,0 +171,0 @@ } |
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
74729