Skip to content

@ardatan/relay-compiler pulls in various deprecated dependencies #7215

@mcmxcdev

Description

@mcmxcdev

Is your feature request related to a problem? Please describe.

When checking the dependency tree of @ardatan/relay-compiler, its pulling in [email protected] and [email protected] which are both marked as deprecated.

@graphql-codegen/typescript-react-apollo 4.3.0
└─┬ @graphql-codegen/visitor-plugin-common 2.13.1
  └─┬ @graphql-tools/relay-operation-optimizer 6.5.18
    └─┬ @ardatan/relay-compiler 12.0.0
      └─┬ glob 7.2.3
        └── inflight 1.0.6

Describe the solution you'd like

inflight recommends to use lru-cache instead and glob recommends to upgrade to v9 or higher.

Don't have context on this but forked @ardatan/relay-compiler probably needs to catch up with its fork.

Describe alternatives you've considered

Move from @graphql-codegen/typescript-react-apollo to @graphql-codegen/client-preset but we are currently blocked from doing so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions