Closed dutterbutter closed 1 year ago
We should also remove the redundant Notion libs being used as per this comment from @AtelyPham
I think we can address this in another task because currently, we need to use @notion/client
for the blog pages and notion-client
for the Privacy and Term pages. We utilized a library called react-notion-x
to render the content, but it's only compatible with the notion-client
API. By compatible, I mean that there's no need for any calculations on the response; we can directly pass the response into react-notion-x
to render the UI. Therefore, we need to update the code itself to remove one of these two libraries, not just their dependencies. Please let me know if anything is unclear.
Overview
Being a monorepo we have to be pay close attention to our dependencies. Doing a quick review of the current state of dependencies the following table outlines all the outdated dependencies. Of those outdated dependencies, we have 54 that are considered High or Critical.
Relevant commands: Display deps vulnerabilities
yarn audit
Upgrade deps interactively
yarn upgrade-interactive --latest
Task Checklist