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

harcon

Package Overview
Dependencies
Maintainers
1
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harcon - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

6

lib/Barrel.js

@@ -31,5 +31,5 @@ var async = require('async');

*/
barrel.castOf = function( firestarter ){
this.logger.harconlog( null, 'CastOf', { name: firestarter.name, events: firestarter.event || firestarter.events } );
var index = this.firestarters.findIndex( function(element){ return element.name === firestarter.name; } );
barrel.castOf = function( name ){
this.logger.harconlog( null, 'CastOf', { name: name } );
var index = this.firestarters.findIndex( function(element){ return element.name === name; } );
if( index !== -1) {

@@ -36,0 +36,0 @@ var fs = this.firestarters[ index ];

@@ -135,3 +135,2 @@ var Communication = require('./Communication');

this.logger.harconlog(null, 'Initiate ignition', {comm: comm} );
if( comm.callback )

@@ -138,0 +137,0 @@ this.comms[ comm.id ] = { comm: comm, callback: comm.callback };

@@ -99,4 +99,3 @@ var Communication = require('../lib/Communication');

inflicter.detracts = function( object ){
var fss = new Firestormstarter( this.barrel, object, this.logger );
return this.barrel.castOf( fss );
return this.barrel.castOf( object.name );
};

@@ -103,0 +102,0 @@

{
"name": "harcon",
"version": "0.8.4",
"version": "0.8.5",
"description": "Messaging/Service Bus for the harmonic convergence of node-based enterprise entities.",

@@ -46,3 +46,3 @@ "keywords": [

},
"_id": "harcon@0.8.4"
"_id": "harcon@0.8.5"
}

@@ -35,7 +35,19 @@ var Inflicter = require('../lib/Inflicter');

var julieFS = inflicter.addicts( julie );
/*
inflicter.ignite( 'morning.wakeup', function(err, res){
console.log( '>>>>>>>>>>', err, res );
} );
} );*/
var karl = {
name: 'karl',
context: 'morning',
enter: function( ){
this.ignite( 'dire.bonjour', 'Ca vas?', function(err, res){
console.log( '>>>>>>', err, res );
} );
}
};
var karlFS = inflicter.addicts( karl );
karl.enter();
/*

@@ -42,0 +54,0 @@ inflicter.addict('peter', 'greet.*', function(greetings1, greetings2, callback){

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