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
I use the library to detect, in messages, URLs used to scam people. However, today, the detection failed on a message due to an invalid library detection preventing a parse by nodejs' native URL library
Code
functionfindURLs(text: string): URL[]{returnlinkify.find(text,"url").map(l=>newURL(l.href));}constmessageWithTwoUrls="[https://store.steampowered.com](https://u.com/aig)"constres=findURLs(messageWithTwoUrls)// <- error thrown by new URL
I use the library to detect, in messages, URLs used to scam people. However, today, the detection failed on a message due to an invalid library detection preventing a parse by nodejs' native URL library
Code
Url detected
Expected
The text was updated successfully, but these errors were encountered: