api-doc-validator
Advanced tools
Comparing version 2.12.1 to 2.13.0
@@ -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", |
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
60139
1692
Updated@babel/parser@^7.21.2
Updated@babel/types@^7.21.2