Skip to content

Conversation

@CommanderRoot
Copy link
Contributor

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

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.

Breaking Changes

None

Additional Info

@codecov
Copy link

codecov bot commented Mar 17, 2022

Codecov Report

Merging #425 (dbf5197) into master (c4ebb6a) will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@ ## master #425 +/- ## ======================================= Coverage 92.16% 92.16% ======================================= Files 7 7 Lines 587 587 Branches 188 188 ======================================= Hits 541 541 Misses 37 37 Partials 9 9 

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4ebb6a...dbf5197. Read the comment docs.

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
@snitin315 snitin315 merged commit e29bae7 into webpack:master Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants