From 60977f4d542ca35f70f674fe708d5cc1da63f271 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Sat, 11 Nov 2017 23:34:04 -0600 Subject: [PATCH 1/2] Remove prebuild-install hook to prevent hanging See https://github.com/MadLittleMods/node-usb-detection/pull/47#issuecomment-343713875 --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index a66facf..f29a137 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "gypfile": true, "scripts": { "test": "mocha --timeout 10000", - "install": "prebuild-install || node-gyp rebuild", "prebuild": "prebuild --all --strip --verbose" }, "repository": { From 7e303c9e0bbe466db98549c30f3e2eea1fd48494 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Sat, 11 Nov 2017 23:39:38 -0600 Subject: [PATCH 2/2] Update changelog and docs for 1.4.2 --- CHANGELOG.md | 5 +++++ README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1448d0..339d79c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v1.4.2 - 2017-11-11 + + - Remove npm `install` hook to prevent hanging the install process caused by `prebuild-install` verify require and our side-effects. + - Thanks to [@Lange](https://github.com/Lange) for [figuring out the root cause](https://github.com/MadLittleMods/node-usb-detection/pull/47#issuecomment-343714022). + ## v1.4.1 - 2017-11-11 - Add check for null before notifying of addition/removal diff --git a/README.md b/README.md index 07185ad..83edc37 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![npm version](https://badge.fury.io/js/usb-detection.svg)](http://badge.fury.io/js/usb-detection) +[![npm version](https://badge.fury.io/js/usb-detection.svg)](http://badge.fury.io/js/usb-detection) [![Gitter](https://badges.gitter.im/MadLittleMods/node-usb-detection.svg)](https://gitter.im/MadLittleMods/node-usb-detection?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) # usb-detection