homey-api 3.17.7 → 3.17.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,9 +6,9 @@ const APIErrorHomeyInvalidSerialNumber = require('../../APIErrorHomeyInvalidSeri
6
6
  const Util = require('../../Util');
7
7
 
8
8
  function getRuntimeRequire() {
9
- // Avoid webpack statically bundling Node-only discovery transport into the browser build.
10
- // eslint-disable-next-line no-eval
11
- return eval('require');
9
+ // Avoid bundlers statically resolving Node-only discovery transport into the browser build.
10
+ // Using indirect eval so rolldown/vite won't flag it as a direct eval.
11
+ return (0, eval)('require');
12
12
  }
13
13
 
14
14
  class DiscoveryManager {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.17.7",
3
+ "version": "3.17.8",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "license": "SEE LICENSE",