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

restify

Package Overview
Dependencies
Maintainers
3
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 3.0.1 to 3.0.2

2

CHANGES.md
# restify Changelog
## 3.0.2
- #785 update semver dependency.
## 3.0.1

@@ -4,0 +6,0 @@ - #779 set-cookie headers should not include comma separated values. See:

3

lib/formatters/jsonp.js

@@ -28,3 +28,4 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved.

if (cb) {
data = cb + '(' + JSON.stringify(body) + ');';
data = 'typeof ' + cb + ' === \'function\' && ' +
cb + '(' + JSON.stringify(body) + ');';
} else {

@@ -31,0 +32,0 @@ data = JSON.stringify(body);

@@ -107,3 +107,3 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved.

if (this.listeners('uncaughtException').length > 1 ||
res._headerSent) {
res.headersSent) {
return (false);

@@ -110,0 +110,0 @@ }

@@ -298,4 +298,5 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved.

var routeName = name.replace(/\W/g, '').toLowerCase();
for (var i = 0; i < routes.length; i++) {
if (routes[i].name === name) {
if (routes[i].name === routeName) {
route = routes[i];

@@ -302,0 +303,0 @@ try {

@@ -41,3 +41,3 @@ {

"description": "REST framework",
"version": "3.0.1",
"version": "3.0.2",
"repository": {

@@ -62,3 +62,3 @@ "type": "git",

"csv": "^0.4.0",
"deep-equal": "^0.2.1",
"deep-equal": "^1.0.0",
"escape-regexp-component": "^1.0.2",

@@ -70,7 +70,7 @@ "formidable": "^1.0.14",

"mime": "^1.2.11",
"negotiator": "^0.4.5",
"negotiator": "^0.5.1",
"node-uuid": "^1.4.1",
"once": "^1.3.0",
"qs": "^1.0.0",
"semver": "^2.3.0",
"qs": "^2.4.1",
"semver": "^4.3.3",
"spdy": "^1.26.5",

@@ -92,2 +92,2 @@ "tunnel-agent": "^0.4.0",

}
}
}

@@ -11,3 +11,3 @@ # restify

similar to [express](http://expressjs.com) for building REST APIs. For full
details, see http://mcavage.github.com/node-restify.
details, see http://restifyjs.com

@@ -14,0 +14,0 @@ Join us on IRC at `irc.freenode.net` in the `#restify` channel for real-time

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