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

@readme/oas-extensions

Package Overview
Dependencies
Maintainers
8
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@readme/oas-extensions - npm Package Compare versions

Comparing version 8.0.0 to 8.1.1

8

index.js

@@ -23,7 +23,9 @@ // Make sure you document any changes on here:

module.exports.getExtension = (ext, oas, operation) => {
if (operation[ext] === undefined && oas[ext] === undefined) {
return module.exports.defaults[ext];
if (operation !== null && operation[ext] !== undefined) {
return operation[ext];
} else if (oas[ext] !== undefined) {
return oas[ext];
}
return operation[ext] === undefined ? oas[ext] : operation[ext];
return module.exports.defaults[ext];
};
{
"name": "@readme/oas-extensions",
"description": "A list of extensions that ReadMe has added to the OAS spec",
"version": "8.0.0",
"version": "8.1.1",
"scripts": {

@@ -19,3 +19,3 @@ "test": "eslint ."

},
"gitHead": "465f0c5ecc1478847f4ce0edf09861bde88c7a17"
"gitHead": "4334fba656e28c0d6fbfab23162476382c4b6b81"
}
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