Skip to content

Commit

Permalink
chore(deps): update dependency ofetch to ^1.4.0 (#905)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ofetch](https://redirect.github.com/unjs/ofetch) | [`^1.3.4` ->
`^1.4.0`](https://renovatebot.com/diffs/npm/ofetch/1.3.4/1.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ofetch/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ofetch/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ofetch/1.3.4/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ofetch/1.3.4/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>unjs/ofetch (ofetch)</summary>

###
[`v1.4.0`](https://redirect.github.com/unjs/ofetch/blob/HEAD/CHANGELOG.md#v140)

[Compare
Source](https://redirect.github.com/unjs/ofetch/compare/v1.3.4...v1.4.0)

[compare
changes](https://redirect.github.com/unjs/ofetch/compare/v1.3.4...v1.4.0)

##### 🚀 Enhancements

- Support `retryDelay` with callback function
([#&#8203;372](https://redirect.github.com/unjs/ofetch/pull/372))
- Add better message and code for timeout error
([#&#8203;351](https://redirect.github.com/unjs/ofetch/pull/351))
- Allow custom global options for `$fetch.create`
([#&#8203;401](https://redirect.github.com/unjs/ofetch/pull/401))
- Support interceptors arrays
([#&#8203;353](https://redirect.github.com/unjs/ofetch/pull/353))
- Always clone and normalize `options.headers` and `options.query`
([#&#8203;436](https://redirect.github.com/unjs/ofetch/pull/436))

##### 🩹 Fixes

- Export types from `node` export condition
([#&#8203;407](https://redirect.github.com/unjs/ofetch/pull/407))
- Use wrapper to allow patching global `fetch`
([#&#8203;377](https://redirect.github.com/unjs/ofetch/pull/377))

##### 📖 Documentation

- Add docs for using undici dispatcher
([#&#8203;389](https://redirect.github.com/unjs/ofetch/pull/389))

##### 🌊 Types

- Add `agent` and `dispatcher` options (node-specific)
([#&#8203;308](https://redirect.github.com/unjs/ofetch/pull/308))

##### 🏡 Chore

- **release:** V1.3.4
([5cc16a0](https://redirect.github.com/unjs/ofetch/commit/5cc16a0))
- Remove extra space
([#&#8203;384](https://redirect.github.com/unjs/ofetch/pull/384))
- Update deps
([509a037](https://redirect.github.com/unjs/ofetch/commit/509a037))
- Update to eslint v9
([e63c598](https://redirect.github.com/unjs/ofetch/commit/e63c598))
- Apply automated fixes
([f8f5413](https://redirect.github.com/unjs/ofetch/commit/f8f5413))
- Add back spoiler
([dba1915](https://redirect.github.com/unjs/ofetch/commit/dba1915))
- Add experimental for `Too Early` status
([#&#8203;426](https://redirect.github.com/unjs/ofetch/pull/426))
- Update dependencies
([b5fe505](https://redirect.github.com/unjs/ofetch/commit/b5fe505))
- Update deps
([20f67b9](https://redirect.github.com/unjs/ofetch/commit/20f67b9))

##### ✅ Tests

- Add additional tests for hook errors
([7ff4d11](https://redirect.github.com/unjs/ofetch/commit/7ff4d11))

##### 🤖 CI

- Update node version
([4faac04](https://redirect.github.com/unjs/ofetch/commit/4faac04))
- Update autifix
([79483ab](https://redirect.github.com/unjs/ofetch/commit/79483ab))

##### ❤️ Contributors

-   Pooya Parsa ([@&#8203;pi0](http://github.com/pi0))
-   Antoine Rey <antoinerey38@&#8203;gmail.com>
-   Cafu Chino <kirino@cafuchino.cn>
-   Marco Solazzi <marco.solazzi@gmail.com>
- [@&#8203;beer](https://redirect.github.com/beer)
([@&#8203;iiio2](http://github.com/iiio2))
-   Daniel Roe ([@&#8203;danielroe](http://github.com/danielroe))
-   Arlo <webfansplz@gmail.com>
-   Alexander Topalo <topaloalexander@gmail.com>
-   Sam Blowes <samblowes@hotmail.com>
-   Kongmoumou ([@&#8203;kongmoumou](http://github.com/kongmoumou))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/antoinezanardi/werewolves-assistant-web-next).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Antoine ZANARDI <antoine.zanardi@epitech.eu>
  • Loading branch information
renovate[bot] and antoinezanardi authored Sep 22, 2024
1 parent 6555c17 commit bfe7b67
Show file tree
Hide file tree
Showing 5 changed files with 341 additions and 428 deletions.
2 changes: 1 addition & 1 deletion app/composables/api/useWerewolvesAssistantApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useWerewolvesAssistantApiError } from "~/composables/api/error/useWerew
import { removeTrailingSlashes } from "~/utils/url.utils";

type UseWerewolvesAssistantApi = {
fetchWerewolvesAssistantApi: typeof $fetch;
fetchWerewolvesAssistantApi: ReturnType<typeof createFetch>;
};

function useWerewolvesAssistantApi(): UseWerewolvesAssistantApi {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"nuxt": "^3.13.1",
"nuxt-link-checker": "^3.1.1",
"nuxt-og-image": "^3.0.2",
"ofetch": "^1.3.4",
"ofetch": "^1.4.0",
"pinia": "^2.2.2",
"pixelmatch": "^6.0.0",
"playwright": "^1.47.2",
Expand Down
32 changes: 16 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bfe7b67

Please sign in to comment.