aws-sdk-js
aws-sdk-js copied to clipboard
chore: replace deprecated String.prototype.substr()
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.
Checklist
- [x]
npm run testpasses - [ ]
.d.tsfile is updated - [ ] changelog is added,
npm run add-change - [ ] run
bundle exec rake docs:apiand inspectdoc/latest/index.htmlif documentation is changed - [ ] run
npm run integrationif integration test is changed - [ ] non-code related change (markdown/git settings etc)
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.
The PR is still relevant