From d5a4f83f6f5ef9e724327ffaea62e27ac257dab6 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 26 Nov 2024 10:00:21 -0800 Subject: [PATCH] fix: meta tag --- package-lock.json | 30 +++++++++++++++--------------- package.json | 2 +- src/layouts/Layout.astro | 3 ++- src/utils/helpers/general.js | 1 + 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5d7763d..402d6f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@astrojs/cloudflare": "^11.2.0", "@astrojs/rss": "4.0.9", "@astrojs/sitemap": "3.2.1", - "@cdransf/astro-tabler-icons": "1.0.5", + "@cdransf/astro-tabler-icons": "1.1.0", "@supabase/supabase-js": "^2.46.1", "astro": "4.16.15", "astro-embed": "0.9.0", @@ -679,9 +679,9 @@ } }, "node_modules/@cdransf/astro-tabler-icons": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@cdransf/astro-tabler-icons/-/astro-tabler-icons-1.0.5.tgz", - "integrity": "sha512-6ACX9F1mrwf7QToieIfudPoyz0WDCeZQzj2cxmE7/CArZU1NXd30wO6UYiN4l9H+Nv7PTdz0LTH+paQsVxEOtg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@cdransf/astro-tabler-icons/-/astro-tabler-icons-1.1.0.tgz", + "integrity": "sha512-KRI4lFvhn9THfCxOBaU5OPtqN+q8nyuXjJNvpwmJ1dLTCc+kjo+QPUjZv1cV8ObGBNsRBxVI7UF09FBiaa3bNg==", "license": "MIT" }, "node_modules/@cloudflare/kv-asset-handler": { @@ -777,9 +777,9 @@ } }, "node_modules/@cloudflare/workers-shared": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workers-shared/-/workers-shared-0.8.0.tgz", - "integrity": "sha512-1OvFkNtslaMZAJsaocTmbACApgmWv55uLpNj50Pn2MGcxdAjpqykXJFQw5tKc+lGV9TDZh9oO3Rsk17IEQDzIg==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workers-shared/-/workers-shared-0.9.0.tgz", + "integrity": "sha512-eP6Ir45uPbKnpADVzUCtkRUYxYxjB1Ew6n/whTJvHu8H4m93USHAceCMm736VBZdlxuhXXUjEP3fCUxKPn+cfw==", "license": "MIT OR Apache-2.0", "dependencies": { "mime": "^3.0.0", @@ -7557,9 +7557,9 @@ }, "node_modules/unenv": { "name": "unenv-nightly", - "version": "2.0.0-20241111-080453-894aa31", - "resolved": "https://registry.npmjs.org/unenv-nightly/-/unenv-nightly-2.0.0-20241111-080453-894aa31.tgz", - "integrity": "sha512-0W39QQOQ9VE8kVVUpGwEG+pZcsCXk5wqNG6rDPE6Gr+fiA69LR0qERM61hW5KCOkC1/ArCFrfCGjwHyyv/bI0Q==", + "version": "2.0.0-20241121-161142-806b5c0", + "resolved": "https://registry.npmjs.org/unenv-nightly/-/unenv-nightly-2.0.0-20241121-161142-806b5c0.tgz", + "integrity": "sha512-RnFOasE/O0Q55gBkNB1b84OgKttgLEijGO0JCWpbn+O4XxpyCQg89NmcqQ5RGUiy4y+rMIrKzePTquQcLQF5pQ==", "license": "MIT", "dependencies": { "defu": "^6.1.4", @@ -8289,13 +8289,13 @@ } }, "node_modules/wrangler": { - "version": "3.90.0", - "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.90.0.tgz", - "integrity": "sha512-E/6E9ORAl987+3kP8wDiE3L1lj9r4vQ32/dl5toIxIkSMssmPRQVdxqwgMxbxJrytbFNo8Eo6swgjd4y4nUaLg==", + "version": "3.91.0", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.91.0.tgz", + "integrity": "sha512-Hdzn6wbY9cz5kL85ZUvWLwLIH7nPaEVRblfms40jhRf4qQO/Zf74aFlku8rQFbe8/2aVZFaxJVfBd6JQMeMSBQ==", "license": "MIT OR Apache-2.0", "dependencies": { "@cloudflare/kv-asset-handler": "0.3.4", - "@cloudflare/workers-shared": "0.8.0", + "@cloudflare/workers-shared": "0.9.0", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "blake3-wasm": "^2.1.5", @@ -8310,7 +8310,7 @@ "resolve.exports": "^2.0.2", "selfsigned": "^2.0.1", "source-map": "^0.6.1", - "unenv": "npm:unenv-nightly@2.0.0-20241111-080453-894aa31", + "unenv": "npm:unenv-nightly@2.0.0-20241121-161142-806b5c0", "workerd": "1.20241106.1", "xxhash-wasm": "^1.0.1" }, diff --git a/package.json b/package.json index e70fda8..f90d2d4 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@astrojs/cloudflare": "^11.2.0", "@astrojs/rss": "4.0.9", "@astrojs/sitemap": "3.2.1", - "@cdransf/astro-tabler-icons": "1.0.5", + "@cdransf/astro-tabler-icons": "1.1.0", "@supabase/supabase-js": "^2.46.1", "astro": "4.16.15", "astro-embed": "0.9.0", diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 0c0c50d..37239b1 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -61,12 +61,13 @@ const pageDescription = md(description); property="og:description" content={htmlToText(htmlTruncate(pageDescription))} /> - + + diff --git a/src/utils/helpers/general.js b/src/utils/helpers/general.js index 81b7ac8..d160bb3 100644 --- a/src/utils/helpers/general.js +++ b/src/utils/helpers/general.js @@ -78,6 +78,7 @@ export const sanitizeContent = (html) => "h1", "h2", "h3", + "jsx", ], allowedAttributes: { a: ["href"],