Skip to content

fix: use shared Nitro fetch alias - #313

Merged
harlan-zw merged 1 commit into
mainfrom
fix/shared-ofetch-alias
Aug 4, 2026
Merged

fix: use shared Nitro fetch alias#313
harlan-zw merged 1 commit into
mainfrom
fix/shared-ofetch-alias

Conversation

@harlan-zw

Copy link
Copy Markdown
Contributor

Summary

Use nuxtseo-shared@5.3.9 as the single owner of Nitro 3 fetch compatibility.

This removes the redundant module-level global ofetch alias and the unused direct dependency. The packed Nuxt 5 fixture now refreshes local package checksums before install.

Verification

  • packed Nuxt 5 fixture
  • ESLint on changed source and fixture files

@pkg-pr-new

pkg-pr-new Bot commented Aug 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxtjs/robots@313

commit: 6066f8a

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

📦 Package Size

⚠️ 1 size metric grew

Package output Gzipped Δ
@nuxtjs/robots · dependency nuxtseo-shared 16 kB → 16 kB 🔴 +65 B (+0.4%)
@nuxtjs/robots · export . 5.3 kB → 5.3 kB 🟢 -36 B (-0.7%)
@nuxtjs/robots · published payload 34 kB → 34 kB 🟢 -72 B (-0.2%)
All tracked output (11)
Package output Gzipped Raw
@nuxtjs/robots · dependency @fingerprintjs/botd 13 kB 55 kB
@nuxtjs/robots · dependency h3 34 kB 146 kB
@nuxtjs/robots · dependency nuxt-site-config 9.8 kB 24 kB
@nuxtjs/robots · dependency nuxtseo-shared 16 kB 51 kB 🔴
@nuxtjs/robots · dependency ofetch 0 B 0 B
@nuxtjs/robots · export . 5.3 kB 20 kB 🟢
@nuxtjs/robots · export ./content 292 B 503 B
@nuxtjs/robots · export ./util 5.9 kB 23 kB
@nuxtjs/robots · published payload 34 kB 115 kB 🟢
@nuxtjs/robots · app runtime 2.5 kB 6.2 kB
@nuxtjs/robots · server runtime 8.3 kB 21 kB
Runtime dependencies (10)
Package Dependency Requested Resolved Cost
@nuxtjs/robots @fingerprintjs/botd ^2.0.0 2.0.0 📦 13 kB gzip
@nuxtjs/robots @nuxt/kit ^4.5.0 4.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots consola ^3.4.2 3.4.2 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots defu ^6.1.7 6.1.7 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots h3 ^1.15.11 1.15.11 📦 34 kB gzip
@nuxtjs/robots nuxt-site-config ^4.1.4 4.1.4 📦 9.8 kB gzip
@nuxtjs/robots nuxtseo-shared ^5.3.9 5.3.9 📦 16 kB gzip
@nuxtjs/robots pathe ^2.0.3 2.0.3 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots pkg-types ^2.3.1 2.3.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots ufo ^1.6.4 1.6.4 ♻️ free via Nuxt 4.5.1

Baseline: main_@_da7cf80___2026-08-04 · gzip is the comparison metric · changes below 16 B gzip are ignored

@harlan-zw
harlan-zw merged commit 86d7159 into main Aug 4, 2026
11 checks passed
@harlan-zw
harlan-zw deleted the fix/shared-ofetch-alias branch August 4, 2026 06:14
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.

1 participant