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

express-openapi-validator

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-openapi-validator - npm Package Compare versions

Comparing version 4.13.4 to 4.13.5

32

dist/framework/ajv/index.js

@@ -41,3 +41,17 @@ "use strict";

}
obj[propName] = sch.deserialize(data);
try {
obj[propName] = sch.deserialize(data);
}
catch (e) {
validate.errors = [
{
keyword: 'serdes',
schemaPath: data,
dataPath: path,
message: `format is invalid`,
params: { 'x-eov-serdes': propName },
},
];
return false;
}
}

@@ -87,3 +101,17 @@ return true;

if (!!sch.serialize) {
obj[propName] = sch.serialize(data);
try {
obj[propName] = sch.serialize(data);
}
catch (e) {
validate.errors = [
{
keyword: 'serdes',
schemaPath: data,
dataPath: path,
message: `format is invalid`,
params: { 'x-eov-serdes': propName },
},
];
return false;
}
}

@@ -90,0 +118,0 @@ return true;

2

package.json
{
"name": "express-openapi-validator",
"version": "4.13.4",
"version": "4.13.5",
"description": "Automatically validate API requests and responses with OpenAPI 3 and Express.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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