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

build(deps): update outdated dependencies #7109

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

eatyourgreens
Copy link
Contributor

@eatyourgreens eatyourgreens commented May 28, 2024

  1. Update the package lock file with npm update <pkg>, for each package listed in red by npm outdated.
  2. Bump webpack dependencies, test tooling and Babel to the latest available versions.
  3. Bump any production packages that only have minor version changes.
  4. Fix the linter.

Required Manual Testing

  • Does the non-logged in home page render correctly?
  • Does the logged in home page render correctly?
  • Does the projects page render correctly?
  • Can you load project home pages?
  • Can you load the classification page?
  • Can you submit a classification?
  • Does talk load correctly?
  • Can you post a talk comment?

Review Checklist

  • Does it work in all major browsers: Firefox, Chrome, Edge, Safari?
  • Does it work on mobile?
  • Can you npm ci and app works as expected?
  • If the component is in coffeescript, is it converted to ES6? Is it free of eslint errors? Is the conversion its own commit?
  • Are the tests passing locally and on GitHub Actions?

Optional

@coveralls
Copy link

coveralls commented May 28, 2024

Coverage Status

coverage: 56.664% (-0.3%) from 56.948%
when pulling f71f2ab on eatyourgreens:npm-update
into 2d0f81a on zooniverse:master.

@eatyourgreens
Copy link
Contributor Author

This is the list of outdated packages, after applying the updates here:

Package                  Current       Wanted  Latest  Location                          Depended by
@sentry/browser          7.100.1      7.100.1   8.5.0  node_modules/@sentry/browser      Panoptes-Front-End
chai                      4.3.10       4.3.10   5.1.1  node_modules/chai                 Panoptes-Front-End
chartist                  0.11.4       0.11.4   1.3.0  node_modules/chartist             Panoptes-Front-End
eslint                    8.55.0       8.55.0   9.3.0  node_modules/eslint               Panoptes-Front-End
eslint-plugin-react       7.33.2       7.33.2  7.34.2  node_modules/eslint-plugin-react  Panoptes-Front-End
history                    3.3.0        3.3.0   5.3.0  node_modules/history              Panoptes-Front-End
rc-slider                 8.6.13       8.6.13  10.6.2  node_modules/rc-slider            Panoptes-Front-End
react                     17.0.2       17.0.2  18.3.1  node_modules/react                Panoptes-Front-End
react-chartist            0.13.3       0.13.3  0.14.4  node_modules/react-chartist       Panoptes-Front-End
react-dom                 17.0.2       17.0.2  18.3.1  node_modules/react-dom            Panoptes-Front-End
react-helmet               5.2.1        5.2.1   6.1.0  node_modules/react-helmet         Panoptes-Front-End
react-redux                8.1.3        8.1.3   9.1.2  node_modules/react-redux          Panoptes-Front-End
react-router               3.2.6        3.2.6  6.23.1  node_modules/react-router         Panoptes-Front-End
react-select         1.0.0-rc.10  1.0.0-rc.10   5.8.0  node_modules/react-select         Panoptes-Front-End
react-sizes                1.0.4        1.0.4   2.0.0  node_modules/react-sizes          Panoptes-Front-End
redux                      4.2.1        4.2.1   5.0.1  node_modules/redux                Panoptes-Front-End
redux-thunk                2.4.2        2.4.2   3.1.0  node_modules/redux-thunk          Panoptes-Front-End
regl                      1.3.13       1.3.13   2.1.0  node_modules/regl                 Panoptes-Front-End
styled-components          4.1.3        4.1.3  6.1.11  node_modules/styled-components    Panoptes-Front-End

@eatyourgreens
Copy link
Contributor Author

For comparison, here's npm outdated for the production release:

Package                              Current       Wanted  Latest  Location                                      Depended by
@babel/cli                            7.24.1       7.24.6  7.24.6  node_modules/@babel/cli                       Panoptes-Front-End
@babel/core                           7.23.5       7.23.9  7.24.6  node_modules/@babel/core                      Panoptes-Front-End
@babel/eslint-parser                  7.23.3      7.23.10  7.24.6  node_modules/@babel/eslint-parser             Panoptes-Front-End
@babel/plugin-transform-runtime       7.23.4       7.23.9  7.24.6  node_modules/@babel/plugin-transform-runtime  Panoptes-Front-End
@babel/preset-env                     7.23.9       7.23.9  7.24.6  node_modules/@babel/preset-env                Panoptes-Front-End
@babel/preset-react                   7.23.3       7.23.3  7.24.6  node_modules/@babel/preset-react              Panoptes-Front-End
@babel/register                      7.22.15      7.22.15  7.24.6  node_modules/@babel/register                  Panoptes-Front-End
@babel/runtime                        7.23.9       7.23.9  7.24.6  node_modules/@babel/runtime                   Panoptes-Front-End
@sentry/browser                      7.100.1      7.100.1   8.5.0  node_modules/@sentry/browser                  Panoptes-Front-End
chai                                  4.3.10       4.3.10   5.1.1  node_modules/chai                             Panoptes-Front-End
chart.js                               4.4.1        4.4.3   4.4.3  node_modules/chart.js                         Panoptes-Front-End
chartist                              0.11.4       0.11.4   1.3.0  node_modules/chartist                         Panoptes-Front-End
coffee-loader                          4.0.0        4.0.0   5.0.0  node_modules/coffee-loader                    Panoptes-Front-End
copy-webpack-plugin                   11.0.0       11.0.0  12.0.2  node_modules/copy-webpack-plugin              Panoptes-Front-End
css-loader                             6.8.1        6.8.1   7.1.2  node_modules/css-loader                       Panoptes-Front-End
debounce                               2.0.0        2.0.0   2.1.0  node_modules/debounce                         Panoptes-Front-End
dompurify                              3.0.6       3.0.11   3.1.4  node_modules/dompurify                        Panoptes-Front-End
ejs                                    3.1.9       3.1.10  3.1.10  node_modules/ejs                              Panoptes-Front-End
eslint                                8.55.0       8.55.0   9.3.0  node_modules/eslint                           Panoptes-Front-End
eslint-plugin-react                   7.33.2       7.33.2  7.34.2  node_modules/eslint-plugin-react              Panoptes-Front-End
history                                3.3.0        3.3.0   5.3.0  node_modules/history                          Panoptes-Front-End
jsdom                                 23.0.1       23.0.1  24.1.0  node_modules/jsdom                            Panoptes-Front-End
markdownz                              9.1.6        9.1.7   9.1.7  node_modules/markdownz                        Panoptes-Front-End
mini-css-extract-plugin                2.8.1        2.8.1   2.9.0  node_modules/mini-css-extract-plugin          Panoptes-Front-End
mocha                                 10.2.0       10.2.0  10.4.0  node_modules/mocha                            Panoptes-Front-End
moment                                2.29.4       2.29.4  2.30.1  node_modules/moment                           Panoptes-Front-End
panoptes-client                        5.6.0        5.6.2   5.6.2  node_modules/panoptes-client                  Panoptes-Front-End
qs                                    6.11.2       6.11.2  6.12.1  node_modules/qs                               Panoptes-Front-End
rc-slider                             8.6.13       8.6.13  10.6.2  node_modules/rc-slider                        Panoptes-Front-End
react                                 17.0.2       17.0.2  18.3.1  node_modules/react                            Panoptes-Front-End
react-chartist                        0.13.3       0.13.3  0.14.4  node_modules/react-chartist                   Panoptes-Front-End
react-dom                             17.0.2       17.0.2  18.3.1  node_modules/react-dom                        Panoptes-Front-End
react-helmet                           5.2.1        5.2.1   6.1.0  node_modules/react-helmet                     Panoptes-Front-End
react-redux                            8.1.3        8.1.3   9.1.2  node_modules/react-redux                      Panoptes-Front-End
react-router                           3.2.6        3.2.6  6.23.1  node_modules/react-router                     Panoptes-Front-End
react-select                     1.0.0-rc.10  1.0.0-rc.10   5.8.0  node_modules/react-select                     Panoptes-Front-End
react-sizes                            1.0.4        1.0.4   2.0.0  node_modules/react-sizes                      Panoptes-Front-End
redux                                  4.2.1        4.2.1   5.0.1  node_modules/redux                            Panoptes-Front-End
redux-thunk                            2.4.2        2.4.2   3.1.0  node_modules/redux-thunk                      Panoptes-Front-End
regl                                  1.3.13       1.3.13   2.1.0  node_modules/regl                             Panoptes-Front-End
rimraf                                 5.0.5        5.0.7   5.0.7  node_modules/rimraf                           Panoptes-Front-End
sinon                                 17.0.1       17.0.1  18.0.0  node_modules/sinon                            Panoptes-Front-End
style-loader                           3.3.3        3.3.4   4.0.0  node_modules/style-loader                     Panoptes-Front-End
styled-components                      4.1.3        4.1.3  6.1.11  node_modules/styled-components                Panoptes-Front-End
stylus                                0.62.0       0.62.0  0.63.0  node_modules/stylus                           Panoptes-Front-End
stylus-loader                          7.1.3        7.1.3   8.1.0  node_modules/stylus-loader                    Panoptes-Front-End
svg-path-properties                    1.2.0        1.2.0   1.3.0  node_modules/svg-path-properties              Panoptes-Front-End
turndown                               7.1.2        7.1.3   7.2.0  node_modules/turndown                         Panoptes-Front-End
webpack                               5.89.0       5.89.0  5.91.0  node_modules/webpack                          Panoptes-Front-End
webpack-dev-server                    4.15.1       4.15.2   5.0.4  node_modules/webpack-dev-server               Panoptes-Front-End

@eatyourgreens
Copy link
Contributor Author

I tried running the linter too, but that made this PR very noisy (around ten thousand changes!) so I’ve left it out.

@eatyourgreens
Copy link
Contributor Author

Bumping this PR because a few packages had released new versions since I first opened it.

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