Skip to content

Commit 0faae84

Browse files
committed
chore: fix deps
1 parent 72ef531 commit 0faae84

File tree

4 files changed

+3
-28
lines changed

4 files changed

+3
-28
lines changed

package-lock.json

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@
166166
},
167167
"devDependencies": {
168168
"aegir": "^47.0.14",
169-
"execa": "^9.6.0",
170169
"patch-package": "^8.0.0"
171170
}
172171
}

patches/@chainsafe+libp2p-yamux+7.0.2.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ index fb941dd..964ed3f 100644
14221422
import { PROTOCOL_ERRORS } from './constants.js'
14231423
@@ -395,17 +396,16 @@ export class YamuxMuxer implements StreamMuxer {
14241424
}
1425-
1425+
14261426
private async keepAliveLoop (): Promise<void> {
14271427
- const abortPromise = new Promise((_resolve, reject) => { this.closeController.signal.addEventListener('abort', reject, { once: true }) })
14281428
this.log?.trace('muxer keepalive enabled interval=%s', this.config.keepAliveInterval)

test/index.spec.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { execa } from 'execa'
2-
31
describe('amino DHT bootstrapper', () => {
42
let controller: AbortController
53

@@ -12,27 +10,6 @@ describe('amino DHT bootstrapper', () => {
1210
})
1311

1412
it('should start the bootstrapper', async () => {
15-
const config = {
16-
bootstrap: {
17-
list: [
18-
"/dns4/am6.bootstrap.libp2p.io/tcp/443/wss/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb",
19-
"/dns4/sg1.bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt",
20-
"/dns4/sv15.bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN"
21-
]
22-
}
23-
}
24-
25-
const proc = execa('node', ['dist/src/index.js'], {
26-
cancelSignal: controller.signal
27-
})
28-
29-
proc.stdout.on('data', buf => {
30-
console.info(buf.toString())
31-
})
32-
proc.stderr.on('data', buf => {
33-
console.error(buf.toString())
34-
})
3513

36-
await proc
3714
})
3815
})

0 commit comments

Comments
 (0)