diff --git a/lib/jeedom-api.js b/lib/jeedom-api.js index 38d1ecf..be3b939 100755 --- a/lib/jeedom-api.js +++ b/lib/jeedom-api.js @@ -17,8 +17,10 @@ 'use strict'; const axios = require('axios'); const async = require('async'); +const http = require('http'); var DEV_DEBUG; var USE_QUEUES; +axios.defaults.httpAgent = new http.Agent({ keepAlive: false }); function JeedomClient(url, apikey, Plateform, myPlugin) { this.apikey = apikey; diff --git a/package.json b/package.json index 84d2080..e092306 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@nebz/homebridge-jeedom", "version": "v1.8.4", - "cust_serial": "0002", + "cust_serial": "0003", "description": "Homebridge plugin for Jeedom ", "main": "index.js", "private":true, @@ -12,7 +12,7 @@ "lint": "npm run lint:js" }, "engines": { - "node": ">=18.0.0", + "node": ">=20.0.0", "homebridge": "^1.6.0 || ^2.0.0-beta.0" }, "repository": { @@ -28,8 +28,8 @@ ], "dependencies": { "async": "3.2.6", - "axios": "1.7.5", - "express": "4.19.2", + "axios": "1.7.7", + "express": "4.21.0", "fakegato-history": "NebzHB/fakegato-history#master" }, "devDependencies": {