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.44 to 0.0.45

3

Gruntfile.js

@@ -22,4 +22,3 @@ module.exports = function(grunt) {

protoPath: 'proto',
logger: 'connect-rest',
logLevel: 'debug',
logger:{ name: 'connect-rest', level: 'debug' },
context: '/api'

@@ -26,0 +25,0 @@ };

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

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

@@ -228,3 +228,4 @@ var connect = require('connect');

if( options.logger )
logger = _.isString( options.logger ) ? bunyan.createLogger({name: options.logger, src: true, level: options.logLevel || 'info'}) : options.logger;
logger = exports.setupLogger( bunyan, options.logger, logger );
//logger = _.isString( options.logger ) ? bunyan.createLogger({name: options.logger, src: true, level: options.logLevel || 'info'}) : options.logger;

@@ -309,2 +310,10 @@ domain = options.domain;

exports.setupLogger = function(bunyan, options, logger){
var _logger = logger ? logger : new DummyLogger();
if( options ){
_logger = options.name ? bunyan.createLogger({name: options.name, src: true, level: options.level || 'info'}) : options;
}
return _logger;
};
exports.VERSION = VERSION;

@@ -311,0 +320,0 @@ exports.LOAD_SIZE_LIMIT = LOAD_SIZE_LIMIT;

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

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

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

@@ -508,2 +508,3 @@ [connect-rest](https://github.com/imrefazekas/connect-rest) is a featureful very easy-to-use middleware for [connect](http://www.senchalabs.org/connect/) for building REST APIs. The library has a stunning feature list beyond basic rest functionality.

- 0.0.43-45: Serious fixes
- 0.0.42: Incomint request count monitoring added

@@ -510,0 +511,0 @@ - 0.0.41: listener for populated measurements can be set

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

protoPath: 'proto',
logger: 'connect-rest',
logLevel: 'debug',
logger: { name: 'connect-rest', level: 'debug' },
context: '/api',

@@ -53,0 +52,0 @@ domain: restDomain,

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