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

restify

Package Overview
Dependencies
Maintainers
0
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restify - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

lib/http_extra.js

@@ -268,6 +268,6 @@ // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.

obj.handlers.main =
utils.mergeFunctionArguments(args, offset + 1, args.length - 2);
utils.mergeFunctionArguments(args, offset + 1, args.length - 1);
} else {
obj.handlers.main =
utils.mergeFunctionArguments(args, offset, args.length - 1);
utils.mergeFunctionArguments(args, offset, args.length);
}

@@ -274,0 +274,0 @@

@@ -47,5 +47,5 @@ // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.

mergeFunctionArguments: function(argv, offset, end) {
mergeFunctionArguments: function(argv, start, end) {
assert.ok(argv);
assert.ok(offset);
assert.ok(start);
assert.ok(end);

@@ -55,3 +55,3 @@

for (var i = offset; i < argv.length; i++) {
for (var i = start; i < end; i++) {
if (argv[i] instanceof Array) {

@@ -58,0 +58,0 @@ var arr = argv[i];

{
"name": "restify",
"description": "REST framework specifically meant for web service APIs",
"version": "0.3.0",
"version": "0.3.1",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -6,13 +6,2 @@ node-restify is meant to do one thing: make it easy to build an API webservice

## Why does this exist?
After starting with express for several backend, machine-consumed projects
it because obvious I only needed about 10% of what connect gives you, and the
parts they gave me still required writing a lot of extension code over the top
to do what I needed (mainly properly parse request parameters and respond with
JS objects).
I wanted something smaller and more purposed to this use case. If this isn't
you, move along, nothing to see here.
## Usage

@@ -19,0 +8,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