diff --git a/package-lock.json b/package-lock.json index 71ee325b..81a8e8fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "dependencies": { "compression": "1.7.4", "cors": "2.8.5", - "create-torrent": "5.0.9", + "create-torrent": "6.0.2", "date-fns": "2.29.3", "debug": "4.3.4", "drag-drop": "7.2.0", @@ -728,9 +728,9 @@ ] }, "node_modules/block-iterator": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/block-iterator/-/block-iterator-1.0.1.tgz", - "integrity": "sha512-ral9Gh8BXqVkh4lnhLLL5QJ67+VMOBNzsHJZX4n+Pwer9bzcSM2ZOjTLMErkWWETvnis+ZP1a6EULebjEg3bTA==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/block-iterator/-/block-iterator-1.1.1.tgz", + "integrity": "sha512-DrjdVWZemVO4iBf4tiOXjUrY5cNesjzy0t7sIiu2rdl8cOCHRxAgKjSJFc3vBZYYMMmshUAxajl8QQh/uxXTKQ==" }, "node_modules/block-stream2": { "version": "2.1.0", @@ -1559,9 +1559,9 @@ } }, "node_modules/create-torrent": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-5.0.9.tgz", - "integrity": "sha512-WQ/bMe+aCBSa5EonIkgw7CTM/1JnJDQuLJhA78omSWvuEbXDwaUy0rG3a+IYt+EiO+rdTLxdsBwrsn/wfWOMQA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-6.0.2.tgz", + "integrity": "sha512-y8cSAKxEC8gLP+wcncz/ZkLfXY1zziE81Mnbn8WbRaoVoPfGj2E+pNvjvus5YVmNzUhzhiJ6KtRmWYsQzvwVAQ==", "funding": [ { "type": "github", @@ -1578,7 +1578,7 @@ ], "dependencies": { "bencode": "^2.0.3", - "block-iterator": "^1.0.1", + "block-iterator": "^1.1.1", "fast-readable-async-iterator": "^1.1.1", "is-file": "^1.0.0", "join-async-iterator": "^1.1.1", @@ -1587,7 +1587,7 @@ "piece-length": "^2.0.1", "queue-microtask": "^1.2.3", "run-parallel": "^1.2.0", - "simple-sha1": "^3.1.0" + "uint8-util": "^1.0.1" }, "bin": { "create-torrent": "bin/cmd.js" @@ -6468,6 +6468,11 @@ "buffer-alloc": "^1.1.0" } }, + "node_modules/uint8-util": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uint8-util/-/uint8-util-1.0.1.tgz", + "integrity": "sha512-TQdJHdTW8u1vS/nJMBOtVP1Hmwlvs2J6GFk15reOCsyYJ/HK4Q75o/zzDmPibk8i7mPrN+rPM6yz+3XbVDfJhw==" + }, "node_modules/umd": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", @@ -6868,6 +6873,44 @@ "utp-native": "^2.5.3" } }, + "node_modules/webtorrent/node_modules/create-torrent": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-5.0.9.tgz", + "integrity": "sha512-WQ/bMe+aCBSa5EonIkgw7CTM/1JnJDQuLJhA78omSWvuEbXDwaUy0rG3a+IYt+EiO+rdTLxdsBwrsn/wfWOMQA==", + "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.3", + "block-iterator": "^1.0.1", + "fast-readable-async-iterator": "^1.1.1", + "is-file": "^1.0.0", + "join-async-iterator": "^1.1.1", + "junk": "^3.1.0", + "minimist": "^1.2.7", + "piece-length": "^2.0.1", + "queue-microtask": "^1.2.3", + "run-parallel": "^1.2.0", + "simple-sha1": "^3.1.0" + }, + "bin": { + "create-torrent": "bin/cmd.js" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/webtorrent/node_modules/mime": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", @@ -7515,9 +7558,9 @@ "integrity": "sha512-BF033y5fN6OCofD3vgHmNtwZWRcq9NLyyxyILx9hfMy1sXYy4ojFl765hJ2lP0YaN2fuxPaLO2Vzzoxy0FLFFA==" }, "block-iterator": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/block-iterator/-/block-iterator-1.0.1.tgz", - "integrity": "sha512-ral9Gh8BXqVkh4lnhLLL5QJ67+VMOBNzsHJZX4n+Pwer9bzcSM2ZOjTLMErkWWETvnis+ZP1a6EULebjEg3bTA==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/block-iterator/-/block-iterator-1.1.1.tgz", + "integrity": "sha512-DrjdVWZemVO4iBf4tiOXjUrY5cNesjzy0t7sIiu2rdl8cOCHRxAgKjSJFc3vBZYYMMmshUAxajl8QQh/uxXTKQ==" }, "block-stream2": { "version": "2.1.0", @@ -8202,12 +8245,12 @@ } }, "create-torrent": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-5.0.9.tgz", - "integrity": "sha512-WQ/bMe+aCBSa5EonIkgw7CTM/1JnJDQuLJhA78omSWvuEbXDwaUy0rG3a+IYt+EiO+rdTLxdsBwrsn/wfWOMQA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-6.0.2.tgz", + "integrity": "sha512-y8cSAKxEC8gLP+wcncz/ZkLfXY1zziE81Mnbn8WbRaoVoPfGj2E+pNvjvus5YVmNzUhzhiJ6KtRmWYsQzvwVAQ==", "requires": { "bencode": "^2.0.3", - "block-iterator": "^1.0.1", + "block-iterator": "^1.1.1", "fast-readable-async-iterator": "^1.1.1", "is-file": "^1.0.0", "join-async-iterator": "^1.1.1", @@ -8216,7 +8259,7 @@ "piece-length": "^2.0.1", "queue-microtask": "^1.2.3", "run-parallel": "^1.2.0", - "simple-sha1": "^3.1.0" + "uint8-util": "^1.0.1" } }, "cross-spawn": { @@ -11901,6 +11944,11 @@ "buffer-alloc": "^1.1.0" } }, + "uint8-util": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uint8-util/-/uint8-util-1.0.1.tgz", + "integrity": "sha512-TQdJHdTW8u1vS/nJMBOtVP1Hmwlvs2J6GFk15reOCsyYJ/HK4Q75o/zzDmPibk8i7mPrN+rPM6yz+3XbVDfJhw==" + }, "umd": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", @@ -12199,6 +12247,24 @@ "utp-native": "^2.5.3" }, "dependencies": { + "create-torrent": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-5.0.9.tgz", + "integrity": "sha512-WQ/bMe+aCBSa5EonIkgw7CTM/1JnJDQuLJhA78omSWvuEbXDwaUy0rG3a+IYt+EiO+rdTLxdsBwrsn/wfWOMQA==", + "requires": { + "bencode": "^2.0.3", + "block-iterator": "^1.0.1", + "fast-readable-async-iterator": "^1.1.1", + "is-file": "^1.0.0", + "join-async-iterator": "^1.1.1", + "junk": "^3.1.0", + "minimist": "^1.2.7", + "piece-length": "^2.0.1", + "queue-microtask": "^1.2.3", + "run-parallel": "^1.2.0", + "simple-sha1": "^3.1.0" + } + }, "mime": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", diff --git a/package.json b/package.json index bfc012e6..e0ea843b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "compression": "1.7.4", "cors": "2.8.5", - "create-torrent": "5.0.9", + "create-torrent": "6.0.2", "date-fns": "2.29.3", "debug": "4.3.4", "drag-drop": "7.2.0",