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 0.11.5 to 0.11.6

4

bin/util.js

@@ -187,3 +187,3 @@ /**

const kv = pair.split('=');
const name = kv[0];
const name = decodeURIComponent(kv[0]);
if (name) names[name] = boolean;

@@ -358,2 +358,2 @@ });

}
}
}

@@ -83,3 +83,3 @@ {

"types": "index.d.ts",
"version": "0.11.5"
"version": "0.11.6"
}

@@ -1,11 +0,24 @@

const Module = require('module');
const OpenAPI = require('./index').v3_0.OpenApi
const openapi = OpenAPI({
openapi: '3.0.0',
info: { title: '', version: '' },
paths: {
'/{date}': {
get: {
parameters: [
{
name: 'date',
in: 'path',
required: true,
schema: {
type: 'string',
format: 'date'
}
}
]
}
}
}
})
const originalRequire = Module.prototype.require;
Module.prototype.require = function() {
console.log(this.filename + ' loading ' + arguments[0]);
return originalRequire.apply(this, arguments);
};
const v3 = require('./bin/definition/_v3-parameter-base');
console.log(v3.errors);
console.log(openapi)
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