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

@trusource/simple-oas

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trusource/simple-oas - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"name": "@trusource/simple-oas",
"version": "0.1.1",
"version": "0.1.2",
"description": "",

@@ -11,3 +11,3 @@ "main": "index.js",

"license": "ISC",
"gitHead": "a946de6bd8446c9692ed6ab51c1e90ad7e16f342"
"gitHead": "9af13f6d51bebbfa43fb37f4e513a5eb61a3953b"
}

@@ -8,3 +8,4 @@ 'use strict';

// we currently will always have one object
const createSecuritySchemes = (security, securitySchemes) => {
const createSecuritySchemes = (security, securitySchemes = {}) => {
if (Object.keys(securitySchemes).length === 0) return [];
if (security.length > 1) throw new Error('TruSource currently does not support multiple authentication types using logical OR.');

@@ -11,0 +12,0 @@ const schemes = security.length === 1 ? Object.keys(security[0]).map((name) => {

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