graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.73k stars 731 forks source link

refactor: replace deprecated String.prototype.substr() #1379

Open CommanderRoot opened 2 years ago

CommanderRoot commented 2 years ago

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.

linux-foundation-easycla[bot] commented 2 years ago

CLA Signed

The committers listed above are authorized under a signed CLA.

acao commented 2 years ago

@CommanderRoot can you sign the CLA please?

CommanderRoot commented 2 years ago

I apologize for not signing the CLA sooner, must have somehow missed it