Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @inrupt/solid-client-authn-node from 2.2.4 to 2.3.0 #290

Closed

Conversation

d-a-v-i--
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade @inrupt/solid-client-authn-node from 2.2.4 to 2.3.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 4 versions ahead of your current version.

  • The recommended version was released 2 months ago.

Release notes
Package name: @inrupt/solid-client-authn-node
  • 2.3.0 - 2024-11-14

    Deprecation notice

    • A new signature is introduced for getSessionFromStorage in this release. The legacy signature is
      deprecated, and could be removed with the next major release.
    // Deprecated signature
    const session = await getSessionFromStorage(
      sessionId,
      storage,
      onNewRefreshToken,
      refresh,
    );
    // Replacement signature
    const session = await getSessionFromStorage(sessionId, {
      storage,
      onNewRefreshToken,
      refresh,
    });

    Bugfix

    node

    • The session expiration date (session.info.expirationDate) is now correct when loading a Session from storage.

    Feature

    node

    • It is now possible to build a Session using getSessionFromStorage and not log it in
      using its refresh token. To do so, a new refresh optional flag has been introduced.
      It defaults to true, which makes this a non-breaking change. In addition, a new signature
      is introduced to make it easier to provide the optional arguments:
    // Legacy signature only specifying one optional argument
    const session = await getSessionFromStorage(
    sessionId,
    undefined,
    undefined,
    false,
    );

    // New signature
    const session = await getSessionFromStorage(sessionId, { refresh: false });

    Full Changelog: v2.2.7...v2.3.0

  • 2.2.7 - 2024-10-30

    Bugfix

    node

    • The IdP logout no longer fails in Node if the session was restored from
      storage (using getSessionFromStorage), which is the typical way server-side
      sessions are retrieved.

    Full Changelog: v2.2.6...v2.2.7

  • 2.2.6 - 2024-09-18

    node and browser

    • Repository URL in package.json updated to set the repository.type property to git. This intends at
      restoring the previous behavior of npm view @ inrupt/solid-client-authn repository.url, expected to return
      git+https://github.com/inrupt/solid-client-authn-js.git.

    Full Changelog: v2.2.5...v2.2.6

  • 2.2.5 - 2024-09-16

    New Features

    • Node 22 is now supported

    Full Changelog: v2.2.4...v2.2.5

  • 2.2.4 - 2024-06-24

    Bugfixes

    node and browser

    • The clientAppId property is now correctly set in the ISessionInfo objects returned by the handleIncomingRedirect function in ClientAuthentication and in the Session class.

    node

    • The keepAlive option (introduced in v2.2.0) is now correctly observed in a script using the Client Credentials flow (i.e. using a clientId and a clientSecret to log in). It previously was disregarded, and the Session always self-refreshed in the background

    Full Changelog: v2.2.3...v2.2.4

from @inrupt/solid-client-authn-node GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @inrupt/solid-client-authn-node from 2.2.4 to 2.3.0.

See this package in npm:
@inrupt/solid-client-authn-node

See this project in Snyk:
https://app.snyk.io/org/engineering-CGCiXj96RbVotntN7wcPgV/project/3d91a167-d160-4fc3-9ae9-d18a04aef01e?utm_source=github&utm_medium=referral&page=upgrade-pr
@d-a-v-i-- d-a-v-i-- requested a review from a team as a code owner January 9, 2025 14:24
Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
authorization-management-component ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 2:28pm

@edwardsph
Copy link
Contributor

Leave this for dependabot

@edwardsph edwardsph closed this Jan 9, 2025
@edwardsph edwardsph deleted the snyk-upgrade-6ceeeff3d838dccfa2b01a2217fc31c7 branch January 9, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants