Repository navigation
chore: bump axios to 1.21.0 - #9623
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update Axios declarations package.json, packages/bruno-cli/package.json, packages/bruno-electron/package.json, packages/bruno-js/package.json, packages/bruno-requests/package.json, packages/bruno-tests/package.json |
The root override and five package manifests change their Axios version from 1.18.0 to 1.21.0. |
Priority:
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Possibly related PRs
- usebruno/bruno#9630: Adds HTTP/2 handling through Axios instances and custom transports in the CLI and Electron paths.
Suggested reviewers: sid-bruno, bijin-bruno
Merge Risk: 
Minimal · up to 2e8c1
-
No actionable merge-blocking risk is identified; the dependency update is mergeable with normal checks.
Pre-merge checks: 
4
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Axios steps to a newer release
Five packages follow in line
The root override joins them
Version numbers align
A tidy change across the manifests
Comment @coderabbitai help to get the list of available commands.
|
LGTM |
|
@dependabot rebase |
e93aa6b to
2e8c188
Compare
Description
Bumps axios from 1.18.0 to 1.21.0 in every workspace that depends on it (cli, electron, js, requests, tests) and in the root
overrides. The version is pinned exactly. In the lockfile, only the axios entry and the workspace specs change, andproxy-from-envmoves from under axios to the top level.Problem
npm auditreports 12 axios advisories (6 high, 6 moderate), all fixed in 1.20.0:They cover prototype-pollution gadgets, header injection, an HTTP/2 proxy bypass, ReDoS reachable through a redirect
Location, and CIDRNO_PROXYentries being ignored.Fix
Improvement: request headers named
Get,Post,Put,Patch,Delete,Head,QueryorCommon(any letter case) are now sent. Before, they were silently dropped.Impact: app and CLI. Requests from the request tab, the collection runner and
bru run, plusbru.sendRequestandaxiosin scripts.Improvement: when every address of a host refuses the connection (for example a
localhostserver that isn't running, which resolves to both::1and127.0.0.1), the error now readsconnect ECONNREFUSED ::1:<port>; connect ECONNREFUSED 127.0.0.1:<port>. Before, it was empty.Impact: the app's response pane shows this message where it used to show "Error occurred while executing the request!".
bru runshows the full message where it used to show onlyECONNREFUSED.Improvement: CIDR entries in
NO_PROXY(for example127.0.0.0/8) are now honoured. Before, those requests still went throughHTTP_PROXY/HTTPS_PROXY.Impact:
axiosin scripts (app and CLI) andbru import <url>. Bruno's own requests use their own proxy settings and are not affected.Improvement: when both
HTTP_PROXYandNODE_USE_ENV_PROXY=1are set, plain-HTTP requests now go through the proxy once. Before, axios 1.18 tried to route them through the proxy twice, and they failed withThe property 'Host in options.headers' must match the request authority.Impact:
bru import <url>andaxiosin scripts, in the CLI on Node 24.Change: with
NODE_USE_ENV_PROXY=1, anhttp://PAC file is now fetched directly instead of throughHTTP_PROXY, ashttps://PAC URLs already were.Impact:
bru runusing the system proxy, on Node 24.Contribution Checklist:
Summary by CodeRabbit