📦️ update vulnerable axios package to ^1.12.0#995
Merged
wing328 merged 2 commits intoOpenAPITools:masterfrom Sep 13, 2025
Merged
📦️ update vulnerable axios package to ^1.12.0#995wing328 merged 2 commits intoOpenAPITools:masterfrom
wing328 merged 2 commits intoOpenAPITools:masterfrom
Conversation
|
🎉 This PR is included in version 2.23.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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 updates the Axios dependency 📦️ to fix (GHSA-4hjh-wcwx-xvwj) vulnerability.. The change was verified by running the initial CLI build/tests and confirming that client generation still works as expected.
🔍✅ The following test were performed to test the openapi-generator-cli 🚑️🔒️
Updated the Axios dependency
Ran the local build and CLI tests successfully.
Generated both TypeScript and Python clients from a custom test specification.
npm run cli -- generate -i samples/test.yaml -g typescript-fetch -o tmp-client
npm run cli -- generate -i samples/test.yaml -g python -o tmp-client
Verified that the generated clients were built correctly and run as expected without errors.
Environment
Node.js v22.14.0,
NPM 10.9.2
java version "24.0.2" 2025-07-15
Java(TM) SE Runtime Environment (build 24.0.2+12-54)
Java HotSpot(TM) 64-Bit Server VM (build 24.0.2+12-54, mixed mode, sharing)
TypeScript 5.9.2
Python 3.11