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.28 to 0.0.29

10

lib/connect-rest.js

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

*/
var VERSION = '0.0.28';
var VERSION = '0.0.29';

@@ -43,5 +43,5 @@ var connect = require('connect');

function DummyLogger(){ }
DummyLogger.prototype.info = function() { console.log( parameters ); };
DummyLogger.prototype.debug = function() { console.debug( parameters ); };
DummyLogger.prototype.error = function() { console.error( parameters ); };
DummyLogger.prototype.info = function() { console.log( arguments ); };
DummyLogger.prototype.debug = function() { console.debug( arguments ); };
DummyLogger.prototype.error = function() { console.error( arguments ); };

@@ -211,2 +211,4 @@

if( options ){
exports.context( options.context || '/api' );
if( options.discoverPath )

@@ -213,0 +215,0 @@ addPath('GET', options.discoverPath + '/:version', discover );

6

package.json
{
"name": "connect-rest",
"version": "0.0.28",
"version": "0.0.29",
"description": "RESTful web services middleware for Connect.",

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

"readme": "README.md",
"_id": "connect-rest@0.0.28",
"_from": "connect-rest@>=0.0.28"
"_id": "connect-rest@0.0.29",
"_from": "connect-rest@>=0.0.29"
}

@@ -416,3 +416,3 @@ [connect-rest](https://github.com/imrefazekas/connect-rest) is a middleware for [connect](http://www.senchalabs.org/connect/) for building REST APIs providing service discovery and path-based parameter mapping and "reflective" publishing and node domains as well.

- 0.0.28: a case when mandatory parameter follows optional(s) has been fixed
- 0.0.28.29: a case when mandatory parameter follows optional(s) has been fixed
- 0.0.26-27: async request fix

@@ -419,0 +419,0 @@ - 0.0.23-25: small fix for content type management

function buildUpRestAPI( rest, _ ){
rest.context( '/api' );
//rest.context( '/api' );

@@ -4,0 +4,0 @@ rest.head('/peek', function( request ){

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

logLevel: 'debug',
context: '/api',
domain: restDomain

@@ -52,0 +53,0 @@ };

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