[SECURITY] substr()
is deprecated and is not part of the core JS.
#37135
Labels
Impact: Security
If the issue is causes a vulnerability
JavaScript
Resolution: Fixed
A PR that fixes this issue has been merged.
substr()
is deprecated and is not part of the core JS since ~2018.No wonder why no one noticed this :)
Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr
So, I've refactored whole codebase to not use
substr()
and useslice()
instead here:PR
#37136#TBA
Originally posted by @Pranav-yadav in #35993 (comment)
The text was updated successfully, but these errors were encountered: