fix: grumpy srcset; update deps

This commit is contained in:
Cory Dransfeldt 2024-06-25 10:07:50 -07:00
parent 1f0597cc9f
commit 4dcb4a3508
No known key found for this signature in database
3 changed files with 18 additions and 22 deletions

26
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "19.5.32",
"version": "19.5.33",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "19.5.32",
"version": "19.5.33",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.4.0",
@ -21,7 +21,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0",
"@cdransf/eleventy-plugin-tabler-icons": "^1.6.1",
"@supabase/supabase-js": "^2.43.5",
"@supabase/supabase-js": "^2.43.6",
"dotenv-flow": "^4.1.0",
"html-minifier-terser": "^7.2.0",
"liquidjs": "^10.14.0",
@ -456,9 +456,9 @@
}
},
"node_modules/@supabase/postgrest-js": {
"version": "1.15.5",
"resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.5.tgz",
"integrity": "sha512-YR4TiitTE2hizT7mB99Cl3V9i00RAY5sUxS2/NuWWzkreM7OeYlP2OqnqVwwb4z6ILn+j8x9e/igJDepFhjswQ==",
"version": "1.15.6",
"resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.6.tgz",
"integrity": "sha512-zg3URVhoHOijdqMyn3LIFHh+Pqj5BmRqWAaoSExzIHc4m0kGBMPMjDcleamGhbelAAiKbjpQ04mBgooDliGl5A==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -489,16 +489,16 @@
}
},
"node_modules/@supabase/supabase-js": {
"version": "2.43.5",
"resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.43.5.tgz",
"integrity": "sha512-Y4GukjZWW6ouohMaPlYz8tSz9ykf9jY7w9/RhqKuScmla3Xiklce8eLr8TYAtA+oQYCWxo3RgS3B6O4rd/72FA==",
"version": "2.43.6",
"resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.43.6.tgz",
"integrity": "sha512-6N9x1bDMDXUC7bE1yd5DRgMdgdbL/LYrRVywsW4Zu3sJFPo64wyA/IzmrqhJNSm7CgYysPrpXaKcmD8MsD786Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@supabase/auth-js": "2.64.2",
"@supabase/functions-js": "2.4.1",
"@supabase/node-fetch": "2.6.15",
"@supabase/postgrest-js": "1.15.5",
"@supabase/postgrest-js": "1.15.6",
"@supabase/realtime-js": "2.9.5",
"@supabase/storage-js": "2.6.0"
}
@ -1149,9 +1149,9 @@
"license": "MIT"
},
"node_modules/electron-to-chromium": {
"version": "1.4.810",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.810.tgz",
"integrity": "sha512-Kaxhu4T7SJGpRQx99tq216gCq2nMxJo+uuT6uzz9l8TVN2stL7M06MIIXAtr9jsrLs2Glflgf2vMQRepxawOdQ==",
"version": "1.4.811",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.811.tgz",
"integrity": "sha512-CDyzcJ5XW78SHzsIOdn27z8J4ist8eaFLhdto2hSMSJQgsiwvbv2fbizcKUICryw1Wii1TI/FEkvzvJsR3awrA==",
"dev": true,
"license": "ISC"
},

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "19.5.32",
"version": "19.5.33",
"description": "The source for my personal site. Built using 11ty.",
"type": "module",
"scripts": {
@ -31,7 +31,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0",
"@cdransf/eleventy-plugin-tabler-icons": "^1.6.1",
"@supabase/supabase-js": "^2.43.5",
"@supabase/supabase-js": "^2.43.6",
"dotenv-flow": "^4.1.0",
"html-minifier-terser": "^7.2.0",
"liquidjs": "^10.14.0",

View file

@ -5,15 +5,11 @@
<div class="meta">
<img
srcset="
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=64 256w 64w,
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=64 64w,
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=128 128w,
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=256 256w,
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=512 512w
"
sizes="(max-width: 450px) 64px,
(max-width: 850px) 128px,
(max-width: 1000px) 256px,
512px"
sizes="(max-width: 1000px) 64px,
128px"
src="https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=512"
alt="{{ alt }}"
loading="lazy"