From 29a9e3ec60ed0d6cf8962a999a9fbae2086f1189 Mon Sep 17 00:00:00 2001 From: YanJin Date: Fri, 20 Nov 2020 10:46:17 +0100 Subject: [PATCH] ui/package: Update the UI packages - Upgrade the react-table version to get support for react (v17.0.1) - Introduce react-window and react-virtualized-auto-sizer for the virtualize list Refs: #2931 --- ui/package-lock.json | 20 +++++++++++++++++--- ui/package.json | 4 +++- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index a78b4fcfa9..4f405e4c72 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -14990,9 +14990,9 @@ } }, "react-table": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/react-table/-/react-table-7.5.1.tgz", - "integrity": "sha512-rprrUElCqvj79lyY2XbUoYLzwA5Mm4CGS8ElQ8OyzocvmkvCcmunvvfbpIg9Jm9HnMBjVZcVyPFPZ1BFelIBKw==" + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/react-table/-/react-table-7.6.2.tgz", + "integrity": "sha512-urwNZTieb+xg/+BITUIrqdH5jZfJlw7rKVAAq25iXpBPwbQojLCEKJuGycLbVwn8fzU+Ovly3y8HHNaLNrPCvQ==" }, "react-test-renderer": { "version": "17.0.1", @@ -15056,6 +15056,20 @@ "react-lifecycles-compat": "^3.0.4" } }, + "react-virtualized-auto-sizer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.2.tgz", + "integrity": "sha512-MYXhTY1BZpdJFjUovvYHVBmkq79szK/k7V3MO+36gJkWGkrXKtyr4vCPtpphaTLRAdDNoYEYFZWE8LjN+PIHNg==" + }, + "react-window": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.6.tgz", + "integrity": "sha512-8VwEEYyjz6DCnGBsd+MgkD0KJ2/OXFULyDtorIiTz+QzwoP94tBoA7CnbtyXMm+cCeAUER5KJcPtWl9cpKbOBg==", + "requires": { + "@babel/runtime": "^7.0.0", + "memoize-one": ">=3.1.1 <6" + } + }, "read-only-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz", diff --git a/ui/package.json b/ui/package.json index 4edb2b2d95..6bee5d6a7e 100644 --- a/ui/package.json +++ b/ui/package.json @@ -22,8 +22,10 @@ "react-router-dom": "^5.1.0", "react-scripts": "^3.4.4", "react-select": "^3.0.8", - "react-table": "^7.2.2", + "react-table": "^7.6.2", "react-virtualized": "^9.21.0", + "react-virtualized-auto-sizer": "^1.0.2", + "react-window": "^1.8.6", "redux": "^4.0.1", "redux-oidc": "^3.1.0", "redux-saga": "^1.0.2",