Skip to content

Commit

Permalink
refactor(node:process): set process.domain to undefined (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Dec 4, 2024
1 parent 4e76a66 commit a5d5190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/node/process/internal/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ export const _stopProfilerIdleNotifier = notImplemented(
export const _tickCallback = notImplemented("process._tickCallback");
export const _linkedBinding = notImplemented("process._linkedBinding");

export const domain = mock.__createMock__("process.domain");
// Mocking domain causes troubles, see unjs/unenv#367
export const domain = undefined;
export const initgroups = notImplemented("process.initgroups");
export const moduleLoadList = [] as string[];
export const reallyExit = noop;
Expand Down

0 comments on commit a5d5190

Please sign in to comment.