Skip to content

Remove dependency on deprecated @sentry/types package #6200

@antonis

Description

@antonis

Problem

The SDK lists @sentry/types as a dependency in packages/core/package.json, but @sentry/types is deprecated and will be removed in the next major version of the JavaScript SDK. All types are now exported from @sentry/core.

No source files in packages/core/src/ actually import from @sentry/types — the dependency appears to be unused.

Solution

  • Remove @sentry/types from dependencies in packages/core/package.json
  • Remove @sentry/types from the yalc:add:sentry-javascript script
  • Verify no transitive consumers rely on @sentry/types being hoisted from this package

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions