Skip to content

Commit 860559d

Browse files
bexsoftgeorgmangold
authored andcommitted
Fixed UI security issues and updated project dependencies (minio#3556)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent 80ca586 commit 860559d

File tree

6 files changed

+240
-230
lines changed

6 files changed

+240
-230
lines changed

.github/workflows/jobs.yaml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
runs-on: [ubuntu-latest]
2323
strategy:
2424
matrix:
25-
go-version: [1.23.x]
26-
os: [ubuntu-latest]
25+
go-version: [ 1.24.x ]
26+
os: [ ubuntu-latest ]
2727
steps:
2828
- name: Check out code
2929
uses: actions/checkout@v4
@@ -64,8 +64,8 @@ jobs:
6464
runs-on: ubuntu-latest
6565
strategy:
6666
matrix:
67-
go-version: [1.23.x]
68-
os: [ubuntu-latest]
67+
go-version: [ 1.24.x ]
68+
os: [ ubuntu-latest ]
6969
steps:
7070
- name: Check out code
7171
uses: actions/checkout@v3
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: [ubuntu-latest]
113113
strategy:
114114
matrix:
115-
go-version: [1.23.x]
115+
go-version: [ 1.24.x ]
116116
steps:
117117
# To build minio image, we need to clone the repository first
118118
- name: Clone github.com/minio/minio
@@ -150,8 +150,8 @@ jobs:
150150
runs-on: ${{ matrix.os }}
151151
strategy:
152152
matrix:
153-
go-version: [1.23.x]
154-
os: [ubuntu-latest]
153+
go-version: [ 1.24.x ]
154+
os: [ ubuntu-latest ]
155155
steps:
156156
- name: Check out code
157157
uses: actions/checkout@v3
@@ -189,8 +189,8 @@ jobs:
189189
timeout-minutes: 10
190190
strategy:
191191
matrix:
192-
go-version: [1.23.x]
193-
os: [ubuntu-latest]
192+
go-version: [ 1.24.x ]
193+
os: [ ubuntu-latest ]
194194
steps:
195195
- name: Check out code
196196
uses: actions/checkout@v3
@@ -243,8 +243,8 @@ jobs:
243243
timeout-minutes: 10
244244
strategy:
245245
matrix:
246-
go-version: [1.23.x]
247-
os: [ubuntu-latest]
246+
go-version: [ 1.24.x ]
247+
os: [ ubuntu-latest ]
248248
steps:
249249
- name: Check out code
250250
uses: actions/checkout@v3
@@ -296,8 +296,8 @@ jobs:
296296
timeout-minutes: 10
297297
strategy:
298298
matrix:
299-
go-version: [1.23.x]
300-
os: [ubuntu-latest]
299+
go-version: [ 1.24.x ]
300+
os: [ ubuntu-latest ]
301301
steps:
302302
- name: Check out code
303303
uses: actions/checkout@v3
@@ -348,8 +348,8 @@ jobs:
348348
timeout-minutes: 10
349349
strategy:
350350
matrix:
351-
go-version: [1.23.x]
352-
os: [ubuntu-latest]
351+
go-version: [ 1.24.x ]
352+
os: [ ubuntu-latest ]
353353
steps:
354354
- name: Check out code
355355
uses: actions/checkout@v3
@@ -400,8 +400,8 @@ jobs:
400400
timeout-minutes: 15
401401
strategy:
402402
matrix:
403-
go-version: [1.23.x]
404-
os: [ubuntu-latest]
403+
go-version: [ 1.24.x ]
404+
os: [ ubuntu-latest ]
405405
steps:
406406
- name: Check out code
407407
uses: actions/checkout@v3
@@ -448,7 +448,7 @@ jobs:
448448
runs-on: [ubuntu-latest]
449449
strategy:
450450
matrix:
451-
go-version: [1.23.x]
451+
go-version: [1.24.x]
452452
os: [ubuntu-latest]
453453
steps:
454454
- name: Check out code
@@ -496,8 +496,8 @@ jobs:
496496
runs-on: [ubuntu-latest]
497497
strategy:
498498
matrix:
499-
go-version: [1.23.x]
500-
os: [ubuntu-latest]
499+
go-version: [ 1.24.x ]
500+
os: [ ubuntu-latest ]
501501
steps:
502502
- name: Check out code
503503
uses: actions/checkout@v3
@@ -544,7 +544,7 @@ jobs:
544544
runs-on: [ubuntu-latest]
545545
strategy:
546546
matrix:
547-
go-version: [1.23.x]
547+
go-version: [1.24.x]
548548
os: [ubuntu-latest]
549549
steps:
550550
- name: Check out code
@@ -595,8 +595,8 @@ jobs:
595595
runs-on: [ubuntu-latest]
596596
strategy:
597597
matrix:
598-
go-version: [1.23.x]
599-
os: [ubuntu-latest]
598+
go-version: [ 1.24.x ]
599+
os: [ ubuntu-latest ]
600600
steps:
601601
- name: Check out code
602602
uses: actions/checkout@v3
@@ -648,8 +648,8 @@ jobs:
648648
runs-on: ${{ matrix.os }}
649649
strategy:
650650
matrix:
651-
go-version: [1.23.x]
652-
os: [ubuntu-latest]
651+
go-version: [ 1.24.x ]
652+
os: [ ubuntu-latest ]
653653
steps:
654654
- name: Check out code
655655
uses: actions/checkout@v3
@@ -683,8 +683,8 @@ jobs:
683683
runs-on: ${{ matrix.os }}
684684
strategy:
685685
matrix:
686-
go-version: [1.23.x]
687-
os: [ubuntu-latest]
686+
go-version: [ 1.24.x ]
687+
os: [ ubuntu-latest ]
688688
steps:
689689
- name: Check out code
690690
uses: actions/checkout@v3
@@ -722,7 +722,7 @@ jobs:
722722

723723
strategy:
724724
matrix:
725-
go-version: [1.23.x]
725+
go-version: [ 1.24.x ]
726726

727727
steps:
728728
- name: Check out code
@@ -819,7 +819,7 @@ jobs:
819819

820820
strategy:
821821
matrix:
822-
go-version: [1.23.x]
822+
go-version: [1.24.x]
823823

824824
steps:
825825
- name: Check out code
@@ -869,7 +869,7 @@ jobs:
869869
echo "replace github.com/minio/console => ../" >> go.mod
870870
871871
echo "updates to go.mod needed; to update it: go mod tidy"
872-
go mod tidy -compat=1.23
872+
go mod tidy
873873
874874
echo "Get git version to build MinIO Image";
875875
VERSION=`git rev-parse HEAD`;
@@ -903,8 +903,8 @@ jobs:
903903
runs-on: ${{ matrix.os }}
904904
strategy:
905905
matrix:
906-
go-version: [1.23.x]
907-
os: [ubuntu-latest]
906+
go-version: [ 1.24.x ]
907+
os: [ ubuntu-latest ]
908908
steps:
909909
- name: Check out code
910910
uses: actions/checkout@v3
@@ -958,7 +958,7 @@ jobs:
958958
echo "download golang x tools"
959959
go mod download golang.org/x/tools
960960
echo "go mod tidy compat mode"
961-
go mod tidy -compat=1.23
961+
go mod tidy -compat=1.24
962962
echo "go build gocoverage.go"
963963
go build gocovmerge.go
964964
echo "put together the outs for final coverage resolution"
@@ -982,8 +982,8 @@ jobs:
982982
runs-on: ubuntu-latest
983983
strategy:
984984
matrix:
985-
go-version: [1.23.x]
986-
os: [ubuntu-latest]
985+
go-version: [ 1.24.x ]
986+
os: [ ubuntu-latest ]
987987
steps:
988988
- name: Check out code
989989
uses: actions/checkout@v3
@@ -1024,8 +1024,8 @@ jobs:
10241024
runs-on: ${{ matrix.os }}
10251025
strategy:
10261026
matrix:
1027-
go-version: [1.23.x]
1028-
os: [ubuntu-latest]
1027+
go-version: [ 1.24.x ]
1028+
os: [ ubuntu-latest ]
10291029
steps:
10301030
- name: Check out code
10311031
uses: actions/checkout@v3
@@ -1064,8 +1064,8 @@ jobs:
10641064
runs-on: ${{ matrix.os }}
10651065
strategy:
10661066
matrix:
1067-
go-version: [1.23.x]
1068-
os: [ubuntu-latest]
1067+
go-version: [ 1.24.x ]
1068+
os: [ ubuntu-latest ]
10691069
steps:
10701070
- name: Check out code
10711071
uses: actions/checkout@v3
@@ -1092,8 +1092,8 @@ jobs:
10921092
runs-on: ${{ matrix.os }}
10931093
strategy:
10941094
matrix:
1095-
go-version: [1.23.x]
1096-
os: [ubuntu-latest]
1095+
go-version: [ 1.24.x ]
1096+
os: [ ubuntu-latest ]
10971097
steps:
10981098
- name: Check out code
10991099
uses: actions/checkout@v3
@@ -1119,8 +1119,8 @@ jobs:
11191119
runs-on: ${{ matrix.os }}
11201120
strategy:
11211121
matrix:
1122-
go-version: [1.23.x]
1123-
os: [ubuntu-latest]
1122+
go-version: [ 1.24.x ]
1123+
os: [ ubuntu-latest ]
11241124
steps:
11251125
- name: Check out code
11261126
uses: actions/checkout@v3
@@ -1147,8 +1147,8 @@ jobs:
11471147
runs-on: ${{ matrix.os }}
11481148
strategy:
11491149
matrix:
1150-
go-version: [1.23.x]
1151-
os: [ubuntu-latest]
1150+
go-version: [ 1.24.x ]
1151+
os: [ ubuntu-latest ]
11521152
steps:
11531153
- name: Check out code
11541154
uses: actions/checkout@v3
@@ -1175,8 +1175,8 @@ jobs:
11751175
runs-on: ${{ matrix.os }}
11761176
strategy:
11771177
matrix:
1178-
go-version: [1.23.x]
1179-
os: [ubuntu-latest]
1178+
go-version: [ 1.24.x ]
1179+
os: [ ubuntu-latest ]
11801180
steps:
11811181
- name: Check out code
11821182
uses: actions/checkout@v3

.github/workflows/vulncheck.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.23.8
22+
go-version: 1.24.4
2323
check-latest: true
2424
- name: Get official govulncheck
2525
run: go install golang.org/x/vuln/cmd/govulncheck@latest
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
strategy:
3535
matrix:
36-
go-version: [ 1.23.x ]
36+
go-version: [ 1.24.x ]
3737
os: [ ubuntu-latest ]
3838
steps:
3939
- name: Check out code

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/minio/console
22

3-
go 1.23
3+
go 1.24.0
44

5-
toolchain go1.23.8
5+
toolchain go1.24.4
66

77
require (
88
github.com/blang/semver/v4 v4.0.0

web-app/package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-markdown": "8.0.7",
2222
"react-pdf": "^9.2.1",
2323
"react-redux": "^8.1.3",
24-
"react-router-dom": "6.30.0",
24+
"react-router-dom": "6.30.1",
2525
"react-virtualized": "^9.22.6",
2626
"react-window": "^1.8.11",
2727
"react-window-infinite-loader": "^1.0.10",
@@ -61,13 +61,13 @@
6161
"proxy": "http://localhost:9090/",
6262
"devDependencies": {
6363
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
64-
"@babel/runtime": "^7.27.1",
65-
"@playwright/test": "^1.52.0",
64+
"@babel/runtime": "^7.27.6",
65+
"@playwright/test": "^1.53.1",
6666
"@types/jest": "^29.5.14",
67-
"@types/lodash": "^4.17.16",
67+
"@types/lodash": "^4.17.18",
6868
"@types/luxon": "^3.6.2",
6969
"@types/node": "20.17.47",
70-
"@types/react": "18.3.21",
70+
"@types/react": "18.3.23",
7171
"@types/react-copy-to-clipboard": "^5.0.7",
7272
"@types/react-dom": "18.3.7",
7373
"@types/react-redux": "^7.1.34",
@@ -79,14 +79,14 @@
7979
"@types/webpack-env": "^1.18.8",
8080
"babel-plugin-istanbul": "^6.1.1",
8181
"customize-cra": "^1.0.0",
82-
"knip": "^5.56.0",
82+
"knip": "^5.61.2",
8383
"minio": "^8.0.5",
8484
"nyc": "^15.1.0",
8585
"prettier": "3.5.3",
8686
"react-app-rewire-hot-loader": "^2.0.1",
8787
"react-app-rewired": "^2.2.1",
8888
"react-scripts": "5.0.1",
89-
"swagger-typescript-api": "13.1.3",
89+
"swagger-typescript-api": "13.2.3",
9090
"testcafe": "3.7.2",
9191
"typescript": "^5.8.3"
9292
},
@@ -99,7 +99,10 @@
9999
"ws": "^8.17.1",
100100
"rollup": "^4.24.0",
101101
"cookie": "^0.7.2",
102-
"jspdf": "^3.0.0"
102+
"jspdf": "^3.0.0",
103+
"@babel/runtime": "^7.26.10",
104+
"prebuilt-install": "^2.1.3",
105+
"tar-fs": "^2.1.3"
103106
},
104107
"main": "index.js",
105108
"packageManager": "yarn@4.4.0"

0 commit comments

Comments
 (0)