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 1.2.0-rc2 to 1.2.0-rc3

4

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

@@ -30,3 +30,3 @@ "main": "src/apiGatewayThrottlingPlugin.js",

"chance": "^1.0.16",
"mocha": "^5.2.0",
"mocha": "^9.1.3",
"mocha-circleci-reporter": "0.0.3"

@@ -33,0 +33,0 @@ },

@@ -18,5 +18,8 @@ 'use strict';

}
const resource = serverless.service.provider.compiledCloudFormationTemplate.Resources['ApiGatewayRestApi'];
if (resource) {
return true;
if (serverless.service.provider.compiledCloudFormationTemplate) {
const resource = serverless.service.provider.compiledCloudFormationTemplate.Resources['ApiGatewayRestApi'];
if (resource) {
return true;
}
}

@@ -23,0 +26,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