EFFECT_MEMBERS

tcmts.core.effects.EFFECT_MEMBERS · #7eggiwnb · term · runs anywhere

Members of globals (and of Node modules imported whole) that reach outside: Global.member.

import type { Effect } from "#codebase/tcmts/core/effects";

export const EFFECT_MEMBERS: Record<string, Effect> = {
  "Date.now": "clock",
  "Math.random": "random",
  "crypto.randomUUID": "random",
  "crypto.getRandomValues": "random",
  "crypto.subtle": "random",
  "process.hrtime": "clock",
  "process.uptime": "clock",
  "process.stdout": "output",
  "process.stderr": "output",
  "process.emitWarning": "output",
  "node:crypto.randomBytes": "random",
  "node:crypto.randomUUID": "random",
  "node:crypto.randomInt": "random",
  "node:crypto.getRandomValues": "random",
}

uses

used by