web
web copied to clipboard
Bump passport and koa-passport
Bumps passport to 0.6.0 and updates ancestor dependency koa-passport. These dependencies need to be updated together.
Updates 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
Updates koa-passport from 4.1.3 to 5.0.0
Changelog
Sourced from koa-passport's changelog.
5.0.0
- upgrade
passportto 0.64.1.4
- add
ipto the Koactxdelegates #157
Commits
0608284upgrade to passport 0.6.0e2340e9Merge pull request #159 from rkusa/dependabot/add-v2-config-file0ed8a96Update .github/dependabot.ymle8bcbbdUpgrade to GitHub-native Dependabot2e29683bump version to 4.1.452296abupgrade dev dependenciesf2d4934Merge pull request #157 from tommoor/patch-1b20ee8eMove position of ip in block9050920fix: Add missing "ip" to request proxy object7cc1f2cMerge pull request #131 from rkusa/dependabot/npm_and_yarn/supertest-tw-4.0.2- Additional commits viewable in compare view
You can trigger a rebase of this PR 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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.