Repository navigation
Fix critical CVEs by replacing deprecated 'request' package - #604
Conversation
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-604-amd64 |
Removed deprecated 'request' package and replaced with axios to fix CVE-2023-28155. Applied fixes across launcher and che extensions for ESM compatibility. Changes: - Replaced 'request' with 'axios' in package.json - Upgraded @kubernetes/client-node from 0.22.0 to 1.4.0 - Updated ts-jest from 29.2.5 to 29.4.5 for better ESM compatibility - Added transformIgnorePatterns for @kubernetes/client-node - Fixed test mocks for ESM compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Stephane Bouchet <[email protected]>
cf3cbe1 to
cdc30fa
Compare
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-604-amd64 |
|
@sbouchet
|
- removed unecessary rebase changelog entry - re-run npm install and fix missing package-lock.json entries Signed-off-by: Stephane Bouchet <[email protected]>
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-604-amd64 |
There was a problem hiding this comment.
- the changes look good to me
jest-related dependencies were updated in some extensions, there are still ones that use older version. But it was not a target of the current PR - so - no problem to update them within a separate PR when we have a chance- tested few use cases related to the
kubernetes/client-nodeusage - I didn't detect any regression.
@sbouchet
Thank you very much for this update, the PR is ready for merge from my point of view!
yes, i did not wanted to go too far with this one. i'll create a new Issue/PR for this. |
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-604-amd64 |

What does this PR do?
Removed deprecated
requestpackage and replaced with axios to fix CVE-2023-28155.Applied fixes across launcher and che extensions for ESM compatibility.
Changes:
requestwithaxiosin package.json🤖 Generated with Claude Code
What issues does this PR fix?
fix several CVEs:
Before & After Vulnerability Counts
Total CVEs eliminated: ~27 vulnerabilities including all critical request-related issues!
How to test this PR?
Does this PR contain changes that override default upstream Code-OSS behavior?
git rebasewere added to the .rebase folder