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.5 to 0.8.6

lib/ES6Fixer.js

44

lib/Inflicter.js

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

var ES6Fixer = require('./ES6Fixer');

@@ -30,37 +31,2 @@ var VERSION = exports.VERSION = '0.7.5';

if( !Array.prototype.contains )
Array.prototype.contains = function( object ){
for( var i = 0; i<this.length; i+=1){
if( object === this[i] ) return true;
}
return false;
};
if( !Array.prototype.find )
Array.prototype.find = function( fn ){
for( var i = 0; i<this.length; i+=1){
if( fn(this[i], i, this) ) return this[i];
}
return null;
};
if( !Array.prototype.findIndex )
Array.prototype.findIndex = function( fn ){
for( var i = 0; i<this.length; i+=1){
if( fn(this[i], i, this) ) return i;
}
return -1;
};
if (!String.prototype.endsWith) {
Object.defineProperty(String.prototype, 'endsWith', {
value: function (searchString, position) {
var subjectString = this.toString();
if (position === undefined || position > subjectString.length) {
position = subjectString.length;
}
position -= searchString.length;
var lastIndex = subjectString.indexOf(searchString, position);
return lastIndex !== -1 && lastIndex === position;
}
});
}
var self = this;

@@ -115,2 +81,10 @@ this.systemFirestarter = this.addicts( {

var fss = new Firestormstarter( this.barrel, object, this.logger );
if( object.init ){
try{
object.init( this.options[fss.name] || {} );
} catch( err ){
this.logger.error( err, 'Unable to initialize', fss.name );
}
}

@@ -117,0 +91,0 @@ return this.barrel.affiliate( fss );

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

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

},
"_id": "harcon@0.8.5"
"_id": "harcon@0.8.6"
}
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