From 59d46b1d0510ac786e8d478dac9ff6196d551a10 Mon Sep 17 00:00:00 2001 From: Cafe137 <77121044+Cafe137@users.noreply.github.com> Date: Mon, 4 Dec 2023 23:01:37 +0100 Subject: [PATCH] feat: upgrade to new bee-dashboard for better ux (#395) --- ui/package-lock.json | 78 +++++++++++++++++++------------------------- ui/package.json | 2 +- 2 files changed, 34 insertions(+), 46 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index ef8d99e..d73c03e 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -8,7 +8,7 @@ "name": "swarm-desktop-ui", "version": "0.1.0", "dependencies": { - "@ethersphere/bee-dashboard": "^0.24.1", + "@ethersphere/bee-dashboard": "^0.25.0", "@types/jest": "^28.1.3", "@types/node": "^18.0.0", "@types/react": "^18.0.14", @@ -2361,11 +2361,11 @@ } }, "node_modules/@ethersphere/bee-dashboard": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/@ethersphere/bee-dashboard/-/bee-dashboard-0.24.1.tgz", - "integrity": "sha512-ME99p/g1a8Fal1/Ia/fIB1pkt5hSp+KoyFzfNQ+pV9hzN2LInZg6UH7RvRSBNa6lJpPww94WcgJCpCV2TveFbQ==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@ethersphere/bee-dashboard/-/bee-dashboard-0.25.0.tgz", + "integrity": "sha512-fN4ntQRJFuKxHH4yx75W5scX055ROGy9cQ7KsH4fhb8+bcoMkBc8XQ9ADtonk8+FSiSPdGZH7KMYhDIyzpLPew==", "dependencies": { - "@ethersphere/bee-js": "^6.2.0", + "@ethersphere/bee-js": "^6.7.0", "@ethersphere/swarm-cid": "^0.1.0", "@material-ui/core": "4.12.3", "@material-ui/icons": "4.11.2", @@ -2670,13 +2670,13 @@ } }, "node_modules/@ethersphere/bee-js": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@ethersphere/bee-js/-/bee-js-6.2.0.tgz", - "integrity": "sha512-QWuVvW+c9z+AFWuRL+YBZECDyV3G5qeD9L0J7Tx7HYMugoDjMAjeRyNHjkf0a5np57q3i9MAE2P678rjSJ1Yaw==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@ethersphere/bee-js/-/bee-js-6.7.0.tgz", + "integrity": "sha512-t1bsUj9BmICuRL6XENTVyZZCfkFuCjc6pQxOekuVFLBd0Qpmyf87iRpVizvZN5IKhVqqw9xCzkg8otJKQdAKNA==", "dependencies": { "@ethersphere/swarm-cid": "^0.1.0", "@types/readable-stream": "^2.3.13", - "axios": "^1.3.4", + "axios": "^0.27.2", "cafe-utility": "^10.8.1", "elliptic": "^6.5.4", "fetch-blob": "2.1.2", @@ -2696,13 +2696,12 @@ } }, "node_modules/@ethersphere/bee-js/node_modules/axios": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" } }, "node_modules/@ethersphere/bee-js/node_modules/form-data": { @@ -6356,9 +6355,9 @@ } }, "node_modules/cafe-utility": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/cafe-utility/-/cafe-utility-10.9.1.tgz", - "integrity": "sha512-/gq+ANoYvMJKrXXI/2YAiB2KhNlRhxB5XcWbbMWFA39LLCxkPhG5A9Ehy4QGv28EvndZLbBV44lJyCG+JIoDuw==" + "version": "10.29.0", + "resolved": "https://registry.npmjs.org/cafe-utility/-/cafe-utility-10.29.0.tgz", + "integrity": "sha512-B9smYtLQ0iicTMT2RMuflXNIIDRnny+Evdg5ztoJLom2B2V3Xd1te8IiHvWM0elqUbcjTI4ODrBGQeLluWsDwA==" }, "node_modules/call-bind": { "version": "1.0.2", @@ -15643,11 +15642,6 @@ "node": ">= 0.10" } }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", @@ -20811,11 +20805,11 @@ } }, "@ethersphere/bee-dashboard": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/@ethersphere/bee-dashboard/-/bee-dashboard-0.24.1.tgz", - "integrity": "sha512-ME99p/g1a8Fal1/Ia/fIB1pkt5hSp+KoyFzfNQ+pV9hzN2LInZg6UH7RvRSBNa6lJpPww94WcgJCpCV2TveFbQ==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@ethersphere/bee-dashboard/-/bee-dashboard-0.25.0.tgz", + "integrity": "sha512-fN4ntQRJFuKxHH4yx75W5scX055ROGy9cQ7KsH4fhb8+bcoMkBc8XQ9ADtonk8+FSiSPdGZH7KMYhDIyzpLPew==", "requires": { - "@ethersphere/bee-js": "^6.2.0", + "@ethersphere/bee-js": "^6.7.0", "@ethersphere/swarm-cid": "^0.1.0", "@material-ui/core": "4.12.3", "@material-ui/icons": "4.11.2", @@ -20999,13 +20993,13 @@ } }, "@ethersphere/bee-js": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@ethersphere/bee-js/-/bee-js-6.2.0.tgz", - "integrity": "sha512-QWuVvW+c9z+AFWuRL+YBZECDyV3G5qeD9L0J7Tx7HYMugoDjMAjeRyNHjkf0a5np57q3i9MAE2P678rjSJ1Yaw==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@ethersphere/bee-js/-/bee-js-6.7.0.tgz", + "integrity": "sha512-t1bsUj9BmICuRL6XENTVyZZCfkFuCjc6pQxOekuVFLBd0Qpmyf87iRpVizvZN5IKhVqqw9xCzkg8otJKQdAKNA==", "requires": { "@ethersphere/swarm-cid": "^0.1.0", "@types/readable-stream": "^2.3.13", - "axios": "^1.3.4", + "axios": "^0.27.2", "cafe-utility": "^10.8.1", "elliptic": "^6.5.4", "fetch-blob": "2.1.2", @@ -21018,13 +21012,12 @@ }, "dependencies": { "axios": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", "requires": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" } }, "form-data": { @@ -23693,9 +23686,9 @@ "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==" }, "cafe-utility": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/cafe-utility/-/cafe-utility-10.9.1.tgz", - "integrity": "sha512-/gq+ANoYvMJKrXXI/2YAiB2KhNlRhxB5XcWbbMWFA39LLCxkPhG5A9Ehy4QGv28EvndZLbBV44lJyCG+JIoDuw==" + "version": "10.29.0", + "resolved": "https://registry.npmjs.org/cafe-utility/-/cafe-utility-10.29.0.tgz", + "integrity": "sha512-B9smYtLQ0iicTMT2RMuflXNIIDRnny+Evdg5ztoJLom2B2V3Xd1te8IiHvWM0elqUbcjTI4ODrBGQeLluWsDwA==" }, "call-bind": { "version": "1.0.2", @@ -30535,11 +30528,6 @@ } } }, - "proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", diff --git a/ui/package.json b/ui/package.json index d2a018f..3773231 100644 --- a/ui/package.json +++ b/ui/package.json @@ -4,7 +4,7 @@ "private": true, "homepage": "http://localhost:5000/dashboard", "dependencies": { - "@ethersphere/bee-dashboard": "^0.24.1", + "@ethersphere/bee-dashboard": "^0.25.0", "@types/jest": "^28.1.3", "@types/node": "^18.0.0", "@types/react": "^18.0.14",