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
refactor: replace deprecated String.substr with String.slice
Fixes#6078
String.prototype.substr is deprecated and should be replaced with
String.prototype.slice or String.prototype.substring.
This commit replaces all occurrences of .substr() with .slice() across
the codebase. The slice method is preferred as it handles negative
indices more intuitively and matches the existing usage patterns.
0 commit comments