Skip to content

Commit

Permalink
Switch to connect 2.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Qard committed Jul 19, 2013
1 parent a13626e commit 79841a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/session.js
Expand Up @@ -6,7 +6,7 @@ var Session = require('connect/lib/middleware/session/session')
, MemoryStore = require('connect/lib/middleware/session/memory')
, Cookie = require('connect/lib/middleware/session/cookie')
, Store = require('connect/lib/middleware/session/store')
, utils = require('connect/lib/utils');
, uid = require('uid2');

/**
* Probably don't actually need these, but left them anyway
Expand Down Expand Up @@ -43,7 +43,7 @@ function session (options) {

// generates the new session
store.generate = function (req) {
req.sessionID = utils.uid(24);
req.sessionID = uid(24);
req.session = new Session(req);
req.session.cookie = new Cookie(cookie);
};
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,14 +1,14 @@
{
"name": "uhura",
"version": "0.0.8",
"version": "0.0.9",
"description": "server-to-server event emitter wire protocol",
"main": "index.js",
"repository": "",
"author": "Stephen Belanger <admin@stephenbelanger.com>",
"license": "MIT",
"dependencies": {
"JSONStream": "0.6.x",
"connect": "2.7.x"
"connect": "2.8.x"
},
"devDependencies": {
"should": "*",
Expand Down

0 comments on commit 79841a0

Please sign in to comment.