You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e236aa1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## 3.20.2
4
+
5
+
### Fixes
6
+
7
+
- Loop counts that don't fit the file format are refused with a `RangeError` naming the format's largest count, instead of wrapping around: a GIF with `loopCount: 65536` was written with 0, which plays forever (GIF and animated WebP store up to 65535 and 65534, APNG up to 2147483646). This applies to `encodeGIF()`, `encodeWebP()` and `encodeAPNG()` of animations and to the streaming encoders.
if(!(errorinstanceofRangeError)||!error.message.includes(String(max)))panic(`${format}: loop count ${count} should be refused with the largest count, got ${error}`);
0 commit comments