Bump axios from 0.21.4 to 0.31.0 in /src/ui
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(about 1 month ago)
(about 1 month ago)
(about 1 month ago)
dependencies javascript
Bumps axios from 0.21.4 to 0.31.0.
Release notes
Sourced from axios's releases.
v0.31.0
This release backports security fixes from v1.x, hardens the CI/CD supply chain with OIDC publishing and
zizmorscanning, resolves TypeScript typing issues inAxiosInstance, and fixes a performance regression inisEmptyObject().🔒 Security Fixes
Header Injection & Proxy Bypass: Backports v1 security hardening — sanitizes outgoing header values to strip invalid bytes, CRLF sequences, and boundary whitespace (including array values); adds proper
NO_PROXY/no_proxyenforcement covering wildcards, explicit ports, loopback aliases (localhost,127.0.0.1,::1), bracketed IPv6, and trailing-dot hostnames. Proxy bypass is now checked before the proxy URL is parsed, andparsed.hostis used for correct port and IPv6 handling. (#10688)CI Security: SHA-pins all actions and disables credential persistence in v0.x CI, introduces
zizmorsecurity scanning with SARIF upload to code scanning, adds an OIDC Trusted Publishing workflow with npm provenance attestations, and gates all publishes behind a requirednpm-publishGitHub Environment with configurable reviewer protections. (#10638, #10639, #10667)🐛 Bug Fixes
TypeScript —
AxiosInstanceReturn Types: Fixes return types inAxiosInstancemethods to correctly resolve toPromise<R>(matchingAxiosPromise<T>semantics), and corrects the generic call signature so TypeScript properly enforces the response data type. TypeScript-only changes; no runtime impact. (#6253, #7328)Performance: Fixes a performance regression in
isEmptyObject()that caused excessive computation when the argument was a large string. (#6484)🔧 Maintenance & Chores
- Versioning & CI Workflow: Adds an automated versioning flow for v0.x, renames the CI workflow for consistency with the v1.x naming convention, and corrects the branch name reference in CI config. (#10690, #10691, #10692)
🌟 New Contributors
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
@nakataki17(#6253)@gmasclet(#6484)@shaanmajid(#10638, #10639, #10667)@ivan-churakov(#7328)Release notes - v0.30.3
This is a critical security maintenance release for the v0.x branch. It addresses a high-priority vulnerability involving prototype pollution that could lead to a Denial of Service (DoS).
Recommendation: All users currently on the 0.x release line should upgrade to this version immediately to ensure environment stability.
🛡️ Security Fixes
- Backport: Fix DoS via proto key in merge config
- Patched a vulnerability where specifically crafted configuration objects using the proto key could cause a Denial of Service during the merge process. - by
@FeBe95in [PR #7388](axios/axios#7388)⚙️ Maintenance & CI
- CI Infrastructure Update
- Updated Continuous Integration workflows for the v0.x branch to maintain long-term support and build reliability. - by
@jasonsaaymanin [PR #7407](axios/axios#7407)⚠️ Breaking Changes
Configuration Merging Behavior:
As part of the security fix, Axios now restricts the merging of the proto key within configuration objects. If your codebase relies on unconventional deep-merging patterns that target the object prototype via Axios config, those operations will now be blocked. This is a necessary change to prevent prototype pollution.
... (truncated)
Commits
5073ecachore: release v0.31.0 (#10697)b57eb1aci: update branch name (#10692)00ab2afrefactor: change name to have a unified workflow (#10691)9a66c09chore: added a versioning flow (#10690)03cdfc9fix: backport the fixes from the v1 branch (#10688)71be4e5fix: return types in AxiosInstance methods should be Promise<R> (#6253)62610f6fix: fixed performance issue in isEmptyObject() (#6484)68f97f7ci: require npm-publish environment for releases (#10667)58a6043ci: add zizmor and harden v0.x CI (#10638)b560d41ci: add OIDC publish workflow for v0.x (#10639)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for axios since your current version.
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Package Dependencies
Technical Details
| ID: | 15655877 |
| UUID: | 4333337949 |
| Node ID: | PR_kwDODoHoEM7V1gh- |
| Host: | GitHub |
| Repository: | pixie-io/pixie |