Socket
Socket
Sign inDemoInstall

api-doc-validator

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-doc-validator - npm Package Compare versions

Comparing version 2.22.0 to 2.22.1

8

lib/parseComments.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc