thread-loader icon indicating copy to clipboard operation
thread-loader copied to clipboard

chrore: replace deprecated String.prototype.substr()

Open CommanderRoot opened this issue 3 years ago • 0 comments

This PR contains a:

  • [x] bugfix
  • [ ] new feature
  • [x] code refactor
  • [ ] test update
  • [ ] typo fix
  • [ ] metadata update

Motivation / Use-Case

String.prototype.substr() is deprecated so we replace it with functions which aren't. This change matches the current upstream. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

Breaking Changes

None

Additional Info

CommanderRoot avatar Mar 17 '22 12:03 CommanderRoot