nuxtseo-layer-devtools 5.1.2 → 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,7 @@ const steps = computed(() => {
63
63
  title: 'Clear generated files and update dependencies',
64
64
  description: 'Delete your .nuxt directory, update packages, then restart.',
65
65
  codes: [
66
- `rm -rf .nuxt && ${pm.exec} nuxi dev`,
66
+ `rm -rf .nuxt && ${pm.exec} nuxt dev`,
67
67
  updateCmd,
68
68
  ],
69
69
  },
@@ -44,7 +44,7 @@ const DEBUG_ENDPOINTS: Partial<Record<NuxtSEOModule['slug'], string>> = {
44
44
  'site-config': '/__site-config__/debug.json',
45
45
  'robots': '/__robots__/debug.json',
46
46
  'sitemap': '/__sitemap__/debug.json',
47
- 'og-image': '/__nuxt-og-image/debug.json',
47
+ 'og-image': '/_og/debug.json',
48
48
  'schema-org': '/__schema-org__/debug.json',
49
49
  }
50
50
 
@@ -471,7 +471,10 @@ export async function evaluate(): Promise<void> {
471
471
  if (loading.value)
472
472
  return
473
473
  loading.value = true
474
- await fetchDebugData().catch(() => {})
474
+ await fetchDebugData().catch(() => {
475
+ // Debug endpoints are optional; keep the checklist usable with fallback state.
476
+ debugCache.value = new Map()
477
+ })
475
478
  evaluated.value = true
476
479
  loading.value = false
477
480
  }
@@ -36,6 +36,9 @@ export function detectPackageManager(): void {
36
36
  packageManager.value = pm
37
37
  }
38
38
  })
39
- .catch(() => {})
39
+ .catch(() => {
40
+ // Missing or blocked lockfile probes leave the default package manager.
41
+ return false
42
+ })
40
43
  }
41
44
  }
@@ -54,7 +54,10 @@ export function useModuleUpdate(npmPackage: string | undefined, currentVersion:
54
54
  hasUpdate: isNewerVersion(latest, currentVersion!),
55
55
  }
56
56
  })
57
- .catch(() => {})
57
+ .catch(() => {
58
+ // Registry checks are advisory; a failed request means no update badge.
59
+ return undefined
60
+ })
58
61
  }
59
62
 
60
63
  return { hasUpdate, latestVersion, info }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxtseo-layer-devtools",
3
3
  "type": "module",
4
- "version": "5.1.2",
4
+ "version": "5.1.4",
5
5
  "description": "Shared Nuxt layer for Nuxt SEO devtools clients.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -39,18 +39,19 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "@nuxt/devtools-kit": "4.0.0-alpha.3",
42
- "@nuxt/kit": "^4.4.2",
43
- "@nuxt/ui": "^4.6.1",
44
- "@shikijs/langs": "^4.0.2",
45
- "@shikijs/themes": "^4.0.2",
46
- "@vueuse/nuxt": "^14.2.1",
42
+ "@nuxt/kit": "^4.4.7",
43
+ "@nuxt/ui": "^4.8.2",
44
+ "@shikijs/langs": "^4.2.0",
45
+ "@shikijs/themes": "^4.2.0",
46
+ "@vueuse/core": "^14.3.0",
47
+ "@vueuse/nuxt": "^14.3.0",
47
48
  "ofetch": "^1.5.1",
48
- "shiki": "^4.0.2",
49
- "ufo": "^1.6.3",
50
- "nuxtseo-shared": "5.1.2"
49
+ "shiki": "^4.2.0",
50
+ "ufo": "^1.6.4",
51
+ "nuxtseo-shared": "5.1.4"
51
52
  },
52
53
  "devDependencies": {
53
- "nuxt": "^4.4.2",
54
- "vue": "^3.5.32"
54
+ "nuxt": "^4.4.7",
55
+ "vue": "^3.5.35"
55
56
  }
56
57
  }