Skip to content

Extract validation utilities#168

Open
Reversean wants to merge 2 commits intomasterfrom
refactor/core-validation
Open

Extract validation utilities#168
Reversean wants to merge 2 commits intomasterfrom
refactor/core-validation

Conversation

@Reversean
Copy link
Member

Validation utilities moved from @hawk.so/javascript to @hawk.so/core.

@Reversean Reversean force-pushed the refactor/core-validation branch from 7da50fc to d215be1 Compare March 8, 2026 12:19
- validation.ts moved to @hawk.so/core
@FeironoX5
Copy link
Contributor

remove isPlainObject, use Sanitizer.isObject instead

}

return true;
return !(payload.backtrace !== undefined && !Array.isArray(payload.backtrace));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

improve readability by providing meaningful variables

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@Reversean Reversean force-pushed the refactor/core-validation branch from 1a88dbc to 984b5df Compare March 11, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants