axe312ger / sqip

"SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.
http://axe312ger.github.io/sqip
The Unlicense
3.37k stars 82 forks source link

refactor: reduce dependency pain by moving to better maintained libs #342

Closed axe312ger closed 6 months ago

axe312ger commented 6 months ago

node-vibrant didnt get any updates for some years. This leads to a lot of old and unnessecary dependencies.

This updates to the more and better maitained fork at https://github.com/GriffinJohnston/sharp-vibrant

same for potrace, moving to @gatsbyjs/potrace as the gatsbyjs team is so nice to keep dependencies up 2 date

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 87.40%. Comparing base (0cc6918) to head (bba821a). Report is 3 commits behind head on master.

Files Patch % Lines
packages/sqip/src/sqip.ts 80.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #342 +/- ## ========================================== + Coverage 87.27% 87.40% +0.13% ========================================== Files 11 11 Lines 550 548 -2 Branches 90 89 -1 ========================================== - Hits 480 479 -1 + Misses 62 61 -1 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

axe312ger commented 6 months ago

Great! The more modern dependencies seem together with the removal of probe-image-size are faster!

Old:

Screenshot 2024-03-02 at 17 02 44

New:

Screenshot 2024-03-02 at 17 01 53