Skip to content

chore(deps): update peerdependency axios to ^0.28.0 [security]#45

Open
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/npm-axios-vulnerability
Open

chore(deps): update peerdependency axios to ^0.28.0 [security]#45
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/npm-axios-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2024

This PR contains the following updates:

Package Change Age Confidence
axios (source) ^0.27.2^0.28.0 age confidence

GitHub Vulnerability Alerts

CVE-2023-45857

An issue discovered in Axios 0.8.1 through 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.


Release Notes

axios/axios (axios)

v0.28.0

Compare Source

Release notes:

Bug Fixes
Backports from v1.x:
  • Allow null indexes on formSerializer and paramsSerializer v0.x (#​4961)
  • Fixing content-type header repeated #​4745
  • Fixed timeout error message for HTTP 4738
  • Added axios.formToJSON method (#​4735)
  • URL params serializer (#​4734)
  • Fixed toFormData Blob issue on node>v17 #​4728
  • Adding types for progress event callbacks #​4675
  • Fixed max body length defaults #​4731
  • Added data URL support for node.js (#​4725)
  • Added isCancel type assert (#​4293)
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config (#​4721)
  • Add string[] to AxiosRequestHeaders type (#​4322)
  • Allow type definition for axios instance methods (#​4224)
  • Fixed AxiosError stack capturing; (#​4718)
  • Fixed AxiosError status code type; (#​4717)
  • Adding Canceler parameters config and request (#​4711)
  • fix(types): allow to specify partial default headers for instance creation (#​4185)
  • Added blob to the list of protocols supported by the browser (#​4678)
  • Fixing Z_BUF_ERROR when no content (#​4701)
  • Fixed race condition on immediate requests cancellation (#​4261)
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance #​4248
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#​4229)
  • Fix TS definition for AxiosRequestTransformer (#​4201)
  • Use type alias instead of interface for AxiosPromise (#​4505)
  • Include request and config when creating a CanceledError instance (#​4659)
  • Added generic TS types for the exposed toFormData helper (#​4668)
  • Optimized the code that checks cancellation (#​4587)
  • Replaced webpack with rollup (#​4596)
  • Added stack trace to AxiosError (#​4624)
  • Updated AxiosError.config to be optional in the type definition (#​4665)
  • Removed incorrect argument for NetworkError constructor (#​4656)

Configuration

📅 Schedule: Branch creation - "" (UTC), 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 added the dependencies label Aug 6, 2024
@changeset-bot
Copy link

changeset-bot bot commented Aug 6, 2024

⚠️ No Changeset found

Latest commit: 6bcfb6d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Aug 6, 2024

Important

Review skipped

Bot user detected.

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

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5a06c70c-2fed-4308-aa74-8b7ed180073c

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This update primarily involves an enhancement to the peerDependencies in the package.json file, specifically upgrading the axios package from version ^0.27.2 to ^0.28.0. This change indicates a shift to a newer version of the axios library, which may include improvements or changes in functionality compared to the previous version. Overall, the structure and other dependencies in package.json remain unchanged.

Changes

File Change Summary
package.json Updated peerDependencies: axios from ^0.27.2 to ^0.28.0

Poem

🐰 In the garden of code, a change has been made,
Upgrading the axios, a bright new cascade.
With fixes and features, it hops up with glee,
Bringing joy to developers, as happy as me!
Let's dance with the bytes, let the errors take flight,
For a smoother tomorrow, our code shines so bright! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch renovate/npm-axios-vulnerability
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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 a473893 and c2f985c.

Files selected for processing (1)
  • package.json (1 hunks)
Additional comments not posted (1)
package.json (1)

54-55: LGTM! But verify for breaking changes.

The update to axios version ^0.28.0 addresses a security vulnerability and includes several improvements.

However, ensure that this update does not introduce breaking changes in the codebase.

Verification successful

Verification Successful: No Breaking Changes Found

The update to axios version ^0.28.0 does not introduce breaking changes in the codebase. The post method used in the code remains compatible with the new version.

  • test/index.test.js: Mocking axios.post
  • src/index.js: Using axios.post to make a POST request
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that the update to axios version ^0.28.0 does not introduce breaking changes.

# Test: Search for axios usage in the codebase. Expect: No breaking changes.
rg --type js --type ts --type vue 'axios'

Length of output: 69


Script:

#!/bin/bash
# Description: Verify that the update to axios version ^0.28.0 does not introduce breaking changes.

# Test: Search for axios usage in the codebase. Expect: No breaking changes.
rg --type js --type ts --type jsx --type tsx 'axios'

Length of output: 80


Script:

#!/bin/bash
# Description: Verify that the update to axios version ^0.28.0 does not introduce breaking changes.

# Test: Search for axios usage in the codebase. Expect: No breaking changes.
rg --type js --type ts 'axios'

Length of output: 174


Script:

#!/bin/bash
# Extract relevant code segments where axios is used for inspection.

# Extract from test/index.test.js
echo "test/index.test.js:"
rg 'axios' test/index.test.js -A 5

# Extract from src/index.js
echo "src/index.js:"
rg 'axios' src/index.js -A 5

Length of output: 656

@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.28.1 [security] Oct 9, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from c2f985c to af47417 Compare October 9, 2024 11:14
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.1 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Oct 9, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from af47417 to 2faac7b Compare October 9, 2024 12:38
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.28.1 [security] Oct 28, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch 2 times, most recently from f39c25c to f8cdbca Compare October 28, 2024 18:32
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.1 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Oct 28, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from f8cdbca to 0e11e9e Compare November 17, 2024 15:42
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.28.1 [security] Nov 17, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 0e11e9e to 01e763f Compare November 17, 2024 19:57
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.1 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Nov 17, 2024
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Dec 2, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 01e763f to 8f18a4e Compare December 2, 2024 11:34
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Dec 2, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 8f18a4e to 61f31c0 Compare December 2, 2024 13:34
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Dec 17, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 61f31c0 to e8dec8c Compare December 17, 2024 19:58
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Dec 17, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from e8dec8c to da364b3 Compare December 17, 2024 22:26
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Dec 22, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from da364b3 to 54a96d1 Compare December 22, 2024 20:16
@codecov
Copy link

codecov bot commented Dec 22, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.77%. Comparing base (a473893) to head (bbcdcc2).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #45   +/-   ##
========================================
  Coverage    95.77%   95.77%           
========================================
  Files            1        1           
  Lines           71       71           
  Branches        27       27           
========================================
  Hits            68       68           
  Misses           1        1           
  Partials         2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Dec 22, 2024
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 54a96d1 to 793730d Compare December 22, 2024 22:41
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Jan 14, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 79e3dd5 to cd3e094 Compare March 3, 2025 17:23
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Mar 3, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch 2 times, most recently from 8651bc3 to 35cb3d2 Compare March 7, 2025 18:40
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to v1 [security] Mar 7, 2025
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

🧹 Nitpick comments (1)
package.json (1)

53-56: Dependency Update: Verify New Axios Version Compatibility

The peer dependency for Axios has been updated to "^1.8.2", which does not align with the PR title and objectives indicating an update to "^0.28.0". Please confirm that this major version upgrade is intentional and that downstream consumers are compatible with Axios 1.x. Additionally, consider updating the documentation or migration guides to highlight any breaking changes introduced by this version change.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c2f985c and 35cb3d2.

📒 Files selected for processing (1)
  • package.json (1 hunks)

@renovate renovate bot changed the title chore(deps): update peerdependency axios to v1 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Mar 11, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch 2 times, most recently from 9444b3d to b0cce34 Compare March 11, 2025 23:33
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to v1 [security] Mar 11, 2025
@renovate renovate bot changed the title chore(deps): update peerdependency axios to v1 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Mar 13, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch 2 times, most recently from 1ad3577 to 85a22e0 Compare March 13, 2025 21:38
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to v1 [security] Mar 13, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 85a22e0 to fe7bf09 Compare March 17, 2025 16:46
@renovate renovate bot changed the title chore(deps): update peerdependency axios to v1 [security] chore(deps): update peerdependency axios to ^0.29.0 [security] Mar 17, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from fe7bf09 to 0972a1c Compare March 17, 2025 23:03
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.29.0 [security] chore(deps): update peerdependency axios to v1 [security] Mar 17, 2025
@renovate renovate bot changed the title chore(deps): update peerdependency axios to v1 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Mar 28, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 0972a1c to 24909ef Compare March 28, 2025 16:32
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.30.0 [security] Apr 1, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch 2 times, most recently from edef26c to a094e5c Compare April 1, 2025 16:12
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.30.0 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Apr 1, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from a094e5c to 6c55b43 Compare April 8, 2025 12:54
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.30.0 [security] Apr 8, 2025
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.30.0 [security] chore(deps): update peerdependency axios to ^0.28.0 [security] Apr 8, 2025
@renovate renovate bot force-pushed the renovate/npm-axios-vulnerability branch from 6c55b43 to 5818669 Compare April 8, 2025 19:13
@renovate renovate bot changed the title chore(deps): update peerdependency axios to ^0.28.0 [security] chore(deps): update peerdependency axios to ^0.30.0 [security] Apr 24, 2025
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