From 84628d587b596b7021654577c1c53ce542b66f78 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Thu, 26 May 2022 15:47:58 -0500 Subject: [PATCH] Update website upload widget with improved parallel uploads --- packages/website/package.json | 2 +- packages/website/yarn.lock | 29 +++++++++++++++-------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/packages/website/package.json b/packages/website/package.json index 28ab42ca..e0364d1a 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -41,7 +41,7 @@ "react-dropzone": "14.2.0", "react-helmet": "6.1.0", "react-use": "17.3.2", - "skynet-js": "4.1.0", + "skynet-js": "4.2.2-beta", "stream-browserify": "3.0.0", "swr": "1.3.0" }, diff --git a/packages/website/yarn.lock b/packages/website/yarn.lock index af271e72..0fb96630 100644 --- a/packages/website/yarn.lock +++ b/packages/website/yarn.lock @@ -2202,7 +2202,7 @@ escape-string-regexp "^2.0.0" lodash.deburr "^4.1.0" -"@skynetlabs/tus-js-client@^2.3.0": +"@skynetlabs/tus-js-client@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@skynetlabs/tus-js-client/-/tus-js-client-2.4.0.tgz#1950ff74d531ee049d2e03a78cda393d644712b2" integrity sha512-UnlUYoG4FHPafuFPaqgqZbPOi3TX8wymvZG03QbFo9y5ifKi8xckZZuv8ehcDOmmLoS4PBO4XgRkgPxtk602zw== @@ -3263,12 +3263,13 @@ axios@^0.21.1: dependencies: follow-redirects "^1.14.0" -axios@^0.26.0: - version "0.26.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" - integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== +axios@^0.27.2: + version "0.27.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== dependencies: - follow-redirects "^1.14.8" + follow-redirects "^1.14.9" + form-data "^4.0.0" axobject-query@^2.2.0: version "2.2.0" @@ -6003,7 +6004,7 @@ follow-redirects@^1.0.0, follow-redirects@^1.14.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7" integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w== -follow-redirects@^1.14.8: +follow-redirects@^1.14.9: version "1.15.0" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4" integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ== @@ -6031,7 +6032,7 @@ fork-ts-checker-webpack-plugin@4.1.6: tapable "^1.0.0" worker-rpc "^0.1.0" -form-data@4.0.0: +form-data@4.0.0, form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== @@ -11025,14 +11026,14 @@ sjcl@^1.0.8: resolved "https://registry.yarnpkg.com/sjcl/-/sjcl-1.0.8.tgz#f2ec8d7dc1f0f21b069b8914a41a8f236b0e252a" integrity sha512-LzIjEQ0S0DpIgnxMEayM1rq9aGwGRG4OnZhCdjx7glTaJtf4zRfpg87ImfjSJjoW9vKpagd82McDOwbRT5kQKQ== -skynet-js@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/skynet-js/-/skynet-js-4.1.0.tgz#eccb84d04e9f42aa4f86ecb24fb4d59ed21e44cc" - integrity sha512-VmUjJ9QnLpfuQA2j7vzFh8JvukjQlX4QLGw1HY3VyslFPj92vPpyO8gqjPfzgbkR05TXL7CbdqZoLZr/RBDZPw== +skynet-js@4.2.2-beta: + version "4.2.2-beta" + resolved "https://registry.yarnpkg.com/skynet-js/-/skynet-js-4.2.2-beta.tgz#0ebfed7a2f5ce7e5193a3b2e0f8e85c33f28000d" + integrity sha512-OmHDC9OgW99Y2CS/zs/Htk/sCEhCkU3eAsvXpzZSMOjV+prm7txsbPWXs2yLpSQbkyJK7Q4jJEybTguq2PK0cw== dependencies: - "@skynetlabs/tus-js-client" "^2.3.0" + "@skynetlabs/tus-js-client" "^2.4.0" async-mutex "^0.3.2" - axios "^0.26.0" + axios "^0.27.2" base32-decode "^1.0.0" base32-encode "^1.1.1" base64-js "^1.3.1"