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

@everymundo/aws-lambda-serverless-component

Package Overview
Dependencies
Maintainers
34
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everymundo/aws-lambda-serverless-component - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

2

package.json
{
"name": "@everymundo/aws-lambda-serverless-component",
"version": "1.1.9",
"version": "1.1.10",
"main": "./serverless.js",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -48,4 +48,3 @@ const path = require('path')

Mode: 'PassThrough'
},
tags:{},
},
}

@@ -55,8 +54,6 @@

async default(inputs = {}) {
this.context.status(`Deploying`);
const config = mergeDeepRight(defaults, inputs);
config.tags = inputs.tags || {};
config.name = this.state.name || inputs.name || this.context.resourceId();
const config = mergeDeepRight(defaults, inputs)
config.name = this.state.name || inputs.name || this.context.resourceId()
this.context.debug(

@@ -70,5 +67,5 @@ `Starting deployment of lambda ${config.name} to the ${config.region} region.`

maxRetries: 10
})
});
const awsIamRole = await this.load('@serverless/aws-iam-role')
const awsIamRole = await this.load('@serverless/aws-iam-role');

@@ -141,3 +138,3 @@ // If no role exists, create a default role

this.context.debug(`Creating lambda ${config.name} in the ${config.region} region.`)
const createResult = await createLambda({ lambda, ...config })
const createResult = await createLambda({ lambda, ...config })
config.arn = createResult.arn

@@ -161,3 +158,3 @@ config.hash = createResult.hash

this.context.debug(`Updating ${config.name} lambda config.`);
const updateResult = await updateLambdaConfig({ lambda, ...config });
const updateResult = await updateLambdaConfig({ lambda, ...config, });
this.context.debug(`Lambda config for ${config.description} updated.`);

@@ -164,0 +161,0 @@ config.hash = updateResult.hash;

@@ -102,3 +102,4 @@ const { tmpdir } = require('os')

vpcConfig,
tracingConfig
tracingConfig,
tags
}) => {

@@ -108,2 +109,3 @@ const params = {

Code: {},
Tags: tags,
Description: description,

@@ -120,3 +122,3 @@ Handler: handler,

VpcConfig: vpcConfig,
TracingConfig: tracingConfig
TracingConfig: tracingConfig,
}

@@ -151,6 +153,8 @@

layer,
vpcConfig
vpcConfig,
tags
}) => {
const functionConfigParams = {
FunctionName: name,
Tags: tags,
Description: description,

@@ -157,0 +161,0 @@ Handler: handler,

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