From a29e11118a25c23f87ef567cfbf8b7ae35a918fd Mon Sep 17 00:00:00 2001
From: Philippe Coval
Date: Mon, 15 Jul 2019 14:03:57 +0200
Subject: [PATCH] npm: Support node-10 with abandonware i2c
Bug: https://github.com/miroRucka/bh1750/issues/22
Forewarded: https://github.com/miroRucka/bh1750/pull/24
Change-Id: Ic77764ba2a71119394988cb0035bbeb521c65b1a
Signed-off-by: Philippe Coval
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 62b6157..71293ea 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"url": "https://github.com/miroRucka/bh1750"
},
"dependencies": {
- "i2c": "~0.2.1"
+ "@abandonware/i2c": "^0.2.4-0"
},
"keywords": [
"raspberry, raspberry pi, light, sensor, bh1750, ambient-light, iotjs-module"