Closed diegoreis42 closed 4 months ago
Thanks for the PR @diegoreis42! I hadn't noticed the deprecation warnings recently, so that's a good catch.
It looks like the tests are failing currently for these changes, and I believe it's because the parameters for substr
and substring
are slightly different. MDN has some details about the differences here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring#the_difference_between_substring_and_substr
(Edit: Added a screenshot since the link to the specific section wasn't working)
If you're able to update the logic accordingly, I'd be happy to get this merged in and publish a new version with this update.
Thanks again!
I'm sorry for the mistake; I only ran the tests for my first change 😅. All tests are now passing.
Thanks @diegoreis42! I'll get this published in 5.5.3 now.
Background Information
5.5.2
I have...
While reading the code, I found deprecated warnings. This is not a breaking change, but rather a precaution against potential errors. A clean project like this should not have trivial and annoying warnings.