Skip to content

Commit 7a6e986

Browse files
committed
Import EventEmitter from events instead of stream.
1 parent b86433d commit 7a6e986

File tree

1 file changed

+1
-1
lines changed
  • packages/tracing/src/integrations/node

1 file changed

+1
-1
lines changed

packages/tracing/src/integrations/node/mongo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Hub } from '@sentry/core';
22
import { EventProcessor, Integration, SpanContext } from '@sentry/types';
33
import { fill, isInstanceOf, isThenable, loadModule, logger } from '@sentry/utils';
4-
import { EventEmitter } from 'stream';
4+
import { EventEmitter } from 'events';
55

66
import { shouldDisableAutoInstrumentation } from './utils/node-utils';
77

0 commit comments

Comments
 (0)