Skip to content

Runtime specific API in utils package: process #9256

@lforst

Description

@lforst

We cannot depend on any runtime specific implementation in the @sentry/utils package.

In the ANR implementation, we depend on the process object which is not available in all runtimes so we need to move this implementation into the @sentry/node package. This is likely a breaking change but for a bugfix that would warrant this.

let lastPoll = process.hrtime();

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions