-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintenance updates #749
Maintenance updates #749
Conversation
@@ -73,6 +73,7 @@ | |||
"react-sortable-hoc": "^2.0.0", | |||
"react-sticky": "^6.0.1", | |||
"react-virtualized-select": "^3.0.1", | |||
"redis": "^3.1.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
connect-redis
v4+ no longer bundle redis
.
src/api/app.js
Outdated
@@ -49,6 +50,10 @@ app.use(express.json()); | |||
app.use(express.urlencoded({extended: false})); | |||
app.use(compression()); | |||
|
|||
const redisClient = createClient({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to connect-redis
no longer bundling redis
, we now have to create the client ourselves and pass it in, here and in the server app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot ! I do like dropping the requirement for redis in dev.
We should have a follow-up PR that removes redis from the docker-compose file (we use it for local dev but not for prod) and associated docs.
Problem
Several dependencies are out-of-date and have transitive dependencies with security issues.
Solution
Update
swagger-ui-express
,connect-redis
, andlog-node
.Areas of Impact
App connectors.