Skip to content

Commit a9b2123

Browse files
aajisakapan3793
andcommitted
[KYUUBI #7386] Remove axios dependency and replace with native fetch in web-ui
### Why are the changes needed? Replace axios with the native Fetch API in request.ts, removing the axios dependency from package.json. Reducing the dependent libraries to reduce the possibility of supply chain attack and to reduce future maintenance cost. Enforce Node.js >=18 via the engines field and update README accordingly. ### How was this patch tested? Covered by the existing unit tests. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.6) Closes #7386 from aajisaka/remove-axios. Closes #7386 75c0402 [Cheng Pan] fix lint 11dc81e [Cheng Pan] Fix login failure and preserve server error messages 6cfb0b3 [Akira Ajisaka] Address review comments c0634b7 [Akira Ajisaka] Remove axios dependency and replace with native fetch in web-ui Lead-authored-by: Akira Ajisaka <aajisaka@apache.org> Co-authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent 80a8c50 commit a9b2123

6 files changed

Lines changed: 141 additions & 303 deletions

File tree

LICENSE-binary

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -442,12 +442,6 @@ is auto-generated by `pnpm licenses list --prod`.
442442
├────────────────────────────────────┼──────────────┤
443443
│ async-validator │ MIT │
444444
├────────────────────────────────────┼──────────────┤
445-
│ asynckit │ MIT │
446-
├────────────────────────────────────┼──────────────┤
447-
│ axios │ MIT │
448-
├────────────────────────────────────┼──────────────┤
449-
│ combined-stream │ MIT │
450-
├────────────────────────────────────┼──────────────┤
451445
│ commander │ MIT │
452446
├────────────────────────────────────┼──────────────┤
453447
│ csstype │ MIT │
@@ -456,8 +450,6 @@ is auto-generated by `pnpm licenses list --prod`.
456450
├────────────────────────────────────┼──────────────┤
457451
│ dayjs │ MIT │
458452
├────────────────────────────────────┼──────────────┤
459-
│ delayed-stream │ MIT │
460-
├────────────────────────────────────┼──────────────┤
461453
│ discontinuous-range │ MIT │
462454
├────────────────────────────────────┼──────────────┤
463455
│ element-plus │ MIT │
@@ -466,10 +458,6 @@ is auto-generated by `pnpm licenses list --prod`.
466458
├────────────────────────────────────┼──────────────┤
467459
│ estree-walker │ MIT │
468460
├────────────────────────────────────┼──────────────┤
469-
│ follow-redirects │ MIT │
470-
├────────────────────────────────────┼──────────────┤
471-
│ form-data │ MIT │
472-
├────────────────────────────────────┼──────────────┤
473461
│ get-stdin │ MIT │
474462
├────────────────────────────────────┼──────────────┤
475463
│ lodash │ MIT │
@@ -482,10 +470,6 @@ is auto-generated by `pnpm licenses list --prod`.
482470
├────────────────────────────────────┼──────────────┤
483471
│ memoize-one │ MIT │
484472
├────────────────────────────────────┼──────────────┤
485-
│ mime-db │ MIT │
486-
├────────────────────────────────────┼──────────────┤
487-
│ mime-types │ MIT │
488-
├────────────────────────────────────┼──────────────┤
489473
│ monaco-editor │ MIT │
490474
├────────────────────────────────────┼──────────────┤
491475
│ nanoid │ MIT │
@@ -498,8 +482,6 @@ is auto-generated by `pnpm licenses list --prod`.
498482
├────────────────────────────────────┼──────────────┤
499483
│ postcss │ MIT │
500484
├────────────────────────────────────┼──────────────┤
501-
│ proxy-from-env │ MIT │
502-
├────────────────────────────────────┼──────────────┤
503485
│ randexp │ MIT │
504486
├────────────────────────────────────┼──────────────┤
505487
│ ret │ MIT │

kyuubi-server/web-ui/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Start Using
44

5-
For the best experience, we recommend using `node 16.x.x`.
5+
Node.js 18 or higher is required.
66
You can learn how to install the corresponding version from its official website.
77

88
- [node](https://nodejs.org/en/)

0 commit comments

Comments
 (0)