Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
11 changed files
with
395 additions
and
2,764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ coverage | |
.nyc_output | ||
package-lock.json | ||
yarn.lock | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"tabWidth": 2, | ||
"semi": true, | ||
"semi": false, | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"trailingComma": "es5" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./lib/connect-redis'); | ||
module.exports = require('./lib/connect-redis') |
Oops, something went wrong.