这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@CommanderRoot
Copy link
Contributor

String.prototype.substr() is deprecated so we replace it with String.prototype.slice() which works similarily but isn't deprecated.
.substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

@ejcheng ejcheng added the pr label Mar 24, 2022
@bjohansebas
Copy link
Member

lol, this is so old that there was no CI. Maybe you want to rebase to trigger the CI.

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
@CommanderRoot
Copy link
Contributor Author

I have rebased the changes on current master as requested

@UlisesGascon UlisesGascon self-assigned this Mar 24, 2025
@UlisesGascon UlisesGascon merged commit b4e746d into jshttp:master Mar 24, 2025
7 checks passed
@UlisesGascon UlisesGascon mentioned this pull request Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants