Socket
Socket
Sign inDemoInstall

aws-event-emitter

Package Overview
Dependencies
40
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 1.0.0

23

index.js

@@ -99,3 +99,3 @@ 'use strict';

}
catch( ex ) {
catch ( ex ) {
next( ex );

@@ -156,6 +156,6 @@ return;

const params = {
Attributes: {
Policy: JSON.stringify( policy )
},
QueueUrl: self.sqsInfo.queueURL
Attributes: {
Policy: JSON.stringify( policy )
},
QueueUrl: self.sqsInfo.queueURL
};

@@ -213,3 +213,3 @@

let event = self.messageQueue.shift();
while( event ) {
while ( event ) {
self.emit( event.eventName, event.event );

@@ -280,3 +280,3 @@ event = self.messageQueue.shift();

}
catch( ex ) {
catch ( ex ) {
callback( ex );

@@ -295,3 +295,3 @@ return;

}
catch( ex ) {
catch ( ex ) {
callback( ex );

@@ -336,5 +336,4 @@ return;

if ( self.options.logEvents ) {
console.log( 'AWS Event:' );
console.log( require( 'util' ).inspect( decoded, { depth: null } ) );
if ( self.options.logger ) {
self.options.logger( decoded );
}

@@ -441,2 +440,2 @@

return ( self.listeners[ eventName ] || [] ).slice( 0 );
};
};
{
"name": "aws-event-emitter",
"version": "0.1.0",
"version": "1.0.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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc