Skip to content

Commit d52ff6d

Browse files
committed
Add LavaMoat build-system policy override entries
1 parent b97e785 commit d52ff6d

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

lavamoat/build-system/policy-override.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
"builtin": {
584584
"crypto": true,
585585
"path": true,
586+
"File": true,
587+
"btoa": true,
586588
"tty": true,
587589
"util": true
588590
},
@@ -594,6 +596,67 @@
594596
"packages": {
595597
"@babel/core>@babel/types": true
596598
}
599+
},
600+
"eslint-plugin-react-hooks": {
601+
"builtin": {
602+
"crypto.createHmac": true,
603+
"util.isDeepStrictEqual": true
604+
},
605+
"globals": {
606+
"process.env.NODE_ENV": true,
607+
"console": true,
608+
"performance.mark": true,
609+
"performance.measure": true,
610+
"process": true
611+
},
612+
"packages": {
613+
"@babel/core": true,
614+
"@babel/core>@babel/parser": true,
615+
"eslint-plugin-react-hooks>hermes-parser": true,
616+
"eslint-plugin-react-hooks>zod-validation-error": true,
617+
"eslint-plugin-react-hooks>zod": true
618+
}
619+
},
620+
"eslint-plugin-react-hooks>hermes-parser": {
621+
"builtin": {
622+
"fs.readFile": true,
623+
"fs.readFileSync": true,
624+
"path.dirname": true,
625+
"path.normalize": true
626+
},
627+
"globals": {
628+
"Buffer.from": true,
629+
"TextDecoder": true,
630+
"URL": true,
631+
"WebAssembly": true,
632+
"__dirname": true,
633+
"__filename": true,
634+
"atob": true,
635+
"clearInterval": true,
636+
"clearTimeout": true,
637+
"console": true,
638+
"define": true,
639+
"document": true,
640+
"navigator": true,
641+
"performance.now": true,
642+
"process": true,
643+
"setTimeout": true
644+
}
645+
},
646+
"eslint-plugin-react-hooks>zod-validation-error": {
647+
"packages": {
648+
"eslint-plugin-react-hooks>zod": true
649+
}
650+
},
651+
"eslint-plugin-react-hooks>zod": {
652+
"globals": {
653+
"File": true,
654+
"URL": true,
655+
"atob": true,
656+
"btoa": true,
657+
"console.warn": true,
658+
"navigator": true
659+
}
597660
}
598661
}
599662
}

0 commit comments

Comments
 (0)