Packages

@graphql-tools/url-loader

10.0.9 · 10 Nov 2026MIT15.7M / weekRepositoryHomepagenpmAtom feed

Your version

9.1.0

3 Apr 2026Where it was published

9.1.14 is the newest release of 9.x.

In short

1 new4 internal

Release note

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

@graphql-tools/url-loader@9.1.0

Minor Changes

  • #8103
    db8cde4
    Thanks @ardatan! - Bump HTTP Executor that introduces
    exposeHTTPDetailsInExtensions option

    import { parse } from 'graphql'
    import { UrlLoader } from '@graphql-tools/url-loader'
    
    const loader = new UrlLoader()
    const executor = loader.getExecutorAsync('http://localhost:4000/graphql', {
      exposeHTTPDetailsInExtensions: true
    })
    
    const result = await executor({
      document: parse(/* GraphQL */ `
        query {
          hello
        }
      `)
    })
    
    console.log(result)
    {
      "data": {
        "hello": "Hello world!"
      },
      "extensions": {
        "request": {
          "method": "POST",
          "body": "{\"query\":\"query { hello }\"}",
          "headers": {
            "content-type": "application/json"
          }
        },
        "response": {
          "status": 200,
          "statusText": "OK",
          "headers": {
            "content-type": "application/json"
          },
          "body": { "data": { "hello": "Hello world!" } }
        }
      }
    }

Patch Changes

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.