Skip to main content

Module limits

Module limits 

Source

Constantsยง

MAX_ANCHOR_NAME_BYTES
Maximum byte length of an anchor name accepted from untrusted input.
MAX_COLLECTION_DEPTH
Maximum combined block-collection nesting depth accepted from untrusted input.
MAX_COMMENT_LEN
Maximum byte length of a comment body accepted from untrusted input.
MAX_DIRECTIVES_PER_DOC
Maximum number of directives (%YAML + %TAG combined) per document.
MAX_RESOLVED_TAG_LEN
Maximum byte length of the fully-resolved tag string after prefix expansion.
MAX_TAG_HANDLE_BYTES
Maximum byte length of a %TAG handle (e.g. !foo!) accepted from untrusted input.
MAX_TAG_LEN
Maximum byte length of a tag accepted from untrusted input.