fix: enforce strict config validation
This commit is contained in:
1 parent
a9fc2ca0ef
commit
d1e9490f95
53 files changed
+1025
-821
No files matched your search
@@ -12,7 +12,6 @@ type SandboxHashInput = {
|
||||
function isPrimitive(value: unknown): value is string | number | boolean | bigint | symbol | null {
|
||||
return value === null || (typeof value !== "object" && typeof value !== "function");
|
||||
}
|
||||
|
||||
function normalizeForHash(value: unknown): unknown {
|
||||
if (value === undefined) return undefined;
|
||||
if (Array.isArray(value)) {
|
||||
|
||||
Reference in new issue
Block a user