Comparing version 3.0.1 to 3.0.2
# 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: |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185277
4737
+ Addedcall-bind@1.0.7(transitive)
+ Addeddeep-equal@1.1.2(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-date-object@1.0.5(transitive)
+ Addedis-regex@1.1.4(transitive)
+ Addednegotiator@0.5.3(transitive)
+ Addedobject-is@1.1.6(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedqs@2.4.2(transitive)
+ Addedregexp.prototype.flags@1.5.3(transitive)
+ Addedsemver@4.3.6(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
- Removeddeep-equal@0.2.2(transitive)
- Removednegotiator@0.4.9(transitive)
- Removedqs@1.2.2(transitive)
- Removedsemver@2.3.2(transitive)
Updateddeep-equal@^1.0.0
Updatednegotiator@^0.5.1
Updatedqs@^2.4.1
Updatedsemver@^4.3.3