From b2805fc4611cc6418e87c2dd4a3ff42fcae4246c Mon Sep 17 00:00:00 2001 From: outslept <135520429+outslept@users.noreply.github.com> Date: Sun, 15 Nov 2026 22:06:03 +0000 Subject: [PATCH 01/21] feat(ui): add svelte 10th anniversary noodle (#3448) Co-authored-by: Felix Schneider <99918022+trueberryless@users.noreply.github.com> --- app/components/Noodle/Svelte/Art.vue | 33 +++++++++++++++++++++++++++ app/components/Noodle/Svelte/Logo.vue | 32 ++++++++++++++++++++++++++ app/components/Noodle/index.ts | 9 ++++++++ app/noodles.ts | 23 +++++++++++++++++++ public/extra/svelte.svg | 19 +++++++++++++++ test/nuxt/a11y.spec.ts | 14 ++++++++++++ 6 files changed, 130 insertions(+) create mode 100644 app/components/Noodle/Svelte/Art.vue create mode 100644 app/components/Noodle/Svelte/Logo.vue create mode 100644 public/extra/svelte.svg diff --git a/app/components/Noodle/Svelte/Art.vue b/app/components/Noodle/Svelte/Art.vue new file mode 100644 index 0000000000..a9911cf72a --- /dev/null +++ b/app/components/Noodle/Svelte/Art.vue @@ -0,0 +1,33 @@ + diff --git a/app/components/Noodle/Svelte/Logo.vue b/app/components/Noodle/Svelte/Logo.vue new file mode 100644 index 0000000000..8ba2c33209 --- /dev/null +++ b/app/components/Noodle/Svelte/Logo.vue @@ -0,0 +1,32 @@ + + + diff --git a/app/components/Noodle/index.ts b/app/components/Noodle/index.ts index d63d6fc7e0..c0e740d48c 100644 --- a/app/components/Noodle/index.ts +++ b/app/components/Noodle/index.ts @@ -12,6 +12,7 @@ import NoodleEmojiDayLogo from './EmojiDay/Logo.vue' import NoodleGifDayLogo from './GifDay/Logo.vue' import NoodleIojsNodejsLogo from './IojsNodejs/Logo.vue' import NoodleBlenderLogo from './Blender/Logo.vue' +import NoodleSvelteLogo from './Svelte/Logo.vue' export type Noodle = { // Unique identifier for the noodle @@ -46,6 +47,13 @@ export const ACTIVE_NOODLES: Noodle[] = [ timezone: 'auto', tagline: false, }, + { + key: 'svelte', + logo: NoodleSvelteLogo, + date: '2026-11-29', + timezone: 'auto', + tagline: false, + }, ] // Logo registry for the /noodles archive, keyed by the entry's `key` in @@ -65,6 +73,7 @@ const NOODLE_LOGOS: Record = { 'gif-day': NoodleGifDayLogo, 'iojs-nodejs-merge': NoodleIojsNodejsLogo, 'blender': NoodleBlenderLogo, + 'svelte': NoodleSvelteLogo, } export function resolveNoodleLogo(key: string): Component | undefined { diff --git a/app/noodles.ts b/app/noodles.ts index 4fea1dba6a..07d499fcf8 100644 --- a/app/noodles.ts +++ b/app/noodles.ts @@ -9,6 +9,7 @@ const GRAPHIEROS = { name: 'Graphieros', blueskyHandle: 'graphieros.npmx.social' const FELIX = { name: 'Felix Schneider', blueskyHandle: 'felixs.dev' } const JVIIDE = { name: 'Joachim Viide', blueskyHandle: 'jviide.iki.fi' } const MATTEO = { name: 'Matteo Gabriele', blueskyHandle: 'matteogabriele.bsky.social' } +const OUTSLEPT = { name: 'Eugene', blueskyHandle: 'outslept.bsky.social' } const entries: Noodle[] = [ { @@ -208,6 +209,28 @@ const entries: Noodle[] = [ }, ], }, + { + key: 'svelte', + title: '10 Years of Svelte', + slug: 'svelte', + date: '2026-11-29', + timezone: 'auto', + tagline: false, + posterImage: '/extra/svelte.svg', + occasion: 'Ten years since Svelte v1 was released on 29 November 2016.', + prUrl: 'https://github.com/npmx-dev/npmx.dev/pull/3448', + authors: [OUTSLEPT], + references: [ + { + label: 'Frameworks without the framework - svelte.dev', + url: 'https://svelte.dev/blog/frameworks-without-the-framework', + }, + { + label: 'Svelte v1.0.0 release', + url: 'https://github.com/sveltejs/svelte/releases/tag/v1.0.0', + }, + ], + }, ] export const noodles: Noodle[] = [...entries].sort( diff --git a/public/extra/svelte.svg b/public/extra/svelte.svg new file mode 100644 index 0000000000..e3fa39928c --- /dev/null +++ b/public/extra/svelte.svg @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/test/nuxt/a11y.spec.ts b/test/nuxt/a11y.spec.ts index f17d325cd4..0587d9544b 100644 --- a/test/nuxt/a11y.spec.ts +++ b/test/nuxt/a11y.spec.ts @@ -226,6 +226,8 @@ import { NoodleIojsNodejsLogo, NoodleBlenderLogo, NoodleBlenderArt, + NoodleSvelteLogo, + NoodleSvelteArt, LinkBase, CallToAction, ChangelogCard, @@ -568,6 +570,18 @@ describe('component accessibility audits', () => { const results = await runAxe(component) expect(results.violations).toEqual([]) }) + + it('should have no accessibility violations', async () => { + const component = await mountSuspended(NoodleSvelteLogo) + const results = await runAxe(component) + expect(results.violations).toEqual([]) + }) + + it('should have no accessibility violations', async () => { + const component = await mountSuspended(NoodleSvelteArt) + const results = await runAxe(component) + expect(results.violations).toEqual([]) + }) }) describe('AppFooter', () => { From 0f123dab9794b766414bb16c1dcbfc02cd45a3db Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 22:23:37 +0000 Subject: [PATCH 02/21] chore(deps): update devdependency knip to v6.45.1 (#3418) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index d4d7c45d72..63afc793a6 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "feed": "6.0.0", "h3": "1.15.11", "h3-next": "npm:h3@2.0.1-rc.26", - "knip": "6.44.1", + "knip": "6.45.1", "markdown-it-anchor": "10.0.0", "msw": "catalog:msw", "msw-storybook-addon": "catalog:storybook", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5808e48986..e05d733d89 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -350,8 +350,8 @@ importers: specifier: npm:h3@2.0.1-rc.26 version: h3@2.0.1-rc.26(crossws@0.4.15) knip: - specifier: 6.44.1 - version: 6.44.1 + specifier: 6.45.1 + version: 6.45.1 markdown-it-anchor: specifier: 10.0.0 version: 10.0.0(@types/markdown-it@14.1.2)(markdown-it@14.3.0) @@ -7884,8 +7884,8 @@ packages: resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} engines: {node: '>= 8'} - knip@6.44.1: - resolution: {integrity: sha512-Hbd8nvkIsNgFfXgC7Jsb5LHv7jj6VwA3tmfHd53XPX2z9Vc9RnAZqV0BIiP4OrtYqKwCoLseFHQZerb1bNlbSw==} + knip@6.45.1: + resolution: {integrity: sha512-zp3zXKy2cZWiIttdlWU5fisKxVQaLSU6471ej0KGz1GdHdaHxpzTAO/LIyFNc3gU3v1W7LJaqvYumoO3l/u+6A==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -10217,8 +10217,8 @@ packages: ultramatter@0.0.4: resolution: {integrity: sha512-1f/hO3mR+/Hgue4eInOF/Qm/wzDqwhYha4DxM0hre9YIUyso3fE2XtrAU6B4njLqTC8CM49EZaYgsVSa+dXHGw==} - unbash@6.0.2: - resolution: {integrity: sha512-UhcFfg9u8OpFPnUqdXSKgbGHwk2iEHaEePfpHylako6i4rpdmfoOgCVBBlou4WugaFfNunIHby01mKssJzVTCA==} + unbash@6.0.4: + resolution: {integrity: sha512-t3OptUArewg9OpYGDskTSlxhyLDahfmZ4d36hE44Efb1y3HRLLpzsVqwH+AwBVymP4t7pP71xN+nnduudn2awA==} engines: {node: '>=14'} unbox-primitive@1.1.0: @@ -19786,7 +19786,7 @@ snapshots: klona@2.0.6: {} - knip@6.44.1: + knip@6.45.1: dependencies: formatly: 0.11.4 get-tsconfig: 4.14.3 @@ -19797,9 +19797,8 @@ snapshots: smol-toml: 1.9.1 strip-json-comments: 5.0.3 tinyglobby: 0.2.17 - unbash: 6.0.2 + unbash: 6.0.4 yaml: 2.9.1 - zod: 4.6.5 knitwork@1.3.0: {} @@ -23175,7 +23174,7 @@ snapshots: ultramatter@0.0.4: {} - unbash@6.0.2: {} + unbash@6.0.4: {} unbox-primitive@1.1.0: dependencies: From c00b27d08ea5bc3da56d98fe0f73bdd22cdc3147 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Fri, 20 Nov 2026 06:13:42 +0000 Subject: [PATCH 03/21] fix: end download charts on the latest day npm has published (#3455) --- app/composables/useCharts.ts | 43 ++++++++++-- app/utils/npm/api.ts | 9 +++ modules/runtime/server/cache.ts | 8 +++ test/fixtures/mock-routes.cjs | 8 +++ test/nuxt/composables/use-charts.spec.ts | 85 ++++++++++++++++++++++++ 5 files changed, 148 insertions(+), 5 deletions(-) diff --git a/app/composables/useCharts.ts b/app/composables/useCharts.ts index 7ee50545ee..b720a019bf 100644 --- a/app/composables/useCharts.ts +++ b/app/composables/useCharts.ts @@ -8,7 +8,7 @@ import type { } from '~/types/chart' import { mapWithConcurrency } from '#shared/utils/async' import { splitIsoRangeIntoChunksInclusive, mergeDailyPoints } from '#shared/utils/download-ranges' -import { fetchNpmDownloadsRange } from '~/utils/npm/api' +import { fetchNpmDownloadsRange, fetchNpmLatestDownloadsDay } from '~/utils/npm/api' import { toValue } from 'vue' import { addDays, toIsoDate, parseIsoDate } from '~/utils/date' @@ -25,6 +25,7 @@ function startOfUtcYear(date: Date): Date { } const npmDailyRangeCache = import.meta.client ? new Map>() : null +const npmLatestDayCache = import.meta.client ? new Map>() : null const likesEvolutionCache = import.meta.client ? new Map>() : null const contributorsEvolutionCache = import.meta.client ? new Map>() @@ -34,6 +35,7 @@ const repoMetaCache = import.meta.client ? new Map { + cache.delete(cacheKey) + throw error + }) + + cache.set(cacheKey, promise) + return promise +} + /** * API limit workaround: * If the requested range is larger than the API allows (≈18 months), @@ -248,18 +268,24 @@ export function useCharts() { function resolveDateRange( evolutionOptions: EvolutionOptions, packageCreatedIso: string | null, + latestDayIso: string | null = null, ): { start: Date; end: Date } { const today = new Date() const yesterday = new Date( Date.UTC(today.getUTCFullYear(), today.getUTCMonth(), today.getUTCDate() - 1), ) + // npm may not have published yesterday yet + const latestDay = latestDayIso ? parseIsoDate(latestDayIso) : null + const defaultEnd = latestDay && latestDay < yesterday ? latestDay : yesterday const endDateOnly = toDateOnly(evolutionOptions.endDate) - const end = endDateOnly ? parseIsoDate(endDateOnly) : yesterday + const end = endDateOnly ? parseIsoDate(endDateOnly) : defaultEnd const startDateOnly = toDateOnly(evolutionOptions.startDate) if (startDateOnly) { const start = parseIsoDate(startDateOnly) + // the latest published day must not end the range before its start + if (!endDateOnly && end < start && start <= yesterday) return { start, end: start } return { start, end } } @@ -284,7 +310,7 @@ export function useCharts() { } else if (evolutionOptions.granularity === 'week') { const weekCount = evolutionOptions.weeks ?? 52 - // Full rolling weeks ending on `end` (yesterday by default) + // Full rolling weeks ending on `end` (the latest published day by default) // Range length is exactly weekCount * 7 days (inclusive) start = addDays(end, -(weekCount * 7) + 1) } else { @@ -303,12 +329,19 @@ export function useCharts() { const resolvedCreatedIso = toValue(createdIso) ?? null const resolvedOptions = toValue(evolutionOptions) - const { start, end } = resolveDateRange(resolvedOptions, resolvedCreatedIso) + const nuxtApp = useNuxtApp() + const latestDayIso = toDateOnly(resolvedOptions.endDate) + ? null + : await fetchLatestDownloadsDayCached().catch(() => null) + + const { start, end } = resolveDateRange(resolvedOptions, resolvedCreatedIso, latestDayIso) const startIso = toIsoDate(start) const endIso = toIsoDate(end) - const sortedDaily = await fetchDailyRangeChunked(resolvedPackageName, startIso, endIso) + const sortedDaily = await nuxtApp.runWithContext(() => + fetchDailyRangeChunked(resolvedPackageName, startIso, endIso), + ) if (resolvedOptions.granularity === 'day') return buildDailyEvolution(sortedDaily) if (resolvedOptions.granularity === 'week') diff --git a/app/utils/npm/api.ts b/app/utils/npm/api.ts index c63ffedca4..7d0399f806 100644 --- a/app/utils/npm/api.ts +++ b/app/utils/npm/api.ts @@ -24,6 +24,15 @@ export async function fetchNpmDownloadsRange( ).data } +/** + * Fetch the latest day npm has published download counts for. + * A day lands some hours after it ends (UTC), until then ranges return 0 for it. + */ +export async function fetchNpmLatestDownloadsDay(): Promise { + const { $npmApi } = useNuxtApp() + return (await $npmApi<{ end: string }>('/downloads/point/last-day')).data.end +} + // ============================================================================ // Package Versions // ============================================================================ diff --git a/modules/runtime/server/cache.ts b/modules/runtime/server/cache.ts index 5359f75ea4..19da6158f4 100644 --- a/modules/runtime/server/cache.ts +++ b/modules/runtime/server/cache.ts @@ -195,6 +195,14 @@ function getMockForUrl(url: string): MockResult | null { } return { data: { downloads, start: startDate, end: endDate, package: packageName } } } + + // Registry-wide downloads point, used for the latest published day + if (/^\/downloads\/point\/[^/]+$/.test(pathname)) { + const yesterday = new Date() + yesterday.setUTCDate(yesterday.getUTCDate() - 1) + const day = yesterday.toISOString().slice(0, 10) + return { data: { downloads: 0, start: day, end: day } } + } } // esm.sh is handled specially via $fetch.raw override, not here diff --git a/test/fixtures/mock-routes.cjs b/test/fixtures/mock-routes.cjs index 775372a268..6048606673 100644 --- a/test/fixtures/mock-routes.cjs +++ b/test/fixtures/mock-routes.cjs @@ -175,6 +175,14 @@ function matchNpmApi(urlString) { const url = new URL(urlString) const pathname = decodeURIComponent(url.pathname) + // Registry-wide downloads point, used for the latest published day + if (/^\/downloads\/point\/[^/]+$/.test(pathname)) { + const yesterday = new Date() + yesterday.setUTCDate(yesterday.getUTCDate() - 1) + const day = yesterday.toISOString().slice(0, 10) + return json({ downloads: 0, start: day, end: day }) + } + // Downloads point const pointMatch = pathname.match(/^\/downloads\/point\/[^/]+\/(.+)$/) if (pointMatch && pointMatch[1]) { diff --git a/test/nuxt/composables/use-charts.spec.ts b/test/nuxt/composables/use-charts.spec.ts index 9543410ae3..cb58b21c0c 100644 --- a/test/nuxt/composables/use-charts.spec.ts +++ b/test/nuxt/composables/use-charts.spec.ts @@ -1,5 +1,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vite-plus/test' +import type { WeeklyDataPoint } from '~/types/chart' import { clearClientCaches } from '~/composables/useCharts' +import { addDays, parseIsoDate } from '~/utils/date' const mockLikesResponse = [ { day: '2025-03-01', likes: 5 }, @@ -72,3 +74,86 @@ describe('useCharts – fetchPackageLikesEvolution', () => { expect(fetchSpy).toHaveBeenCalledTimes(1) }) }) + +describe('useCharts – fetchPackageDownloadEvolution', () => { + let fetchSpy: ReturnType + + beforeEach(() => { + vi.useFakeTimers({ toFake: ['Date'] }) + vi.setSystemTime(new Date('2026-11-19T10:00:00.000Z')) + + // npm has not published 2026-11-18 yet, its range endpoint returns 0 for that day + fetchSpy = vi.fn(async (url: string) => { + if (url === '/downloads/point/last-day') { + return { downloads: 100, start: '2026-11-17', end: '2026-11-17' } + } + const [start, end] = url.split('/')[3]!.split(':') as [string, string] + const downloads = [] + for ( + let day = start; + day <= end; + day = addDays(parseIsoDate(day), 1).toISOString().slice(0, 10) + ) { + downloads.push({ day, downloads: day === '2026-11-18' ? 0 : 100 }) + } + return { start, end, package: 'vue', downloads } + }) + vi.stubGlobal('$fetch', fetchSpy) + + clearClientCaches() + }) + + afterEach(() => { + vi.useRealTimers() + vi.unstubAllGlobals() + }) + + it('ends on the latest day npm has published', async () => { + const { fetchPackageDownloadEvolution } = useCharts() + + const result = (await fetchPackageDownloadEvolution('vue', null, { + granularity: 'week', + weeks: 2, + })) as WeeklyDataPoint[] + + expect(fetchSpy).toHaveBeenCalledWith( + '/downloads/range/2026-11-04:2026-11-17/vue', + expect.anything(), + ) + expect(result.at(-1)).toMatchObject({ + weekStart: '2026-11-11', + weekEnd: '2026-11-17', + value: 700, + }) + }) + + it('never ends a start-only range before its start', async () => { + const { fetchPackageDownloadEvolution } = useCharts() + + await fetchPackageDownloadEvolution('vue', null, { + granularity: 'day', + startDate: '2026-11-18', + }) + + expect(fetchSpy).toHaveBeenCalledWith( + '/downloads/range/2026-11-18:2026-11-18/vue', + expect.anything(), + ) + }) + + it('keeps an explicit end date', async () => { + const { fetchPackageDownloadEvolution } = useCharts() + + await fetchPackageDownloadEvolution('vue', null, { + granularity: 'day', + startDate: '2026-11-10', + endDate: '2026-11-18', + }) + + expect(fetchSpy).toHaveBeenCalledTimes(1) + expect(fetchSpy).toHaveBeenCalledWith( + '/downloads/range/2026-11-10:2026-11-18/vue', + expect.anything(), + ) + }) +}) From 86c41a16414c845a104b9fa55015d3b2995e0506 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 20 Nov 2026 10:54:53 +0000 Subject: [PATCH 04/21] fix(ui): render badge-only descriptions left as bare brackets as empty (#3454) Co-authored-by: Alec Lloyd Probert <55991794+graphieros@users.noreply.github.com> --- app/composables/useMarkdown.ts | 2 ++ test/nuxt/composables/use-markdown.spec.ts | 30 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/app/composables/useMarkdown.ts b/app/composables/useMarkdown.ts index 9c8ce5dcf0..798e7ee011 100644 --- a/app/composables/useMarkdown.ts +++ b/app/composables/useMarkdown.ts @@ -103,7 +103,9 @@ function parseMarkdown({ if (!text) return '' // First strip HTML tags and escape remaining HTML + // Badge images without an enclosing link strip down to bare "[]" wrappers let html = stripAndEscapeHtml(text) + if (/^(?:\[\s*\]\s*)+$/.test(html)) return '' // Bold: **text** or __text__ html = html.replace(/\*\*(.+?)\*\*/g, '$1') diff --git a/test/nuxt/composables/use-markdown.spec.ts b/test/nuxt/composables/use-markdown.spec.ts index 5e1be4b2e5..eeb084af38 100644 --- a/test/nuxt/composables/use-markdown.spec.ts +++ b/test/nuxt/composables/use-markdown.spec.ts @@ -264,6 +264,36 @@ describe('useMarkdown', () => { expect(processed.value).toBe('A library') }) + it('returns empty when a linkless badge strips down to bare brackets', () => { + // A badge image without an enclosing link loses its image atom but the + // wrapper has no URL to match, leaving a bare "[]" behind + const processed = useMarkdown({ + text: '[![Test Status](https://github.com/user/repo/actions/workflows/test.yml/badge.svg?branch=main)]', + }) + expect(processed.value).toBe('') + }) + + it('returns empty when linked and linkless badges leave only bare brackets', () => { + const processed = useMarkdown({ + text: '[![Npm Package](https://badgen.net/npm/v/jsdoc-type-pratt-parser)](https://www.npmjs.com/package/jsdoc-type-pratt-parser) [![Test Status](https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/actions/workflows/test.yml/badge.svg?branch=main)]', + }) + expect(processed.value).toBe('') + }) + + it('returns empty for a literal empty bracket pair', () => { + expect(useMarkdown({ text: '[]' }).value).toBe('') + expect(useMarkdown({ text: ' [] ' }).value).toBe('') + }) + + it('returns empty when multiple linkless badges strip down to bare brackets', () => { + expect(useMarkdown({ text: '[![a](https://x.svg)] [![b](https://y.svg)]' }).value).toBe('') + expect(useMarkdown({ text: '[![a](https://x.svg)]\n[![b](https://y.svg)]' }).value).toBe('') + }) + + it('preserves brackets that are part of the text', () => { + expect(useMarkdown({ text: 'returns [] when empty' }).value).toBe('returns [] when empty') + }) + it('strips reference-style linked image badges (regression #2767)', () => { const processed = useMarkdown({ text: '[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] A library', From bd39ba3187cf75f08d9ab1bd21cac7c578042f60 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2026 14:23:57 +0000 Subject: [PATCH 05/21] chore(deps): update devdependency knip to v6.47.0 (#3459) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 63afc793a6..a8bea2d565 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "feed": "6.0.0", "h3": "1.15.11", "h3-next": "npm:h3@2.0.1-rc.26", - "knip": "6.45.1", + "knip": "6.47.0", "markdown-it-anchor": "10.0.0", "msw": "catalog:msw", "msw-storybook-addon": "catalog:storybook", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e05d733d89..5b93ca9a18 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -350,8 +350,8 @@ importers: specifier: npm:h3@2.0.1-rc.26 version: h3@2.0.1-rc.26(crossws@0.4.15) knip: - specifier: 6.45.1 - version: 6.45.1 + specifier: 6.47.0 + version: 6.47.0 markdown-it-anchor: specifier: 10.0.0 version: 10.0.0(@types/markdown-it@14.1.2)(markdown-it@14.3.0) @@ -7884,8 +7884,8 @@ packages: resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} engines: {node: '>= 8'} - knip@6.45.1: - resolution: {integrity: sha512-zp3zXKy2cZWiIttdlWU5fisKxVQaLSU6471ej0KGz1GdHdaHxpzTAO/LIyFNc3gU3v1W7LJaqvYumoO3l/u+6A==} + knip@6.47.0: + resolution: {integrity: sha512-nYmQnk0YqDXIJrYViJz88c8xw3tBDkpuAmofo58EkVPnKr6DnRKYtf6oIqcGVHZvXDE+gtmFuYx277/QsWng+A==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -11127,10 +11127,12 @@ packages: yuku-core@0.19.0: resolution: {integrity: sha512-kYK9e1XdfirNhkipzW0wmMcSWcVF/CWnuugodfVYRCUwvoBefweL9HzB96OiKEhsx78V5WbUxbJqlizMX869Qg==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' yuku-parser@0.19.0: resolution: {integrity: sha512-XrBh9ZiQK5mJVRxZBAvD6LwRyAYrK3MFtH3+onyuxFL5hFD44EC3QOmIC1FjTj6H2MMwq46/NAI+NZxLZPZgxg==} engines: {node: '>=14.18.0'} + deprecated: 'Yuku is now one package with one core. Use "yuku" instead: https://yuku.fyi/javascript/. Existing installs keep working but get no more fixes.' zigpty@0.2.1: resolution: {integrity: sha512-MR9JqJx2wf5f4wz8zpx050AlqrmWeIW+1h0SO5iEyhG3HFRjY5luC3szS2ux2EGuPjE5OU9ZAuiCBeMWBTrqZw==} @@ -19786,7 +19788,7 @@ snapshots: klona@2.0.6: {} - knip@6.45.1: + knip@6.47.0: dependencies: formatly: 0.11.4 get-tsconfig: 4.14.3 From d75a5ca92da1febb25c5861eb9e6aab76ca05560 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 24 Nov 2026 15:39:19 +0000 Subject: [PATCH 06/21] chore(deps): upgrade to nuxt v4.7 (#3463) --- .nuxtrc | 2 +- .storybook/preview-head.html | 12 + docs/package.json | 3 +- knip.ts | 8 +- modules/runtime/server/cache.ts | 2 + nuxt.config.ts | 5 +- package.json | 8 +- patches/@nuxt__test-utils@4.1.0.patch | 26 - pnpm-lock.yaml | 6035 ++++++++++++++----------- pnpm-workspace.yaml | 21 +- vite.config.ts | 38 +- 11 files changed, 3551 insertions(+), 2609 deletions(-) delete mode 100644 patches/@nuxt__test-utils@4.1.0.patch diff --git a/.nuxtrc b/.nuxtrc index 0e6b68e606..7fe0c55cb0 100644 --- a/.nuxtrc +++ b/.nuxtrc @@ -1 +1 @@ -setups.@nuxt/test-utils="4.1.0" \ No newline at end of file +setups.@nuxt/test-utils="4.4.0" \ No newline at end of file diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index c626f23ef8..9e8a7e8613 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -61,6 +61,18 @@ background-color: var(--bg, oklch(0.171 0 0)) !important; } + + diff --git a/app/components/Package/Likes.vue b/app/components/Package/Likes.vue index e48f543e62..e94aed1eb0 100644 --- a/app/components/Package/Likes.vue +++ b/app/components/Package/Likes.vue @@ -149,12 +149,16 @@ const likeAction = async () => { aria-hidden="true" class="inline-block w-4 h-4" /> -