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.9.8 to 0.9.9

1

lib/Barrel.js

@@ -101,3 +101,2 @@ var async = require('async');

var self = this;
var matching = this.firestarters.filter( function( fs ){ return fs.matches( comm.division, comm.event ); } );

@@ -104,0 +103,0 @@

2

lib/Firestarter.js

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

for( i=0; i<this.divisionPath.length; i+=1 ){
if( i >= dPath.length || this.divisionPath[i] !== dPath[i] ) return false;
if( i >= dPath.length || (this.divisionPath[i] && this.divisionPath[i] !== dPath[i]) ) return false;
}

@@ -44,0 +44,0 @@ return true;

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

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

},
"_id": "harcon@0.9.8"
"_id": "harcon@0.9.9"
}

@@ -11,3 +11,6 @@ module.exports = {

callback(null, 'Enchanté, mon plaisir!');
},
simple: function (greetings1, greetings2, callback) {
callback( null, 'Pas du tout!' );
}
};

@@ -16,3 +16,3 @@ var chai = require("chai");

before(function(done){
var logger = Logger.createWinstonLogger( { file: 'test.log', level: 'debug' } );
var logger = Logger.createWinstonLogger( { file: 'test.log', level: 'info' } );

@@ -80,2 +80,18 @@ // Initializes the Harcon system

});
it('Division test', function(done){
// Sending a morning message and waiting for the proper answer
inflicter.ignite( 'click', 'greet.simple', 'Hi', 'Ca vas?', function(err, res){
console.log( err, res );
should.not.exist(err); should.exist(res);
expect( res ).to.include( 'Hi there!' );
expect( res ).to.include( 'My pleasure!' );
expect( res ).to.include( 'Bonjour!' );
expect( res ).to.include( 'Pas du tout!' );
done( );
} );
});
});

@@ -82,0 +98,0 @@

Sorry, the diff of this file is not supported yet

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