Socket
Socket
Sign inDemoInstall

aws-lambda-event-identifier

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-event-identifier - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -22,3 +22,3 @@ exports.eventIdentifier = function(data){

if(data.Records[0].eventSource == "aws:kinesis"){
return "s3";
return "kinesis";
}

@@ -25,0 +25,0 @@ }

{
"name": "aws-lambda-event-identifier",
"version": "1.0.2",
"version": "1.0.3",
"description": "Used to return a type of input event from aws lambda",

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

@@ -23,1 +23,10 @@ # aws-lambda-event-identifier

```
## Expected output
- SNS Messages: "sns"
- DynamoDb Resource: "dynamodb"
- Cloudwatch Logs: "cloudwatch"
- Scheduled events (CRON) : "scheduled"
- S3 Buckets events: "s3"
- Kinesis events: "kinesis"
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