What's changed?
- Brought back
pageIndex
andpageNumber
incustomTextRenderer
args that, despite undocumented, may have been used by some (#1190). - Replace
typeof window
checks withtypeof document
checks to avoid Deno environment being falsely recognized as browser environment.