From dc362c75285007fc4780b5c94f0983f4eb3f9c0e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 02:42:05 +0000 Subject: [PATCH] fix(deps): update dependency create-torrent to v6 --- package-lock.json | 156 ++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 132 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c737daf..2b15ae62 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.9", "date-fns": "2.29.3", "debug": "4.3.4", "drag-drop": "7.2.0", @@ -482,6 +482,14 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -728,9 +736,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 +1567,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.9", + "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-6.0.9.tgz", + "integrity": "sha512-DLOsxdw3znWPc+gdGkkorbSH89EjAt/PWvSgQ+N4O5JPyO8M1YWh/bXSALUR0jAH4QCHEu0x6p+jIQ1TSmnQAQ==", "funding": [ { "type": "github", @@ -1577,8 +1585,8 @@ } ], "dependencies": { - "bencode": "^2.0.3", - "block-iterator": "^1.0.1", + "bencode": "^3.0.3", + "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 +1595,7 @@ "piece-length": "^2.0.1", "queue-microtask": "^1.2.3", "run-parallel": "^1.2.0", - "simple-sha1": "^3.1.0" + "uint8-util": "^2.1.7" }, "bin": { "create-torrent": "bin/cmd.js" @@ -1596,6 +1604,17 @@ "node": ">=12" } }, + "node_modules/create-torrent/node_modules/bencode": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/bencode/-/bencode-3.0.3.tgz", + "integrity": "sha512-aP282ducX2oSLiopRaPxvO6GMOsn0teN122hvlQQXlIr0fJC+Iirea6tmOWSLWPd+GtJf2YF6+YlbF7Wz90rIA==", + "dependencies": { + "uint8-util": "^2.1.6" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -6468,6 +6487,14 @@ "buffer-alloc": "^1.1.0" } }, + "node_modules/uint8-util": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/uint8-util/-/uint8-util-2.1.7.tgz", + "integrity": "sha512-63X3eTz22sDcMPrGFcETPXP9Tll/e12ulyMhZVcFt2dhotCD3xJBLzGUUz5jL7ZVMImCOL/HDpKOarw38H/GUQ==", + "dependencies": { + "base64-arraybuffer": "^1.0.2" + } + }, "node_modules/umd": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", @@ -6548,9 +6575,9 @@ } }, "node_modules/uri-js/node_modules/punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", "dev": true, "engines": { "node": ">=6" @@ -6868,6 +6895,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", @@ -7388,6 +7453,11 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==" + }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -7515,9 +7585,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 +8272,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.9", + "resolved": "https://registry.npmjs.org/create-torrent/-/create-torrent-6.0.9.tgz", + "integrity": "sha512-DLOsxdw3znWPc+gdGkkorbSH89EjAt/PWvSgQ+N4O5JPyO8M1YWh/bXSALUR0jAH4QCHEu0x6p+jIQ1TSmnQAQ==", "requires": { - "bencode": "^2.0.3", - "block-iterator": "^1.0.1", + "bencode": "^3.0.3", + "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 +8286,17 @@ "piece-length": "^2.0.1", "queue-microtask": "^1.2.3", "run-parallel": "^1.2.0", - "simple-sha1": "^3.1.0" + "uint8-util": "^2.1.7" + }, + "dependencies": { + "bencode": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/bencode/-/bencode-3.0.3.tgz", + "integrity": "sha512-aP282ducX2oSLiopRaPxvO6GMOsn0teN122hvlQQXlIr0fJC+Iirea6tmOWSLWPd+GtJf2YF6+YlbF7Wz90rIA==", + "requires": { + "uint8-util": "^2.1.6" + } + } } }, "cross-spawn": { @@ -11901,6 +11981,14 @@ "buffer-alloc": "^1.1.0" } }, + "uint8-util": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/uint8-util/-/uint8-util-2.1.7.tgz", + "integrity": "sha512-63X3eTz22sDcMPrGFcETPXP9Tll/e12ulyMhZVcFt2dhotCD3xJBLzGUUz5jL7ZVMImCOL/HDpKOarw38H/GUQ==", + "requires": { + "base64-arraybuffer": "^1.0.2" + } + }, "umd": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", @@ -11969,9 +12057,9 @@ }, "dependencies": { "punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", "dev": true } } @@ -12199,6 +12287,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 8197381a..4b497d32 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.9", "date-fns": "2.29.3", "debug": "4.3.4", "drag-drop": "7.2.0",