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

hapi-swagger

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-swagger - npm Package Compare versions

Comparing version 14.2.3 to 14.2.4

18

index.d.ts

@@ -115,2 +115,13 @@ import { Plugin } from '@hapi/hapi';

/**
* Lists the required security schemes to execute this operation. The object can have multiple security schemes declared in it which are all required (that is, there is a logical AND between the schemes)
*
* The name used for each property MUST correspond to a security scheme declared in the {@link RegisterOptions.securityDefinitions}
*
* If the security scheme is of `type` "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty
*/
type SecurityRequirementsType = {
[securityDefinitionName: string]: string[];
};
interface LicenseOptions {

@@ -442,3 +453,8 @@ /**

*/
securityDefinitions?: {[name: string]: SecuritySchemeType}
securityDefinitions?: { [name: string]: SecuritySchemeType };
/**
* A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements)
*/
security?: [SecurityRequirementsType];
}

@@ -445,0 +461,0 @@ }

6

package.json
{
"name": "hapi-swagger",
"description": "A swagger documentation UI generator plugin for hapi",
"version": "14.2.3",
"version": "14.2.4",
"author": "Glenn Jones",

@@ -40,3 +40,5 @@ "repository": {

"test:cov:html": "lab -r html -o coverage.html",
"precommit": "yarn test"
"precommit": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags"
},

@@ -43,0 +45,0 @@ "license": "MIT",

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