(node: ChildNode | null)
| 748 | } |
| 749 | |
| 750 | function isSsrContentsIntegrity(node: ChildNode | null): boolean { |
| 751 | return ( |
| 752 | !!node && |
| 753 | node.nodeType === Node.COMMENT_NODE && |
| 754 | node.textContent?.trim() === SSR_CONTENT_INTEGRITY_MARKER |
| 755 | ); |
| 756 | } |
| 757 | |
| 758 | function skipTextNodes(node: ChildNode | null): ChildNode | null { |
| 759 | // Ignore whitespace. Before the <body>, we shouldn't find text nodes that aren't whitespace. |
no outgoing calls
no test coverage detected
searching dependent graphs…