Skip to content

feat(adapter): surface low‑level network error details; attach origin…#6982

Merged
jasonsaayman merged 3 commits intoaxios:v1.xfrom
mkhani01:feat/networkErrorDetails
Jul 30, 2025
Merged

feat(adapter): surface low‑level network error details; attach origin…#6982
jasonsaayman merged 3 commits intoaxios:v1.xfrom
mkhani01:feat/networkErrorDetails

Conversation

@mkhani01
Copy link
Contributor

✨ Title

feat(adapter): surface low-level network error details; attach original error via cause

🧾 What?

This pull request enhances how network errors are surfaced in both Node HTTP and XHR adapters for Axios:

  • Node HTTP adapter: Promotes the low-level err.code into AxiosError.code, prefixes the error message (e.g. ECONNREFUSED – …), and preserves the original error in Error.cause.
  • XHR adapter: Maintains the browser’s ProgressEvent as error.event and uses its message when available.
  • Tests: Adds Node ESM tests under test/unit/adapters to verify code and cause behavior.
  • Types: Ensures AxiosError.cause?: unknown and event?: ProgressEvent are present in type definitions.

❓ Why?

Provides greater error transparency for developers. By preserving both code and original error context (cause), we enable easier debugging in both server and browser environments. This change improves observability and developer experience.

🔧 How?

  • In the Node HTTP adapter, the low‑level error’s code is now promoted to AxiosError.code, and the message is prefixed accordingly. The original exception is attached via the standard Error.cause.
  • In the XHR adapter, the ProgressEvent from the browser error.event is preserved and used when its message is present.
  • New Node ESM tests assert correct propagation of code, cause, and event.
  • Type declarations updated to include safe optional fields: cause?: unknown and event?: ProgressEvent.

✅ Testing

  • Added Node‑based ESM tests in test/unit/adapters specific to code, cause, and event semantics.
  • Manually tested in browser and Node to verify that both adapters surface network errors consistently with expected formatting.

📎 Related tickets / Issues

6965

🧵 Any breaking changes?

No breaking API changes. This preserves backwards-compatible optional behaviors; adapters will still function normally if no err.code or event is present.

Summary

This PR significantly improves debugging clarity by surface-level error code preservation, original error chaining via cause, and richer type safety—while ensuring both browser and Node adapters behave consistently.

…al error via `cause`

Node http adapter:
- Promote low-level `err.code` to `AxiosError.code`, prefixing message (e.g. `ECONNREFUSED – …`)
- Keep original error on standard `Error.cause`

XHR adapter:
- Preserve browser `ProgressEvent` on `error.event`
- Use event message when available

Tests:
- Add Node ESM tests under `test/unit/adapters` to assert `code` and `cause` behavior

Types:
- Ensure `AxiosError.cause?: unknown` and `event?: ProgressEvent` are present
@jasonsaayman jasonsaayman added this to the v1.12.0 milestone Jul 30, 2025
Copy link
Member

@jasonsaayman jasonsaayman left a comment

Choose a reason for hiding this comment

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

Very nicely done @mkhani01! 🔥

@jasonsaayman jasonsaayman merged commit 78b290c into axios:v1.x Jul 30, 2025
12 checks passed
@ialiaslani
Copy link

Had the same problem, thanks @mkhani01 🙏🏻♥️

@github-actions github-actions bot mentioned this pull request Sep 11, 2025
@github-actions
Copy link
Contributor

Hi, @mkhani01! This PR has been published in v1.12.0 release. Thank you for your contribution ❤️!

github-actions bot pushed a commit to contentful/contentful-import that referenced this pull request Sep 12, 2025
Bumps [axios](https://github.com/axios/axios) from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.12.0</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">1.12.0</a>
(2025-09-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/0d8ad6e1de0f5339e02bc262d6f0df4936974120"><code>0d8ad6e</code></a>
chore(release): v1.12.0 (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7013">#7013</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2"><code>fd7f404</code></a>
fix: release pr run</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11"><code>a2edc36</code></a>
fix: dont add dist on release</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd"><code>9ec86de</code></a>
fix: adding build artifacts</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"><code>945435f</code></a>
fix(node): enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/28e5e3016d6ed0b3ec489427e4ec00133f45ddc2"><code>28e5e30</code></a>
chore(sponsor): update sponsor block (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7005">#7005</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/d03f245a40ec016b190748a865cce9fe3815c903"><code>d03f245</code></a>
chore(CI): fixed release info script to use npm registry instead of git
as fi...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a0bc91137950f36a1f6b0a2a60d11fd7f245ff0e"><code>a0bc911</code></a>
chore: removing dist files from src (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7002">#7002</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b"><code>c959ff2</code></a>
feat(fetch): add fetch, Request, Response env config variables for the
adapte...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d"><code>a9f47af</code></a>
fix(fetch-adapter): set correct Content-Type for Node FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)</li>
<li>Additional commits viewable in <a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.11.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/contentful/contentful-import/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eps-autoapprove-dependabot bot pushed a commit to NHSDigital/eps-load-test that referenced this pull request Sep 12, 2025
Bumps [axios](https://github.com/axios/axios) from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.12.0</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">1.12.0</a>
(2025-09-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/0d8ad6e1de0f5339e02bc262d6f0df4936974120"><code>0d8ad6e</code></a>
chore(release): v1.12.0 (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7013">#7013</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2"><code>fd7f404</code></a>
fix: release pr run</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11"><code>a2edc36</code></a>
fix: dont add dist on release</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd"><code>9ec86de</code></a>
fix: adding build artifacts</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"><code>945435f</code></a>
fix(node): enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/28e5e3016d6ed0b3ec489427e4ec00133f45ddc2"><code>28e5e30</code></a>
chore(sponsor): update sponsor block (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7005">#7005</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/d03f245a40ec016b190748a865cce9fe3815c903"><code>d03f245</code></a>
chore(CI): fixed release info script to use npm registry instead of git
as fi...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a0bc91137950f36a1f6b0a2a60d11fd7f245ff0e"><code>a0bc911</code></a>
chore: removing dist files from src (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7002">#7002</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b"><code>c959ff2</code></a>
feat(fetch): add fetch, Request, Response env config variables for the
adapte...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d"><code>a9f47af</code></a>
fix(fetch-adapter): set correct Content-Type for Node FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)</li>
<li>Additional commits viewable in <a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.11.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions bot pushed a commit to evroon/bracket that referenced this pull request Sep 12, 2025
Bumps [axios](https://github.com/axios/axios) from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.12.0</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">1.12.0</a>
(2025-09-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/0d8ad6e1de0f5339e02bc262d6f0df4936974120"><code>0d8ad6e</code></a>
chore(release): v1.12.0 (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7013">#7013</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2"><code>fd7f404</code></a>
fix: release pr run</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11"><code>a2edc36</code></a>
fix: dont add dist on release</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd"><code>9ec86de</code></a>
fix: adding build artifacts</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"><code>945435f</code></a>
fix(node): enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/28e5e3016d6ed0b3ec489427e4ec00133f45ddc2"><code>28e5e30</code></a>
chore(sponsor): update sponsor block (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7005">#7005</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/d03f245a40ec016b190748a865cce9fe3815c903"><code>d03f245</code></a>
chore(CI): fixed release info script to use npm registry instead of git
as fi...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a0bc91137950f36a1f6b0a2a60d11fd7f245ff0e"><code>a0bc911</code></a>
chore: removing dist files from src (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7002">#7002</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b"><code>c959ff2</code></a>
feat(fetch): add fetch, Request, Response env config variables for the
adapte...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d"><code>a9f47af</code></a>
fix(fetch-adapter): set correct Content-Type for Node FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)</li>
<li>Additional commits viewable in <a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.11.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
laplace-p-s added a commit to laplace-p-s/Euros that referenced this pull request Sep 12, 2025
Bumps [axios](https://github.com/axios/axios) from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.12.0</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="proxy.php?url=https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">1.12.0</a>
(2025-09-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>adding build artifacts (<a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd">9ec86de</a>)</li>
<li>dont add dist on release (<a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11">a2edc36</a>)</li>
<li><strong>fetch-adapter:</strong> set correct Content-Type for Node
FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d">a9f47af</a>)</li>
<li><strong>node:</strong> enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593">945435f</a>)</li>
<li>package exports (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5627">#5627</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36">aa78ac2</a>)</li>
<li><strong>params:</strong> removing '[' and ']' from URL encode
exclude characters (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/3316">#3316</a>)
(<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5715">#5715</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042">6d84189</a>)</li>
<li>release pr run (<a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2">fd7f404</a>)</li>
<li><strong>types:</strong> change the type guard on isCancel (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5595">#5595</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e">0dbb7fd</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>adapter:</strong> surface low‑level network error details;
attach original error via cause (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6982">#6982</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74">78b290c</a>)</li>
<li><strong>fetch:</strong> add fetch, Request, Response env config
variables for the adapter; (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7003">#7003</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b">c959ff2</a>)</li>
<li>support reviver on JSON.parse (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5926">#5926</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca">2a97634</a>),
closes <a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/5924">#5924</a></li>
<li><strong>types:</strong> extend AxiosResponse interface to include
custom headers type (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6782">#6782</a>)
(<a
href="proxy.php?url=https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e">7960d34</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/WillianAgostini" title="+132/-16760
([#7002](axios/axios#7002)
[#5926](axios/axios#5926)
[#6782](axios/axios#6782) )">Willian
Agostini</a></li>
<li><!-- raw HTML omitted --> <a
href="proxy.php?url=https://github.com/DigitalBrainJS" title="+4263/-293
([#7006](axios/axios#7006)
[#7003](axios/axios#7003) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/mkhani01"
title="+111/-15 ([#6982](axios/axios#6982)
)">khani</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/AmeerAssadi"
title="+123/-0 ([#7011](axios/axios#7011)
)">Ameer Assadi</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/emiedonmokumo"
title="+55/-35 ([#6998](axios/axios#6998)
)">Emiedonmokumo Dick-Boro</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/opsysdebug"
title="+8/-8 ([#6980](axios/axios#6980)
)">Zeroday BYTE</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/jasonsaayman"
title="+7/-7 ([#6985](axios/axios#6985)
[#6985](axios/axios#6985) )">Jason
Saayman</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/HealGaren"
title="+5/-7 ([#5715](axios/axios#5715)
)">최예찬</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/gligorkot"
title="+3/-1 ([#5627](axios/axios#5627)
)">Gligor Kotushevski</a></li>
<li><!-- raw HTML omitted --> <a href="proxy.php?url=https://github.com/adimit"
title="+2/-1 ([#5595](axios/axios#5595)
)">Aleksandar Dimitrov</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/0d8ad6e1de0f5339e02bc262d6f0df4936974120"><code>0d8ad6e</code></a>
chore(release): v1.12.0 (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7013">#7013</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2"><code>fd7f404</code></a>
fix: release pr run</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11"><code>a2edc36</code></a>
fix: dont add dist on release</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd"><code>9ec86de</code></a>
fix: adding build artifacts</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"><code>945435f</code></a>
fix(node): enforce maxContentLength for data: URLs (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7011">#7011</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/28e5e3016d6ed0b3ec489427e4ec00133f45ddc2"><code>28e5e30</code></a>
chore(sponsor): update sponsor block (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7005">#7005</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/d03f245a40ec016b190748a865cce9fe3815c903"><code>d03f245</code></a>
chore(CI): fixed release info script to use npm registry instead of git
as fi...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a0bc91137950f36a1f6b0a2a60d11fd7f245ff0e"><code>a0bc911</code></a>
chore: removing dist files from src (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/7002">#7002</a>)</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b"><code>c959ff2</code></a>
feat(fetch): add fetch, Request, Response env config variables for the
adapte...</li>
<li><a
href="proxy.php?url=https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d"><code>a9f47af</code></a>
fix(fetch-adapter): set correct Content-Type for Node FormData (<a
href="proxy.php?url=https://redirect.github.com/axios/axios/issues/6998">#6998</a>)</li>
<li>Additional commits viewable in <a
href="proxy.php?url=https://github.com/axios/axios/compare/v1.11.0...v1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.11.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/laplace-p-s/Euros/network/alerts).

</details>
status?: number;
toJSON: () => object;
cause?: Error;
cause?: unknown;

Choose a reason for hiding this comment

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

This is a type-breaking change. Previously, you guaranteed that if cause is not-null, that it would be an Error, allowing users to do axiosError.cause?.message.

This change makes this code throw a type error when upgrading:

src/services/backendClient.ts:133:70 - error ts(2339): Property 'message' does not exist on type '{}'.

133                 detail: `Failed to make request: ${axiosError.cause?.message}`,
                                                                         ~~~~~~~

It seems that the LLM-generated PR-review message didn't catch that at all and was misleading:

Types: Ensures AxiosError.cause?: unknown and event?: ProgressEvent are present in type definitions.
Type declarations updated to include safe optional fields: cause?: unknown and event?: ProgressEvent.

🧵 Any breaking changes?

No breaking API changes. This preserves backwards-compatible optional behaviors; adapters will still function normally if no err.code or event is present.

This is in fact a non-backwards compatible change.

Copy link
Contributor Author

@mkhani01 mkhani01 Sep 30, 2025

Choose a reason for hiding this comment

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

@corneliusroemer
Oh sorry I missed it, Do you want me to create a new PR to fix this issue immediately ?

Copy link

@conradoramalho conradoramalho Jan 9, 2026

Choose a reason for hiding this comment

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

@corneliusroemer @mkhani01 I'm facing this non-backwards compatible now, I'm updating from the version 1.10 to 1.13.2 and some places are using error.cause.message...

But if I understood correctly, the error.cause.message will have the same value as error.message in client applications (client side/react), right?

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.

5 participants