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.1.4-rc2 to 1.1.4

0

.vscode/launch.json

@@ -0,0 +0,0 @@ {

2

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

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

@@ -0,0 +0,0 @@ # serverless-api-gateway-caching

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ const isEmpty = require('lodash.isempty');

@@ -52,3 +52,3 @@ const isEmpty = require('lodash.isempty');

let existingValue = method.resource.Properties.RequestParameters[`method.${cacheKeyParameter.name}`];
method.resource.Properties.RequestParameters[`method.${cacheKeyParameter.name}`] = existingValue || {};
method.resource.Properties.RequestParameters[`method.${cacheKeyParameter.name}`] = (existingValue == null || existingValue == undefined) ? {} : existingValue;
method.resource.Properties.Integration.RequestParameters[`integration.${cacheKeyParameter.name}`] = `method.${cacheKeyParameter.name}`;

@@ -55,0 +55,0 @@ method.resource.Properties.Integration.CacheKeyParameters.push(`method.${cacheKeyParameter.name}`);

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ const isEmpty = require('lodash.isempty');

@@ -0,0 +0,0 @@ module.exports = {

Sorry, the diff of this file is not supported yet

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