
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@xmpp/reconnect
Advanced tools
Auto reconnect for @xmpp/client and @xmpp/component.
Included and enabled in @xmpp/component and @xmpp/client.
Supports Node.js and browsers.
Each reconnect will re-use the options provided to the entity start method.
Property to set/get the delay in milliseconds between connection closed and reconnecting.
Default is 1000.
reconnect.delay; // 1000
reconnect.delay = 2000;
Emitted each time a re-connection is attempted.
reconnect.on("reconnecting", () => {
console.log("reconnecting");
});
Emitted each time a re-connection succeed.
reconnect.on("reconnected", () => {
console.log("reconnected");
});
Emitted on entity each time a re-connection fails.
entity.on("error", (err) => {
console.error(err);
});
FAQs
XMPP reconnect for JavaScript
The npm package @xmpp/reconnect receives a total of 9,247 weekly downloads. As such, @xmpp/reconnect popularity was classified as popular.
We found that @xmpp/reconnect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.