Packages

@graphql-tools/executor-http

3.6.2 · 12 Nov 2026MIT14.1M / weekRepositorynpmAtom feed

Your version

3.1.2

30 Mar 2026Where it was published

3.6.2 is the newest release of 3.x.

In short

1 fixed

Release note

The section about @graphql-tools/executor-http of a note shared by several packages.

@graphql-tools/executor-http@3.1.2

Patch Changes

  • Fix SSE data parsing when JSON payload contains literal "data:" substrings

    The SSE event parser used msg.split('data:') to extract the data field, which
    incorrectly splits on data: substrings inside the JSON payload (e.g., OAuth
    scopes like file_metadata:read, data URIs like data:image/png). This caused
    JSON.parse to fail with "Unterminated string in JSON" errors.

    The fix uses line-based parsing per the SSE spec: split on newlines first, then
    find the line starting with data:.

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.