sz-object-depth

An sz object at runtime nested deeper than the depth limit.

Message

A name in angle brackets is a value the message fills in.

value

[csszyx] sz-object-depth: This `sz` value nests deeper than <maxDepth> levels, so csszyx rejects it.
  help: check what reaches the `sz` prop; nesting this deep usually means untrusted or looping data.
  docs: https://csszyx.com/e/sz-object-depth

A production browser bundle throws this in place of it:

[csszyx] sz-object-depth: {"form":"value","maxDepth":<maxDepth>,"where":"<where>"} https://csszyx.com/e/sz-object-depth

szv-config

[csszyx] sz-object-depth: `<where>` in the `szv` config nests deeper than <maxDepth> levels, so `szv` rejects it at render.
  help: flatten `<where>`; nesting this deep usually means the config was built from untrusted or looping data.
  docs: https://csszyx.com/e/sz-object-depth

A production browser bundle throws this in place of it:

[csszyx] sz-object-depth: {"form":"szv-config","maxDepth":<maxDepth>,"where":"<where>"} https://csszyx.com/e/sz-object-depth

Arguments

The values this diagnostic names.

NameType
form'value' | 'szv-config'
maxDepthnumber
wherestringoptional