Skip to content

Commit

Permalink
Add note about upstream fix in image-size vendored module
Browse files Browse the repository at this point in the history
  • Loading branch information
kadykov committed Nov 27, 2024
1 parent cd306bc commit 6c4ad21
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export const JPG: IImage = {

// Every JPEG block must begin with a 0xFF
if (input[i] !== 0xff) {
// Change from upstream: fix non-0xFF blocks skipping
input = input.slice(i)
continue
}
Expand Down

0 comments on commit 6c4ad21

Please sign in to comment.