From 297fd28590892157a7f0f245e42c96ae1d16c502 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 29 May 2018 16:37:31 -0600 Subject: [PATCH] recover lost v1.0.3 and update docs --- README.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ec0ff9..c4995af 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ A pair of coupled Unix sockets (or Windows pipes). -Similar to `stream-pair`, but with sockets with real fds. A workaround for . +Similar to `stream-pair`, but with sockets with real fds and `.setTimeout()`. +Originally a workaround for , +but still has some use relevant cases, particularly when building proxies. **Note**: This workaround is necessary in node v6.11.1, but not necessary in node v8.2.1. I would assume it is also not necessary in later versions. diff --git a/package.json b/package.json index 8ae6c8e..1e9b62f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "socket-pair", - "version": "1.0.2", + "version": "1.0.4", "description": "Similar to stream-pair, but with sockets with real fds. A workaround for https://github.com/nodejs/node/issues/12716", "homepage": "https://git.coolaj86.com/coolaj86/socket-pair.js", "main": "lib/socket-pair.js",