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

serverless-plugin-stage-variables

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-plugin-stage-variables - npm Package Compare versions

Comparing version 1.9.5 to 1.10.0

6

package.json

@@ -17,8 +17,8 @@ {

"dependencies": {
"lodash": "~4.17.13",
"class.extend": "~0.9.2"
"class.extend": "^0.9.2",
"lodash": "^4.17.21"
},
"license": "MIT",
"name": "serverless-plugin-stage-variables",
"version": "1.9.5"
"version": "1.10.0"
}

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

// find the correct stage name
var stage = this._serverless.service.provider.stage;
if (this._serverless.variables.options.stage) {
stage = this._serverless.variables.options.stage;
}
var stage = this._serverless.getProvider('aws').getStage();

@@ -53,3 +50,3 @@ // override the deployment config, which can be ignored, see:

Description: stage,
RestApiId: {"Ref": "ApiGatewayRestApi"},
RestApiId: this._serverless.service.provider.apiGateway.restApiId || {"Ref": "ApiGatewayRestApi"},
DeploymentId: {"Ref": "TestDeployment"},

@@ -56,0 +53,0 @@ Variables: variables,

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