π¦οΈ update vulnerable axios package to ^1.12.0 #995
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