graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

@ardatan/relay-compiler pulls in various deprecated dependencies

Open mcmxcdev opened this issue 5 months ago • 1 comments

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.

mcmxcdev avatar May 23 '25 17:05 mcmxcdev