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.10.1 to 1.10.2

2

package.json
{
"name": "serverless-api-gateway-caching",
"version": "1.10.1",
"version": "1.10.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",

@@ -44,2 +44,6 @@ 'use strict';

async updateStage() {
if (!this.settings) {
this.createSettings()
}
this.thereIsARestApi = await restApiExists(this.serverless, this.settings);

@@ -51,6 +55,2 @@ if (!this.thereIsARestApi) {

if (!this.settings) {
this.createSettings()
}
return updateStageCacheSettings(this.settings, this.serverless);

@@ -57,0 +57,0 @@ }

@@ -44,4 +44,4 @@ 'use strict';

const getAlreadyDeployedStack = async (serverless, settings) => {
const stackName = serverless.providers.aws.naming.getStackName(settings.stage);
try {
const stackName = serverless.providers.aws.naming.getStackName(settings.stage);
const stack = await serverless.providers.aws.request('CloudFormation', 'describeStacks', { StackName: stackName },

@@ -48,0 +48,0 @@ settings.stage,

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