New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

rpc-protocol

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpc-protocol - npm Package Compare versions

Comparing version

to
0.1.3

{
"name": "rpc-protocol",
"version": "0.1.2",
"version": "0.1.3",
"description": "Create and run commands over a RPC protocol stream",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -49,4 +49,8 @@ const { deserialize } = require('./serialization')

_write(chunk, enc, done) {
this.onmessage(chunk)
done(null, chunk)
try {
this.onmessage(chunk)
done(null, chunk)
} catch (err) {
done(err)
}
}

@@ -53,0 +57,0 @@