Packages

@graphql-hive/signal

2.1.0 · 23 Oct 2026MIT12.2M / weekRepositorynpmAtom feed

Your version

3 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.1.0

    23 Oct 2026
    • New utility abortSignalAll

      We have introduced a new utility function abortSignalAll that allows you to combine multiple AbortSignal instances 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
  3. 2.0.0

    4 Sep 2025
    • Breaking

      Drop Node 18 support

      Least supported Node version is now v20.

  4. 1.x
  5. 1.0.0

    25 Mar 2025

    Reading the note…

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.