api-doc-validator
Advanced tools
Comparing version 2.22.0 to 2.22.1
@@ -75,3 +75,3 @@ const fs = require('fs'); | ||
if (arr_start > -1 && arr_start < start) { | ||
if (arr_start > -1 && (start === -1 || arr_start < start)) { | ||
text = slice(text, arr_start + 1); | ||
@@ -171,9 +171,9 @@ array_text = '['; | ||
text = slice(text, nl); | ||
state = COMMENT_NL; | ||
} | ||
else if (end > -1 && (nl === 1 || nl > end)) { | ||
else { | ||
comment += text.slice(0, end); | ||
text = slice(text, end); | ||
state = COMMENT_NL; | ||
} | ||
state = COMMENT_NL; | ||
break; | ||
@@ -180,0 +180,0 @@ |
{ | ||
"name": "api-doc-validator", | ||
"version": "2.22.0", | ||
"version": "2.22.1", | ||
"description": "api doc and validator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
68549
1969