Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
axios (source) overrides minor 1.7.9 -> 1.8.0 OpenSSF Scorecard

Release Notes

axios/axios (axios)

v1.8.0

Compare Source

Bug Fixes
Features
Reverts
BREAKING CHANGES
  • code relying on the above will now combine the URLs instead of prefer request URL

  • feat: add config option for allowing absolute URLs

  • fix: add default value for allowAbsoluteUrls in buildFullPath

  • fix: typo in flow control when setting allowAbsoluteUrls

Contributors to this release

1.7.9 (2024-12-04)

Reverts
Contributors to this release

1.7.8 (2024-11-25)

Bug Fixes
Contributors to this release

1.7.7 (2024-08-31)

Bug Fixes
  • fetch: fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; (#​6584) (d198085)
  • http: fixed support for IPv6 literal strings in url (#​5731) (364993f)
Contributors to this release

1.7.6 (2024-08-30)

Bug Fixes
Contributors to this release

1.7.5 (2024-08-23)

Bug Fixes
  • adapter: fix undefined reference to hasBrowserEnv (#​6572) (7004707)
  • core: add the missed implementation of AxiosError#status property; (#​6573) (6700a8a)
  • core: fix ReferenceError: navigator is not defined for custom environments; (#​6567) (fed1a4b)
  • fetch: fix credentials handling in Cloudflare workers (#​6533) (550d885)
Contributors to this release

1.7.4 (2024-08-13)

Bug Fixes
Contributors to this release

1.7.3 (2024-08-01)

Bug Fixes
Contributors to this release

1.7.2 (2024-05-21)

Bug Fixes
Contributors to this release

1.7.1 (2024-05-20)

Bug Fixes
  • fetch: fixed ReferenceError issue when TextEncoder is not available in the environment; (#​6410) (733f15f)
Contributors to this release

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by Sourcery

Chores:

  • Update the axios dependency from version 1.7.9 to 1.8.0.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot enabled auto-merge (squash) February 26, 2025 08:33
Copy link

sourcery-ai bot commented Feb 26, 2025

Reviewer's Guide by Sourcery

This pull request updates the axios dependency from version 1.7.9 to 1.8.0. The update includes a new configuration option for ignoring absolute URLs, several bug fixes, and the reversion of a change related to exposing fromDataToStream. The changes are implemented by modifying the package.json and bun.lock files to reflect the new version of axios.

Sequence diagram for handling absolute URLs with the new configuration

sequenceDiagram
    participant Client
    participant Axios
    participant buildFullPath

    Client->>Axios: Make HTTP request with absolute URL
    Axios->>buildFullPath: Check allowAbsoluteUrls in config
    alt allowAbsoluteUrls is true
        buildFullPath-->>Axios: Return absolute URL
        Axios-->>Client: Send request with absolute URL
    else allowAbsoluteUrls is false
        buildFullPath-->>Axios: Throw error
        Axios-->>Client: Return error
    end
Loading

Updated class diagram for Axios configuration

classDiagram
    class AxiosConfig {
        +allowAbsoluteUrls: boolean
        +baseURL: string
        +paramsSerializer: function
    }
    note for AxiosConfig "Added allowAbsoluteUrls configuration option"
Loading

File-Level Changes

Change Details Files
The dependency axios was updated from version 1.7.9 to 1.8.0.
  • Updated axios to version 1.8.0 in package.json.
  • Updated axios to version 1.8.0 in bun.lock.
package.json
bun.lock
Added a configuration option to ignore absolute URLs.
  • Introduced a new configuration option for ignoring absolute URLs, enhancing flexibility in URL handling.
Addressed multiple bug fixes.
  • Addressed an issue where the application crashed when navigating examples in the browser.
  • Corrected a missing word in the SUPPORT_QUESTION.yml file.
  • Replaced getRandomValues with the crypto module for improved security and reliability.
Reverted a change related to exposing fromDataToStream.
  • Reverted the exposure of fromDataToStream to prevent unexpected behavior.

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

Copy link

📦 Packages

Package Install
React bun add @settlemint/settlemint/solidity-supplychain@7.12.4-prba4efd5

@renovate renovate bot merged commit b863e48 into main Feb 26, 2025
3 checks passed
@renovate renovate bot deleted the renovate/axios-1.x branch February 26, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants