express-openapi-validator
Advanced tools
Comparing version 4.12.12 to 4.12.14
@@ -262,3 +262,3 @@ "use strict"; | ||
validateReservedCharacters(name, pairs) { | ||
const vs = pairs[name]; | ||
const vs = pairs.get(name); | ||
if (!vs) | ||
@@ -275,3 +275,3 @@ return; | ||
if (!qs) | ||
return {}; | ||
return new Map(); | ||
const q = qs.replace('?', ''); | ||
@@ -281,6 +281,6 @@ return q.split('&').reduce((m, p) => { | ||
const [k, v] = p.split('='); | ||
m[k] = (_a = m[k]) !== null && _a !== void 0 ? _a : []; | ||
m[k].push(v); | ||
m.set(k, (_a = m.get(k)) !== null && _a !== void 0 ? _a : []); | ||
m.get(k).push(v); | ||
return m; | ||
}, {}); | ||
}, new Map()); | ||
} | ||
@@ -287,0 +287,0 @@ } |
{ | ||
"name": "express-openapi-validator", | ||
"version": "4.12.12", | ||
"version": "4.12.14", | ||
"description": "Automatically validate API requests and responses with OpenAPI 3 and Express.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1301,2 +1301,3 @@ # 🦋 express-openapi-validator | ||
<td align="center"><a href="https://github.com/lyndoh"><img src="https://avatars.githubusercontent.com/u/20314316?v=4?s=100" width="100px;" alt=""/><br /><sub><b>lyndoh</b></sub></a><br /><a href="https://github.com/cdimascio/express-openapi-validator/commits?author=lyndoh" title="Code">💻</a> <a href="https://github.com/cdimascio/express-openapi-validator/commits?author=lyndoh" title="Tests">⚠️</a></td> | ||
<td align="center"><a href="https://github.com/Dakota628"><img src="https://avatars.githubusercontent.com/u/1666312?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dakota</b></sub></a><br /><a href="https://github.com/cdimascio/express-openapi-validator/commits?author=Dakota628" title="Code">💻</a></td> | ||
</tr> | ||
@@ -1303,0 +1304,0 @@ </table> |
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
389669
1327