Skip to content

Commit

Permalink
Version 4
Browse files Browse the repository at this point in the history
Includes:

  - Use slightly more modern JavaScript, targeting Node 8 and above.
  - Switch to using `cookie.expires` for TTL like `connect-mongo` does.
  - Remove the embedded node_redis client, a client must be provided.
  - Remove all embedded client options that are no longer needed.
  - Clearer documentation around TTLs.
  - Add `clear` method to support the full `express-session` API.
  - Remove multi-session `destroy` usage to conform with the API.
  - Build with Travis.
  • Loading branch information
wavded committed Aug 28, 2019
1 parent 1d36eec commit 2df1368
Show file tree
Hide file tree
Showing 11 changed files with 395 additions and 2,764 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,3 +3,4 @@ coverage
.nyc_output
package-lock.json
yarn.lock
.DS_Store
2 changes: 1 addition & 1 deletion .prettierrc
@@ -1,6 +1,6 @@
{
"tabWidth": 2,
"semi": true,
"semi": false,
"singleQuote": true,
"printWidth": 80,
"trailingComma": "es5"
Expand Down
13 changes: 13 additions & 0 deletions .travis.yml
@@ -0,0 +1,13 @@
---
before_install:
- sudo apt-get install -y redis-server
language: node_js
node_js:
- '8'
- '10'
- '12'
install:
- yarn install
script:
- yarn test
- yarn lint
2 changes: 1 addition & 1 deletion index.js
@@ -1 +1 @@
module.exports = require('./lib/connect-redis');
module.exports = require('./lib/connect-redis')

0 comments on commit 2df1368

Please sign in to comment.