hasOwnProperty
serialize
without options, use obj.hasOwnProperty
when parsingmain
to package.json
for rspackpartitioned
to cookie
optionspriority
to cookie
optionssecret
that crypto.createHmac
supportsexpires
option to reject invalid datesres.end
patch to always commit headersSameSite=None
supportcookie.originalMaxAge
when store returns Date
data
option to Cookie
constructorcookie.maxAge
value earliercookie.maxAge
to a Date
objectresave: false
may not save altered sessionsutils-merge
dependencysafe-buffer
for improved Buffer APISet-Cookie
as cookie header name for compatibilityeval
usage with Function
constructorprocess
to check for listenersres.writeHead
patch missing return valueRegExp
=
TypeError
when req.url
is an empty stringBuffer
loadingDEBUG_MAX_ARRAY_LENGTH
base64-url
dependencyDEBUG_FD
set to 1
or 2
Buffer.from
when availableDEBUG_FD
environment variablesameSite
option to actually alter the Set-Cookie
EventEmitter
class in Store
base classSet-Cookie
Expires
was not always updatedreq.session
objectsameSite
optionencode
is not a functionexpires
is not a Date
random-bytes
for byte sourcerolling: true
to not set cookie when no session exists
saveUninitialized: false
+ rolling: true
behaviorMax-Age
to never be a floating point number'auto'
in the cookie.secure
optionserialize
options.secret
valuesecret
option for key rotationcrypto.randomBytes
, if availablemz
store.touch
interface for session storesMemoryStore
expiration with resave: false
req.sessionID
contains a non-string valueDEBUG_FD
env variable supportcrc
instead of buffer-crc32
for speedreq.session.save
non-enumerableres.end(null)
callsres.end
patch to call correct upstream res.write
Error.stackTraceLimit
is too lownext(err)
instead of console.error
TRACE_DEPRECATION
environment variable--no-deprecation
argument--trace-deprecation
argumentreq.originalUrl
resave
optionsaveUninitialized
optionres.end
patch to return correct valueres.end
patch to handle multiple res.end
callsreq.secret
deprecation messagecookie-parser
middlewarereq.secret
cookie-parser
no longer requiredres.cookie
no longer requireduid-safe
, faster and even less collisionsgenid
option to generate custom session IDssaveUninitialized
option to control saving uninitialized sessionsunset
option to control unsetting req.session
rand-token
by default; reduce collisionsresave
such that resave: true
worksresave
option to control saving unmodified sessionsname
option; replacement for key
optionsetImmediate
in MemoryStore for node.js >= 0.10res.cookie()
instead of res.setHeader()
package.json
package.json
connect