Skip to content

fix: use shared Nitro fetch alias - #653

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

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

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

Summary

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

This removes the module-level global ofetch alias while keeping the direct dependency used by sitemap runtime code. The packed Nuxt 5 fixture now refreshes local package checksums before install.

Verification

  • pnpm dev:prepare
  • packed Nuxt 5 fixture
  • ESLint on changed source and fixture files

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

📦 Package Size

⚠️ 1 size metric grew

Package output Gzipped Δ
@nuxtjs/sitemap · dependency nuxtseo-shared 16 kB → 16 kB 🔴 +65 B (+0.4%)
@nuxtjs/sitemap · export . 13 kB → 13 kB 🟢 -29 B (-0.2%)
@nuxtjs/sitemap · published payload 53 kB → 53 kB 🟢 -29 B (-0.1%)
All tracked output (11)
Package output Gzipped Raw
@nuxtjs/sitemap · dependency nuxt-site-config 9.8 kB 24 kB
@nuxtjs/sitemap · dependency nuxtseo-shared 16 kB 51 kB 🔴
@nuxtjs/sitemap · dependency radix3 4.3 kB 16 kB
@nuxtjs/sitemap · dependency sitemapd 13 kB 53 kB
@nuxtjs/sitemap · export . 13 kB 55 kB 🟢
@nuxtjs/sitemap · export ./content 1.3 kB 4.3 kB
@nuxtjs/sitemap · export ./utils 2.3 kB 8.4 kB
@nuxtjs/sitemap · published payload 53 kB 182 kB 🟢
@nuxtjs/sitemap · server runtime 32 kB 101 kB
sitemapd · dependency fast-xml-parser 122 kB 383 kB
sitemapd · published payload 13 kB 53 kB
Runtime dependencies (13)
Package Dependency Requested Resolved Cost
@nuxtjs/sitemap @nuxt/kit ^4.5.1 4.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap consola ^3.4.2 3.4.2 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap defu ^6.1.7 6.1.7 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap nuxt-site-config ^4.1.4 4.1.4 📦 9.8 kB gzip
@nuxtjs/sitemap nuxtseo-shared ^5.3.9 5.3.9 📦 16 kB gzip
@nuxtjs/sitemap ofetch ^1.5.1 1.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap pathe ^2.0.3 2.0.3 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap pkg-types ^2.3.1 2.3.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap radix3 ^1.1.2 1.1.2 📦 4.3 kB gzip
@nuxtjs/sitemap sitemapd workspace:^ 0.2.1 📦 13 kB gzip
@nuxtjs/sitemap ufo ^1.6.4 1.6.4 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap ultrahtml ^1.7.0 1.7.0 ♻️ free via Nuxt 4.5.1
sitemapd fast-xml-parser ^5.10.1 5.10.1 📦 122 kB gzip

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

@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/sitemap@653

commit: 0769baa

@harlan-zw
harlan-zw merged commit af1b858 into main Aug 4, 2026
11 of 12 checks passed
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