Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.88k stars 1.66k forks source link

Deprecated package warnings #23229

Open thargy opened 3 months ago

thargy commented 3 months ago

What happened?

When running update.sh I get the following warnings:

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead

The first of which seems pretty important, as it suggests a potential memory leak.

What did you expect to happen?

No warnings on updating.

How to reproduce it (minimal and precise)

Run update.sh

Zigbee2MQTT version

1.39.0 commit: 03269267

Adapter firmware version

20221226

Adapter

Sonoff Zigbee 3.0 USB Dongle Plus (CC2652P)

Setup

Installed manually on Rasberry Pi

Debug log

No response

ghoz commented 3 months ago

Same as https://github.com/Koenkk/zigbee2mqtt/issues/23238 These are indirect dependencies, last time I checked they are dev / build only : coming from eslint and jest... slightly less worse I guess