Type-safe search params state manager for React frameworks - Like useState, but stored in the URL query string.
This report summarizes scanner evidence for 47ng/nuqs, a TypeScript project with 10,899 GitHub stars. SynthScan examined 92,430 lines of code across 1465 source files, recording 124 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 112 finding(s).
Are imports declared and package/API names verified? 12 finding(s).
Are wrappers, guards, and repeated structures necessary? 51 finding(s).
Which changes need focused human review? 124 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 124 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/docs/src/app/banners.tsx | 41 | // <Link | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 61 | // > | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 81 | // </span>{' '} | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 101 | // </p> | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 121 | // <span | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 141 | // fallback={ | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 161 | // return ( | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 181 | // expiredMessage={ | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 261 | ) | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 281 | // <p className="text-sm sm:text-base"> | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 301 | // • | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 321 | // } | COMMENT |
| LOW | packages/docs/src/app/banners.tsx | 341 | // </p> | COMMENT |
| LOW | packages/docs/src/app/(pages)/stats/lib/versions.ts | 141 | return acc | COMMENT |
| LOW | packages/docs/src/app/(pages)/stats/lib/versions.ts | 181 | })) | COMMENT |
| LOW | packages/docs/src/app/(pages)/stats/lib/versions.ts | 201 | // } | COMMENT |
| LOW | packages/docs/src/app/(pages)/stats/lib/versions.ts | 221 | // const datesArray = Object.keys(dates) | COMMENT |
| LOW | packages/nuqs/testing.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/server.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/tanstack-router.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/testing.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/react-router.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/remix.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/next.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/react.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/custom.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/next/app.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/next/pages.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/react-router/v6.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/react-router/v7.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/adapters/react-router/v8.d.ts | 1 | // This file is needed for projects that have `moduleResolution` set to `node` | COMMENT |
| LOW | packages/nuqs/src/debug.ts | 1 | import { isDebugFlagSet, setDebugSink } from './lib/debug' | COMMENT |
| LOW | packages/nuqs/src/useQueryStates.ts | 121 | Object.fromEntries( | COMMENT |
| LOW | packages/nuqs/src/useQueryStates.ts | 201 | // detached while a subtree is hidden under `<Activity>` and only re-run after | COMMENT |
| LOW | packages/nuqs/src/api.test.ts | 41 | runtime.set(`./${path}`, code) | COMMENT |
| LOW | packages/nuqs/src/adapters/tanstack-router.ts | 41 | // navigation, while `resolvedLocation` stays on the committed route until | COMMENT |
| LOW | packages/nuqs/src/adapters/react-router/v8.ts | 1 | // React Router v8 uses the same `react-router` package and hooks as v7, so this | COMMENT |
| LOW | packages/scripts/release-finalize.ts | 41 | COMMENT | |
| LOW | packages/scripts/release-finalize.ts | 81 | COMMENT | |
| LOW | packages/scripts/release-finalize.ts | 101 | // | COMMENT |
| LOW | packages/scripts/release-finalize.ts | 181 | // numeric HTTP `.status`; | COMMENT |
| LOW | packages/scripts/lib/changelog-dto.ts | 1 | // Shared changelog codec — the single source of truth for the machine-readable | COMMENT |
| LOW | packages/scripts/lib/changelog-dto.ts | 21 | COMMENT | |
| LOW | packages/scripts/lib/commit-graph.ts | 1 | // Shared commit-graph discovery engine. | COMMENT |
| LOW | packages/scripts/lib/commit-graph.ts | 241 | .map(record => record.trim()) | COMMENT |
| LOW | packages/scripts/lib/commit-graph.ts | 481 | // range, uniform across every commit. `type`/`breaking`/`description` come from | COMMENT |
| LOW | packages/scripts/verify-release/verify.production.ts | 1 | #!/usr/bin/env -S node --no-warnings | COMMENT |
| LOW | packages/scripts/verify-release/verify.staged.ts | 1 | #!/usr/bin/env -S node --no-warnings | COMMENT |
| LOW | packages/scripts/verify-release/verify.lib.ts | 1 | // | COMMENT |
| LOW | packages/scripts/verify-release/run2.diff-contents.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | packages/scripts/verify-release/run1.reproduce.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | packages/e2e/next/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | packages/e2e/shared/specs/popstate-queue-reset.spec.ts | 141 | await expect(page).toHaveURL(url => !url.search.includes('b=')) | COMMENT |
| LOW | .github/workflows/backlog-cleaner.yml | 1 | name: Backlog Cleaner | COMMENT |
| LOW | .github/workflows/release-edited.yml | 81 | # which is fatal). The changelog page reads each release's embedded DTO | COMMENT |
| LOW | .github/workflows/release-finalize.yml | 1 | name: Finalize Release | COMMENT |
| LOW | .github/workflows/release-finalize.yml | 101 | - name: Bust the docs ISR cache tags | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nt/docs/parsers/community/tanstack-table.generator.tsx | 66 | export function usePaginationSearchParams() { | CODE |
| LOW | …ges/docs/content/blog/open-source-pledge-recipient.tsx | 6 | export function OpenSourcePledgeRecipient({ | CODE |
| LOW | …c/app/playground/_demos/server-side-parsing/client.tsx | 11 | export function ServerSideParsingDemoClient({ | CODE |
| LOW | packages/docs/src/app/(pages)/stats/lib/versions.ts | 184 | // async function getVersionsPublicationDates() { | COMMENT |
| LOW | packages/docs/src/app/(pages)/stats/lib/npm.ts | 103 | export function getDownloadsNDaysBeforeLatest( | CODE |
| LOW | packages/docs/src/app/(pages)/stats/lib/npm.ts | 328 | export function getPartialPreviousWeekDownloads(data: Datum[]) { | CODE |
| LOW | packages/docs/src/components/theme-toggle-menu.tsx | 30 | function subscribeThemeSwitcherSettings(onChange: () => void) { | CODE |
| LOW | …ges/docs/src/components/release-contribution-graph.tsx | 20 | function ReleaseContributionGraphSkeleton() { | CODE |
| LOW | …ges/docs/src/components/release-contribution-graph.tsx | 50 | async function ReleaseContributionGraphLoader({ | CODE |
| LOW | packages/docs/src/components/feature-support-matrix.tsx | 34 | export function parseFeatureSupportMatrixProps( | CODE |
| LOW | packages/docs/src/components/feature-support-matrix.tsx | 66 | export function renderFeatureSupportMatrixText( | CODE |
| LOW | packages/docs/src/components/feature-support-matrix.tsx | 291 | function getSupportedFrameworksText( | CODE |
| LOW | packages/docs/src/components/feature-support-matrix.tsx | 304 | function getUnsupportedFrameworksText(notSupportedIn: readonly Frameworks[]) { | CODE |
| LOW | …s/src/components/release-contribution-graph.client.tsx | 33 | export function ReleaseContributionGraphClient({ | CODE |
| LOW | packages/docs/src/components/ui/chart.tsx | 335 | function getPayloadConfigFromPayload( | CODE |
| LOW | …/docs/src/components/changelog/contributors-footer.tsx | 17 | export function formatContributorsSummary( | CODE |
| LOW | packages/docs/src/lib/get-llm-text.ts | 84 | function stripFeatureSupportMatrix( | CODE |
| LOW | packages/docs/src/lib/theme-switcher-key.ts | 13 | export function resolveThemeSwitcherSettings( | CODE |
| LOW | packages/docs/src/lib/theme-switcher-key.ts | 24 | export function readThemeSwitcherSettings( | CODE |
| LOW | packages/docs/src/lib/theme-switcher-key.ts | 57 | export function writeThemeSwitcherEnabled( | CODE |
| LOW | packages/docs/src/lib/theme-switcher-key.ts | 121 | export function isAssignableThemeSwitcherKey(key: string) { | CODE |
| LOW | packages/nuqs/src/adapters/testing.ts | 65 | function renderInitialSearchParams( | CODE |
| LOW | packages/nuqs/src/adapters/testing.ts | 166 | return function NuqsTestingAdapterWrapper({ | CODE |
| LOW | packages/nuqs/src/adapters/tanstack-router.ts | 25 | function useNuqsTanstackRouterAdapter(watchKeys: string[]): AdapterInterface { | CODE |
| LOW | packages/nuqs/src/adapters/next/impl.pages.ts | 40 | function onNavigationWithoutSubscribers() { | CODE |
| LOW | packages/nuqs/src/adapters/next/impl.pages.ts | 54 | export function useNuqsNextPagesRouterAdapter(): AdapterInterface { | CODE |
| LOW | packages/nuqs/src/adapters/next/impl.app.ts | 110 | export function useNuqsNextAppRouterAdapter(): AdapterInterface { | CODE |
| LOW | packages/nuqs/src/adapters/lib/react-router.ts | 42 | export function createReactRouterBasedAdapter({ | CODE |
| LOW | packages/nuqs/src/adapters/lib/react-router.ts | 51 | function useNuqsReactRouterBasedAdapter( | CODE |
| LOW | packages/nuqs/src/adapters/lib/react-router.ts | 113 | function useOptimisticSearchParams( | CODE |
| LOW | packages/nuqs/src/lib/queues/throttle.ts | 29 | export function getSearchParamsSnapshotFromLocation(): URLSearchParams { | CODE |
| LOW | packages/nuqs/src/lib/queues/throttle.test.ts | 261 | async function createQueueAwaitingAcknowledgement() { | CODE |
| LOW | packages/e2e/next/scripts/cache-components-codemod.ts | 5 | function grepFilesWithDynamicExport(dir: string): Promise<string[]> { | CODE |
| LOW | packages/e2e/next/scripts/cache-components-codemod.ts | 30 | async function commentDynamicExportInFile(filePath: string) { | CODE |
| LOW | …ext/src/app/app/(shared)/popstate-queue-reset/page.tsx | 7 | function PopstateQueueResetWrapper() { | CODE |
| LOW | packages/e2e/shared/specs/life-and-death.tsx | 19 | function LifeAndDeathUseQueryState() { | CODE |
| LOW | packages/e2e/shared/specs/life-and-death.tsx | 31 | function ChildComponentUseQueryState() { | CODE |
| LOW | packages/e2e/shared/specs/life-and-death.tsx | 46 | function LifeAndDeathUseQueryStates() { | CODE |
| LOW | packages/e2e/shared/specs/life-and-death.tsx | 58 | function ChildComponentUseQueryStates() { | CODE |
| LOW | packages/e2e/shared/specs/referential-stability.tsx | 6 | export function ReferentialStabilityUseQueryState() { | CODE |
| LOW | packages/e2e/shared/specs/referential-stability.tsx | 18 | export function ReferentialStabilityUseQueryStates() { | CODE |
| LOW⚡ | packages/e2e/shared/specs/key-isolation.tsx | 7 | export function KeyIsolationUseQueryState() { | CODE |
| LOW⚡ | packages/e2e/shared/specs/key-isolation.tsx | 16 | export function KeyIsolationUseQueryStates() { | CODE |
| LOW⚡ | packages/e2e/shared/specs/key-isolation.tsx | 25 | function TestComponentUseQueryState({ id }: TestComponentProps) { | CODE |
| LOW | packages/e2e/shared/specs/key-isolation.tsx | 38 | function TestComponentUseQueryStates({ id }: TestComponentProps) { | CODE |
| LOW | packages/e2e/shared/specs/conditional-rendering.tsx | 24 | function TestComponentUseQueryState() { | CODE |
| LOW | packages/e2e/shared/specs/conditional-rendering.tsx | 37 | function TestComponentUseQueryStates() { | CODE |
| LOW | packages/e2e/shared/specs/conditional-rendering.tsx | 57 | export function ConditionalRenderingUseQueryState() { | CODE |
| LOW | packages/e2e/shared/specs/conditional-rendering.tsx | 61 | export function ConditionalRenderingUseQueryStates() { | CODE |
| LOW | packages/e2e/shared/specs/flush-after-navigate.tsx | 10 | export function FlushAfterNavigateUseQueryStateStart({ | CODE |
| LOW | packages/e2e/shared/specs/flush-after-navigate.tsx | 45 | export function FlushAfterNavigateUseQueryStatesStart({ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ocs/content/docs/parsers/community/zod-codecs.demo.tsx | 17 | name: 'John Doe', | CODE |
| LOW | …ocs/content/docs/parsers/community/zod-codecs.demo.tsx | 24 | name: 'John Doe', | CODE |
| LOW | …s/docs/src/app/playground/_demos/throttling/client.tsx | 8 | const autoFillMessage = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsu | CODE |
| LOW | …s/docs/src/app/playground/_demos/throttling/client.tsx | 8 | const autoFillMessage = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsu | CODE |
| LOW | packages/examples/next-app/src/data.ts | 4 | name: 'John Doe' | CODE |
| LOW | packages/examples/next-app/src/data.ts | 8 | name: 'Jane Doe' | CODE |
| LOW | packages/nuqs/src/lib/url-encoding.browser.test.ts | 119 | search.set('name', 'John Doe') | CODE |
| LOW | packages/scripts/release-notes-automation.test.ts | 307 | author: 'Jane Doe', | CODE |
| LOW | packages/scripts/release-notes-automation.test.ts | 320 | author: 'Jane Doe', | CODE |
| LOW | packages/scripts/lib/changelog-dto.test.ts | 333 | author: 'Jane Doe' | CODE |
| LOW | packages/scripts/lib/commit-graph.test.ts | 44 | author: 'Jane Doe', | CODE |
| LOW | packages/scripts/lib/commit-graph.test.ts | 937 | author: author ?? 'Jane Doe', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/docs/src/components/quote.tsx | 2 | * This code was generated by v0 by Vercel. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/e2e/shared/specs/json.tsx | 13 | // Normally we'd use Zod for a schema, but we can leverage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/examples/trpc/app/routes/api/trpc.ts | 13 | function handleRequest(args: LoaderFunctionArgs | ActionFunctionArgs) { | CODE |
| LOW | packages/e2e/remix/app/entry.server.tsx | 17 | export default function handleRequest( | CODE |