Comparing version 1.3.0 to 1.4.0
16
index.js
@@ -48,2 +48,10 @@ const EventEmitter = require('events') | ||
ref () { | ||
binding.ref(this._handle) | ||
} | ||
unref () { | ||
binding.unref(this._handle) | ||
} | ||
static createServer (opts) { | ||
@@ -195,2 +203,10 @@ return new PipeServer(opts) | ||
ref () { | ||
binding.ref(this._handle) | ||
} | ||
unref () { | ||
binding.unref(this._handle) | ||
} | ||
_onconnection (err) { | ||
@@ -197,0 +213,0 @@ if (err) { |
{ | ||
"name": "bare-pipe", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Native I/O pipes for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
34819
202