TenantAtlas/apps/platform/.pnpm-store/v10/files/7d/b5fad9e061e4b9e740eb6da00a4fa68ea4ee18efa2f69179b5629782c7b6fbd9a342d199625c80cd52ac69a1c9f5dc43c5413784f2fa5939a78e2eb8e1dcbc
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

11 lines
321 B
Plaintext

export default function whichModule(exported) {
if (typeof require === 'undefined')
return null;
for (let i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) {
mod = require.cache[files[i]];
if (mod.exports === exported)
return mod;
}
return null;
}