fix: download files before opening write stream

This commit is contained in:
Jeremy Kahn 2023-02-19 17:48:03 -06:00
parent efde30c386
commit fa542fc507
2 changed files with 8 additions and 8 deletions

14
package-lock.json generated
View File

@ -39,7 +39,7 @@
"readable-web-to-node-stream": "^3.0.2", "readable-web-to-node-stream": "^3.0.2",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"sass": "^1.54.3", "sass": "^1.54.3",
"secure-file-transfer": "^0.0.2", "secure-file-transfer": "^0.0.3",
"streamsaver": "^2.0.6", "streamsaver": "^2.0.6",
"trystero": "github:jeremyckahn/trystero#bugfix/29__clean-up-peers", "trystero": "github:jeremyckahn/trystero#bugfix/29__clean-up-peers",
"typeface-public-sans": "^1.1.13", "typeface-public-sans": "^1.1.13",
@ -23282,9 +23282,9 @@
} }
}, },
"node_modules/secure-file-transfer": { "node_modules/secure-file-transfer": {
"version": "0.0.2", "version": "0.0.3",
"resolved": "https://registry.npmjs.org/secure-file-transfer/-/secure-file-transfer-0.0.2.tgz", "resolved": "https://registry.npmjs.org/secure-file-transfer/-/secure-file-transfer-0.0.3.tgz",
"integrity": "sha512-EsfWSUbHG9EsclMrlJYicC+RHv2sMS9xIBtx2h3MaBuktMXvBlw3u4/X2L6+3mRglenmBwvzuilU/sd2eHDNiA==", "integrity": "sha512-yvBBo8lsT3i49JB4X8Zn4m0gLofkyBd/G2tUiWx8IdoUk1gLlpL3Jt1xOUMRPtKUdbIT7l1MfCvokVi2MafJLA==",
"dependencies": { "dependencies": {
"@types/streamsaver": "^2.0.1", "@types/streamsaver": "^2.0.1",
"@types/webtorrent": "^0.109.3", "@types/webtorrent": "^0.109.3",
@ -43748,9 +43748,9 @@
} }
}, },
"secure-file-transfer": { "secure-file-transfer": {
"version": "0.0.2", "version": "0.0.3",
"resolved": "https://registry.npmjs.org/secure-file-transfer/-/secure-file-transfer-0.0.2.tgz", "resolved": "https://registry.npmjs.org/secure-file-transfer/-/secure-file-transfer-0.0.3.tgz",
"integrity": "sha512-EsfWSUbHG9EsclMrlJYicC+RHv2sMS9xIBtx2h3MaBuktMXvBlw3u4/X2L6+3mRglenmBwvzuilU/sd2eHDNiA==", "integrity": "sha512-yvBBo8lsT3i49JB4X8Zn4m0gLofkyBd/G2tUiWx8IdoUk1gLlpL3Jt1xOUMRPtKUdbIT7l1MfCvokVi2MafJLA==",
"requires": { "requires": {
"@types/streamsaver": "^2.0.1", "@types/streamsaver": "^2.0.1",
"@types/webtorrent": "^0.109.3", "@types/webtorrent": "^0.109.3",

View File

@ -35,7 +35,7 @@
"readable-web-to-node-stream": "^3.0.2", "readable-web-to-node-stream": "^3.0.2",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"sass": "^1.54.3", "sass": "^1.54.3",
"secure-file-transfer": "^0.0.2", "secure-file-transfer": "^0.0.3",
"streamsaver": "^2.0.6", "streamsaver": "^2.0.6",
"trystero": "github:jeremyckahn/trystero#bugfix/29__clean-up-peers", "trystero": "github:jeremyckahn/trystero#bugfix/29__clean-up-peers",
"typeface-public-sans": "^1.1.13", "typeface-public-sans": "^1.1.13",