DemocracyLab / DemocracyLab/CivicTechExchange

Application is using many old dependencies that need to be updated

Open
#1,030 3 comments 0 reactions 0 assignees View on GitHub
Full Stack
Dominant language
JavaScript
Stars
105
Forks
71
PR merge metrics
No merged PRs in 30d

Description

When viewing the dependencies of the project, both backend dependencies (`requirements.txt`) and frontend dependencies (`package.json`) I see many packages are still using very old versions, examples:
`gunicorn`: current version 19.6, latest version is 21.2
`redis`: current version 3.5.3, latest version is 5.0.0
`webpack`: current version is 4, latest version is 5
`flow-bin`: current version is 0.75, latest version is 0.215.1
and many others

I plan to contribute to this issue by updating packages one-by-one in separate PRs, that is each PR will upgrade one dependency whether backend or frontend.

We need to upgrade these packages:
- [ ] #1031
- [ ] dj-database-url
- [ ] better to pin Django to 4.2.4
- [ ] django-allauth
- [ ] django-appconf
- [ ] django-compressor
- [ ] django-cors-headers
- [ ] django-debreach
- [ ] django-registration
- [ ] django-rq
- [ ] django-s3direct
- [ ] django-storages
- [ ] django-timezone-field
- [ ] docutils
- [ ] gunicorn
- [ ] jmespath
- [ ] psutil
- [ ] psycopg2 to psycopg 3
- [ ] rcssmin
- [ ] redis
- [ ] requests
- [ ] rq
- [ ] simplejson
- [ ] six
- [ ] whitenoise
And frontend packages:
- [ ] babel packages
- [ ] @svgr/webpack
- [ ] @tryghost/content-api
- [ ] aws-sdk migration to modularized v3
- [ ] remove bluebird
- [ ] core-js
- [ ] css-loader
- [ ] flow-bin
- [ ] jest dependencies
- [ ] webpack and its plugins
- [ ] prettier
- [ ] react to v18
- [ ] react-bootstrap
- [ ] react-datepicker
- [ ] react-file-drop
- [ ] react-helmet
- [ ] react-google-recaptcha
- [ ] react-image-crop
- [ ] react-markdown
- [ ] react-select
- [ ] react-sortablejs
- [ ] regenerator-runtime
- [ ] repeating

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.