Skip to content

[Snyk] Security upgrade axios from 0.24.0 to 1.12.0#108

Open
TimCrooker wants to merge 1 commit intomasterfrom
snyk-fix-fe3a677d4c41038c313c9ce0043eac34
Open

[Snyk] Security upgrade axios from 0.24.0 to 1.12.0#108
TimCrooker wants to merge 1 commit intomasterfrom
snyk-fix-fe3a677d4c41038c313c9ce0043eac34

Conversation

@TimCrooker
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/env/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Allocation of Resources Without Limits or Throttling
SNYK-JS-AXIOS-12613773
  738  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • 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 fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

Copilot AI review requested due to automatic review settings September 14, 2025 07:53
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the axios dependency from version 0.24.0 to 1.12.0 to fix a medium-severity security vulnerability (SNYK-JS-AXIOS-12613773) related to "Allocation of Resources Without Limits or Throttling".

  • Upgrades axios dependency to address security vulnerability
  • Major version bump from 0.x to 1.x which may introduce breaking changes
  • Requires manual yarn.lock update as noted in the PR description

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

},
"dependencies": {
"axios": "^0.24.0",
"axios": "^1.12.0",
Copy link

Copilot AI Sep 14, 2025

Choose a reason for hiding this comment

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

This is a major version upgrade from 0.24.0 to 1.12.0 which introduces breaking changes. According to axios documentation, version 1.x has breaking changes including different error handling, request/response interceptors behavior, and timeout handling. Review all axios usage in the codebase to ensure compatibility with the new API.

Copilot uses AI. Check for mistakes.
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