Socket
Socket
Sign inDemoInstall

@bearer/openapi-generator

Package Overview
Dependencies
8
Maintainers
4
Versions
174
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.1 to 1.8.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.8.2](https://github.com/Bearer/bearer/compare/v1.8.1...v1.8.2) (2019-07-29)
### Bug Fixes
* update test to match authType ([#724](https://github.com/Bearer/bearer/issues/724)) ([79f815b](https://github.com/Bearer/bearer/commit/79f815b))
## [1.8.1](https://github.com/Bearer/bearer/compare/v1.8.0...v1.8.1) (2019-07-25)

@@ -8,0 +19,0 @@

10

lib/index.js

@@ -68,11 +68,11 @@ "use strict";

const authType = checker.typeToString(typ.aliasTypeArguments[1]);
if (/ApiKey/.test(authType))
if (/ApiKey/i.test(authType))
return 'APIKEY';
if (/Basic/.test(authType))
if (/Basic/i.test(authType))
return 'BASIC';
if (/OAuth1/.test(authType))
if (/OAuth1/i.test(authType))
return 'OAUTH1';
if (/OAuth2/.test(authType))
if (/OAuth2/i.test(authType))
return 'OAUTH2';
if (/None/.test(authType))
if (/None/i.test(authType))
return 'NONE';

@@ -79,0 +79,0 @@ return authType;

@@ -25,3 +25,3 @@ declare type THeader = {

type: string;
format: string;
format?: string;
};

@@ -28,0 +28,0 @@ in: string;

@@ -39,3 +39,3 @@ "use strict";

name: 'authId',
schema: { type: 'string', format: 'uuid' },
schema: { type: 'string' },
in: 'query',

@@ -42,0 +42,0 @@ description: 'User Identifier',

{
"private": false,
"name": "@bearer/openapi-generator",
"version": "1.8.1",
"version": "1.8.2",
"description": "Function openapi spec generator",

@@ -33,6 +33,6 @@ "main": "lib/index.js",

"dependencies": {
"@bearer/functions": "^1.8.1",
"@bearer/functions": "^1.8.2",
"lodash.merge": "^4.6.1"
},
"gitHead": "3bdc2a38a46b9f3ed551294d997c5f20de8bb6d4"
"gitHead": "1a45da2b1190c88c10fb730cbf3e995c299c24a0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc