You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): Use native toWellFormed() only, drop manual fallback
Removes the manual charCodeAt-based fallback for surrogate sanitization
to reduce bundle size impact. Uses native String.prototype.toWellFormed()
which is supported in Node 20+, Chrome 111+, Safari 15.4+, Firefox 119+,
and Hermes. On older runtimes the string is returned as-is.
Also fixes lint errors from the `as any` cast by using bracket notation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments