@omnist-dev/omnist
    Preparing search index...

    Interface DocumentLimits

    The caller-settable safety limits (spec D-9). Each is a safe integer of at least 1, else a RangeError.

    interface DocumentLimits {
        maxDepth?: number;
        maxIntDigits?: number;
        maxNodes?: number;
    }

    Hierarchy (View Summary)

    Index
    maxDepth?: number

    The deepest nesting accepted, counted in levels of node nesting from the Document root (the root is level 1): at 3, a: { b: { c: 1 } } is read and a: { b: { c: { d: 1 } } } is refused with document.limit.depth at $. Default 200. Raising it far is bounded by the JavaScript call stack.

    maxIntDigits?: number

    The most decimal digits an integer's value may have, sign excluded; a hex, octal, binary or underscored literal is counted by the value it denotes (D-28). More is refused with document.limit.int-digits at the literal's Document path. Default 4300.

    maxNodes?: number

    The most nodes one Document may hold, the root included and scalar leaves not. More is refused with document.limit.nodes at $. Default 1 000 000.