diff --git a/lib/hyper/index.js b/lib/hyper/index.js index cfacbe5..dfc4d49 100644 --- a/lib/hyper/index.js +++ b/lib/hyper/index.js @@ -50,8 +50,9 @@ async function startDaemon (name, readable) { const daemonRoot = p.dirname(require.resolve(name)) const binPath = p.join(daemonRoot, 'bin', 'index.js') console.error(`${readable} daemon started`) - return spawn('node', [binPath], { - detached: true + return spawn(process.argv[0], [binPath], { + detached: true, + stdio: 'ignore' }) } diff --git a/package.json b/package.json index e7465b6..c20bbfd 100644 --- a/package.json +++ b/package.json @@ -29,36 +29,38 @@ "homepage": "https://github.com/hypercore-protocol/hypercore-cli#readme", "dependencies": { "ansi-diff-stream": "^1.2.1", - "await-lock": "^2.1.0", - "binary-extensions": "^2.1.0", - "bytes": "^3.1.0", - "chalk": "^1.1.3", - "chokidar": "^3.4.3", + "await-lock": "^2.2.2", + "binary-extensions": "^2.2.0", + "bytes": "^3.1.2", + "chalk": "^5.0.1", + "chokidar": "^3.5.3", "concat-stream": "^2.0.0", "diff-file-tree": "^2.5.1", - "hyperbeam": "^1.1.1", - "hyperbee": "^1.0.1", - "hyperdrive": "^10.18.0", - "hyperspace": "^3.17.0", - "hyperspace-mirroring-service": "^1.0.0", + "hyperbeam": "^2.0.1", + "hyperbee": "^1.10.1", + "hypercore-crypto": "^3.3.0", + "hyperdrive": "^10.21.0", + "hyperspace": "^3.19.0", + "hyperspace-mirroring-service": "^1.0.7", + "hypertrie": "^5.1.3", "identify-filetype": "^1.0.0", - "mime": "^1.4.0", + "mime": "^3.0.0", "mkdirp": "^1.0.4", - "moment": "^2.17.0", - "p-debounce": "^2.1.0", - "pretty-bytes": "^4.0.2", + "moment": "^2.29.4", + "p-debounce": "^4.0.0", + "pretty-bytes": "^6.0.0", "pretty-hash": "^1.0.1", - "progress-string": "^1.2.1", + "progress-string": "^1.2.2", "pump": "^3.0.0", - "random-words": "^1.1.1", + "random-words": "^1.2.0", "range-parser": "^1.2.1", "speedometer": "^1.1.0", "subcommand": "^2.1.1", - "textextensions": "^5.12.0", + "textextensions": "^5.15.0", "through2": "^4.0.2", - "username": "^2.2.2", - "vm2": "^3.9.2", - "wrap-ansi": "^7.0.0", - "yesno": "^0.3.1" + "username": "^6.0.0", + "vm2": "^3.9.10", + "wrap-ansi": "^8.0.1", + "yesno": "^0.4.0" } }