-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies for node 8 #37
Conversation
@@ -3,7 +3,7 @@ | |||
|
|||
var fs = require('fs') | |||
var http = require('http') | |||
var connect = require('connect') | |||
var body = require('body-parser') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Express 4 moved all content parsers into their own package - I removed connect and added that new one
@@ -11,7 +11,7 @@ function DMX4ALL(device_id, options) { | |||
this.universe.fill(0) | |||
|
|||
this.dev = new SerialPort(device_id, { | |||
'baudrate': 38400, | |||
'baudRate': 38400, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New syntax of the serial port package
@@ -48,14 +48,11 @@ function DMXWeb() { | |||
} | |||
} | |||
}) | |||
io.set('log level', 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newer version of socket.io use the debug npm package, easy debugging via DEBUG=* ./dmx-web.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested successfully with Node 9.3.0
@wiedi @Fensterbank thank you for reviewing! I'll merge this PR and release a new version then 🎉 |
Updated all the dependencies to their current versions as of today. I have this new setup running successfully on Node 8.9.4
Merging this pull request fixes #25 and make #31, #32, #33 obsolete.