Skip to content

feat(scanner): resolve cross-file constants and imported axios instances #19

Description

@felmonon

Summary

Handlers and calls built from cross-file constants or imported axios.create(...) instances are currently reported as unsupported (see README limitations). These are common in real projects and inflate the unsupported count.

Scope

  • Resolve string/URL constants imported from other files
  • Resolve axios instances created in one file and imported into another

Acceptance criteria

  • A cross-file const BASE = '...' used in a handler/call resolves to a concrete pattern
  • Imported axios instance calls are detected like same-file instances
  • New fixtures cover both cases
  • Patterns that genuinely cannot be resolved still fall back to unsupported (no guessing)

Why

Reducing false "unsupported" results directly improves the tool's accuracy and trust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: scannerStatic analysis and matching logicenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions