This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Commit 1a4a3b7
authored
chore: align external dep ranges with core monorepo (#598)
* chore: align external dep ranges with core monorepo
Core's `yarn.config.cjs` enforces consistent version ranges for
every external dep across all monorepo packages
(`expectConsistentDependenciesAndDevDependencies`). This PR aligns
6 of 7 remaining drift points so the migrated package doesn't fail
constraints.
- @babel/runtime ^7.24.1 -> ^7.23.9
- @lavamoat/allow-scripts ^3.2.1 -> ^3.0.4
- @types/eslint ^9.6.1 -> ^8.44.7
- @types/lodash ^4.14.194-> ^4.14.191
- @types/node ^18.19.17-> ^16.18.54
- typescript-eslint ^8.39.0 -> ^8.48.0
`nock` is intentionally NOT aligned: downgrading from `^14.0.0-beta.7`
to core's `^13.3.1` makes 22 tests fail with HTTP 500s (the mock
interceptors aren't matching). Will need to add `nock` to
ALLOWED_INCONSISTENT_DEPENDENCIES in core during Phase B, or upgrade
core to v14 separately.
Lint, build, and 196/196 tests remain green.
* chore: drop @types/node — unused
Source has no direct Node API usage (no fs/path/crypto/process/Buffer
references; tsconfig lib is ["ES2020", "DOM"]). Transitive consumers
that need Node types (jest, etc.) install their own copy.
Build, lint, and 196/196 tests all pass without it.
* chore: drop @types/eslint, @types/jest, @types/lodash — unused
Source doesn't import any of these directly. jest 29 ships its
own types via @jest/globals; lodash/eslint types come in
transitively. tsconfig has `skipLibCheck: true` so missing
declaration files for these aren't checked anyway.
Build, lint, and 196/196 tests all pass without them.
* chore: bump @metamask/profile-sync-controller to ^28.2.0 (core caught up)1 parent af98784 commit 1a4a3b7
3 files changed
Lines changed: 375 additions & 549 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 80 | | |
85 | 81 | | |
86 | 82 | | |
| |||
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
100 | | - | |
| 96 | + | |
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
| |||
0 commit comments