Commit c42dc00
committed
chore(deps): bump express-rate-limit and override postcss for security
Clears two Dependabot alerts on the root package-lock.json:
- alert #303 / GHSA-v2v4-37r5-5v8g (ip-address): bump
calm-server's express-rate-limit pin to ^8.5.0; the new version
declares ip-address: ^10.2.0 directly, which pulls in a patched
copy at the top level. Cleaner than an override and avoids the
resolution issues seen when the override prevented npm from
installing ip-address at all (caught by the calm-server test
suite, which uses express-rate-limit at runtime).
- alert #287 / GHSA-qx2v-qp2m-jg93 (postcss): add a postcss: ^8.5.10
override. The top-level postcss is already at 8.5.10; the alert
came from node_modules/next/node_modules/postcss@8.4.31 (Next
15.5.15 pins exact 8.4.31). The stale lockfile entry was holding
the vulnerable copy in place and has been removed so npm
re-resolves under the override - next now uses the hoisted
top-level postcss@8.5.10.1 parent 298ecda commit c42dc00
3 files changed
Lines changed: 10 additions & 98 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments