Copy-pastable:
**Upgrading Dependencies**: Find out-of-date dependencies using `pnpm outdated` and group them into small logical groups that should be upgraded together. For each group, look up online the changes between the current version and the latest stable version, see if our code needs to be updated, then upgrade the dependencies, make the required changes in the code, and ensure all the tests still pass.