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

Update dependency axios to v1.7.8 #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
axios (source) 1.4.0 -> 1.7.8 age adoption passing confidence

Release Notes

axios/axios (axios)

v1.7.8

Compare Source

Bug Fixes
Contributors to this release

v1.7.7

Compare Source

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

v1.7.6

Compare Source

Bug Fixes
Contributors to this release

v1.7.5

Compare Source

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

v1.7.4

Compare Source

Bug Fixes
Contributors to this release

v1.7.3

Compare Source

Bug Fixes
Contributors to this release

v1.7.2

Compare Source

Bug Fixes
Contributors to this release

v1.7.1

Compare Source

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

v1.7.0

Compare Source

Features
Bug Fixes
Contributors to this release

v1.6.8

Compare Source

Bug Fixes
  • AxiosHeaders: fix AxiosHeaders conversion to an object during config merging (#​6243) (2656612)
  • import: use named export for EventEmitter; (7320430)
  • vulnerability: update follow-redirects to 1.15.6 (#​6300) (8786e0f)
Contributors to this release

v1.6.7

Compare Source

Bug Fixes
  • capture async stack only for rejections with native error objects; (#​6203) (1a08f90)
Contributors to this release

v1.6.6

Compare Source

Bug Fixes
Contributors to this release

v1.6.5

Compare Source

Bug Fixes
Contributors to this release

v1.6.4

Compare Source

Bug Fixes
  • security: fixed formToJSON prototype pollution vulnerability; (#​6167) (3c0c11c)
  • security: fixed security vulnerability in follow-redirects (#​6163) (75af1cd)
Contributors to this release

v1.6.3

Compare Source

Bug Fixes
Contributors to this release

v1.6.2

Compare Source

Features
  • withXSRFToken: added withXSRFToken option as a workaround to achieve the old withCredentials behavior; (#​6046) (cff9967)
PRs
  • feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( #​6046 )

📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour. 
You should now use withXSRFToken along with withCredential to get the old behavior.
This functionality is considered as a fix.
Contributors to this release

v1.6.1

Compare Source

Bug Fixes
  • formdata: fixed content-type header normalization for non-standard browser environments; (#​6056) (dd465ab)
  • platform: fixed emulated browser detection in node.js environment; (#​6055) (3dc8369)
Contributors to this release

v1.6.0

Compare Source

Bug Fixes
PRs

⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
Contributors to this release

1.5.1 (2023-09-26)

Bug Fixes
  • adapters: improved adapters loading logic to have clear error messages; (#​5919) (e410779)
  • formdata: fixed automatic addition of the Content-Type header for FormData in non-browser environments; (#​5917) (bc9af51)
  • headers: allow content-encoding header to handle case-insensitive values (#​5890) (#​5892) (4c89f25)
  • types: removed duplicated code (9e62056)
Contributors to this release
PRs

⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459

v1.5.1

Compare Source

Bug Fixes
  • adapters: improved adapters loading logic to have clear error messages; (#​5919) (e410779)
  • formdata: fixed automatic addition of the Content-Type header for FormData in non-browser environments; (#​5917) (bc9af51)
  • headers: allow content-encoding header to handle case-insensitive values (#​5890) (#​5892) (4c89f25)
  • types: removed duplicated code (9e62056)
Contributors to this release

v1.5.0

Compare Source

Bug Fixes
  • adapter: make adapter loading error more clear by using platform-specific adapters explicitly (#​5837) (9a414bb)
  • dns: fixed cacheable-lookup integration; (#​5836) (b3e327d)
  • headers: added support for setting header names that overlap with class methods; (#​5831) (d8b4ca0)
  • headers: fixed common Content-Type header merging; (#​5832) (8fda276)
Features
Contributors to this release

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate bot changed the title Update dependency axios to v1.5.0 Update dependency axios to v1.5.1 Sep 26, 2023
@renovate renovate bot changed the title Update dependency axios to v1.5.1 Update dependency axios to v1.6.0 Oct 26, 2023
@renovate renovate bot changed the title Update dependency axios to v1.6.0 Update dependency axios to v1.6.1 Nov 8, 2023
@renovate renovate bot changed the title Update dependency axios to v1.6.1 Update dependency axios to v1.6.2 Nov 14, 2023
@renovate renovate bot changed the title Update dependency axios to v1.6.2 Update dependency axios to v1.6.3 Dec 27, 2023
@renovate renovate bot changed the title Update dependency axios to v1.6.3 Update dependency axios to v1.6.4 Jan 4, 2024
@renovate renovate bot changed the title Update dependency axios to v1.6.4 Update dependency axios to v1.6.5 Jan 5, 2024
@renovate renovate bot changed the title Update dependency axios to v1.6.5 Update dependency axios to v1.6.6 Jan 25, 2024
@renovate renovate bot force-pushed the renovate/axios-1.x branch 2 times, most recently from 44e3b74 to 83940a5 Compare January 25, 2024 22:45
@renovate renovate bot changed the title Update dependency axios to v1.6.6 Update dependency axios to v1.6.7 Jan 25, 2024
@renovate renovate bot changed the title Update dependency axios to v1.6.7 Update dependency axios to v1.6.8 Mar 15, 2024
@renovate renovate bot changed the title Update dependency axios to v1.6.8 Update dependency axios to v1.7.0 May 19, 2024
@renovate renovate bot changed the title Update dependency axios to v1.7.0 Update dependency axios to v1.7.1 May 20, 2024
@renovate renovate bot changed the title Update dependency axios to v1.7.1 Update dependency axios to v1.7.2 May 21, 2024
@renovate renovate bot changed the title Update dependency axios to v1.7.2 Update dependency axios to v1.7.3 Aug 1, 2024
@renovate renovate bot changed the title Update dependency axios to v1.7.3 Update dependency axios to v1.7.4 Aug 13, 2024
@renovate renovate bot changed the title Update dependency axios to v1.7.4 Update dependency axios to v1.7.5 Aug 23, 2024
Copy link

coderabbitai bot commented Aug 28, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes involve updates to the axios dependency in the devDependencies section of the package.json file. The version has been upgraded multiple times from 1.4.0 to 1.7.7, reflecting a series of enhancements in the library used for making HTTP requests in JavaScript applications.

Changes

Files Change Summary
package.json Updated axios version from 1.4.0 to 1.7.7

Sequence Diagram(s)

(No sequence diagrams generated as the changes are too simple.)

Poem

🐰 In the code where bunnies hop,
Axios leaped, it couldn't stop!
From 1.4 to 1.7,
A sprightly jump to code heaven!
With every request, swift and bright,
Our HTTP dreams take flight! 🌟


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c376e12 and 5c5e438.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • package.json (1 hunks)
Additional comments not posted (1)
package.json (1)

27-27: Approve the version update of axios.

The update from 1.4.0 to 1.7.5 in axios brings important bug fixes and new features which could enhance the functionality and security of the application.

The version update is approved.

Consider verifying the application's compatibility with the new axios version. This includes checking for any breaking changes that might affect existing functionality.

Verification successful

No issues found with axios update.

The axios usage in the codebase does not involve any deprecated methods or properties that would be affected by the update to version 1.7.5. It's recommended to test the application to ensure full compatibility.

  • File: req.js shows usage of axios without deprecated features.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the application's compatibility with the new `axios` version.

# Test: Search for `axios` usage in the application. Expect: No deprecated methods or properties.
rg --type json -A 5 $'axios'

Length of output: 1426


Script:

#!/bin/bash
# Description: Search for `axios` usage in JavaScript or TypeScript files to verify compatibility with the new version.

# Test: Search for `axios` usage in the application code. Expect: No deprecated methods or properties.
rg --type js --type ts -A 5 'axios'

Length of output: 392

package.json Outdated
@@ -24,7 +24,7 @@
"ramda": "^0.29.0"
},
"devDependencies": {
"axios": "1.4.0",
"axios": "1.7.5",
Copy link

Choose a reason for hiding this comment

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

Check for changes in axios usage.

The PR notes mention that withXSRFToken has replaced the withCredentials behavior. Ensure that all instances of withCredentials are reviewed and updated if necessary.

Would you like me to help update the usage of withCredentials to withXSRFToken across the application? I can generate the necessary changes or open a GitHub issue to track this task.

@renovate renovate bot changed the title Update dependency axios to v1.7.5 Update dependency axios to v1.7.6 Aug 30, 2024
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 5c5e438 and b1e83ef.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • package.json (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • package.json

@renovate renovate bot changed the title Update dependency axios to v1.7.6 Update dependency axios to v1.7.7 Aug 31, 2024
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b1e83ef and bbaa8c4.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • package.json (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • package.json

@renovate renovate bot changed the title Update dependency axios to v1.7.7 Update dependency axios to v1.7.8 Nov 25, 2024
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.

0 participants