@graphql-hive/signal
2.1.0 · 23 Oct 2026MIT12.2M / weekRepositorynpmAtom feed
Your version
In short
1 new
Release note
The section about @graphql-hive/signal of a note shared by several packages.
@graphql-hive/signal@2.1.0
Minor Changes
New utility
abortSignalAllWe have introduced a new utility function
abortSignalAllthat allows you to combine multipleAbortSignalinstances into a single signal. This is particularly useful in scenarios where you want to abort an operation if all of the individual signals are aborted.import { abortSignalAll } from '@graphql-hive/signal'; const ctrl1 = new AbortController(); const ctrl2 = new AbortController(); const combinedSignal = abortSignalAll([ctrl1.signal, ctrl2.signal]); // Aborting both individual signals will abort the combined signal ctrl1.abort(); console.assert(!combinedSignal.aborted); // still not aborted ctrl2.abort(); console.assert(combinedSignal.aborted); // now aborted
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.