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

openapi-police

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-police - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/index.d.ts

@@ -1,2 +0,2 @@

export { Schema, SchemaError, SchemaOptions, ValidationError, ValidationOptions } from 'jsonpolice';
export * from 'jsonpolice';
export { ParameterError } from './errors';

@@ -3,0 +3,0 @@ export { ParameterObject } from './parameter';

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var jsonpolice_1 = require("jsonpolice");
exports.Schema = jsonpolice_1.Schema;
exports.SchemaError = jsonpolice_1.SchemaError;
exports.ValidationError = jsonpolice_1.ValidationError;
__export(require("jsonpolice"));
var errors_1 = require("./errors");

@@ -8,0 +8,0 @@ exports.ParameterError = errors_1.ParameterError;

@@ -265,2 +265,5 @@ export declare namespace OpenAPIV3 {

}
interface OAuth2SecurityScopes {
[scope: string]: string;
}
interface OAuth2SecurityScheme {

@@ -272,5 +275,3 @@ type: 'oauth2';

refreshUrl?: string;
scopes: {
[scope: string]: string;
};
scopes: OAuth2SecurityScopes;
};

@@ -280,5 +281,3 @@ password?: {

refreshUrl?: string;
scopes: {
[scope: string]: string;
};
scopes: OAuth2SecurityScopes;
};

@@ -288,5 +287,3 @@ clientCredentials?: {

refreshUrl?: string;
scopes: {
[scope: string]: string;
};
scopes: OAuth2SecurityScopes;
};

@@ -297,5 +294,3 @@ authorizationCode?: {

refreshUrl?: string;
scopes: {
[scope: string]: string;
};
scopes: OAuth2SecurityScopes;
};

@@ -302,0 +297,0 @@ };

{
"name": "openapi-police",
"version": "1.0.2",
"version": "1.0.3",
"description": "OpenAPI v3 validators and utilities",

@@ -73,4 +73,4 @@ "main": "dist/index.js",

"dependencies": {
"jsonpolice": "^8.0.1",
"jsonref": "^5.1.0"
"jsonpolice": "^8.0.2",
"jsonref": "^5.1.1"
},

@@ -77,0 +77,0 @@ "config": {

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