From 64162d68c480c99a4e1f7e96fb266c9c396ba56c Mon Sep 17 00:00:00 2001 From: Marcin S Date: Mon, 23 May 2022 10:33:50 -0500 Subject: [PATCH] Update upload widget on website to use latest beta --- packages/website/package.json | 2 +- packages/website/yarn.lock | 53 ++++++++++++++++++----------------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/packages/website/package.json b/packages/website/package.json index 28ab42ca..2218fae1 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.0-beta", "stream-browserify": "3.0.0", "swr": "1.3.0" }, diff --git a/packages/website/yarn.lock b/packages/website/yarn.lock index dd1f4913..d8a33ca7 100644 --- a/packages/website/yarn.lock +++ b/packages/website/yarn.lock @@ -2202,18 +2202,18 @@ escape-string-regexp "^2.0.0" lodash.deburr "^4.1.0" -"@skynetlabs/tus-js-client@^2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@skynetlabs/tus-js-client/-/tus-js-client-2.3.0.tgz#a14fd4197e2bc4ce8be724967a0e4c17d937cb64" - integrity sha512-piGvPlJh+Bu3Qf08bDlc/TnFLXE81KnFoPgvnsddNwTSLyyspxPFxJmHO5ki6SYyOl3HmUtGPoix+r2M2UpFEA== +"@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== dependencies: - buffer-from "^0.1.1" + buffer-from "^1.1.2" combine-errors "^3.0.3" is-stream "^2.0.0" js-base64 "^2.6.1" lodash.throttle "^4.1.1" proper-lockfile "^2.0.1" - url-parse "^1.4.3" + url-parse "^1.5.7" "@svgr/babel-plugin-add-jsx-attribute@^6.0.0": version "6.0.0" @@ -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" @@ -3670,12 +3671,7 @@ buffer-equal@0.0.1: resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-0.0.1.tgz#91bc74b11ea405bc916bc6aa908faafa5b4aac4b" integrity sha1-kbx0sR6kBbyRa8aqkI+q+ltKrEs= -buffer-from@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-0.1.2.tgz#15f4b9bcef012044df31142c14333caf6e0260d0" - integrity sha512-RiWIenusJsmI2KcvqQABB83tLxCByE3upSP8QU3rJDMVFGPWLvPQJt/O1Su9moRWeH7d+Q2HYb68f6+v+tw2vg== - -buffer-from@^1.0.0: +buffer-from@^1.0.0, buffer-from@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== @@ -6003,11 +5999,16 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3" integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg== -follow-redirects@^1.0.0, follow-redirects@^1.14.0, follow-redirects@^1.14.8: +follow-redirects@^1.0.0, follow-redirects@^1.14.0: version "1.14.9" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7" integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w== +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== + for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" @@ -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.0-beta: + version "4.2.0-beta" + resolved "https://registry.yarnpkg.com/skynet-js/-/skynet-js-4.2.0-beta.tgz#7ce7db2cb43b4c5b7e34ca511ceb13fc4ac59a71" + integrity sha512-9zciXyXm2WGlhyioxZDkN2CiGF5qEh0RzsQqZopS0l8ryNu/ZwN/4Sd4o2Ol34WwR0dyc/oj/FowOE4wPlVXJg== 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" @@ -12215,7 +12216,7 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" -url-parse@^1.4.3, url-parse@^1.5.1: +url-parse@^1.5.1, url-parse@^1.5.7: version "1.5.10" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==