New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

serverless-basic-authentication

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-basic-authentication - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

1

index.js

@@ -83,2 +83,3 @@ 'use strict'

if(
serverless.service.functions[function_name].events[fnctn_event].http != null &&
serverless.service.functions[function_name].events[fnctn_event].http.private == true &&

@@ -85,0 +86,0 @@ serverless.service.functions[function_name].events[fnctn_event].http.authorizer == null

2

package.json
{
"name": "serverless-basic-authentication",
"version": "0.8.0",
"version": "0.9.0",
"devDependencies": {

@@ -5,0 +5,0 @@ "jest": "^22.4.3"

@@ -48,3 +48,3 @@ Serverless Basic Authentication (http basic auth)

For each function which is marked as `private: true`, the custom authenticator will be inserted, like so:
For each function that responds to `http` events and is marked as `private: true`, the custom authenticator will be inserted, like so:

@@ -51,0 +51,0 @@ ```

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