[FEEDS-1217] Upgrade axios and other dependencies to fix security vulnerabilities#636
Merged
[FEEDS-1217] Upgrade axios and other dependencies to fix security vulnerabilities#636
Conversation
…nerabilities - Upgraded axios from 0.x (0.27.2) to ^1.13.5 - Upgraded form-data from ^4.0.0 to ^4.0.4 - Upgraded qs from ^6.10.2 to ^6.14.2 - Upgraded @babel/runtime from ^7.23.2 to ^7.26.10 - Added yarn resolution for jws ^3.2.3 to fix jsonwebtoken dependency Fixed security vulnerabilities: - axios: CSRF, SSRF/credential leakage, DoS via __proto__ - form-data: unsafe random function - qs: DoS vulnerabilities - jws: HMAC signature verification Updated TypeScript imports for axios 1.x compatibility in: - src/client.ts - src/files.ts - src/images.ts Result: 9 vulnerabilities → 0 vulnerabilities in production dependencies
Contributor
|
Size Change: 0 B Total Size: 109 kB ℹ️ View Unchanged
|
szuperaz
approved these changes
Feb 13, 2026
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.
Summary
This PR upgrades critical dependencies to fix 9 security vulnerabilities in production dependencies.
Changes
Dependency Upgrades
0.x(0.27.2) →^1.13.5^4.0.0→^4.0.4^6.10.2→^6.14.2^7.23.2→^7.26.10^3.2.3(dependency of jsonwebtoken)Security Vulnerabilities Fixed
Code Changes
Updated TypeScript imports for axios 1.x compatibility:
src/client.tssrc/files.tssrc/images.tsChanged
import AxiosProgressEvent from 'axios'toimport type { AxiosProgressEvent } from 'axios'Testing
Note
Some devDependencies still have vulnerabilities (puppeteer, eslint, mocha), but these don't affect the published package.