Socket
Socket
Sign inDemoInstall

grunt-aws-lambda

Package Overview
Dependencies
60
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.0 to 0.9.0

test/arn_parser_test.js

2

package.json
{
"name": "grunt-aws-lambda",
"description": "A grunt plugin to help develop AWS Lambda functions.",
"version": "0.8.0",
"version": "0.9.0",
"homepage": "https://github.com/Tim-B/grunt-aws-lambda",

@@ -6,0 +6,0 @@ "author": {

@@ -350,2 +350,8 @@ # grunt-aws-lambda

##### options.region
Type: `String`
Default value: `us-east-1`
Specify the AWS region your functions will be uploaded to. Note that if an ARN is supplied this option is not required.
##### options.timeout

@@ -501,2 +507,5 @@ Type: `Integer`

### 0.9.0
* Parsing region automatically from ARN - [pull request by jvwing](https://github.com/Tim-B/grunt-aws-lambda/pull/25)

@@ -16,4 +16,4 @@ /*

var AWS = require('aws-sdk');
var arnParser = require('../utils/arn_parser');
// Please see the Grunt documentation for more information regarding task

@@ -48,2 +48,6 @@ // creation: http://gruntjs.com/creating-tasks

deploy_function = deploy_arn;
var functionInfo = arnParser.parse(deploy_arn);
if (functionInfo && functionInfo.region) {
options.region = functionInfo.region;
}
}

@@ -95,3 +99,3 @@

}
}
};

@@ -108,3 +112,3 @@ grunt.log.writeln('Uploading...');

ZipFile: data
}
};

@@ -111,0 +115,0 @@ lambda.updateFunctionCode(codeParams, function (err, data) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc