Skip to content

chore(deps-dev): Bump wretch from 3.0.7 to 3.0.9 - #38

Merged
cursor[bot] merged 4 commits into
mainfrom
dependabot/npm_and_yarn/wretch-3.0.9
Aug 4, 2026
Merged

chore(deps-dev): Bump wretch from 3.0.7 to 3.0.9#38
cursor[bot] merged 4 commits into
mainfrom
dependabot/npm_and_yarn/wretch-3.0.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bumps wretch from 3.0.7 to 3.0.9.

Release notes

Sourced from wretch's releases.

3.0.9

3.0.9 (2026-06-19)

🎨 Code improvement(s)

  • Narrow AbortAddon controller() return type to AbortController (6a83061)

🐛 Bug fix(es)

  • Fix .fetchError catching user errors (9a8faad), closes #318

3.0.8

3.0.8 (2026-05-23)

⚠️ Potential TypeScript breaking change

This may surface new typescript errors in existing code that previously compiled with overly narrow types. In practice, this means code that assumed the result was always Data may now need to handle additional catcher return values.

Although this can be a type-level breaking change, it is a correctness fix: the previous typings were incomplete and did not match actual runtime behavior.

👉 This change does not affect runtime behavior.


🐛 Bug fix(es)

  • Fix catcher return type inference (f78f32a), closes #313

wretch now reflects catcher callback return types in the final promise type.

For example, this is now inferred correctly:

const result = await wretch(url)
  .get()
  .notFound(() => "notFound" as const)
  .json<Data>()

And result is now typed as:

Data | "notFound"

Catchers with no return value are now reflected as undefined, and the same typing improvement also applies through .resolve() and deferred catchers configured with .defer().

// a slightly more exhaustive example
</tr></table> 

... (truncated)

Changelog

Sourced from wretch's changelog.

3.0.9 (2026-06-19)

🎨 Code improvement(s)

  • Narrow AbortAddon controller() return type to AbortController (6a83061)

🐛 Bug fix(es)

  • Fix .fetchError catching user errors (9a8faad), closes #318

3.0.8 (2026-05-23)

⬆️ Version update(s)

🐛 Bug fix(es)

  • Fix catcher return type inference (f78f32a), closes #313

✅ Test improvement(s)

  • Properly typecheck tests (5af0e78)

Commits
  • 32d5f68 v3.0.9
  • 9a8faad 🐛 Fix .fetchError catching user errors
  • a7c2185 Merge pull request #316 from Ruby-Leung/narrow-abort-controller-type
  • 6a83061 🎨 Narrow AbortAddon controller() return type to AbortController
  • 76821f8 v3.0.8
  • 56165dc ⬆️ Upgrade dependencies
  • 14185e9 ⬆️ Add min-release-age guard
  • 81831c6 Merge pull request #314 from elbywan/narrow-catcher-return-type
  • 5af0e78 ✅ Properly typecheck tests
  • f78f32a 🐛 Fix catcher return type inference
  • See full diff in compare view

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 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 [wretch](https://github.com/elbywan/wretch) from 3.0.7 to 3.0.9.
- [Release notes](https://github.com/elbywan/wretch/releases)
- [Changelog](https://github.com/elbywan/wretch/blob/master/CHANGELOG.md)
- [Commits](elbywan/wretch@3.0.7...3.0.9)

---
updated-dependencies:
- dependency-name: wretch
  dependency-version: 3.0.9
  dependency-type: direct:development
  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 Aug 4, 2026
@cursor
cursor Bot enabled auto-merge (squash) August 4, 2026 19:09
cursoragent and others added 3 commits August 4, 2026 19:09
Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: Dependabot patch bump of wretch 3.0.7→3.0.9 with required checks passing; Cursor Bugbot and Security Agent were not present. Auto-merge is enabled; no reviewers assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: dependabot approver

@cursor
cursor Bot merged commit 98d5b34 into main Aug 4, 2026
1 check passed
@cursor
cursor Bot deleted the dependabot/npm_and_yarn/wretch-3.0.9 branch August 4, 2026 19:13
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