Skip to content

chore(deps): bump graphql-request from 7.3.2 to 7.3.3#5021

Merged
therealemjy merged 1 commit into
mainfrom
dependabot/npm_and_yarn/graphql-request-7.3.3
Nov 12, 2025
Merged

chore(deps): bump graphql-request from 7.3.2 to 7.3.3#5021
therealemjy merged 1 commit into
mainfrom
dependabot/npm_and_yarn/graphql-request-7.3.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 11, 2025

Bumps graphql-request from 7.3.2 to 7.3.3.

Release notes

Sourced from graphql-request's releases.

graphql-request@7.3.3

Bug Fixes

  • Non-JSON Error Response Handling: Fixed regression in 7.3.2 where servers returning HTTP 4xx/5xx status codes with non-JSON response bodies (HTML, plain text) would throw an unhelpful error: "Invalid execution result: result is not object or array" (#1459, closes #1458)
    • Added safe JSON parsing fallback for responses without proper Content-Type headers
    • Returns descriptive error messages with response body preview for non-JSON responses
    • Handles common production scenarios: load balancer errors (502/503 HTML pages), CDN errors, WAF/firewall responses, misconfigured servers
    • Maintains backward compatibility for servers that omit Content-Type but return valid JSON
    • Added comprehensive test coverage for HTML, plain text, and missing Content-Type scenarios

What Changed

Version 7.3.2 introduced a bug where the ELSE branch in parseResultFromResponse would pass raw strings (HTML, plain text) to a parser expecting objects/arrays. This only surfaced when:

  1. Server returns 4xx/5xx status code
  2. Content-Type header is missing or non-JSON (e.g., text/html, text/plain)
  3. Response body is not valid JSON

This is now fixed with graceful error handling and clear error messages.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [graphql-request](https://github.com/graffle-js/graffle) from 7.3.2 to 7.3.3.
- [Release notes](https://github.com/graffle-js/graffle/releases)
- [Commits](https://github.com/graffle-js/graffle/compare/graphql-request@7.3.2...graphql-request@7.3.3)

---
updated-dependencies:
- dependency-name: graphql-request
  dependency-version: 7.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 11, 2025
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Nov 11, 2025

⚠️ No Changeset found

Latest commit: a4ef7a8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
app.venus.io Ready Ready Preview Nov 11, 2025 9:42pm
dapp-preview Error Error Nov 11, 2025 9:42pm
dapp-testnet Ready Ready Preview Nov 11, 2025 9:42pm
1 Skipped Deployment
Project Deployment Preview Updated (UTC)
venus.io Skipped Skipped Nov 11, 2025 9:42pm

@therealemjy therealemjy merged commit ed18866 into main Nov 12, 2025
5 of 6 checks passed
@therealemjy therealemjy deleted the dependabot/npm_and_yarn/graphql-request-7.3.3 branch November 12, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant