
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
worker-component
Advanced tools
Web worker API wrapper.
$ component install component/worker
Initialize a worker with the given script.
Send a message to the worker.
var upper = new Worker('uppercase.js');
upper.on('message', function(msg){
console.log(msg.string);
});
upper.send({ string: 'hello' });
upper.send({ string: 'world' });
Send a request message to the worker with the given callback. When
using the request/response paradigm you should pass the e.data.id property
back with your response so that the correct callback may be invoked:
worker:
onmessage = function(e) {
setTimeout(function(){
postMessage({ id: e.data.id, string: e.data.string.toUpperCase() });
}, 500);
};
client:
upper.send({ string: 'hello' }, function(msg){
console.log(msg.string);
});
Terminate the worker.
MIT
FAQs
Web worker API wrapper
We found that worker-component demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.