Skip to content

Commit 25d60d4

Browse files
committed
replaced deprecated "rcswitch" by "rcswitch-gpiomem3" which acutally compiles under node 10
1 parent 2b086cf commit 25d60d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"bunyan-winston-adapter": "^0.2.0",
3434
"daemonize2": "^0.4.2",
35-
"rcswitch": "^0.3.1",
35+
"rcswitch-gpiomem3": "^0.3.0",
3636
"restify": "^5.0.0",
3737
"restify-errors": "^4.3.0",
3838
"winston": "^2.3.1"

server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const errors = require('restify-errors');
1010
const bunyan = require('bunyan');
1111
const winston = require('winston');
1212
const bunyanWinston = require('bunyan-winston-adapter');
13-
const rcswitch = require('rcswitch');
13+
const rcswitch = require('rcswitch-gpiomem3');
1414
const path = require('path');
1515

1616
/**

0 commit comments

Comments
 (0)