Fix bug on socket write, seems that when optionbrowserBufferSize is 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 this
Improve types in ws. Use window.WebSocket for Browser and ws module types for Node
Significatly 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 (#1732) (0928f85)
This version was pushed to npm by roberts_lando, a new releaser for mqtt since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mqtt from 4.3.7 to 5.3.2.
Release notes
Sourced from mqtt's releases.
... (truncated)
Changelog
Sourced from mqtt's changelog.
Commits
f696f57
chore(release): 5.3.235448f3
fix(browser): use worker timers to prevent unexpected client close (#1753)a50e85c
fix: catch all socket errors (#1752)6591404
fix: propwindow
is not defined in web worker (#1749)de89c0d
chore(release): 5.3.12655feb
fix: typescript compile errorb094142
fix: improve environment detection in is-browser utility (#1744)4e77c77
chore: update vscode settings5e3f2da
chore(release): 5.3.00928f85
feat(browser): websockets improvements and bundle optimizations (#1732)Maintainer changes
This version was pushed to npm by roberts_lando, a new releaser for mqtt since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show