You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sentry/react-router declares @opentelemetry/instrumentation (^0.220.0) in its package.json dependencies, but nothing in packages/react-router/src imports it. It's a stale dependency.
Work
Confirm no source, test, or build usage of @opentelemetry/instrumentation in @sentry/react-router.
Remove it from packages/react-router/package.json dependencies.
yarn install to update the lockfile.
Notes
Surfaced while surveying iitm reliance for Remove iitm-based instrumentations from @sentry/node #22346. react-router gets framework spans from its own instrumentation API and has no InstrumentationBase usage, so this dep serves nothing.
@sentry/react-routerdeclares@opentelemetry/instrumentation(^0.220.0) in itspackage.jsondependencies, but nothing inpackages/react-router/srcimports it. It's a stale dependency.Work
@opentelemetry/instrumentationin@sentry/react-router.packages/react-router/package.jsondependencies.yarn installto update the lockfile.Notes
@sentry/node#22346. react-router gets framework spans from its own instrumentation API and has noInstrumentationBaseusage, so this dep serves nothing.