chore(deps): update dependency passport --> ^0.6.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
passport (source) | ^0.5.0 -> ^0.6.0 |
Release Notes
jaredhanson/passport
v0.6.0
Added
-
authenticate()
,req#login
, andreq#logout
accept akeepSessionInfo: true
option to keep session information after regenerating the session.
Changed
-
req#login()
andreq#logout()
regenerate the the session and clear session information by default. -
req#logout()
is now an asynchronous function and requires a callback function as the last argument.
Security
- Improved robustness against session fixation attacks in cases where there is physical access to the same system or the application is susceptible to cross-site scripting (XSS).
v0.5.3
Fixed
-
initialize()
middleware extends request withlogin()
,logIn()
,logout()
,logOut()
,isAuthenticated()
, andisUnauthenticated()
functions again, reverting change from 0.5.1.
v0.5.2
Fixed
- Introduced a compatibility layer for strategies that depend directly on
passport@0.4.x
or earlier (such aspassport-azure-ad
), which were broken by the removal of private variables inpassport@0.5.1
.
v0.5.1
Added
- Informative error message in session strategy if session support is not available.
Changed
-
authenticate()
middleware, rather thaninitialize()
middleware, extends request withlogin()
,logIn()
,logout()
,logOut()
,isAuthenticated()
, andisUnauthenticated()
functions.
Configuration
-
If you want to rebase/retry this MR, check this box.
Edited by FW Serviceworker