npm / @vitest/utils / 5.1.0-beta.1

@vitest/utils 5.1.0-beta.1

Source
https://github.com/vitest-dev/vitest
Tag scanned
v5.1.0-beta.1
Directory
packages/utils (only this part of the repository was scanned)
Compared with
v5.0.5 (0 signals introduced since)
Files
34 scanned, 1 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 2 info
Scan time
0.1 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.0.0
Scanned (UTC)
2026-10-20 02:40

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info unicode-surrogate packages/utils/src/display.ts:309:19

    orphaned high surrogate \uD800 (no matching low surrogate) (token pass, confidence 0.65)

    function isHighSurrogate(char: string): boolean {
      return char >= '\uD800' && char <= '\uDBFF'
    }
  2. info unicode-surrogate packages/utils/src/display.ts:309:39

    orphaned high surrogate \uDBFF (no matching low surrogate) (token pass, confidence 0.65)

    function isHighSurrogate(char: string): boolean {
      return char >= '\uD800' && char <= '\uDBFF'
    }

Reproduce This Scan

Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.0.0
git clone https://github.com/vitest-dev/vitest vitest && cd vitest
git checkout v5.1.0-beta.1
disclude scan --severity info --diff v5.0.5 packages/utils