
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.
Save hal-json _link properties and retrieve the latest link in a set.
E.g. after multiple calls for new data in a set you keep pointers to the
oldest and newest data in your set.
npm install linkstash
var linkstash = require('linkstash');
var links = linkstash(function(val) {
return parseInt(val.split('=')[1]);
});
links.set({
_previous: 'foo.com?until=10',
_next: 'foo.com?from=100'
});
links.get();
// => {
// previous: 'foo.com?until=10',
// next: 'foo.com?from=100'
// }
links.set({
_previous: 'foo.com?until=100',
_next: 'foo.com?from=val=190'
});
links.get()
// => {
// previous: 'foo.com?until=10',
// next: 'foo.com?from=190'
// }
Create a new linkstash instance. Takes normalize function which normalizes
strings to be compared. The function
var linkstash = require('linkstash');
var links = linkstash(function(val) {
return parseInt(val.splice(10));
});
Pass in a new object with a previous and next property (either can have an
optional _ prepended). When setting the values will be parsed through the
earlier set normalize function and compared. For previous values, the lowest
value remains. For next values, the highest value remains.
links({
previous: 'mysite.com/?until=1234567',
next: 'mysite.com/?from=7654321'
})
links({
_previous: 'mysite.com/?until=1234568',
_next: 'mysite.com/?from=8654321'
})
Get the stored links. Values are returned without prepending _.
links.get();
// => {
// previous: 'mysite.com/?until=1234567',
// next: 'mysite.com/?from=7654321'
// }
FAQs
Save hal-json _link properties and retrieve the latest link in a set.
We found that linkstash 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.