Skip to content

Commit

Permalink
Dependency upgrades, and changes to bridge discovery helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmk committed May 14, 2019
1 parent e04d082 commit 5b2bcc0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/DiscoveryStrategy/Nupnp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let axios = require('axios');
let Error = require('../Error');

const PHILIPS_NUPNP_URL = 'https://www.meethue.com/api/nupnp';
const PHILIPS_NUPNP_URL = 'https://discovery.meethue.com/';

/**
* Nupnp discovery strategy
Expand Down
2 changes: 1 addition & 1 deletion lib/DiscoveryStrategy/Upnp.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Upnp {
* Use SSDP discovery broadcast
*/
broadcast() {
let query = new Buffer(
let query = Buffer.from(
[
'M-SEARCH * HTTP/1.1',
`HOST: ${SSDP_ADDRESS}:${SSDP_PORT}`,
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"test": "mocha"
},
"dependencies": {
"moment": "^2.22.2",
"moment": "^2.24.0",
"axios": "^0.18.0",
"sprintf-js": "^1.1.1"
"sprintf-js": "^1.1.2"
},
"devDependencies": {
"mocha": "^5.2.0",
"chai": "^4.1.2",
"mocha": "^6.1.4",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"sinon": "^6.3.3",
"sinon": "^7.3.2",
"mockery": "^2.1.0"
}
}

0 comments on commit 5b2bcc0

Please sign in to comment.