Commit 275be25
authored
Fix critical CVEs by replacing deprecated 'request' package (che-incubator#604)
* Fix critical CVEs by replacing deprecated 'request' package
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 <noreply@anthropic.com>
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
* changes after review:
- removed unecessary rebase changelog entry
- re-run npm install and fix missing package-lock.json entries
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
---------
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>1 parent d2b4e4a commit 275be25
36 files changed
Lines changed: 6067 additions & 12977 deletions
File tree
- .rebase
- add/code/remote
- code
- extensions
- che-activity-tracker
- che-api
- src/impl
- tests
- che-commands
- src/editorConfigs
- che-github-authentication
- src
- che-port
- che-remote
- che-resource-monitor
- src
- tests
- che-telemetry
- remote
- launcher
- src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments