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

harcon-radiation

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harcon-radiation - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

8

lib/harcon-radiation.js

@@ -31,3 +31,3 @@ var ES6 = require('./ES6Fixer');

context: inflicter.name,
castOf: function( name, firestarter ){
castOf: function( name, firestarter, callback ){
if( firestarter.object ){

@@ -39,4 +39,5 @@ if( firestarter.object.rest )

}
callback();
},
affiliate: function( firestarter ){
affiliate: function( firestarter, callback ){
if( firestarter.object ){

@@ -48,4 +49,5 @@ if( firestarter.object.rest )

}
callback();
},
close: function(){
close: function( ){
if( this.options.closeRest )

@@ -52,0 +54,0 @@ self.restify.shutdown();

{
"name": "harcon-radiation",
"version": "0.3.5",
"version": "0.3.6",
"description": "REST and Websocket plugin for harcon",

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

},
"_id": "harcon-radiation@0.3.5"
"_id": "harcon-radiation@0.3.6"
}

@@ -61,2 +61,6 @@ var chai = require('chai'),

callback( null, 'Merci bien. ' + greetings );
},
terminus: function( greetings, terms, ignite, callback ){
console.log('TERMS::', terms);
callback( null, 'Merci bien. ' + greetings );
}

@@ -133,2 +137,13 @@ };

});
it('Division-cared with terms', function(done){
httphelper.generalCall( 'http://localhost:8080/charming/morning/terminus', 'POST', {'x-api-key':'849b7648-14b8-4154-9ef2-8d1dc4c2b7e9'}, null, { params: ['Szióka!'] }, 'application/json', logger,
function(err, result, status){
should.not.exist(err); should.exist(result);
expect( result ).to.include( 'Merci bien. Szióka!' );
done( );
}
);
});
it('Test Revoke', function(done){

@@ -135,0 +150,0 @@ inflicter.detracts( julie );

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