Skip to content
Snippets Groups Projects
  1. Jul 13, 2023
  2. Jun 02, 2023
  3. May 31, 2023
  4. May 23, 2023
  5. May 10, 2023
  6. May 09, 2023
  7. Apr 30, 2023
  8. Apr 24, 2023
  9. Apr 23, 2023
  10. Apr 19, 2023
  11. Apr 03, 2023
  12. Mar 24, 2023
  13. Feb 20, 2023
  14. Feb 16, 2023
  15. Feb 13, 2023
  16. Jan 30, 2023
  17. Dec 18, 2022
  18. Jun 01, 2022
  19. Apr 04, 2022
    • CommanderRoot's avatar
      Replace deprecated String.prototype.substr() (#17949) · 0ec695e0
      CommanderRoot authored
      
      * Replace deprecated String.prototype.substr()
      
      .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
      
      * Change String.prototype.substring() to String.prototype.slice()
      
      .substring() and .slice() work very similary but .slice() is a bit faster and stricter
      
      * Add ESLint rule to forbid usage of .substr and .substring
      
      .substr() is deprecated and .substring() is very similar to .slice() so better to use .slice() at all times
      
      Signed-off-by: default avatarTobias Speicher <rootcommander@gmail.com>
      Unverified
      0ec695e0
  20. Jul 11, 2020
  21. Jan 31, 2019
  22. Jan 04, 2019
Loading