Bump axios from 1.16.0 to 1.16.1#84
Merged
Merged
Conversation
Bumps [axios](https://github.com/axios/axios) from 1.16.0 to 1.16.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.16.0...v1.16.1) --- updated-dependencies: - dependency-name: axios dependency-version: 1.16.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
|
🤖 Hi @dependabot[bot], I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
Contributor
|
🤖 I'm sorry @dependabot[bot], but I was unable to process your request. Please see the logs for more details. |
Contributor
There was a problem hiding this comment.
No issues found across 3 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Architecture diagram
sequenceDiagram
participant App as Application
participant Axios as Axios Library
participant Fetch as Fetch Adapter
participant XHR as XHR Adapter
participant Proxy as HTTP Proxy
participant API as External API
Note over App,API: Axios 1.16.1 Request Flow (Key Changes Highlighted)
App->>Axios: axios(config)
alt config.url is a URL object
Axios->>Axios: REVERTED: No longer accepts URL objects<br/>(regression fix from 1.16.0)
Axios-->>App: Error / unexpected behavior
else config.url is a string
Axios->>Axios: Process request config
end
Axios->>Axios: Apply request interceptors<br/>CHANGED: Preserve Unicode header values
Axios->>Axios: composeSignals()<br/>CHANGED: Cleaner early-return structure
alt Use fetch adapter (Webpack 4)
Axios->>Fetch: adapter(config)
Note over Fetch: CHANGED: Fixed "unexpected token" syntax error<br/>(Webpack 4 compatibility restored)
Fetch->>API: fetch(request)
else Use XHR adapter
Axios->>XHR: adapter(config)
XHR->>API: XHR request
alt Upload progress events
XHR->>XHR: CHANGED: Guard malformed ProgressEvent<br/>(loaded/total missing or invalid)
end
end
alt HTTPS request via HTTP proxy
Axios->>Proxy: CHANGED: Prevent cleartext leak<br/>(HTTPS data no longer sent in cleartext)
Proxy->>API: Forward to target
else Direct request
Axios->>API: Direct request
end
API-->>Axios: Response data
Axios->>Axios: formDataToJSON()<br/>CHANGED: Walk own properties only<br/>(defence-in-depth against prototype pollution)
Axios->>Axios: toJSONObject()<br/>CHANGED: Use WeakSet instead of array<br/>(cycle detection, performance)
Axios->>Axios: fromDataURI()<br/>CHANGED: Stricter RFC 2397 regex
Axios-->>App: Parsed response
Note over Axios: Response interceptor can inspect<br/>headers (Unicode preserved)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps axios from 1.16.0 to 1.16.1.
Release notes
Sourced from axios's releases.
Changelog
Sourced from axios's changelog.
Commits
1337d6bchore(release): prepare release 1.16.1 (#10877)858a790fix: remove all caches (#10882)34adfd9revert: "fix: support URL object as config.url input (#10866)" (#10874)847d89bfix: support URL object as config.url input (#10866)4094886fix(progress): guard malformed XHR upload events (#10868)44f0c5bchore: change sponsorship link and add Twicsy advertisement (#10869)64e1095chore: update PR and issue template to use h2 (#10865)3e6b4e1fix: error unexpected token in fetch JS compatibility issue with Webpack 4 (#...c4453bafix: add the ability to add additional sponsors to the process sponsors scrip...caa00a9fix: https data in cleartext to proxy (#10858)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)Summary by cubic
Upgrade
axiosfrom 1.16.0 to 1.16.1 for security hardening and bug fixes. Also refreshes breach index data and updates the last import timestamp.Dependencies
axiosto 1.16.1 and updated lockfiles.https-proxy-agent@^5.0.1viaaxios.Migration
URLobject asconfig.url, switch to a string URL (support reverted in 1.16.1).Written for commit f81b9c6. Summary will update on new commits.