Patch Changes
- Fix a bug in which a dependency that is both optional for one package but non-optional for another is omitted when
optional=false
#8066. - Clear resolution cache before starting peer dependencies resolution #8109.
- Reduce memory usage by peer dependencies resolution #8072.