Comparing version 1.3.0 to 1.3.1
@@ -12,6 +12,6 @@ 'use strict'; | ||
const server = net.createServer({allowHalfOpen: true}, c => { | ||
let responed = false; | ||
let responded = false; | ||
function respond(data) { | ||
if (responded) return; | ||
responed = true; | ||
responded = true; | ||
c.end(JSON.stringify(data)); | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "sync-rpc", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "description": "Run asynchronous commands synchronously by putting them in a separate process", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12699