Skip to content

fix: handle Infinity/NaN maxAge in res.cookie() without crashing#7287

Open
Mohammad-Faiz-Cloud-Engineer wants to merge 2 commits into
expressjs:masterfrom
Mohammad-Faiz-Cloud-Engineer:master
Open

fix: handle Infinity/NaN maxAge in res.cookie() without crashing#7287
Mohammad-Faiz-Cloud-Engineer wants to merge 2 commits into
expressjs:masterfrom
Mohammad-Faiz-Cloud-Engineer:master

fix: add tests and clarify typeof guard in res.cookie() maxAge handling

1c53e59
Select commit
Loading
Failed to load commit list.
Socket Security / Socket Security: Project Report succeeded Jun 12, 2026 in 8s

Project Report: Success

Report Status Message
Project report View full report

Click through to the see the full socket security project report page for this commit to see information about every dependency in this project.