Skip to content

[BUG] Dependency Conflict: yargs-parser version mismatch via qrcode #2801

@tomasoliveirz

Description

@tomasoliveirz

Current Behavior

The qrcode dependency is pulling in outdated versions of yargs-parser (20.2.9and 18.1.2). This conflicts with tools like ts-jestand yargs ^17.7.2 which require yargs-parser ^21.1.1. The qrcode package has not been updated in 2 years, locking these legacy versions.

Expected Behavior

The dependency should be updated or replaced to ensure compatibility with modern yargs-parserversions, avoiding version locks from transitive dependencies.

Steps To Reproduce

  1. Install @onflow/fcl in a project using ts-jest or yargs ^17.7.2.
  2. Run npm list yargs-parser or yarn why yargs-parser-
  3. Observe the conflicting versions and resulting warnings.

Environment

- OS: mac
- Node: v22.22.2
- fcl: 1.15.0

What are you currently working on that this is blocking?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions