[Pkg-javascript-commits] [node-express-session] 06/12: Depends node-uid-safe, get rid of patch and old dep
Jérémy Lal
kapouer at moszumanska.debian.org
Fri Jul 25 22:27:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-express-session.
commit 01b919293a77471fefbbc4a911be56b59bf3c6ad
Author: Jérémy Lal <kapouer at melix.org>
Date: Fri Jul 25 23:06:23 2014 +0200
Depends node-uid-safe, get rid of patch and old dep
---
debian/control | 4 ++--
debian/patches/0001-replace_uid2_with_uuid.patch | 29 ------------------------
debian/patches/series | 1 -
3 files changed, 2 insertions(+), 32 deletions(-)
diff --git a/debian/control b/debian/control
index 0bf9ea0..436ced0 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends:
, nodejs
, node-buffer-crc32
, node-cookie-signature
- , node-node-uuid
+ , node-uid-safe
, node-on-headers
, node-cookie
, node-debug
@@ -32,7 +32,7 @@ Depends:
, nodejs
, node-buffer-crc32
, node-cookie-signature
- , node-node-uuid
+ , node-uid-safe
, node-on-headers
, node-cookie
, node-debug
diff --git a/debian/patches/0001-replace_uid2_with_uuid.patch b/debian/patches/0001-replace_uid2_with_uuid.patch
deleted file mode 100644
index 0bdbf11..0000000
--- a/debian/patches/0001-replace_uid2_with_uuid.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Description: uid2 module is not in Debian, however node-uuid
- does the same job.
-Author: Leo Iannacone <l3on at ubuntu.com>
-Forwarded: https://github.com/expressjs/session/issues/49
-
----
- index.js | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/index.js
-+++ b/index.js
-@@ -9,7 +9,7 @@
- * Module dependencies.
- */
-
--var uid = require('uid2')
-+var uuid = require('node-uuid')
- , onHeaders = require('on-headers')
- , crc32 = require('buffer-crc32')
- , parse = require('url').parse
-@@ -85,7 +85,7 @@
-
- // generates the new session
- store.generate = function(req){
-- req.sessionID = uid(24);
-+ req.sessionID = uuid.v4();
- req.session = new Session(req);
- req.session.cookie = new Cookie(cookie);
- };
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 18c593c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-replace_uid2_with_uuid.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-express-session.git
More information about the Pkg-javascript-commits
mailing list