core
core copied to clipboard
Bump passport from 0.4.1 to 0.6.0
Bumps passport from 0.4.1 to 0.6.0.
Changelog
Sourced from passport's changelog.
[0.6.0] - 2022-05-20
Added
authenticate(),req#login, andreq#logoutaccept akeepSessionInfo: trueoption 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).
[0.5.3] - 2022-05-16
Fixed
initialize()middleware extends request withlogin(),logIn(),logout(),logOut(),isAuthenticated(), andisUnauthenticated()functions again, reverting change from 0.5.1.[0.5.2] - 2021-12-16
Fixed
- Introduced a compatibility layer for strategies that depend directly on
[email protected]or earlier (such aspassport-azure-ad), which were broken by the removal of private variables in[email protected].[0.5.1] - 2021-12-15
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.[0.5.0] - 2021-09-23
Changed
initialize()middleware extends request withlogin(),logIn(),logout(),logOut(),isAuthenticated(), andisUnauthenticated()functions.
... (truncated)
Commits
c33067b0.6.03052bb4Update changelog.42630cbMerge pull request #900 from jaredhanson/fix-fixation8dd79feUse utils-merge rather than Object.assign for compatibility.4f6bd5bChange keepSessionData to keepSessionData.46756e5Silence verbose logging.987b191Add tests.f8a175fAdd tests.29a90d6No need to guard callback existence.bfba8a1Add tests.- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)