From c782cf0e8710c6690050376feefda3edb30dd549 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:21:23 -0400 Subject: [PATCH] fix(deps): update dependency p-retry to v7 (#1608) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [p-retry](https://redirect.github.com/sindresorhus/p-retry) | [`6.2.1` -> `7.0.0`](https://renovatebot.com/diffs/npm/p-retry/6.2.1/7.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/p-retry/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/p-retry/6.2.1/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sindresorhus/p-retry (p-retry) ### [`v7.0.0`](https://redirect.github.com/sindresorhus/p-retry/releases/tag/v7.0.0) [Compare Source](https://redirect.github.com/sindresorhus/p-retry/compare/v6.2.1...v7.0.0) ##### Breaking - Require Node.js 20 [`3bdb53a`](https://redirect.github.com/sindresorhus/p-retry/commit/3bdb53a) - `onFailedAttempt` and `shouldRetry` now receive a `context` object instead of a decorated `error` [`bff36bb`](https://redirect.github.com/sindresorhus/p-retry/commit/bff36bb) - You must now must access the error as `object.error` instead of `object`. - The use of `.attemptNumber` and `.retriesLeft` did not change. - Remove the `forever` option ([#​79](https://redirect.github.com/sindresorhus/p-retry/issues/79)) [`6a89827`](https://redirect.github.com/sindresorhus/p-retry/commit/6a89827) - Many use-cases can use `{retries: Infinity}` instead for infinite retries. ##### Improvements - Rewrite the package to not depend on the `retry` package ([#​79](https://redirect.github.com/sindresorhus/p-retry/issues/79)) [`6a89827`](https://redirect.github.com/sindresorhus/p-retry/commit/6a89827) - This is a full rewrite, so test carefully. - Add [`makeRetriable`](https://redirect.github.com/sindresorhus/p-retry#makeretriablefunction-options) method [`1a81c1e`](https://redirect.github.com/sindresorhus/p-retry/commit/1a81c1e) ***
--- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] 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/unraid/api). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- api/package.json | 2 +- pnpm-lock.yaml | 19 ++++++------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/api/package.json b/api/package.json index fbeeccf9c..d2476c573 100644 --- a/api/package.json +++ b/api/package.json @@ -127,7 +127,7 @@ "node-cache": "5.1.2", "node-window-polyfill": "1.0.4", "openid-client": "6.6.4", - "p-retry": "6.2.1", + "p-retry": "7.0.0", "passport-custom": "1.1.1", "passport-http-header-strategy": "1.1.0", "path-type": "6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c7386699..31eb9ce9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -263,8 +263,8 @@ importers: specifier: 6.6.4 version: 6.6.4 p-retry: - specifier: 6.2.1 - version: 6.2.1 + specifier: 7.0.0 + version: 7.0.0 passport-custom: specifier: 1.1.1 version: 1.1.1 @@ -4941,9 +4941,6 @@ packages: '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - '@types/retry@0.12.2': - resolution: {integrity: sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==} - '@types/semver@7.7.0': resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} @@ -9985,9 +9982,9 @@ packages: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} - p-retry@6.2.1: - resolution: {integrity: sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==} - engines: {node: '>=16.17'} + p-retry@7.0.0: + resolution: {integrity: sha512-3BgO9rjULJYyr0Y0pcsG7FZ+7JB/hfOODO8kx9ppumiO5jprUF92WK/Y7Q0xppZtq4VhTcPiVq7qWLQfIV5aKQ==} + engines: {node: '>=20'} p-timeout@6.1.4: resolution: {integrity: sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==} @@ -17074,8 +17071,6 @@ snapshots: '@types/resolve@1.20.2': {} - '@types/retry@0.12.2': {} - '@types/semver@7.7.0': {} '@types/send@0.17.4': @@ -22863,11 +22858,9 @@ snapshots: dependencies: aggregate-error: 3.1.0 - p-retry@6.2.1: + p-retry@7.0.0: dependencies: - '@types/retry': 0.12.2 is-network-error: 1.1.0 - retry: 0.13.1 p-timeout@6.1.4: optional: true