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 1.8.0 to 1.8.1

mochaTest.log

12

lib/connect-rest.js

@@ -75,3 +75,3 @@ /*

var Logger = require('./logger');
var VERSION = exports.VERSION = '1.8.0';
var VERSION = exports.VERSION = '1.8.1';
var logger;

@@ -110,2 +110,8 @@

options = options || {};
if( options.options )
exports.options( path, function( request, content, cb ){
cb( null, 'OK', { headers: { Allow: key } } );
} );
mapping[ key ].push( new Route( bus, CONTEXT, path, prototypeObject, options,

@@ -331,5 +337,3 @@ function(request, content, callback){

exports.publish = function (services){
var keys = _.keys(services);
_.each( _.values( services ), function(element, index, list){
var name = keys[index];
_.each( services, function(element, name, list){
if( _.isFunction( element ) && SERVICE_METHOD_PATTERN.test( name ) ){

@@ -336,0 +340,0 @@ if( element.length === 1 )

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

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

},
"_id": "connect-rest@1.8.0"
"_id": "connect-rest@1.8.1"
}
CONNECT-REST - Exceptionally featureful Restful web services middleware for connect node.js
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/imrefazekas/connect-rest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Join the chat at https://gitter.im/imrefazekas/connect-rest](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/imrefazekas/connect-rest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@@ -14,2 +14,4 @@ [![NPM](https://nodei.co/npm/connect-rest.png)](https://nodei.co/npm/connect-rest/)

========
[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.

@@ -16,0 +18,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