- deps: [email protected]
- Fix object assignment of
hasOwnProperty
- Fix object assignment of
- deps: [email protected]
- Allow leading dot for domain
- Although not permitted in the spec, some users expect this to work and user agents ignore the leading dot according to spec
- Add fast path for
serialize
without options, useobj.hasOwnProperty
when parsing
- Allow leading dot for domain
- deps: [email protected]
- perf: parse cookies ~10% faster
- fix: narrow the validation of cookies to match RFC6265
- fix: add
main
topackage.json
for rspack
- deps: [email protected]
- Add
partitioned
option
- Add
- deps: [email protected]
- Add
priority
option - Fix
expires
option to reject invalid dates - pref: improve default decode speed
- pref: remove slow string split in parse
- Add
- deps: [email protected]
- pref: read value only when assigning in parse
- pref: remove unnecessary regexp in parse
- deps: [email protected]
- deps: [email protected]
- perf: normalize
secret
argument only once
- deps: [email protected]
- perf: use for loop in parse
- deps: [email protected]
- perf: enable strict mode
- perf: use for loop in parse
- perf: use string concatenation for serialization
- deps: [email protected]
- perf: enable strict mode
- Accept array of secrets in addition to a single secret
- Fix
JSONCookie
to returnundefined
for non-string arguments - Fix
signedCookie
to returnundefined
for non-string arguments - deps: [email protected]
- deps: [email protected]
- Slight optimizations
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- fix for timing attacks
- actually export
signedCookie
- add
signedCookie
export for single cookie unsigning
- export parsing functions
req.cookies
andreq.signedCookies
are now plain objects- slightly faster parsing of many cookies
- Support for NodeJS version 0.8
- deps: [email protected]
- Fix for maxAge == 0
- made compat with expires field
- tweak maxAge NaN error message
- add missing dependencies
- Genesis from
connect