Skip to content

Commit

Permalink
deps: cookies@0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Aug 3, 2017
1 parent f8c02a3 commit 0739b01
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
@@ -1,6 +1,11 @@
unreleased
==========

* deps: cookies@0.7.0
- Add `sameSite` option for SameSite cookie support
- Throw on invalid values provided to `Cookie` constructor
- deps: keygrip@~1.0.1
- pref: enable strict mode
* deps: debug@2.6.8
- Allow colors in workers
- Deprecate `DEBUG_FD` environment variable set to 3 or higher
Expand Down
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -57,7 +57,9 @@ function cookieSession(options) {
debug('session options %j', opts);

return function _cookieSession(req, res, next) {
var cookies = req.sessionCookies = new Cookies(req, res, keys);
var cookies = req.sessionCookies = new Cookies(req, res, {
keys: keys
});
var sess, json;

// to pass to Session()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"session"
],
"dependencies": {
"cookies": "0.5.0",
"cookies": "0.7.0",
"debug": "2.6.8",
"on-headers": "~1.0.1"
},
Expand Down

0 comments on commit 0739b01

Please sign in to comment.