fix(deps): update dependency create-torrent to v5 (#2034)
* fix(deps): update dependency create-torrent to v5 * Update webtorrent.js Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Diego Rodríguez Baquero <github@diegorbaquero.com>
This commit is contained in:
76
package-lock.json
generated
76
package-lock.json
generated
@@ -16,7 +16,7 @@
|
||||
"capture-frame": "4.0.0",
|
||||
"chokidar": "3.5.2",
|
||||
"chromecasts": "1.10.0",
|
||||
"create-torrent": "4.7.2",
|
||||
"create-torrent": "5.0.0",
|
||||
"debounce": "1.2.1",
|
||||
"dlnacasts": "0.1.0",
|
||||
"drag-drop": "7.2.0",
|
||||
@@ -4106,9 +4106,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/create-torrent": {
|
||||
"version": "4.7.2",
|
||||
"resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-4.7.2.tgz",
|
||||
"integrity": "sha512-8T5zMK0WhOfm2QubE/ZFVxaoCmhZk6I01ze53MIIe1HI0dxsvYohkNtFXEHL5oXi1vkbJOD/yLVJuUc4cCziog==",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-5.0.0.tgz",
|
||||
"integrity": "sha512-FpflZjocxYhunHsfSSd2BS+M+YtmzBpgo4nrc+NmVHfFmzFs1XXsJS/+h2EPtIxezkIRIg0u/htIpVOmrbHuSg==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
@@ -4142,7 +4142,7 @@
|
||||
"create-torrent": "bin/cmd.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/create-torrent/node_modules/readable-stream": {
|
||||
@@ -15758,6 +15758,46 @@
|
||||
"utp-native": "^2.5.3"
|
||||
}
|
||||
},
|
||||
"node_modules/webtorrent/node_modules/create-torrent": {
|
||||
"version": "4.7.2",
|
||||
"resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-4.7.2.tgz",
|
||||
"integrity": "sha512-8T5zMK0WhOfm2QubE/ZFVxaoCmhZk6I01ze53MIIe1HI0dxsvYohkNtFXEHL5oXi1vkbJOD/yLVJuUc4cCziog==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/feross"
|
||||
},
|
||||
{
|
||||
"type": "patreon",
|
||||
"url": "https://www.patreon.com/feross"
|
||||
},
|
||||
{
|
||||
"type": "consulting",
|
||||
"url": "https://feross.org/support"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"bencode": "^2.0.2",
|
||||
"block-stream2": "^2.1.0",
|
||||
"filestream": "^5.0.0",
|
||||
"is-file": "^1.0.0",
|
||||
"junk": "^3.1.0",
|
||||
"minimist": "^1.2.5",
|
||||
"multistream": "^4.1.0",
|
||||
"once": "^1.4.0",
|
||||
"piece-length": "^2.0.1",
|
||||
"queue-microtask": "^1.2.3",
|
||||
"readable-stream": "^3.6.0",
|
||||
"run-parallel": "^1.2.0",
|
||||
"simple-sha1": "^3.1.0"
|
||||
},
|
||||
"bin": {
|
||||
"create-torrent": "bin/cmd.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/webtorrent/node_modules/debug": {
|
||||
"version": "4.3.2",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
||||
@@ -19498,9 +19538,9 @@
|
||||
}
|
||||
},
|
||||
"create-torrent": {
|
||||
"version": "4.7.2",
|
||||
"resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-4.7.2.tgz",
|
||||
"integrity": "sha512-8T5zMK0WhOfm2QubE/ZFVxaoCmhZk6I01ze53MIIe1HI0dxsvYohkNtFXEHL5oXi1vkbJOD/yLVJuUc4cCziog==",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-5.0.0.tgz",
|
||||
"integrity": "sha512-FpflZjocxYhunHsfSSd2BS+M+YtmzBpgo4nrc+NmVHfFmzFs1XXsJS/+h2EPtIxezkIRIg0u/htIpVOmrbHuSg==",
|
||||
"requires": {
|
||||
"bencode": "^2.0.2",
|
||||
"block-stream2": "^2.1.0",
|
||||
@@ -28625,6 +28665,26 @@
|
||||
"utp-native": "^2.5.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"create-torrent": {
|
||||
"version": "4.7.2",
|
||||
"resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-4.7.2.tgz",
|
||||
"integrity": "sha512-8T5zMK0WhOfm2QubE/ZFVxaoCmhZk6I01ze53MIIe1HI0dxsvYohkNtFXEHL5oXi1vkbJOD/yLVJuUc4cCziog==",
|
||||
"requires": {
|
||||
"bencode": "^2.0.2",
|
||||
"block-stream2": "^2.1.0",
|
||||
"filestream": "^5.0.0",
|
||||
"is-file": "^1.0.0",
|
||||
"junk": "^3.1.0",
|
||||
"minimist": "^1.2.5",
|
||||
"multistream": "^4.1.0",
|
||||
"once": "^1.4.0",
|
||||
"piece-length": "^2.0.1",
|
||||
"queue-microtask": "^1.2.3",
|
||||
"readable-stream": "^3.6.0",
|
||||
"run-parallel": "^1.2.0",
|
||||
"simple-sha1": "^3.1.0"
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.3.2",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"capture-frame": "4.0.0",
|
||||
"chokidar": "3.5.2",
|
||||
"chromecasts": "1.10.0",
|
||||
"create-torrent": "4.7.2",
|
||||
"create-torrent": "5.0.0",
|
||||
"debounce": "1.2.1",
|
||||
"dlnacasts": "0.1.0",
|
||||
"drag-drop": "7.2.0",
|
||||
|
||||
@@ -17,7 +17,7 @@ const { TorrentKeyNotFoundError } = require('./lib/errors')
|
||||
const torrentPoster = require('./lib/torrent-poster')
|
||||
|
||||
// Force use of webtorrent trackers on all torrents
|
||||
global.WEBTORRENT_ANNOUNCE = defaultAnnounceList
|
||||
globalThis.WEBTORRENT_ANNOUNCE = defaultAnnounceList
|
||||
.map((arr) => arr[0])
|
||||
.filter((url) => url.indexOf('wss://') === 0 || url.indexOf('ws://') === 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user