From 70e0d06c95dd930bae4434e5b260ea24f14e2796 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Dec 2022 01:38:39 +0100 Subject: [PATCH] Bump homebridge from 1.5.1 to 1.6.0 (#42) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [homebridge](https://github.com/homebridge/homebridge) from 1.5.1 to 1.6.0.
Release notes

Sourced from homebridge's releases.

v1.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/homebridge/homebridge/compare/v1.5.1...v1.6.0

Commits

[![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) ---
Dependabot commands and options
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)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lars Strojny --- package-lock.json | 90 +++++------------------------------------------ src/ambient.d.ts | 5 +++ 2 files changed, 13 insertions(+), 82 deletions(-) diff --git a/package-lock.json b/package-lock.json index 673602b..f44f415 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/src/ambient.d.ts b/src/ambient.d.ts index 0892931..fd2df59 100644 --- a/src/ambient.d.ts +++ b/src/ambient.d.ts @@ -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 +}