We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7770052 commit 28ca4d3Copy full SHA for 28ca4d3
app/components/OgImage/Compare.vue
@@ -49,13 +49,10 @@ try {
49
`https://api.npmjs.org/downloads/point/last-week/${encoded}`,
50
{ timeout: FETCH_TIMEOUT_MS },
51
).catch(() => null),
52
- $fetch<{ 'dist-tags'?: { latest?: string } }>(
53
- `https://registry.npmjs.org/${encoded}`,
54
- {
55
- timeout: FETCH_TIMEOUT_MS,
56
- headers: { Accept: 'application/vnd.npm.install-v1+json' },
57
- },
58
- ).catch(() => null),
+ $fetch<{ 'dist-tags'?: { latest?: string } }>(`https://registry.npmjs.org/${encoded}`, {
+ timeout: FETCH_TIMEOUT_MS,
+ headers: { Accept: 'application/vnd.npm.install-v1+json' },
+ }).catch(() => null),
59
])
60
return {
61
name,
0 commit comments