Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions packages/core/src/utils/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,6 @@ function stringifyValue(
value: Exclude<unknown, string | number | boolean | null>,
): string {
try {
if (key === 'domain' && value && typeof value === 'object' && (value as { _events: unknown })._events) {
return '[Domain]';
}

if (key === 'domainEmitter') {
return '[DomainEmitter]';
}

// It's safe to use `global`, `window`, and `document` here in this manner, as we are asserting using `typeof` first
// which won't throw if they are not present.

Expand Down
Loading