Skip to content

Commit

Permalink
Merge pull request #10 from halas/Update-sharp-to-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit authored Jul 13, 2024
2 parents ce00f2f + 0079f08 commit 54c3b79
Show file tree
Hide file tree
Showing 17 changed files with 179 additions and 178 deletions.
26 changes: 13 additions & 13 deletions .snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRkAAAABXRUJQVlA4IDQAAADQAQCdASoQAAQABUB8JQBOgB61iisHgAD+fpASsUNarCRFTG1QmZf/VjtKUuJzzvUyVAAA',
dataURIBase64: 'data:image/webp;base64,UklGRkAAAABXRUJQVlA4IDQAAADQAQCdASoQAAQABUB8JQBOgB61e+tZAAD+flCYsVr42grQffumMzsMEZNnyELKRvxsJQAA',
height: 4,
originalHeight: 350,
originalWidth: 1400,
Expand All @@ -74,7 +74,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAEABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAEE/8QAHBAAAQUAAwAAAAAAAAAAAAAAAQACAwQRISIx/8QAFQEBAQAAAAAAAAAAAAAAAAAAAQL/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwDNHZkDC8Zrhh4VjsyEtb1A3wBEUl//2Q==',
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAEABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAEE/8QAHBAAAQQDAQAAAAAAAAAAAAAAAQACAxEEISIx/8QAFQEBAQAAAAAAAAAAAAAAAAAAAQL/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwDNHkyBpeKtwo6VjyZOW8gX4AiKS//Z',
height: 4,
originalHeight: 350,
originalWidth: 1400,
Expand All @@ -87,7 +87,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRmgAAABXRUJQVlA4IFwAAADQAQCdASoQABAABUB8JbACdADBaQ7hQADz/NyYGhIk/NfMXKeIbHluirBjs6nwnDR97G4Ee2+2jdlUkCSD9ObKM/aNsLN2uTZoJtPBNhBN1+LtowASXn85l8AAAA==',
dataURIBase64: 'data:image/webp;base64,UklGRmgAAABXRUJQVlA4IFwAAADQAQCdASoQABAABUB8JbACdADBaQ7hQADz/NyYGhIk/NfMXKeIbHluirBjs6nwnDR97G4Ee2+2jdlUkCSD9ObKM/aNsLN2uTZoJtPBNhBN1+LtowASXn85YAAAAA==',
height: 16,
originalHeight: 510,
originalWidth: 510,
Expand All @@ -100,7 +100,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAQABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAABAEC/8QAHhABAAEEAgMAAAAAAAAAAAAAAQIAAxEhElEyQXH/xAAVAQEBAAAAAAAAAAAAAAAAAAACA//EABYRAQEBAAAAAAAAAAAAAAAAAAARAf/aAAwDAQACEQMRAD8AhIJcpusmu9Vu6CluMk5bToo8lLgHkYxSDFubclhE0fPVGRfX/9k=',
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAQABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAABAEC/8QAHhABAAEEAgMAAAAAAAAAAAAAAQIAAxEhElEyQXH/xAAVAQEBAAAAAAAAAAAAAAAAAAACA//EABYRAAMAAAAAAAAAAAAAAAAAAAABEf/aAAwDAQACEQMRAD8AhIJcpusmu9Vu6CluMk5bToo8lLgHkYxSDFubclhE0fPVGQu2f//Z',
height: 16,
originalHeight: 510,
originalWidth: 510,
Expand All @@ -113,7 +113,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRmgAAABXRUJQVlA4IFwAAABwAgCdASoQABAABUB8JbACdH8EwAbyyB0hSjAAAPH8CwVNcUoej7siZia9d2eix+cxE5JK9lsIt9HQlt6c2+lIZevFisrNu0w7UBDKCl0BQtvWAF0aZvv8qe4AAA==',
dataURIBase64: 'data:image/webp;base64,UklGRmgAAABXRUJQVlA4IFwAAABwAgCdASoQABAABUB8JbACdH8EwAbyyB0hSjAAAPH8CwVNcUoea01c6vvW6Jd17WOInJJXsthFvo6EtvTm30pDL14sVlZt2mHagIZQUugKFt6wAujTN9/lT3AAAA==',
height: 16,
originalHeight: 510,
originalWidth: 510,
Expand All @@ -139,7 +139,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRm4AAABXRUJQVlA4IGIAAAAQAgCdASoQABAABUB8JZACdAEQ2+DU3Z8AAP7cuX+FKY82Nv5dcFjbDSH6gMJVs0AbjukpSHuC9bfCg96X9qawedFGMOc1UZa9Db0nJAor8br/nokBzkikNSh9dHGQ+AAAAA==',
dataURIBase64: 'data:image/webp;base64,UklGRmwAAABXRUJQVlA4IGAAAAAQAgCdASoQABAABUB8JZACdAEMzNRHgkiAAP7cuX+FKY82i1EHUv0fdGrmPJNTEwiHACO7LBN3hy2BVvS/t2JNRgJsDIfjjDX0NmTMpQSN12FoPRlqJGbVGxn1wF1AAAA=',
height: 16,
originalHeight: 1024,
originalWidth: 1024,
Expand All @@ -152,7 +152,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAQABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAABAED/8QAHxAAAgEEAgMAAAAAAAAAAAAAAQIDAAQREiExIjJB/8QAFAEBAAAAAAAAAAAAAAAAAAAAAv/EABURAQEAAAAAAAAAAAAAAAAAAAAR/9oADAMBAAIRAxEAPwADSSwPorkEHJAP2l2koupCs6IzAcEqKtzYHUFPIlhyO61t4UgBkf36yRjFGk//2Q==',
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAQABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAABAED/8QAHxAAAgEEAgMAAAAAAAAAAAAAAQIDAAQREiExIjJB/8QAFAEBAAAAAAAAAAAAAAAAAAAAAv/EABURAQEAAAAAAAAAAAAAAAAAAAAR/9oADAMBAAIRAxEAPwADSSwPorkEHJCn7S7SUXUhWdEZgOCVFW5sDqCnkSw5Hda28KQAyP79ZIxijSf/2Q==',
height: 16,
originalHeight: 1024,
originalWidth: 1024,
Expand All @@ -165,7 +165,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRoQAAABXRUJQVlA4IHgAAABQAgCdASoQABAABUB8JbACdAEfv+cTGpWFNwAA9mCdKlJsUKRSd6paTHIX7AUZB0YUn5Rgdn1NT2+k7E6hxfU6NZ7ewumv89Xe3ltdifUn7+o101IvbqvnfBwkyw+HxP3dSes79636WIsJpleY6rQYXywdGY7MCAA=',
dataURIBase64: 'data:image/webp;base64,UklGRoQAAABXRUJQVlA4IHgAAABQAgCdASoQABAABUB8JbACdAEfv+EjnUTfaAAA9mCdKlJsUKJx+/h8vEokSSgtQFyN9TGuuh1EWOhgQg5HU77SZKGgyXN5FnzhPyNnS2FaeSJUTVhISJGzOqw1uRdL6AwcLt0v8eHmGaNeO29+jZZOLJen/LTs4AA=',
height: 16,
originalHeight: 510,
originalWidth: 510,
Expand All @@ -178,7 +178,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAQABADASIAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAAAv/EACEQAAIBAwMFAAAAAAAAAAAAAAECEQADEhMhUQQxQWGB/8QAFAEBAAAAAAAAAAAAAAAAAAAAA//EABcRAQEBAQAAAAAAAAAAAAAAAAEAESL/2gAMAwEAAhEDEQA/ADGorvlsDERHmnbLEhGntM++JoY3OnsKMSTnuQNo5ovc1VhAGIaSPlCSLvN//9k=',
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAQABADASIAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAAAv/EACAQAAIBAwQDAAAAAAAAAAAAAAECEQADEhMhQVExYYH/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/8QAFxEBAQEBAAAAAAAAAAAAAAAAAQARIv/aAAwDAQACEQMRAD8AMC4rvlABiIjmnbLEhGnxM++poYvYsKMSTnuQOO6L3NVQEAJDSR8oSRd5v//Z',
height: 16,
originalHeight: 510,
originalWidth: 510,
Expand All @@ -191,7 +191,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRnYAAABXRUJQVlA4WAoAAAAQAAAADwAABAAAQUxQSBYAAAARD9D/iAgQSNqw5mv2ZGc1IvofhR8WVlA4IDoAAAAQAgCdASoQAAUABUB8JZACdH8AGJoHieVAAP6JfR7wJTVPOwwFNplQCpBSe5VkFScJRcxaIeXWEoAA',
dataURIBase64: 'data:image/webp;base64,UklGRkQAAABXRUJQVlA4IDgAAAAQAgCdASoQAAUABUB8JZACdH8AGJmkV18AAP6JfR7wJTVPPUYIaWdhgs+1sESnokcmTRndcAiQAA==',
height: 5,
originalHeight: 650,
originalWidth: 1920,
Expand All @@ -204,7 +204,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAFABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAEE/8QAHBAAAgICAwAAAAAAAAAAAAAAAAECEQMTISMx/8QAFAEBAAAAAAAAAAAAAAAAAAAAAf/EABcRAQADAAAAAAAAAAAAAAAAAAABMUH/2gAMAwEAAhEDEQA/AMOdrfOlxZMb7I0l6AOmLf/Z',
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAAFABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAIE/8QAHBAAAgICAwAAAAAAAAAAAAAAAAECEQMTISMx/8QAFAEBAAAAAAAAAAAAAAAAAAAAAf/EABcRAQADAAAAAAAAAAAAAAAAAAABMUH/2gAMAwEAAhEDEQA/AMWdrfOlxZON9kaS9AHTFv/Z',
height: 5,
originalHeight: 650,
originalWidth: 1920,
Expand All @@ -217,7 +217,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,UklGRlwAAABXRUJQVlA4IFAAAACwAQCdASoQAAsABUB8JQAAXN29otogAOJ+n5re0eK7HVJkcdrEyacYHTxWHiLt3/5xjFMHlTBMrIM7UkUSJsrk9vQnbeWIoO7FK0BSyRgAAA==',
dataURIBase64: 'data:image/webp;base64,UklGRloAAABXRUJQVlA4IE4AAADQAQCdASoQAAsABUB8JQAAXN295mtuQADifp+a3tHiux1SZHHaxMmnGB08Vh4i7d/+cYxTB5UwTKyDOcDO6jF2sekIVHb9Huhx3g5cfgA=',
height: 11,
originalHeight: 1335,
originalWidth: 2000,
Expand All @@ -230,7 +230,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAALABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAwQF/8QAHxAAAgEDBQEAAAAAAAAAAAAAAQIDABEhBCIxQUJh/8QAFAEBAAAAAAAAAAAAAAAAAAAAAf/EABURAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIRAxEAPwBNPM6QBRyMG4vVMeodrjaxHJAOKyI9wa/lLr8NPNI8cCFGK46x1SK//9k=',
dataURIBase64: 'data:image/webp;base64,/9j/2wBDACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//j/2wBDASstLTw1PHZBQXb4pYyl+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj/wAARCAALABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAwQF/8QAHxAAAgEEAwEBAAAAAAAAAAAAAQIDAAQRISIxQUJh/8QAFAEBAAAAAAAAAAAAAAAAAAAAAf/EABURAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIRAxEAPwBLeZ0gCjsaORmqY7h2yOLEdkA6rIj5Bs/KZX8NPNI8duhRiuvNeUiv/9k=',
height: 11,
originalHeight: 1335,
originalWidth: 2000,
Expand Down
Binary file modified .snapshots/index.test.js.snap
Binary file not shown.
Binary file modified output/brooklyn.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/brooklyn.webp
Binary file not shown.
Binary file modified output/lena.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/lena.webp
Binary file not shown.
Binary file modified output/mandril.webp
Binary file not shown.
Binary file modified output/nala.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/nala.webp
Binary file not shown.
Binary file modified output/peppers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/peppers.webp
Binary file not shown.
Binary file modified output/saasify.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/saasify.webp
Binary file not shown.
Binary file modified output/taking-photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/taking-photo.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"p-map": "^4.0.0",
"sharp": "^0.31.2"
"sharp": "^0.33.4"
},
"devDependencies": {
"ava": "^3.15.0",
Expand Down
Loading

0 comments on commit 54c3b79

Please sign in to comment.