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
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
The value.toString() call below can cause Typewiz to crash, since user code can override .toString() with arbitrary broken code. I ran into this trying to use the Ant library, for instance—rc-editor-mention overrides the class method Mention.toString.
function getTypeName(value, nest = 0) {
...
if (value instanceof Function) {
let argsStr = value.toString().split('=>')[0];
The text was updated successfully, but these errors were encountered:
The
value.toString()
call below can cause Typewiz to crash, since user code can override.toString()
with arbitrary broken code. I ran into this trying to use the Ant library, for instance—rc-editor-mention overrides the class method Mention.toString.The text was updated successfully, but these errors were encountered: