Collection of essential Vue Composition Utilities for Vue 3
This report summarizes scanner evidence for vueuse/vueuse, a TypeScript project with 22,399 GitHub stars. SynthScan examined 144,007 lines of code across 1553 source files, recording 45 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.4 (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? 37 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 28 finding(s).
Which changes need focused human review? 45 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 45 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 | …/__snapshots__/tsnapi/@vueuse/core/index.snapshot.d.ts | 1979 | export declare function usePreferredReducedMotion(_?: ConfigurableWindow): import("vue").ComputedRef<ReducedMotionType>; | CODE |
| LOW | …/__snapshots__/tsnapi/@vueuse/core/index.snapshot.d.ts | 1980 | export declare function usePreferredReducedTransparency(_?: ConfigurableWindow): import("vue").ComputedRef<ReducedTransp | CODE |
| LOW | …st/__snapshots__/tsnapi/@vueuse/core/index.snapshot.js | 120 | export function usePreferredReducedMotion(_) {} | CODE |
| LOW | …st/__snapshots__/tsnapi/@vueuse/core/index.snapshot.js | 121 | export function usePreferredReducedTransparency(_) {} | CODE |
| LOW | …/__snapshots__/tsnapi/@vueuse/shared/index.snapshot.js | 9 | export function createDisposableDirective(_) {} | CODE |
| LOW | packages/core/onLongPress/index.test.ts | 56 | async function notTriggerCallbackOnChildLongPress(isRef: boolean) { | CODE |
| LOW | packages/core/onLongPress/index.test.ts | 67 | async function workOnceAndPreventModifiers(isRef: boolean) { | CODE |
| LOW | packages/core/onLongPress/index.test.ts | 120 | async function triggerCallbackWithThreshold(isRef: boolean) { | CODE |
| LOW | packages/core/onLongPress/index.test.ts | 193 | async function notTriggerCallbackOnPointerCancel(isRef: boolean) { | CODE |
| LOW | packages/core/onLongPress/index.md | 124 | function onLongPressCallbackComponent(e: PointerEvent) { | CODE |
| LOW | packages/core/onLongPress/index.md | 158 | function onLongPressCallbackDirective(e: PointerEvent) { | CODE |
| LOW | packages/core/usePreferredReducedMotion/index.ts | 15 | export function usePreferredReducedMotion(options?: ConfigurableWindow) { | CODE |
| LOW | packages/core/useBluetooth/index.browser.test.ts | 6 | function createMockBluetoothDevice(id: string) { | CODE |
| LOW | packages/core/useBluetooth/index.ts | 101 | async function connectToBluetoothGATTServer() { | CODE |
| LOW | packages/core/usePreferredReducedTransparency/index.ts | 15 | export function usePreferredReducedTransparency(options?: ConfigurableWindow) { | CODE |
| LOW | packages/core/useElementVisibility/index.md | 116 | function onElementVisibilityWithControls(state) { | CODE |
| LOW | packages/.vitepress/twoslash.ts | 9 | export function generateGlobalDeclsFromModule(moduleName: string, exports: string[] = [], exportTypes: string[] = []) { | CODE |
| LOW | packages/.vitepress/plugins/markdownTransform.ts | 308 | function replaceToDefaultTwoslashMeta(meta: string) { | CODE |
| LOW | packages/shared/createInjectionState/index.md | 36 | export function useCounterStoreWithDefaultValue() { | CODE |
| LOW | …es/shared/createInjectionState/demo/useCounterStore.ts | 23 | export function useCounterStoreWithDefaultValue() { | CODE |
| LOW | packages/skills/build.ts | 63 | async function prepareFunctionReferences(outDir: string, referenceDir = SKILL_REFERENCE_DIR): Promise<Record<string, Fun | CODE |
| LOW | packages/skills/build.ts | 121 | function resolveFunctionInvocation(name: string, category: string): FunctionInvocation { | CODE |
| LOW | skills/vueuse-functions/references/onLongPress.md | 124 | function onLongPressCallbackComponent(e: PointerEvent) { | CODE |
| LOW | skills/vueuse-functions/references/onLongPress.md | 158 | function onLongPressCallbackDirective(e: PointerEvent) { | CODE |
| LOW | …euse-functions/references/usePreferredReducedMotion.md | 39 | export declare function usePreferredReducedMotion( | CODE |
| LOW | …unctions/references/usePreferredReducedTransparency.md | 39 | export declare function usePreferredReducedTransparency( | CODE |
| LOW | …ls/vueuse-functions/references/useElementVisibility.md | 116 | function onElementVisibilityWithControls(state) { | CODE |
| LOW | …ls/vueuse-functions/references/createInjectionState.md | 36 | export function useCounterStoreWithDefaultValue() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/integrations/useFuse/index.md | 37 | 'John Doe', | CODE |
| LOW | packages/integrations/useFuse/index.md | 38 | 'Jane Doe', | CODE |
| LOW | packages/integrations/useFuse/index.md | 50 | * { "item": "John Doe", "index": 1 } | COMMENT |
| LOW | packages/integrations/useFuse/index.md | 52 | * { "item": "Jane Doe", "index": 2 } | COMMENT |
| LOW | skills/vueuse-functions/references/useFuse.md | 37 | 'John Doe', | CODE |
| LOW | skills/vueuse-functions/references/useFuse.md | 38 | 'Jane Doe', | CODE |
| LOW | skills/vueuse-functions/references/useFuse.md | 50 | * { "item": "John Doe", "index": 1 } | COMMENT |
| LOW | skills/vueuse-functions/references/useFuse.md | 52 | * { "item": "Jane Doe", "index": 2 } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/tsnapi/@vueuse/integrations/useSortable.snapshot.d.ts | 21 | // #endregion | COMMENT |
| LOW | …pshots__/tsnapi/@vueuse/integrations/index.snapshot.js | 21 | // #endregion | COMMENT |
| LOW | …ueuse/integrations/useSortable/component.snapshot.d.ts | 21 | // #endregion | COMMENT |
| LOW | packages/math/useTrunc/index.test.ts | 1 | import { describe, expect, it } from 'vitest' | COMMENT |
| LOW | packages/integrations/useChangeCase/index.md | 21 | COMMENT | |
| LOW | skills/vueuse-functions/references/useChangeCase.md | 21 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/PULL_REQUEST_TEMPLATE.md | 12 | > **Note**: If this PR is deemed to be primarily generated by AI tools, it may be closed. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/shared/createEventHook/index.ts | 9 | // so we need to check if T is any first | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/firebase/useFirestore/index.test.ts | 16 | function getData(docRef: any) { | CODE |