webpack-contrib / remark-loader

Load markdown through remark with image resolving and some react-specific features.
MIT License
18 stars 11 forks source link

chore: replace deprecated String.prototype.substr() #57

Closed CommanderRoot closed 2 years ago

CommanderRoot commented 2 years ago

This PR contains a:

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[bot] commented 2 years ago

Codecov Report

Merging #57 (e443154) into master (b678dfc) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #57   +/-   ##
=======================================
  Coverage   51.61%   51.61%           
=======================================
  Files           2        2           
  Lines          31       31           
  Branches       10       10           
=======================================
  Hits           16       16           
  Misses         14       14           
  Partials        1        1           

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 b678dfc...e443154. Read the comment docs.