HAP-NodeJS
HAP-NodeJS copied to clipboard
node-persist is outdated and using deprecated 'q' module
Analysis
node-persist library using being pinned at 0.0.12 uses a deprecated library, 'q'
npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
Expected Behavior
node-persist is current at v4 and nolonger relies on this deprecated model
node-persist would need updating
Steps To Reproduce
install hap-nodejs npm install hap-nodejs
Logs
npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
Configuration
..
Environment
- OS: rpm bookworm
- Software: hap-nodejs 1.1.1
- Node: 22.15.0
- npm: 10.9.2
Process Supervisor
hb-service
Additional Context
No response