Skip to content
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

Merged
merged 5 commits into from
Jan 25, 2022
Merged

Maintenance updates #749

merged 5 commits into from
Jan 25, 2022

Conversation

leftmostcat
Copy link
Collaborator

Problem

Several dependencies are out-of-date and have transitive dependencies with security issues.

Solution

Update swagger-ui-express, connect-redis, and log-node.

Areas of Impact

App connectors.

@@ -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",
Copy link
Collaborator Author

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({
Copy link
Collaborator Author

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.

Copy link
Member

@MonkeyDo MonkeyDo left a 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.

@MonkeyDo MonkeyDo merged commit d04beb7 into master Jan 25, 2022
@MonkeyDo MonkeyDo deleted the maintenance-updates branch January 25, 2022 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants