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

@serverless/aws-sdk-extra

Package Overview
Dependencies
Maintainers
7
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/aws-sdk-extra - npm Package Compare versions

Comparing version 1.1.0-beta.0 to 1.1.0-beta.1

2

package.json
{
"name": "@serverless/aws-sdk-extra",
"version": "1.1.0-beta.0",
"version": "1.1.0-beta.1",
"description": "The AWS SDK that includes with a handful of extra convenience methods.",

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

@@ -6,2 +6,3 @@ const AWS = require('aws-sdk')

{
region = null,
stackName = null,

@@ -15,5 +16,10 @@ nextToken = null,

}
if (!config.region && !region) {
throw new Error(`Either config.region must be set or the 'region' parameter must be submitted`)
}
config.region = config.region || region
// Fetch stacks
const cloudformation = new AWS.CloudFormation({ region })
const cloudformation = new AWS.CloudFormation(config)

@@ -20,0 +26,0 @@ const params = {

@@ -30,7 +30,7 @@ const AWS = require('aws-sdk')

const stacks = await listAll()
const allRegionalStacks = await listAll()
return stacks
return allRegionalStacks
}
module.exports = listAllCloudFormationStacksInAllRegions

@@ -16,2 +16,5 @@ const AWS = require('aws-sdk')

// Override region configuration
config.region = region
// Default to Stacks with an Active state, defined by these status values

@@ -27,3 +30,3 @@ stackStatusFilter = stackStatusFilter || [

// Fetch stacks
const cloudformation = new AWS.CloudFormation({ region })
const cloudformation = new AWS.CloudFormation(config)

@@ -30,0 +33,0 @@ const params = {

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