We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc6b57d commit b18277bCopy full SHA for b18277b
test/socket-npm.test.ts
@@ -44,8 +44,12 @@ for (const npmDir of versions) {
44
signal: abortSignal
45
}
46
)
47
+ spawnPromise.process.stdout.on('data', (buffer: Buffer) => {
48
+ console.log(buffer.toString('utf8'))
49
+ });
50
51
spawnPromise.process.stderr.on('data', (buffer: Buffer) => {
52
+ console.error(buffer.toString('utf8'))
53
if (buffer.toString().includes('Possible typosquat attack')) {
54
spawnPromise.process.kill('SIGINT')
55
resolve()
0 commit comments