Bump homebridge from 1.5.1 to 1.6.0 (#42)

Bumps [homebridge](https://github.com/homebridge/homebridge) from 1.5.1
to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/homebridge/homebridge/releases">homebridge's
releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Updated <code>hap-nodejs</code> to <a
href="https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.11.0">v0.11.0</a>
adding support for <code>systemd-resolved</code> mDNS advertisers and
improved support for systems running avahi mDNS advertiser. The release
also contains general bug fixes and improvements.</li>
<li>Support resolved mDNS advertiser by <a
href="https://github.com/elyscape"><code>@​elyscape</code></a> in <a
href="https://github-redirect.dependabot.com/homebridge/homebridge/pull/3260">homebridge/homebridge#3260</a></li>
<li>Update to provide compatibility with hap-nodejs 0.11.0 by <a
href="https://github.com/Supereg"><code>@​Supereg</code></a> in <a
href="https://github-redirect.dependabot.com/homebridge/homebridge/pull/3263">homebridge/homebridge#3263</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/elyscape"><code>@​elyscape</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/homebridge/homebridge/pull/3260">homebridge/homebridge#3260</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/homebridge/homebridge/compare/v1.5.1...v1.6.0">https://github.com/homebridge/homebridge/compare/v1.5.1...v1.6.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d98b430f69"><code>d98b430</code></a>
1.6.0</li>
<li><a
href="87452ceb6f"><code>87452ce</code></a>
Switch to hap-nodejs v0.11.0 release channel</li>
<li><a
href="708c718d71"><code>708c718</code></a>
Update to provide compatibility with hap-nodejs 0.11.0 (<a
href="https://github-redirect.dependabot.com/homebridge/homebridge/issues/3263">#3263</a>)</li>
<li><a
href="3d281f4fd3"><code>3d281f4</code></a>
Workaround hap-nodejs beta issues</li>
<li><a
href="7b764798e4"><code>7b76479</code></a>
Bump hap-nodejs beta channel</li>
<li><a
href="4bcf8829bd"><code>4bcf882</code></a>
Support resolved mDNS advertiser (<a
href="https://github-redirect.dependabot.com/homebridge/homebridge/issues/3260">#3260</a>)</li>
<li><a
href="6c2f927b20"><code>6c2f927</code></a>
Upgrade to hap-nodejs 0.11.0 beta channel</li>
<li>See full diff in <a
href="https://github.com/homebridge/homebridge/compare/v1.5.1...v1.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=homebridge&package-manager=npm_and_yarn&previous-version=1.5.1&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lars Strojny <lars@strojny.net>
This commit is contained in:
dependabot[bot] 2022-12-01 01:38:39 +01:00 committed by GitHub
parent a556c3aca1
commit 70e0d06c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 82 deletions

90
package-lock.json generated
View file

@ -5634,15 +5634,15 @@
}
},
"node_modules/homebridge": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/homebridge/-/homebridge-1.5.1.tgz",
"integrity": "sha512-srujAWXhBe/a5YaKY5dQOvd4ISwDePmCtY0ldJlS21/wt9vnW4H+UXDJ6RULwlBIPs0SPheQ2gIIP/E1d5e+bQ==",
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/homebridge/-/homebridge-1.6.0.tgz",
"integrity": "sha512-n47db4ndrBOSxuF6zRFbBypuhW7dZjCoGJz03O9PfGrwsqjyzJyxkzSIAjT9HgbTdvNYDNGz/tMXSLoX0m5zGw==",
"dev": true,
"dependencies": {
"chalk": "^4.1.2",
"commander": "5.1.0",
"fs-extra": "^10.1.0",
"hap-nodejs": "^0.10.4",
"hap-nodejs": "~0.11.0",
"qrcode-terminal": "^0.12.0",
"semver": "^7.3.7",
"source-map-support": "^0.5.21"
@ -5664,45 +5664,6 @@
"node": ">=0.12.0"
}
},
"node_modules/homebridge/node_modules/@homebridge/dbus-native": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.4.2.tgz",
"integrity": "sha512-rg6DUg6xOttzn73HA1+3G2o1ezRj0+DzPMEJqasrpq7FcAxMcTyOZ96GfcDN4pLUz62hMuywIeVZ4F6cc/g6Ig==",
"dev": true,
"dependencies": {
"@homebridge/long": "^5.2.1",
"@homebridge/put": "~0.0.8",
"event-stream": "^4.0.0",
"hexy": "^0.2.10",
"minimist": "^1.2.6",
"safe-buffer": "^5.1.1",
"xml2js": "^0.4.17"
},
"bin": {
"dbus2js": "bin/dbus2js.js"
}
},
"node_modules/homebridge/node_modules/hap-nodejs": {
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.10.4.tgz",
"integrity": "sha512-+ydtdh7Mw0Ttjv1ylWoGUMfU1Qhi0CVBAdABco+gdzOOkl9j2V1JKZKOduWvyAdhc73ZpElyREoTTVPQ7H0UoA==",
"dev": true,
"dependencies": {
"@homebridge/ciao": "^1.1.5",
"@homebridge/dbus-native": "^0.4.2",
"bonjour-hap": "~3.6.3",
"debug": "^4.3.4",
"fast-srp-hap": "2.0.4",
"futoin-hkdf": "~1.4.3",
"node-persist": "^0.0.11",
"source-map-support": "^0.5.21",
"tslib": "^2.4.0",
"tweetnacl": "^1.0.3"
},
"engines": {
"node": ">=10.17.0"
}
},
"node_modules/html-escaper": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
@ -15203,53 +15164,18 @@
"dev": true
},
"homebridge": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/homebridge/-/homebridge-1.5.1.tgz",
"integrity": "sha512-srujAWXhBe/a5YaKY5dQOvd4ISwDePmCtY0ldJlS21/wt9vnW4H+UXDJ6RULwlBIPs0SPheQ2gIIP/E1d5e+bQ==",
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/homebridge/-/homebridge-1.6.0.tgz",
"integrity": "sha512-n47db4ndrBOSxuF6zRFbBypuhW7dZjCoGJz03O9PfGrwsqjyzJyxkzSIAjT9HgbTdvNYDNGz/tMXSLoX0m5zGw==",
"dev": true,
"requires": {
"chalk": "^4.1.2",
"commander": "5.1.0",
"fs-extra": "^10.1.0",
"hap-nodejs": "^0.10.4",
"hap-nodejs": "~0.11.0",
"qrcode-terminal": "^0.12.0",
"semver": "^7.3.7",
"source-map-support": "^0.5.21"
},
"dependencies": {
"@homebridge/dbus-native": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.4.2.tgz",
"integrity": "sha512-rg6DUg6xOttzn73HA1+3G2o1ezRj0+DzPMEJqasrpq7FcAxMcTyOZ96GfcDN4pLUz62hMuywIeVZ4F6cc/g6Ig==",
"dev": true,
"requires": {
"@homebridge/long": "^5.2.1",
"@homebridge/put": "~0.0.8",
"event-stream": "^4.0.0",
"hexy": "^0.2.10",
"minimist": "^1.2.6",
"safe-buffer": "^5.1.1",
"xml2js": "^0.4.17"
}
},
"hap-nodejs": {
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.10.4.tgz",
"integrity": "sha512-+ydtdh7Mw0Ttjv1ylWoGUMfU1Qhi0CVBAdABco+gdzOOkl9j2V1JKZKOduWvyAdhc73ZpElyREoTTVPQ7H0UoA==",
"dev": true,
"requires": {
"@homebridge/ciao": "^1.1.5",
"@homebridge/dbus-native": "^0.4.2",
"bonjour-hap": "~3.6.3",
"debug": "^4.3.4",
"fast-srp-hap": "2.0.4",
"futoin-hkdf": "~1.4.3",
"node-persist": "^0.0.11",
"source-map-support": "^0.5.21",
"tslib": "^2.4.0",
"tweetnacl": "^1.0.3"
}
}
}
},
"homebridge-cmdswitch2": {

5
src/ambient.d.ts vendored
View file

@ -13,3 +13,8 @@ declare module 'hap-node-client' {
on(event: 'Ready', callback: (v: unknown) => void): void
}
}
// Workaround for "node_modules/hap-nodejs/dist/lib/Advertiser.d.ts:5:29 - error TS7016: Could not find a declaration file for module '@homebridge/dbus-native'. '…/node_modules/@homebridge/dbus-native/index.js' implicitly has an 'any' type."
declare module '@homebridge/dbus-native' {
type InvokeError = unknown
}