[Snyk] Upgrade axios from 1.16.1 to 1.17.0#214
Open
mladenba wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade axios from 1.16.1 to 1.17.0. See this package in npm: axios See this project in Snyk: https://app.snyk.io/org/devrev/project/58ce53c3-7bbd-4cc5-bc81-52dc7ce644c2?utm_source=github&utm_medium=referral&page=upgrade-pr
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.
Snyk has created this PR to upgrade axios from 1.16.1 to 1.17.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago.
Release notes
Package name: axios
-
1.17.0 - 2026-06-03
- Config Hardening: Guarded
- Release Publishing: Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (#10926)
- HTTP Compression: Added Node HTTP adapter support for zstd response decompression, with
- Authentication Handling: Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (#10929, #10896)
- Proxy TLS: Preserved user
- React Native FormData: Cleared default
- Headers: Silently skipped empty or whitespace-only header names instead of throwing, matching parsed-header behavior and avoiding React Native response crashes. (#10875)
- Request Data Merging: Preserved enumerable symbol keys when cloning plain request data through axios merge logic. (#10812)
- Bundler Compatibility: Converted
- Types: Corrected
- Build Tooling: Avoided emitting a null
- HTTP/2 Internals: Extracted
- Package Publishing: Reduced published package size by switching to a
- CI and Release Automation: Added bundle-size reporting, moved reports to the job summary, fixed bundle-size comparison coverage, added Node 26 to the matrix, pinned npm for staged publishing, and prepared the 1.17.0 release. (#10907, #10911, #10916, #10927, #10935, #10983)
- Developer Workflow: Added a dev container and iterated on OpenSpec workflow files before removing them from the release branch. (#10925, #10914, #10958)
- Documentation and Policy: Updated disclosure, contributor, collaboration, threat-model, advanced docs, README badges, release notes, moderator configuration, and project metadata. (#10890, #10889, #10921, #10945, #10905, #10933, #10915, #10887, #10955)
- Dependencies: Bumped Babel tooling, Commitlint, ESLint, Rollup, Globals, Vitest, Playwright,
- @ BasixKOR (#6792)
- @ carladams1299-lab (#10861)
- @ LaplaceYoung (#10812)
- @ JamieMagee (#10939)
- @ RonGamzu (#10905)
- @ sapirbaruch (#10891)
- @ nezukoagent (#10901)
- @ devareddy05 (#10929)
- @ Mohammad-Faiz-Cloud-Engineer (#10922)
- @ azandabot (#10931)
- @ niksy (#10896)
-
1.16.1 - 2026-05-13
- Prototype Pollution Defence-in-Depth: Hardened
- Proxy Cleartext Leak: Fixed an issue where HTTPS request data could be transmitted in cleartext to an HTTP proxy under certain configurations. (#10858)
- CI Cache Removal: Removed all GitHub Actions caches as a defence-in-depth measure against cache poisoning vectors in the build pipeline. (#10882)
- Data URI Parsing: Updated the
- Unicode Headers: Preserved Unicode header values when running through request interceptors, so non-ASCII header content is no longer corrupted before dispatch. (#10850)
- XHR Upload Progress: Guarded against malformed
- Webpack 4 Fetch Adapter: Fixed an "unexpected token" error caused by syntax in the fetch adapter that Webpack 4 could not parse, restoring compatibility for legacy bundler users. (#10864)
- Type Definitions: Made
- URL Object Support Reverted: Reverted the change that allowed passing a
- Cycle Detection Refactor: Replaced the array-based cycle tracker in
- composeSignals Cleanup: Refactored
- AI Readiness & Repo Docs: Added
- Docs Improvements: Clarified the GET request example, fixed the interceptor
- Sponsorship Tooling: Fixed empty sponsor arrays in the sponsor processing script, added the ability to inject additional sponsors, updated the sponsorship link, and added a Twicsy advertisement entry. (#10843, #10859, #10869)
- Dependencies: Bumped
- @ hpinmetaverse (#10836)
- @ tommyhgunz14 (#7413)
- @ abhu85 (#10829)
- @ divyanshuraj1095 (#10853)
- @ sagodi97 (#10856)
- @ rkdfx (#10868)
- @ Liuwei1125 (#10866)
from axios GitHub release notesv1.17.0 — June 1, 2026
This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions.
🔒 Security Fixes
socketPath,params, andparamsSerializerreads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (#10901, #10922)🚀 New Features
transitional.advertiseZstdAcceptEncodingcontrolling whetherzstdis advertised inAccept-Encoding. (#6792, #10920)🐛 Bug Fixes
httpsAgentTLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (#10957)Content-Typefor React NativeFormDataso multipart boundaries can be generated correctly. (#10898)resolveConfigfrom an arrow default export to a named function export to avoid webpack and Babel transform interop failures. (#10891)AxiosHeaders.toJSON()return types and updated CommonJSisCanceltypings to narrow toCanceledError<T>. (#10956, #10952)Authorizationheader from the GitHub build helper whenGITHUB_TOKENis unset. (#10931)🔧 Maintenance & Chores
Http2Sessionsinto its own helper module and added direct unit coverage for session pooling, timeout, and cleanup behavior. (#10861)filesallowlist and dropping unneeded unminified bundle source maps. (#10939)fs-extra,qs, docs dependencies, and GitHub Actions dependencies includingactions/dependency-review-actionandzizmorcore/zizmor-action. (#10871, #10879, #10918, #10919, #10934, #10947, #10954, #10960)🌟 New Contributors
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
Full Changelog
v1.16.1 — May 13, 2026
This release ships a defence-in-depth fix for prototype pollution in
formDataToJSON, hardens proxy and CI workflows, restores Webpack 4 compatibility for the fetch adapter, and includes several small bug fixes and maintenance improvements.🔒 Security Fixes
formDataToJSONagainst already-pollutedObject.prototypeby walking own properties only, so attacker-controlled keys inherited from a poisoned prototype cannot propagate through deserialization. (#7413)🐛 Bug Fixes
fromDataURIregex to match RFC 2397 more strictly, fixing edge cases indata:URL handling. (#10829)ProgressEventpayloads emitted by some environments during XHR upload, preventing crashes whenloaded/totalare missing or invalid. (#10868)parseRevivercontext.sourceoptional in the type definitions to align with the ES2023 specification. (#10837)URLobject asconfig.url(originally #10866) due to regressions; this support will be reintroduced in a later release once the underlying issues are addressed. (#10874)🔧 Maintenance & Chores
toJSONObjectwith aWeakSet, improving performance and memory behaviour on large nested structures. (#10832)composeSignalsto use a clearer early-return structure, simplifying the cancellation/abort composition path. (#10844)AGENTS.mdand related contributor-guide updates for both human and AI agents, plus post-release documentation improvements. (#10835, #10841)ejectexample to reference the correct instance, and corrected the Buzzoid sponsor description in the README. (#10836, #10853, #10856)@ commitlint/clifrom 20.5.0 to 20.5.2. (#10846)🌟 New Contributors
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
Full Changelog
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: