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.0 to 3.0.1

4

CHANGES.md
# restify Changelog
## 3.0.1
- #779 set-cookie headers should not include comma separated values. See:
http://tools.ietf.org/html/rfc6265#section-3
## 3.0.0

@@ -4,0 +8,0 @@

4

lib/response.js

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

var current = this.getHeader(name);
if (current) {
// #779, don't use comma separated values for set-cookie, see
// http://tools.ietf.org/html/rfc6265#section-3
if (current && name.toLowerCase() !== 'set-cookie') {
if (Array.isArray(current)) {

@@ -148,0 +150,0 @@ current.push(value);

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

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

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

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