fix(deps): update dependency axios to ^1.20.0 - #648
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
pikachuren
reviewed
Sep 1, 2026
pikachuren
left a comment
Collaborator
There was a problem hiding this comment.
结论:可以合并,建议优先处理
axios 1.19.0 → 1.20.0,Build Check 通过。
lockfile 变化除 axios 本体外,传递依赖 hasown 从 2.0.2 提升到 2.0.4 并做了去重(旧版本条目被移除),属于正常收敛。
倾向于尽快合并的理由:axios 是承载全部后端 API 通信的核心依赖,OpenList 前端的鉴权头、请求拦截、错误处理都建立在它之上。这类库的版本滞后带来的安全暴露面比升级本身的风险更值得关注,及时跟进上游是合理的。
合并后建议覆盖这几处回归验证,都是 axios 行为变化最容易波及的地方:
- 登录与 token 刷新流程,确认请求/响应拦截器工作正常;
- 文件上传,尤其是
onUploadProgress进度回调与超时设置; - 请求取消(AbortController / CancelToken)路径;
- 后端返回非 2xx 时的错误提示是否仍能正确解析出信息。
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.
This PR contains the following updates:
^1.19.0→^1.20.0Release Notes
axios/axios (axios)
v1.20.0Compare Source
v1.20.0 — August 19, 2026
This release hardens runtime option handling, adds RFC 9110 status-code aliases, fixes Node.js and XHR reliability issues, and refreshes project tooling and documentation.
🔒 Security Fixes
🐛 Bug Fixes
🔧 Maintenance & Chores
🌟 New Contributors
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
Full Changelog (axios/axios@v1.19.0...v1.20.0)
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.