ipx
ipx copied to clipboard
fix: animated modifier wasn't correctly being passed to autoDetectFormat
Fixes #234
Using animated modifier creates the following modifier key/value which wasn't seen as a truthy value when used in combination with format_auto meaning the format selection wasn't limited to "image/webp", "image/gif":
{
animated: ''
}
Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
Project coverage is 45.83%. Comparing base (
f666cb4) to head (29a216d). Report is 28 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/server.ts | 0.00% | 2 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #235 +/- ##
===========================================
- Coverage 56.02% 45.83% -10.20%
===========================================
Files 14 13 -1
Lines 1203 888 -315
Branches 83 83
===========================================
- Hits 674 407 -267
+ Misses 526 478 -48
Partials 3 3
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.