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

aws-event-emitter

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-event-emitter - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

15

index.js

@@ -282,10 +282,7 @@ 'use strict';

if ( decodedBody.Subject !== 'event' ) {
callback( 'AWSEventEmitter Got unknown message subject: ' + decodedBody.Subject );
return;
}
let decodedMessage = null;
try {
decodedMessage = JSON.parse( decodedBody.Message );
decodedMessage = extend( {
aws: decodedBody
}, JSON.parse( decodedBody.Message ) );
}

@@ -336,2 +333,8 @@ catch ( ex ) {

if ( !decoded.eventName ) {
self.emit( 'error', 'No eventName in event (skipping): ' + JSON.stringify( decoded ) );
next();
return;
}
self._emit( decoded.eventName, decoded.event );

@@ -338,0 +341,0 @@ next();

2

package.json
{
"name": "aws-event-emitter",
"version": "1.0.0",
"version": "1.1.0",
"description": "An event system using AWS SNS/SQS.",

@@ -5,0 +5,0 @@ "license": "MIT",

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