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

connect-rest

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-rest - npm Package Compare versions

Comparing version 0.0.43 to 0.0.44

test/restDelayBuilder.js

6

lib/bus.js

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

if( !self.metrics[element.version][element.path] )
self.metrics[element.version][element.path] = { maxDuration:0, minDuration:0, sumDuration:0, count:0 };
self.metrics[element.version][element.path] = { maxDuration:0, minDuration:Number.MAX_VALUE, sumDuration:0, count:0 };

@@ -55,6 +55,6 @@ var metrics = self.metrics[element.version][element.path];

if(this.options){
this.logger.debug('Populating monitoring results...');
var self = this;
this.logger.debug('Populating monitoring results...' );
if(this.options.newrelic){

@@ -61,0 +61,0 @@ self.newrelic.populate( self.metrics, self.lastPopulation );

@@ -6,3 +6,3 @@ /*

*/
var VERSION = '0.0.43';
var VERSION = '0.0.44';

@@ -9,0 +9,0 @@ var connect = require('connect');

{
"name": "connect-rest",
"version": "0.0.43",
"version": "0.0.44",
"description": "Exceptionally featureful RESTful web services middleware for Connect.",

@@ -47,4 +47,4 @@ "keywords": [

},
"_id": "connect-rest@0.0.43",
"_from": "connect-rest@>=0.0.43"
"_id": "connect-rest@0.0.44",
"_from": "connect-rest@>=0.0.44"
}

@@ -10,3 +10,3 @@ var rest = require('../lib/connect-rest');

var restBuilder = require('./restBuilder');
var caller = require('./caller');
var caller = require('./nodeunit/caller');

@@ -57,3 +57,3 @@ var createDomain = require('domain').create;

console: false
//,listener: function(data){ console.log( '%j', data); }
,listener: function(data){ console.log( '%j', data); }
/*, newrelic: {

@@ -73,3 +73,8 @@ platformApiUri: 'https://platform-api.newrelic.com/platform/v1/metrics',

restBuilder.buildUpRestAPI( rest, _ );
_.each( caller.group, function(value, key, list){
console.log('Executing: ', key);
value( {done:function(){console.log('Done.', arguments);} } );
} );
});
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