Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to the latest packages so the output of 'yarn audit' becomes useful. There is some kind of incompatibility with @types/react version 18, so restrict the packages to the latest version 17 for now. Mobx 6.13 makes tsc error out with: Error: node_modules/mobx/dist/types/observableset.d.ts(45,31): error TS2552: Cannot find name 'ReadonlySetLike'. Did you mean 'ReadonlySet'? which is issue 3903. Restrict mobx to <6.13 for now to avoid the issue. This also discovered something with the types of lodash-es, so add a type signature and a default value to avoid a TS2322 error. Before: 140 vulnerabilities found - Packages audited: 1918 Severity: 7 Low | 47 Moderate | 70 High | 16 Critical After: 35 vulnerabilities found - Packages audited: 1976 Severity: 2 Low | 13 Moderate | 16 High | 4 Critical
- Loading branch information