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.10.2 to 1.10.3

8

CHANGELOG.md

@@ -7,2 +7,10 @@ # Change Log

## 1.10.3
### Changed
- **Passed in options no longer modified.**
When creating an Enforcer instance options can be provided. The options object was being altered. This has been fixed to now create a copy of the options prior to altering.
## 1.10.2

@@ -9,0 +17,0 @@

2

package.json
{
"name": "openapi-enforcer",
"version": "1.10.2",
"version": "1.10.3",
"description": "Library for validating, parsing, and formatting data against open api schemas.",

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

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

if (!options) options = {};
if (isStart) options = Object.assign({}, options)
options.requestBodyAllowedMethods = options.hasOwnProperty('requestBodyAllowedMethods')

@@ -87,0 +88,0 @@ ? Object.assign({}, requestBodyAllowedMethods, options.requestBodyAllowedMethods)

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