Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
substr()
has been deprecated by substring()
, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr.
Steps to reproduce
The deprecation shows when relevant files are opened in IDE's like VS Code
Actual Outcome
Deprecation warning
Expected Outcome
No deprecation warning
Environment
Server
- Parse Server version:
6.2.0
- Operating system:
Linux
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Local
Database
- System (MongoDB or Postgres):
Postgres
- Database version:
15
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
Local
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
N/A
- SDK version:
N/A