GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix(cookies): do not serialize a finite maxAge outside the long long range by waw666waw666 · Pull Request #6244 · nodejs/undici ConversationThis relates to...Relates to #5832 and #6123, which fixed the same class of problem for the RationaleThe import { Headers, setCookie } from 'undici' const headers = new Headers() setCookie(headers, { name: 'session', value: 'value', maxAge: 2 ** 64 }) headers.get('set-cookie') // 'session=value; Max-Age=0' -- the cookie is deleted immediately
ChangesBug Fixes
Breaking Changes and DeprecationsN/A. The only behavior change is for inputs that previously produced an arbitrary wrapped Status
TestsNew cases in
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…range Signed-off-by: waw666waw666 <[email protected]>
mcollina
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #6244 +/- ## ========================================== + Coverage 91.72% 91.73% +0.01% ========================================== Files 113 113 Lines 44835 44861 +26 ========================================== + Hits 41124 41155 +31 + Misses 3711 3706 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.