Commit b98d0fd
authored
Bumped lodash to 4.18.1 in ghost/core + override (TryGhost#27589)
no ref
Two changes work together to clear all 3 lingering `lodash` advisories:
1. `ghost/core` direct dep: `lodash` `4.17.23` → `4.18.1`
2. Root `pnpm.overrides`: `"lodash@<4.18.0": "^4.18.0"`
The direct edit alone was not enough — transitive consumers `@tryghost/limit-service` (in `admin-x-settings`) and `@testing-library/jest-dom` (in `admin-x-framework`) still pulled `lodash@4.17.x`, keeping the high and moderate advisories alive. The override forces every `lodash` consumer in the tree to `>=4.18.0`, collapsing the resolved tree to a single `lodash@4.18.1` instance.
`lodash` 4.17 → 4.18 is a minor bump within the 4.x major; the API and function signatures are unchanged.
The override is removable when `@tryghost/limit-service` and `@testing-library/jest-dom` each ship a release that declares `lodash >=4.18.0` directly.1 parent c30d940 commit b98d0fd
3 files changed
Lines changed: 85 additions & 93 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
0 commit comments