AbstractProtected_Protected_Protected_Protected_Protected_Protected_Get all checks performed so far
Get the current error count
Check if validation has been blocked
Get sub-validation results
Get the current warning count
Protectedadd_Add a validation check that will be executed
Category of the check
Human-readable description
Async function that performs the check
Protectedadd_Add a synchronous validation check
ProtectedbuildBuild the final validation result
ProtectederrThrow a validation error
Error message
If true, stop further validation
ProtectedresetReset validator state
AbstractvalidateAbstract method - each validator must implement this
The content to validate (can be string, buffer, object, etc.)
Name of the file being validated
Size of the file in bytes
ProtectedwarnAdd a warning to the last check
Warning message
StaticidentifyStatic helper to identify if content is this validator's format
StaticvalidateStatic helper to validate from file path Must be implemented by subclasses if they support file-based validation
Base class for all format validators Provides the check-based validation system