Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.12.1 to 2.13.0

8

lib/generate/apiClient.js

@@ -161,5 +161,9 @@ const {readFileSync, createWriteStream} = require('fs');

for (const prop in ns) {
let namespace = ns[prop];
const entries = (
Object
.entries(ns)
.sort((a, b) => a[0].localeCompare(b[0]))
);
for (let [prop, namespace] of entries) {
if (typeof namespace === 'string') {

@@ -166,0 +170,0 @@ stream.write(

function createRequest(context, e) {
//pathToRegexp
return async function () {
const method = async function () {
let args = (

@@ -156,2 +156,6 @@ Api.mapArguments ?

};
method.endpoint = e;
return method;
}
{
"name": "api-doc-validator",
"version": "2.12.1",
"version": "2.13.0",
"description": "api doc and validator",

@@ -30,4 +30,4 @@ "main": "index.js",

"dependencies": {
"@babel/parser": "^7.20.15",
"@babel/types": "^7.20.7",
"@babel/parser": "^7.21.2",
"@babel/types": "^7.21.2",
"adv-parser": "^2.4.1",

@@ -34,0 +34,0 @@ "commander": "^5.1.0",

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