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

openapi-security-handler

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-security-handler - npm Package Compare versions

Comparing version 2.0.4 to 7.0.0

dist/tsconfig.tsbuildinfo

2

dist/index.d.ts

@@ -7,3 +7,3 @@ import { OpenAPI, OpenAPIV2, OpenAPIV3 } from 'openapi-types';

loggingKey: string;
operationSecurity: Array<OpenAPIV2.SecurityRequirementObject | OpenAPIV3.SecurityRequirementObject>;
operationSecurity: (OpenAPIV2.SecurityRequirementObject | OpenAPIV3.SecurityRequirementObject)[];
securityDefinitions: OpenAPIV2.SecurityDefinitionsObject;

@@ -10,0 +10,0 @@ securityHandlers: SecurityHandlers;

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -8,0 +9,0 @@ });

{
"name": "openapi-security-handler",
"version": "2.0.4",
"version": "7.0.0",
"description": "A library to process OpenAPI security definitions in parallel.",

@@ -11,7 +11,6 @@ "main": "./dist/index.js",

"scripts": {
"cover": "nyc",
"prepare": "tsc",
"test-watch": "mocha --watch-extensions ts -w",
"test": "mocha",
"travis-test": "npm run cover"
"cover": "../../bin/nyc",
"prepare": "../../bin/tsc",
"test-watch": "../../bin/tsc && ../../bin/mocha --watch-extensions ts -w",
"test": "../../bin/mocha"
},

@@ -32,7 +31,5 @@ "repository": "https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-security-handler",

"dependencies": {
"openapi-types": "1.3.4"
"openapi-types": "^7.0.0"
},
"devDependencies": {
"@types/es6-shim": "^0.31.37"
}
"gitHead": "f5ec9959092d45193e9b6464501c143cb17aaaf7"
}

Sorry, the diff of this file is not supported yet

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