
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.
@annotorious/plugin-segment-anything
Advanced tools
A smart polygon selection tool based on SegmentAnything 2
A fully browser-based smart polygon selection tool for Annotorious based on the sam2-hiera-tiny SegmentAnything model. The basic approach is inspired by this blog post and demo code.

Important: this plugin only supports
@annotorious/openseadragonat this time. Support for plain (JPEG, PNG,...) images is not yet implemented. Get in touch via the forum if you are interested in using this with the@annotorious/annotoriousor@annotorious/reactpackages.
npm install @annotorious/plugin-segment-anything
import OpenSeadragon from 'openseadragon';
import { createOSDAnnotator } from '@annotorious/openseadragon';
import { mountOpenSeadragonPlugin } from '@annotorious/plugin-segment-anything/openseadragon';
import '@annotorious/openseadragon/annotorious-openseadragon.css';
const viewer = OpenSeadragon({
/** init your viewer **/
});
const anno = createOSDAnnotator(viewer, { /* options */ });
// Initialize the plugin
const plugin = mountOpenSeadragonPlugin(anno);
// This will start initializing the plugin, incl.
// download of the model (this may take a while).
plugin.init();
plugin.on('downloadStart', () => {
console.log('downloading the model - this may take a while');
});
plugin.on('downloadProgress', progress => {
if (progress.complete)
console.log('downloading complete');
});
plugin.on('initialized', () => {
console.log('plugin ready');
});
plugin.on('encodingStart', () => {
console.log('busy - encoding viewport');
});
plugin.on('encodingFinished', () => {
console.log('ready - click to create annotation!');
});
FAQs
A smart polygon selection tool based on SegmentAnything 2
The npm package @annotorious/plugin-segment-anything receives a total of 2 weekly downloads. As such, @annotorious/plugin-segment-anything popularity was classified as not popular.
We found that @annotorious/plugin-segment-anything 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.

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.