Skip to content

fix(deps): update all dependencies - #63

Open
renovate[bot] wants to merge 2 commits into
masterfrom
renovate/all
Open

fix(deps): update all dependencies#63
renovate[bot] wants to merge 2 commits into
masterfrom
renovate/all

Conversation

@renovate

@renovate renovate Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^6.0.3^7.0.0 age confidence
x-fetch ^0.2.6^0.3.0 age confidence
yarn (source) 4.17.04.17.1 age confidence

Release Notes

microsoft/TypeScript (typescript)

v7.0.2

Compare Source

un-ts/x-fetch (x-fetch)

v0.3.0

Compare Source

Minor Changes
Breaking Changes
  • ApiInterceptorXFetchMiddleware
  • interceptorsmiddlewaresuse() / eject() API unchanged
  • ResponseErrorXFetchError — use isXFetchError() instead of instanceof for cross-realm safety
  • createFetchApi / fetchApicreateXFetch / xfetch
  • cleanNilValues is no longer exported (inlined into normalizeUrl internally). null/undefined query values are still omitted; empty strings are now preserved (matching URLSearchParams behavior).
  • Middleware signature changed from (req, next) to (ctx, next), where ctx is a mutable context object (method, url, ...). Middleware can override ctx.type (response parsing). JSON body serialization is auto-detected from ctx.body at the fetch leaf — the final context is authoritative.
New Features
  • next() is optional — defaults to the previous context, enables clean retry: try { await next() } catch { return next() }
  • Per-request middlewares option: xfetch(url, { middlewares: [...] }), composed as global → per-call → fetch
  • Cross-realm error detection via Symbol.for('x-fetch')isXFetchError() works across iframes / workers
  • Consistent error wrapping: network failures, JSON parse errors, non-ok responses all wrapped as XFetchError
Migration
- import { createFetchApi, fetchApi, ResponseError } from 'x-fetch'
+ import { createXFetch, xfetch, isXFetchError } from 'x-fetch'

Before:

const interceptor: ApiInterceptor = (req, next) => {
  req.headers.set('Authorization', 'Bearer token')
  return next(req)
}
interceptors.use(interceptor)

After:

const middleware: XFetchMiddleware = (ctx, next) => {
  ctx.headers.set('Authorization', 'Bearer token')
  return next()
}
middlewares.use(middleware)

Retry with snapshot:

const retry: XFetchMiddleware = async (ctx, next) => {
  const snapshot = { ...ctx, headers: new Headers(ctx.headers) }
  try {
    return await next()
  } catch {
    return next(snapshot)
  }
}

Error handling:

  } catch (error) {
-   if (error instanceof ResponseError) { ... }
+   if (isXFetchError(error)) { ... }
  }

Per-request middlewares:

await xfetch('/api', { middlewares: [retry, withCache] })

v0.2.7

Compare Source

Patch Changes
yarnpkg/berry (yarn)

v4.17.1: v4.17.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/yarnpkg/berry/compare/@yarnpkg/cli/4.17.0...@​yarnpkg/cli/4.17.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) July 1, 2026 01:49
@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2a56711

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

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 1, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
deeplx dbacda2 Jul 12 2026, 12:05 PM

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@renovate
renovate Bot force-pushed the renovate/all branch from b642afc to 9aa25b0 Compare July 8, 2026 19:42
@renovate renovate Bot changed the title fix(deps): update dependency x-fetch to ^0.3.0 fix(deps): update all dependencies Jul 8, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedx-fetch@​0.2.6 ⏵ 0.3.0741009989 +7100
Updatedtypescript@​6.0.3 ⏵ 7.0.294 -610089 -1100100 +10

View full report

@sonarqubecloud

Copy link
Copy Markdown

@renovate

renovate Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants