Skip to content

[medium] Fallback drops combined and namespace import symbols #10

Description

@gingercakedev-bot

Fallback drops combined and namespace import symbols

Severity medium
Kind logic-bug
Location src/parsers/vue/vue-parser.tsfallbackParse
Module src/parsers/vue
Finding ID f-87694e

Failure scenario

The regex on line 173 routes import Foo, { bar } from './x' and import * as ns from './x' through its catch-all alternative. Both capture groups are empty, so the resulting import has no symbols and reports both isDefault and isNamespace as false.

Suggested test

Force TypeScriptParser.parseContent to throw, then parse imports using combined default/named and namespace syntax; assert symbols and import flags are preserved.


How to work this issue

Open a Claude Code session in this repo and say
"work the dev-cli finding f-87694e in src/parsers/vue/vue-parser.ts".

If this is not a real defect, close the issue with the false-positive label — dev-cli
records the fingerprint and will never raise it again. Closing it without that label marks the
finding fixed instead.

Raised by dev-cli · repo codemap-cli · scan 2026-08-15T06-35-41 · fingerprint 87694e04700d

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-cliRaised by dev-cli automated scan

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions