Skip to content

Commit c452413

Browse files
committed
Updated dependencies
1 parent 0cb5694 commit c452413

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

ScreenshotHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ScreenshotHelper.prototype.getScreenshot = async function (width, height, networ
2727
ScreenshotHelper.prototype.getPage = async function (width, height, networkTimeout, renderTimeout) {
2828
if (!this.browser) {
2929
this.log("Starting new instance of Chromium: " + this.chromiumPath);
30-
const isRoot = username.sync() === "root";
30+
const isRoot = username.usernameSync() === "root";
3131
this.browser = await puppeteer.launch(
3232
{
3333
executablePath: this.chromiumPath,

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "homebridge-website-to-camera",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "shows the screenshot of a website as camera (image)",
55
"main": "index.js",
66
"scripts": {
@@ -41,10 +41,10 @@
4141
"dependencies": {
4242
"ip": "^2.0.1",
4343
"mjpeg-server": "^0.3.1",
44-
"puppeteer-core": "^23.2.2",
45-
"username": "^5.1.0"
44+
"puppeteer-core": "^24.33.0",
45+
"username": "^7.0.0"
4646
},
4747
"devDependencies": {
48-
"homebridge": "^1.3.4"
48+
"homebridge": "^1.11.1"
4949
}
5050
}

0 commit comments

Comments
 (0)