Skip to content

Commit 86115af

Browse files
authored
Upgrade Dependencies (#2589)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
1 parent 87399d1 commit 86115af

File tree

7 files changed

+825
-578
lines changed

7 files changed

+825
-578
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
17
1+
18

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/blang/semver/v4 v4.0.0
77
github.com/cheggaaa/pb/v3 v3.1.0
88
github.com/dustin/go-humanize v1.0.1
9-
github.com/fatih/color v1.13.0
9+
github.com/fatih/color v1.14.1
1010
github.com/go-openapi/errors v0.20.3
1111
github.com/go-openapi/loads v0.21.2
1212
github.com/go-openapi/runtime v0.25.0
@@ -17,13 +17,13 @@ require (
1717
github.com/golang-jwt/jwt/v4 v4.4.3
1818
github.com/google/uuid v1.3.0
1919
github.com/jessevdk/go-flags v1.5.0
20-
github.com/klauspost/compress v1.15.14
20+
github.com/klauspost/compress v1.15.15
2121
github.com/minio/cli v1.24.2
2222
github.com/minio/directpv v1.4.4-0.20220805090942-948ca4731651
2323
github.com/minio/highwayhash v1.0.2
2424
github.com/minio/kes v0.22.2
2525
github.com/minio/madmin-go/v2 v2.0.7
26-
github.com/minio/mc v0.0.0-20230119171340-e9e6c2231fe3
26+
github.com/minio/mc v0.0.0-20230123151138-468fc49d0fc1
2727
github.com/minio/minio-go/v7 v7.0.47
2828
github.com/minio/operator v0.0.0-20220902184351-21e4073132b0
2929
github.com/minio/pkg v1.6.0
@@ -108,7 +108,7 @@ require (
108108
github.com/mailru/easyjson v0.7.7 // indirect
109109
github.com/mattn/go-colorable v0.1.13 // indirect
110110
github.com/mattn/go-ieproxy v0.0.1 // indirect
111-
github.com/mattn/go-isatty v0.0.16 // indirect
111+
github.com/mattn/go-isatty v0.0.17 // indirect
112112
github.com/mattn/go-localereader v0.0.1 // indirect
113113
github.com/mattn/go-runewidth v0.0.14 // indirect
114114
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect

go.sum

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,9 @@ github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi
314314
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
315315
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
316316
github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
317-
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
318317
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
318+
github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=
319+
github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg=
319320
github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo=
320321
github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
321322
github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
@@ -603,8 +604,8 @@ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI
603604
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
604605
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
605606
github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU=
606-
github.com/klauspost/compress v1.15.14 h1:i7WCKDToww0wA+9qrUZ1xOjp218vfFo3nTU6UHp+gOc=
607-
github.com/klauspost/compress v1.15.14/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM=
607+
github.com/klauspost/compress v1.15.15 h1:EF27CXIuDsYJ6mmvtBRlEuB2UVOqHG1tAXgZ7yIO+lw=
608+
github.com/klauspost/compress v1.15.15/go.mod h1:ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4=
608609
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
609610
github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
610611
github.com/klauspost/cpuid/v2 v2.1.0/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
@@ -667,8 +668,9 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd
667668
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
668669
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
669670
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
670-
github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ=
671671
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
672+
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
673+
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
672674
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
673675
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
674676
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
@@ -704,8 +706,8 @@ github.com/minio/madmin-go v1.7.5 h1:IF8j2HR0jWc7msiOcy0KJ8EyY7Q3z+j+lsmSDksQm+I
704706
github.com/minio/madmin-go v1.7.5/go.mod h1:3SO8SROxHN++tF6QxdTii2SSUaYSrr8lnE9EJWjvz0k=
705707
github.com/minio/madmin-go/v2 v2.0.7 h1:4md3j370GBxNR71SzTU7GSbQEg+SdB4LgL42QGzszfI=
706708
github.com/minio/madmin-go/v2 v2.0.7/go.mod h1:5aFi/VLWBHC2DEFfGIlUmAeJhaF4ZAjuYpEWZFU14Zw=
707-
github.com/minio/mc v0.0.0-20230119171340-e9e6c2231fe3 h1:n919U705kSAOeyaB7GW81pSMgPgHJBwTWDSO+Aw5+Y8=
708-
github.com/minio/mc v0.0.0-20230119171340-e9e6c2231fe3/go.mod h1:QY/b0YppgedyORsLk1S76df7mEzBvV2WoeLRglyr4VA=
709+
github.com/minio/mc v0.0.0-20230123151138-468fc49d0fc1 h1:AEzFGmCXFP28DNqFqIVt3CMQ+Jktlgx0Xoh/pqd/boI=
710+
github.com/minio/mc v0.0.0-20230123151138-468fc49d0fc1/go.mod h1:QY/b0YppgedyORsLk1S76df7mEzBvV2WoeLRglyr4VA=
709711
github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34=
710712
github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=
711713
github.com/minio/minio-go/v7 v7.0.41/go.mod h1:nCrRzjoSUQh8hgKKtu3Y708OLvRLtuASMg2/nvmbarw=

portal-ui/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
"dependencies": {
77
"@emotion/react": "^11.10.5",
88
"@emotion/styled": "^11.10.5",
9-
"@mui/icons-material": "^5.10.16",
10-
"@mui/lab": "^5.0.0-alpha.111",
11-
"@mui/material": "^5.10.17",
12-
"@mui/styles": "^5.10.16",
13-
"@mui/x-date-pickers": "^5.0.10",
9+
"@mui/icons-material": "^5.11.0",
10+
"@mui/lab": "^5.0.0-alpha.117",
11+
"@mui/material": "^5.11.6",
12+
"@mui/styles": "^5.11.2",
13+
"@mui/x-date-pickers": "^5.0.15",
1414
"@reduxjs/toolkit": "^1.9.1",
1515
"@types/lodash": "^4.14.191",
1616
"@types/minio": "^7.0.15",
17-
"@types/node": "17.0.14",
18-
"@types/react": "18.0.26",
17+
"@types/node": "18.11.18",
18+
"@types/react": "18.0.27",
1919
"@types/react-copy-to-clipboard": "^5.0.2",
20-
"@types/react-dom": "18.0.9",
20+
"@types/react-dom": "18.0.10",
2121
"@types/react-grid-layout": "^1.1.1",
22-
"@types/react-redux": "^7.1.24",
22+
"@types/react-redux": "^7.1.25",
2323
"@types/react-virtualized": "^9.21.21",
2424
"@types/superagent": "^4.1.16",
2525
"@types/webpack-env": "^1.14.1",
@@ -37,16 +37,16 @@
3737
"react-component-export-image": "^1.0.6",
3838
"react-copy-to-clipboard": "^5.0.2",
3939
"react-dom": "^18.1.0",
40-
"react-dropzone": "^11.4.2",
40+
"react-dropzone": "^14.2.3",
4141
"react-grid-layout": "^1.2.0",
4242
"react-redux": "^8.0.5",
43-
"react-router-dom": "6.4.5",
43+
"react-router-dom": "6.7.0",
4444
"react-virtualized": "^9.22.3",
4545
"react-window": "^1.8.8",
4646
"react-window-infinite-loader": "^1.0.7",
4747
"recharts": "^2.2.0",
4848
"superagent": "^8.0.8",
49-
"tinycolor2": "^1.4.2",
49+
"tinycolor2": "^1.5.2",
5050
"websocket": "^1.0.31"
5151
},
5252
"scripts": {
@@ -75,11 +75,11 @@
7575
},
7676
"proxy": "http://localhost:9090/",
7777
"devDependencies": {
78-
"@types/luxon": "^3.1.0",
78+
"@types/luxon": "^3.2.0",
7979
"@types/react-window": "^1.8.5",
8080
"@types/react-window-infinite-loader": "^1.0.6",
8181
"@types/recharts": "^1.8.24",
82-
"prettier": "2.7.1",
82+
"prettier": "2.8.3",
8383
"react-scripts": "5.0.1",
8484
"testcafe": "^2.2.0",
8585
"typescript": "^4.4.3"

portal-ui/src/screens/Console/Tenants/TenantDetails/Pools/Details/PoolDetails.tsx

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -215,41 +215,42 @@ const PoolDetails = () => {
215215
</Fragment>
216216
)}
217217
</Box>
218-
{poolInformation.tolerations && poolInformation.tolerations.length > 0 && (
219-
<Fragment>
220-
<HeaderSection title={"Tolerations"} />
221-
<Box>
222-
<ul>
223-
{poolInformation.tolerations.map((tolItem) => {
224-
return (
225-
<li>
226-
{tolItem.operator === "Equal" ? (
227-
<Fragment>
228-
If <strong>{tolItem.key}</strong> is equal to{" "}
229-
<strong>{tolItem.value}</strong> then{" "}
230-
<strong>{tolItem.effect}</strong> after{" "}
231-
<strong>
232-
{tolItem.tolerationSeconds?.seconds || 0}
233-
</strong>{" "}
234-
seconds
235-
</Fragment>
236-
) : (
237-
<Fragment>
238-
If <strong>{tolItem.key}</strong> exists then{" "}
239-
<strong>{tolItem.effect}</strong> after{" "}
240-
<strong>
241-
{tolItem.tolerationSeconds?.seconds || 0}
242-
</strong>{" "}
243-
seconds
244-
</Fragment>
245-
)}
246-
</li>
247-
);
248-
})}
249-
</ul>
250-
</Box>
251-
</Fragment>
252-
)}
218+
{poolInformation.tolerations &&
219+
poolInformation.tolerations.length > 0 && (
220+
<Fragment>
221+
<HeaderSection title={"Tolerations"} />
222+
<Box>
223+
<ul>
224+
{poolInformation.tolerations.map((tolItem) => {
225+
return (
226+
<li>
227+
{tolItem.operator === "Equal" ? (
228+
<Fragment>
229+
If <strong>{tolItem.key}</strong> is equal to{" "}
230+
<strong>{tolItem.value}</strong> then{" "}
231+
<strong>{tolItem.effect}</strong> after{" "}
232+
<strong>
233+
{tolItem.tolerationSeconds?.seconds || 0}
234+
</strong>{" "}
235+
seconds
236+
</Fragment>
237+
) : (
238+
<Fragment>
239+
If <strong>{tolItem.key}</strong> exists then{" "}
240+
<strong>{tolItem.effect}</strong> after{" "}
241+
<strong>
242+
{tolItem.tolerationSeconds?.seconds || 0}
243+
</strong>{" "}
244+
seconds
245+
</Fragment>
246+
)}
247+
</li>
248+
);
249+
})}
250+
</ul>
251+
</Box>
252+
</Fragment>
253+
)}
253254
</Grid>
254255
</Fragment>
255256
);

portal-ui/src/screens/Console/Tenants/TenantDetails/TenantSummary.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -318,16 +318,17 @@ const TenantSummary = ({ classes }: ITenantsSummary) => {
318318
</Fragment>
319319
)}
320320

321-
{tenant?.domains?.console && tenant?.domains?.console !== "" && (
322-
<a
323-
href={tenant?.domains?.console || ""}
324-
target="_blank"
325-
rel="noopener"
326-
className={classes.linkedSection}
327-
>
328-
{tenant?.domains?.console || ""}
329-
</a>
330-
)}
321+
{tenant?.domains?.console &&
322+
tenant?.domains?.console !== "" && (
323+
<a
324+
href={tenant?.domains?.console || ""}
325+
target="_blank"
326+
rel="noopener"
327+
className={classes.linkedSection}
328+
>
329+
{tenant?.domains?.console || ""}
330+
</a>
331+
)}
331332
</Fragment>
332333
}
333334
/>

0 commit comments

Comments
 (0)