Skip to content

Commit c42dc00

Browse files
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

File tree

calm-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"commander": "^14.0.0",
3434
"copyfiles": "^2.4.1",
3535
"express": "^4.18.2",
36-
"express-rate-limit": "^8.2.2"
36+
"express-rate-limit": "^8.5.0"
3737
},
3838
"devDependencies": {
3939
"@types/express": "^5.0.0",

package-lock.json

Lines changed: 8 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"lodash": "^4.18.1",
8686
"lodash-es": "^4.18.1",
8787
"picomatch": "^4.0.4",
88+
"postcss": "^8.5.10",
8889
"@semantic-release/npm": {
8990
"npm": "11.12.1"
9091
},

0 commit comments

Comments
 (0)