Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

CommanderRoot
Copy link

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.

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <[email protected]>
@edmorley
Copy link
Member

edmorley commented Feb 3, 2024

Closing since unfortunately this project is no longer maintained. See:
#1707
neutrinojs/webpack-chain#358

@edmorley edmorley closed this Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants