Skip to content
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

Merged
merged 2 commits into from
Jan 10, 2018
Merged

Update dependencies for node 8 #37

merged 2 commits into from
Jan 10, 2018

Conversation

bluemaex
Copy link
Member

@bluemaex bluemaex commented Jan 10, 2018

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.

@@ -3,7 +3,7 @@

var fs = require('fs')
var http = require('http')
var connect = require('connect')
var body = require('body-parser')
Copy link
Member Author

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,
Copy link
Member Author

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)
Copy link
Member Author

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

@bluemaex bluemaex self-assigned this Jan 10, 2018
Copy link
Member

@Fensterbank Fensterbank left a 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

@bluemaex
Copy link
Member Author

@wiedi @Fensterbank thank you for reviewing! I'll merge this PR and release a new version then 🎉

@bluemaex bluemaex merged commit 90e882f into node-dmx:master Jan 10, 2018
@bluemaex bluemaex deleted the update-deps branch January 10, 2018 22:25
This was referenced Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not working on node version 7.x.x
3 participants