fix: show clear error when Node.js is too old instead of a parse crash

This commit is contained in:
LeBaronDeCharlus
2026-06-29 14:36:41 +02:00
parent 69027331b2
commit cda377a420
3 changed files with 23 additions and 4 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
{
"name": "torlink",
"name": "torlnk",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "torlink",
"name": "torlnk",
"version": "1.0.0",
"license": "MIT",
"dependencies": {
@@ -16,7 +16,7 @@
"webtorrent": "^2.4.1"
},
"bin": {
"torlink": "dist/index.js"
"torlnk": "dist/cli.cjs"
},
"devDependencies": {
"@types/node": "^25.9.2",