abstract-socket
Advanced tools
Comparing version 2.0.0 to 2.1.0
'use strict'; | ||
const net = require('net'); | ||
const binding = require('bindings')('abstract_socket.node'); | ||
const binding = require('bindings')(); | ||
@@ -11,12 +11,5 @@ const socket = binding.socket; | ||
const errnoException = require('util')._errnoException; | ||
function errnoException(errorno, syscall) { | ||
// TODO: having the errno message here would be nice | ||
const e = new Error(syscall + ' ' + errorno); | ||
e.errno = e.code = errorno; | ||
e.syscall = syscall; | ||
return e; | ||
} | ||
class AbstractSocketServer extends net.Server { | ||
@@ -23,0 +16,0 @@ constructor(listener) { |
{ | ||
"author": { | ||
"name": "Saúl Ibarra Corretgé", | ||
"email": "saghul@gmail.com", | ||
"url": "http://bettercallsaghul.com" | ||
"email": "s@saghul.net", | ||
"url": "https://bettercallsaghul.com" | ||
}, | ||
@@ -11,3 +11,3 @@ "scripts": { | ||
"name": "abstract-socket", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Abstract domain socket support for Node", | ||
@@ -26,7 +26,7 @@ "main": "lib/abstract_socket", | ||
"bindings": "^1.2.1", | ||
"nan": "^2.0.9" | ||
"nan": "^2.12.1" | ||
}, | ||
"devDependencies": { | ||
"should": "8.2.x", | ||
"mocha": "2.4.x" | ||
"mocha": "3.x", | ||
"should": "11.x" | ||
}, | ||
@@ -37,2 +37,1 @@ "os": [ | ||
} | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3
20404
12
276
Updatednan@^2.12.1