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

serverless-api-gateway-caching

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "serverless-api-gateway-caching",
"version": "1.2.1",
"version": "1.2.2",
"description": "A plugin for the serverless framework which helps with configuring caching for API Gateway endpoints.",

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

@@ -18,3 +18,4 @@ const split = require('lodash.split');

element = element.toLowerCase();
element = element.replace('+', '');
element = element.replaceAll('+', '');
element = element.replaceAll('_', '');
if (element.startsWith('{')) {

@@ -41,7 +42,3 @@ element = element.substring(element.indexOf('{') + 1, element.indexOf('}')) + "Var";

compiled CloudFormation template. Caching settings will not be updated for this endpoint.`);
const index = settings.endpointSettings.indexOf(endpointSettings);
if (index != -1) {
settings.endpointSettings.splice(index, 1);
}
return;
continue;
}

@@ -48,0 +45,0 @@ if (!method.Properties.Integration.CacheKeyParameters) {

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