nci-hcmi-catalog / portal

HCMI Searchable Catalog Portal
https://hcmi-searchable-catalog.nci.nih.gov/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

🔒️ Fix Dependabot Alerts & Prepare for Node.js Upgrade (#990) (#991) #993

Closed mistryrn closed 2 years ago

mistryrn commented 2 years ago

Upgrade (almost) ALL the dependencies! 🎉

Dozens of dependency upgrades to resolve nearly 50 Dependabot alerts for #990 . Notable upgrades include: react-scripts, emotion, and babel. Also enables the app to build and run on the latest LTS Node.js v16 for #991 .

Due to major version change of emotion, all css and styled imports in the UI had to be updated.

There are LOTS of new linter warnings, but those will be resolved in a future PR.

Deploy Instructions

Unknown at this time. May require clearing the node_modules directories in each project before doing the yarn install. Will be tested on collab to find out.

UPDATE 05/30/2022: after testing the deploy on collab, no extra steps were required. It was noted, however, that build times take much longer.

UPDATE 05/31/2022: a subsequent PR has been created to fix all the new linter warnings that have sprung up following the dependency upgrades. This appears to have improved build times a bit: https://github.com/nci-hcmi-catalog/portal/pull/994

Commits

⬆️ Upgrade express-restify-mongoose to v6.1.2 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade migrate-mongo to v8.2.2 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade moment-timezone to v0.5.34 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade nodemon to v2.0.16 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade yup to v0.32.11 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade googleapis to v100 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade json-schema to v0.4.0 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade eslint to v7.32.0 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade mpath to v0.8.4 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade react-scripts, Enable Node.js v16 Upgrade (https://github.com/nci-hcmi-catalog/portal/issues/990) (https://github.com/nci-hcmi-catalog/portal/issues/991)

💚 Fix yarn.lock file (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade @babel/cli and other dependencies (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade react-app-polyfill (https://github.com/nci-hcmi-catalog/portal/issues/990)

➖ Remove unused express-inspector dependency (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade babel-jest, jest, and yargs in data_model (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬆️ Upgrade selfsigned (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force immer to v9.0.14 (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force ansi-html to v0.0.9 (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force browserslist to v4.20.3 (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force graphiql to v1.9.3 (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force isomorphic-fetch to v3.0.0 (https://github.com/nci-hcmi-catalog/portal/issues/990)

⬇️ Bump graphiql forced resolution down to v1.7.2 (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force glob-parent to v6.0.2 (https://github.com/nci-hcmi-catalog/portal/issues/990)

🔒️ Force css-select to v4.3.0 (https://github.com/nci-hcmi-catalog/portal/issues/990)