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

serverless-api-gateway-throttling

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-api-gateway-throttling - npm Package Compare versions

Comparing version 2.0.1-rc3 to 2.0.1-rc5

2

package.json
{
"name": "serverless-api-gateway-throttling",
"version": "2.0.1-rc3",
"version": "2.0.1-rc5",
"description": "A plugin for the Serverless framework which configures throttling for API Gateway endpoints.",

@@ -5,0 +5,0 @@ "main": "src/apiGatewayThrottlingPlugin.js",

@@ -35,6 +35,7 @@ 'use strict';

const HttpApiId = await retrieveHttpApiIdFromAlreadyDeployedStack(serverless, settings);
if (!HttpApiId) {
const httpApiId = await retrieveHttpApiIdFromAlreadyDeployedStack(serverless, settings);
if (!httpApiId) {
serverless.cli.log(`[serverless-api-gateway-throttling] Could not find stack output variable named ${HTTP_API_ID_KEY}.`);
}
return httpApiId;
};

@@ -64,2 +65,5 @@

const stack = await getAlreadyDeployedStack(serverless, settings);
if (!stack) {
return;
}
const outputs = stack.Stacks[0].Outputs;

@@ -66,0 +70,0 @@ const HttpApiKey = outputs.find(({ OutputKey }) => OutputKey === HTTP_API_ID_KEY)

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