Skip to content

Commit

Permalink
Update Operator Dependencies (#1864)
Browse files Browse the repository at this point in the history
- Update yarn package dependencies
- Updated Copyright notices to indicate this is Operator project

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
  • Loading branch information
bexsoft and Benjamin Perez committed Nov 16, 2023
1 parent 377fa02 commit ffa7cc8
Show file tree
Hide file tree
Showing 17 changed files with 1,794 additions and 1,709 deletions.
2 changes: 1 addition & 1 deletion api/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
title: MinIO Console Server
title: MinIO Operator
version: 0.1.0
consumes:
- application/json
Expand Down
27 changes: 13 additions & 14 deletions web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,34 @@
"homepage": ".",
"private": true,
"dependencies": {
"@babel/traverse": "7.23.2",
"@babel/traverse": "7.23.3",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.11.16",
"@mui/lab": "^5.0.0-alpha.117",
"@mui/material": "5.13.6",
"@mui/styles": "5.13.2",
"@mui/x-date-pickers": "^5.0.15",
"@reduxjs/toolkit": "1.9.5",
"@reduxjs/toolkit": "1.9.7",
"@uiw/react-textarea-code-editor": "^2.1.1",
"debug": "^3.1.0",
"kbar": "^0.1.0-beta.39",
"local-storage-fallback": "^4.1.1",
"lodash": "^4.17.21",
"luxon": "^3.3.0",
"mds": "https://github.com/minio/mds.git#v0.9.4",
"mds": "https://github.com/minio/mds.git#v0.12.2",
"react": "^18.1.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^18.1.0",
"react-grid-layout": "^1.2.0",
"react-redux": "^8.0.5",
"react-router-dom": "6.14.0",
"react-router-dom": "6.16.0",
"react-virtualized": "^9.22.3",
"react-window": "^1.8.8",
"react-window-infinite-loader": "^1.0.7",
"recharts": "2.7.2",
"semver": "7.5.3",
"superagent": "^8.0.8",
"tough-cookie": "4.1.3",
"yaml": "2.3.1"
"yaml": "2.3.4"
},
"scripts": {
"start": "PORT=5050 react-scripts start",
Expand Down Expand Up @@ -65,28 +63,28 @@
"@types/lodash": "^4.14.195",
"@types/luxon": "^3.3.0",
"@types/node": "18.11.18",
"@types/react": "18.2.14",
"@types/react": "18.2.37",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "18.2.6",
"@types/react-dom": "18.2.15",
"@types/react-grid-layout": "^1.1.1",
"@types/react-redux": "^7.1.25",
"@types/react-virtualized": "9.21.22",
"@types/react-virtualized": "9.21.27",
"@types/react-window": "^1.8.5",
"@types/react-window-infinite-loader": "^1.0.6",
"@types/recharts": "^1.8.24",
"@types/superagent": "^4.1.18",
"@types/webpack-env": "^1.18.1",
"@types/websocket": "^1.0.0",
"prettier": "3.0.0",
"prettier": "3.1.0",
"react-scripts": "5.0.1",
"testcafe": "2.6.2",
"ts-prune": "^0.10.3",
"typescript": "^4.4.3"
},
"resolutions": {
"nth-check": "^2.0.1",
"postcss": "^8.4.24",
"yaml": "^2.3.1",
"postcss": "^8.4.31",
"react-scripts/**/node-forge": "^1.3.0",
"react-scripts/**/async": "^2.6.4",
"react-scripts/workbox-webpack-plugin/workbox-build/@surma/rollup-plugin-off-main-thread/ejs/jake/async": "^2.6.4",
Expand All @@ -98,8 +96,9 @@
"react-scripts/**/debug": "^3.1.0",
"recharts/**/d3-color": "^3.1.0",
"websocket/debug": "^3.1.0",
"fast-xml-parser": "^4.2.4",
"semver": "^7.5.2",
"@babel/traverse": "^7.23.2",
"tough-cookie": "^4.1.3"
"testcafe/**/tough-cookie": "^4.1.3",
"styled-components/**/@babel/traverse": "^7.23.2"
}
}
6 changes: 3 additions & 3 deletions web-app/src/api/operatorApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,8 @@ export class HttpClient<SecurityDataType = unknown> {
property instanceof Blob
? property
: typeof property === "object" && property !== null
? JSON.stringify(property)
: `${property}`,
? JSON.stringify(property)
: `${property}`,
);
return formData;
}, new FormData()),
Expand Down Expand Up @@ -1194,7 +1194,7 @@ export class HttpClient<SecurityDataType = unknown> {
}

/**
* @title MinIO Console Server
* @title MinIO Operator
* @version 0.1.0
* @baseUrl /api/v1
*/
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/common/LoadingComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2021 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/common/SecureComponent/accessControl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/common/SecureComponent/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/CommandBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/ConsoleKBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/License/LicensePlans.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ const TenantDetails = ({ classes }: ITenantDetailsProps) => {
return health_status === "red"
? classes.redState
: health_status === "yellow"
? classes.yellowState
: health_status === "green"
? classes.greenState
: classes.greyState;
? classes.yellowState
: health_status === "green"
? classes.greenState
: classes.greyState;
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ const healthStatusToClass = (health_status: string = "red", classes: any) => {
return health_status === "red"
? classes.redState
: health_status === "yellow"
? classes.yellowState
: health_status === "green"
? classes.greenState
: classes.greyState;
? classes.yellowState
: health_status === "green"
? classes.greenState
: classes.greyState;
};

const StorageSummary = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/kbar-actions.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of MinIO Console Server
// This file is part of MinIO Operator
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit ffa7cc8

Please sign in to comment.