text with every lone surrogate (half of a character) replaced by U+FFFD, like String.prototype.toWellFormed (ES2024, so not in this package's lib).
text
String.prototype.toWellFormed
lib
textwith every lone surrogate (half of a character) replaced by U+FFFD, likeString.prototype.toWellFormed(ES2024, so not in this package'slib).