Permalink
Browse files

require node >= 0.6.0, bump to 0.3.0

  • Loading branch information...
1 parent acb1318 commit 3bc78b7514aa52a9d9001aa848395ec4745e0619 @jed jed committed Apr 26, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/cookies.js
  2. +2 −2 package.json
View
@@ -39,7 +39,7 @@ Cookies.prototype = {
var res = this.response
, req = this.request
, headers = res.getHeader("Set-Cookie") || []
- , secure = res.socket ? res.socket.encrypted || req.connection.proxySecure : req.connection.proxySecure
+ , secure = req.connection.encrypted
, cookie = new Cookie(name, value, opts)
, header
, signed = opts && opts.signed !== undefined ? opts.signed : !!this.keys
View
@@ -1,6 +1,6 @@
{
"name": "cookies",
- "version": "0.2.3",
+ "version": "0.3.0",
"description": "Cookies, optionally signed using Keygrip.",
"main": "./lib/cookies",
"dependencies": {},
@@ -9,7 +9,7 @@
"keygrip": "*"
},
"engines": {
- "node": "*"
+ "node": ">= 0.6.0"
},
"author": "Jed Schmidt <tr@nslator.jp> (http://jed.is)",
"homepage": "https://github.com/jed/cookies",

0 comments on commit 3bc78b7

Please sign in to comment.