New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openapi-enforcer

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-enforcer - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

3

bin/enforcers/Response.js

@@ -29,2 +29,3 @@ /**

if (this.hasOwnProperty('examples') && this.hasOwnProperty('schema')) {
const child = exception.at('examples');
Object.keys(this.examples)

@@ -37,3 +38,3 @@ .forEach(contentType => {

if (!error) error = this.schema.validate(value);
if (error) exception.at(contentType).push(error);
if (error) child.at(contentType).push(error);
Object.defineProperty(this.examples, contentType, {

@@ -40,0 +41,0 @@ configurable: true,

{
"name": "openapi-enforcer",
"version": "1.1.9",
"version": "1.1.10",
"description": "Library for validating, parsing, and formatting data against open api schemas.",

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