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 9.2.27 to 9.2.28

2

lib/Communication.js

@@ -48,3 +48,3 @@ let Cerobee = require('clerobee')

this.error = error
if ( response )
if ( typeof (response) !== 'undefined' && response !== null )
this.response = response

@@ -51,0 +51,0 @@

@@ -91,3 +91,3 @@ let Communication = require('./Communication')

function responseAsArray ( responseComms, attribute ) {
let res = responseComms.map( function (responseComm) { return responseComm[attribute || 'response'] } ).filter( function (resp) { return resp })
let res = responseComms.map( function (responseComm) { return responseComm[attribute || 'response'] } ).filter( function (resp) { return (typeof (resp) !== 'undefined' && resp !== null) })
return res.length === 0 ? null : res

@@ -94,0 +94,0 @@ }

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

@@ -27,5 +27,5 @@ "keywords": [

"cron": "^1.8.2",
"harcon-flow": "^2.7.2",
"harcon-flow": "^2.7.3",
"isa.js": "^2.2.12",
"mkdirp": "^1.0.3",
"mkdirp": "^1.0.4",
"proback.js": "^2.1.10",

@@ -37,3 +37,3 @@ "vindication.js": "^4.20.1"

"pino": "~6",
"pino-pretty": "~3",
"pino-pretty": "~4",
"@nlv8/signun": "^1.3.6"

@@ -40,0 +40,0 @@ },

@@ -25,3 +25,6 @@ let Proback = require('proback.js')

return 'ssss'
},
async falsify () {
return false
}
}

@@ -109,2 +109,8 @@ const assert = require('assert')

describe('simple messages', function () {
it('Alize falsify', async function () {
let res = await inflicter.request( clerobee.generate(), null, '', 'Alizee.falsify' )
console.log('!++++++++++>>>>>', res)
expect(res).to.eql( false )
})
it('Alize dormir', async function () {

@@ -111,0 +117,0 @@ let res = await inflicter.request( clerobee.generate(), null, '', 'Alizee.dormir' )

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