mqtt
5.16.1 · 14 Oct 2026MIT4.6M / weekRepositoryHomepagenpmAtom feed
5.16.1 is the newest release of 5.x.
In short
1 new1 fixed5 changed
Release note
This release comes with many improvements on browser side:
Create an util class
BufferedDuplexto replaceduplexifyonwsaliandwxPartially fixes #876 (will keep this for another PR)
Fix bug on
ws_writevfunctionFix bug on socket write, seems that when option
browserBufferSizeis reached (defaults to 512kB) this not only wasn't blocking the writes to socket but was also causing duplicated messages. For sure there were some open issues caused by thisImprove types in
ws. Usewindow.WebSocketfor Browser andwsmodule types for NodeSignificatly reduces bundle size by ~24% (90kB)
Improved browser tests to subscribe to different topics to prevent false positives when running concurrently
Features
browser: websockets improvements and bundle optimizations
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.