From 29507cda7eeab04e4fc3cd27a20f62bdba663702 Mon Sep 17 00:00:00 2001 From: Alex <33497058+bexsoft@users.noreply.github.com> Date: Tue, 11 Apr 2023 02:36:03 -0600 Subject: [PATCH] Updated xml2js library (#2770) ## What does this do? Updated xml2js library for tests in console. Will fix this in minio-js as well in an upcoming PR ## How does it look? Screenshot 2023-04-10 at 21 58 04 Signed-off-by: Benjamin Perez Co-authored-by: Benjamin Perez --- portal-ui/package.json | 7 ++++--- portal-ui/yarn.lock | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/portal-ui/package.json b/portal-ui/package.json index e797a3afb..e78d55ed7 100644 --- a/portal-ui/package.json +++ b/portal-ui/package.json @@ -19,7 +19,6 @@ "lodash": "^4.17.21", "luxon": "^3.3.0", "mds": "https://github.com/minio/mds.git#v0.3.3", - "minio": "^7.0.32", "react": "^18.1.0", "react-component-export-image": "^1.0.6", "react-copy-to-clipboard": "^5.0.2", @@ -90,7 +89,8 @@ "react-app-rewired": "^2.2.1", "react-scripts": "5.0.1", "testcafe": "^2.3.0", - "typescript": "^4.4.3" + "typescript": "^4.4.3", + "minio": "^7.0.32" }, "resolutions": { "nth-check": "^2.0.1", @@ -105,7 +105,8 @@ "react-scripts/**/json5": "^2.2.2", "react-scripts/**/debug": "^3.1.0", "recharts/**/d3-color": "^3.1.0", - "websocket/debug": "^3.1.0" + "websocket/debug": "^3.1.0", + "minio/xml2js": "^0.5.0" }, "main": "index.js" } diff --git a/portal-ui/yarn.lock b/portal-ui/yarn.lock index 29a7bf8b0..50312c959 100644 --- a/portal-ui/yarn.lock +++ b/portal-ui/yarn.lock @@ -12757,10 +12757,10 @@ xml-name-validator@^3.0.0: resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== -xml2js@^0.4.15: - version "0.4.23" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" - integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug== +xml2js@^0.4.15, xml2js@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.5.0.tgz#d9440631fbb2ed800203fad106f2724f62c493b7" + integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA== dependencies: sax ">=0.6.0" xmlbuilder "~11.0.0"