fix: sanitize html
This commit is contained in:
parent
1ed24c317c
commit
003e94661b
3 changed files with 287 additions and 102 deletions
|
@ -2,6 +2,7 @@ import { DateTime } from 'luxon'
|
|||
import markdownIt from 'markdown-it'
|
||||
import { URL } from 'url'
|
||||
import { createRequire } from 'module'
|
||||
import sanitizeHtml from 'sanitize-html';
|
||||
|
||||
const require = createRequire(import.meta.url)
|
||||
const metaData = require('../../src/_data/json/meta.json')
|
||||
|
@ -135,10 +136,13 @@ export default {
|
|||
const dateKey = Object.keys(entry).find((key) => key.includes('date'))
|
||||
const date = new Date(entry[dateKey])
|
||||
let excerpt = ''
|
||||
const feedNote = '<hr/><p>This is a full text feed, but not all content can be rendered perfeclty within the feed. If something looks off, feel free to visit my site for the original post.</p>'
|
||||
|
||||
// set the entry excerpt
|
||||
if (entry.description) excerpt = entry.description
|
||||
if (entry.content) excerpt = entry.content
|
||||
if (entry.content) excerpt = sanitizeHtml(`${entry.content}${feedNote}`, {
|
||||
disallowedTagsMode: 'completelyDiscard'
|
||||
})
|
||||
|
||||
// if there's a valid entry return a normalized object
|
||||
if (entry)
|
||||
|
|
380
package-lock.json
generated
380
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "9.8.3",
|
||||
"version": "9.10.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "9.8.3",
|
||||
"version": "9.10.4",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cdransf/api-text": "^1.2.2",
|
||||
|
@ -39,6 +39,7 @@
|
|||
"markdown-it": "^14.0.0",
|
||||
"markdown-it-anchor": "^8.4.1",
|
||||
"markdown-it-footnote": "^4.0.0",
|
||||
"sanitize-html": "^2.13.0",
|
||||
"slugify": "^1.6.6",
|
||||
"terser": "^5.30.1",
|
||||
"writing-stats": "^1.0.6"
|
||||
|
@ -436,17 +437,17 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@aws-sdk/client-s3": {
|
||||
"version": "3.550.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.550.0.tgz",
|
||||
"integrity": "sha512-45jjDQI0Q37PIteWhywhlExxYaiUeOsTsbE62b+U/FOjYV8tirC8uBY9eHeHaP4IPVGHeQWvEYrFJHNU+qsQLQ==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.552.0.tgz",
|
||||
"integrity": "sha512-7JDODOltXf5SfugceOSWSrFUArVJBeXZBzK/hIJBYt9rhR6z76cFL7/7TgnJ49UNTwnXDQE5XD+uXiyiIdjFiQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-crypto/sha1-browser": "3.0.0",
|
||||
"@aws-crypto/sha256-browser": "3.0.0",
|
||||
"@aws-crypto/sha256-js": "3.0.0",
|
||||
"@aws-sdk/client-sts": "3.549.0",
|
||||
"@aws-sdk/core": "3.549.0",
|
||||
"@aws-sdk/credential-provider-node": "3.549.0",
|
||||
"@aws-sdk/client-sts": "3.552.0",
|
||||
"@aws-sdk/core": "3.552.0",
|
||||
"@aws-sdk/credential-provider-node": "3.552.0",
|
||||
"@aws-sdk/middleware-bucket-endpoint": "3.535.0",
|
||||
"@aws-sdk/middleware-expect-continue": "3.535.0",
|
||||
"@aws-sdk/middleware-flexible-checksums": "3.535.0",
|
||||
|
@ -454,19 +455,19 @@
|
|||
"@aws-sdk/middleware-location-constraint": "3.535.0",
|
||||
"@aws-sdk/middleware-logger": "3.535.0",
|
||||
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
||||
"@aws-sdk/middleware-sdk-s3": "3.535.0",
|
||||
"@aws-sdk/middleware-signing": "3.535.0",
|
||||
"@aws-sdk/middleware-sdk-s3": "3.552.0",
|
||||
"@aws-sdk/middleware-signing": "3.552.0",
|
||||
"@aws-sdk/middleware-ssec": "3.537.0",
|
||||
"@aws-sdk/middleware-user-agent": "3.540.0",
|
||||
"@aws-sdk/region-config-resolver": "3.535.0",
|
||||
"@aws-sdk/signature-v4-multi-region": "3.535.0",
|
||||
"@aws-sdk/signature-v4-multi-region": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@aws-sdk/util-endpoints": "3.540.0",
|
||||
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
||||
"@aws-sdk/util-user-agent-node": "3.535.0",
|
||||
"@aws-sdk/xml-builder": "3.535.0",
|
||||
"@smithy/config-resolver": "^2.2.0",
|
||||
"@smithy/core": "^1.4.1",
|
||||
"@smithy/core": "^1.4.2",
|
||||
"@smithy/eventstream-serde-browser": "^2.2.0",
|
||||
"@smithy/eventstream-serde-config-resolver": "^2.2.0",
|
||||
"@smithy/eventstream-serde-node": "^2.2.0",
|
||||
|
@ -477,21 +478,21 @@
|
|||
"@smithy/invalid-dependency": "^2.2.0",
|
||||
"@smithy/md5-js": "^2.2.0",
|
||||
"@smithy/middleware-content-length": "^2.2.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.0",
|
||||
"@smithy/middleware-retry": "^2.3.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.1",
|
||||
"@smithy/middleware-retry": "^2.3.1",
|
||||
"@smithy/middleware-serde": "^2.3.0",
|
||||
"@smithy/middleware-stack": "^2.2.0",
|
||||
"@smithy/node-config-provider": "^2.3.0",
|
||||
"@smithy/node-http-handler": "^2.5.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/url-parser": "^2.2.0",
|
||||
"@smithy/util-base64": "^2.3.0",
|
||||
"@smithy/util-body-length-browser": "^2.2.0",
|
||||
"@smithy/util-body-length-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.1",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.1",
|
||||
"@smithy/util-endpoints": "^1.2.0",
|
||||
"@smithy/util-retry": "^2.2.0",
|
||||
"@smithy/util-stream": "^2.2.0",
|
||||
|
@ -504,14 +505,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/client-sso": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.549.0.tgz",
|
||||
"integrity": "sha512-lz+yflOAj5Q263FlCsKpNqttaCb2NPh8jC76gVCqCt7TPxRDBYVaqg0OZYluDaETIDNJi4DwN2Azcck7ilwuPw==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.552.0.tgz",
|
||||
"integrity": "sha512-IAjRj5gcuyoPe/OhciMY/UyW8C1kyXSUJFagxvbeSv8q0mEfaPBVjGgz2xSYRFhhZr3gFlGCS9SiukwOL2/VoA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-crypto/sha256-browser": "3.0.0",
|
||||
"@aws-crypto/sha256-js": "3.0.0",
|
||||
"@aws-sdk/core": "3.549.0",
|
||||
"@aws-sdk/core": "3.552.0",
|
||||
"@aws-sdk/middleware-host-header": "3.535.0",
|
||||
"@aws-sdk/middleware-logger": "3.535.0",
|
||||
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
||||
|
@ -522,26 +523,26 @@
|
|||
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
||||
"@aws-sdk/util-user-agent-node": "3.535.0",
|
||||
"@smithy/config-resolver": "^2.2.0",
|
||||
"@smithy/core": "^1.4.1",
|
||||
"@smithy/core": "^1.4.2",
|
||||
"@smithy/fetch-http-handler": "^2.5.0",
|
||||
"@smithy/hash-node": "^2.2.0",
|
||||
"@smithy/invalid-dependency": "^2.2.0",
|
||||
"@smithy/middleware-content-length": "^2.2.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.0",
|
||||
"@smithy/middleware-retry": "^2.3.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.1",
|
||||
"@smithy/middleware-retry": "^2.3.1",
|
||||
"@smithy/middleware-serde": "^2.3.0",
|
||||
"@smithy/middleware-stack": "^2.2.0",
|
||||
"@smithy/node-config-provider": "^2.3.0",
|
||||
"@smithy/node-http-handler": "^2.5.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/url-parser": "^2.2.0",
|
||||
"@smithy/util-base64": "^2.3.0",
|
||||
"@smithy/util-body-length-browser": "^2.2.0",
|
||||
"@smithy/util-body-length-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.1",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.1",
|
||||
"@smithy/util-endpoints": "^1.2.0",
|
||||
"@smithy/util-middleware": "^2.2.0",
|
||||
"@smithy/util-retry": "^2.2.0",
|
||||
|
@ -553,15 +554,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/client-sso-oidc": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.549.0.tgz",
|
||||
"integrity": "sha512-FbB4A78ILAb8sM4TfBd+3CrQcfZIhe0gtVZNbaxpq5cJZh1K7oZ8vPfKw4do9JWkDUXPLsD9Bwz12f8/JpAb6Q==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.552.0.tgz",
|
||||
"integrity": "sha512-6JYTgN/n4xTm3Z+JhEZq06pyYsgo7heYDmR+0smmauQS02Eu8lvUc2jPs/0GDAmty7J4tq3gS6TRwvf7181C2w==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-crypto/sha256-browser": "3.0.0",
|
||||
"@aws-crypto/sha256-js": "3.0.0",
|
||||
"@aws-sdk/client-sts": "3.549.0",
|
||||
"@aws-sdk/core": "3.549.0",
|
||||
"@aws-sdk/client-sts": "3.552.0",
|
||||
"@aws-sdk/core": "3.552.0",
|
||||
"@aws-sdk/middleware-host-header": "3.535.0",
|
||||
"@aws-sdk/middleware-logger": "3.535.0",
|
||||
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
||||
|
@ -572,26 +573,26 @@
|
|||
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
||||
"@aws-sdk/util-user-agent-node": "3.535.0",
|
||||
"@smithy/config-resolver": "^2.2.0",
|
||||
"@smithy/core": "^1.4.1",
|
||||
"@smithy/core": "^1.4.2",
|
||||
"@smithy/fetch-http-handler": "^2.5.0",
|
||||
"@smithy/hash-node": "^2.2.0",
|
||||
"@smithy/invalid-dependency": "^2.2.0",
|
||||
"@smithy/middleware-content-length": "^2.2.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.0",
|
||||
"@smithy/middleware-retry": "^2.3.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.1",
|
||||
"@smithy/middleware-retry": "^2.3.1",
|
||||
"@smithy/middleware-serde": "^2.3.0",
|
||||
"@smithy/middleware-stack": "^2.2.0",
|
||||
"@smithy/node-config-provider": "^2.3.0",
|
||||
"@smithy/node-http-handler": "^2.5.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/url-parser": "^2.2.0",
|
||||
"@smithy/util-base64": "^2.3.0",
|
||||
"@smithy/util-body-length-browser": "^2.2.0",
|
||||
"@smithy/util-body-length-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.1",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.1",
|
||||
"@smithy/util-endpoints": "^1.2.0",
|
||||
"@smithy/util-middleware": "^2.2.0",
|
||||
"@smithy/util-retry": "^2.2.0",
|
||||
|
@ -602,18 +603,18 @@
|
|||
"node": ">=14.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@aws-sdk/credential-provider-node": "^3.549.0"
|
||||
"@aws-sdk/credential-provider-node": "^3.552.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/client-sts": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.549.0.tgz",
|
||||
"integrity": "sha512-63IreJ598Dzvpb+6sy81KfIX5iQxnrWSEtlyeCdC2GO6gmSQVwJzc9kr5pAC83lHmlZcm/Q3KZr3XBhRQqP0og==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.552.0.tgz",
|
||||
"integrity": "sha512-rOZlAj8GyFgUBESyKezes67A8Kj5+KjRhfBHMXrkcM5h9UOIz5q7QdkSQOmzWwRoPDmmAqb6t+y041/76TnPEg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-crypto/sha256-browser": "3.0.0",
|
||||
"@aws-crypto/sha256-js": "3.0.0",
|
||||
"@aws-sdk/core": "3.549.0",
|
||||
"@aws-sdk/core": "3.552.0",
|
||||
"@aws-sdk/middleware-host-header": "3.535.0",
|
||||
"@aws-sdk/middleware-logger": "3.535.0",
|
||||
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
||||
|
@ -624,26 +625,26 @@
|
|||
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
||||
"@aws-sdk/util-user-agent-node": "3.535.0",
|
||||
"@smithy/config-resolver": "^2.2.0",
|
||||
"@smithy/core": "^1.4.1",
|
||||
"@smithy/core": "^1.4.2",
|
||||
"@smithy/fetch-http-handler": "^2.5.0",
|
||||
"@smithy/hash-node": "^2.2.0",
|
||||
"@smithy/invalid-dependency": "^2.2.0",
|
||||
"@smithy/middleware-content-length": "^2.2.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.0",
|
||||
"@smithy/middleware-retry": "^2.3.0",
|
||||
"@smithy/middleware-endpoint": "^2.5.1",
|
||||
"@smithy/middleware-retry": "^2.3.1",
|
||||
"@smithy/middleware-serde": "^2.3.0",
|
||||
"@smithy/middleware-stack": "^2.2.0",
|
||||
"@smithy/node-config-provider": "^2.3.0",
|
||||
"@smithy/node-http-handler": "^2.5.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/url-parser": "^2.2.0",
|
||||
"@smithy/util-base64": "^2.3.0",
|
||||
"@smithy/util-body-length-browser": "^2.2.0",
|
||||
"@smithy/util-body-length-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.0",
|
||||
"@smithy/util-defaults-mode-browser": "^2.2.1",
|
||||
"@smithy/util-defaults-mode-node": "^2.3.1",
|
||||
"@smithy/util-endpoints": "^1.2.0",
|
||||
"@smithy/util-middleware": "^2.2.0",
|
||||
"@smithy/util-retry": "^2.2.0",
|
||||
|
@ -654,19 +655,19 @@
|
|||
"node": ">=14.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@aws-sdk/credential-provider-node": "^3.549.0"
|
||||
"@aws-sdk/credential-provider-node": "^3.552.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/core": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.549.0.tgz",
|
||||
"integrity": "sha512-jC61OxJn72r/BbuDRCcluiw05Xw9eVLG0CwxQpF3RocxfxyZqlrGYaGecZ8Wy+7g/3sqGRC/Ar5eUhU1YcLx7w==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.552.0.tgz",
|
||||
"integrity": "sha512-T7ovljf6fCvIHG9SOSZqGmbVbqZPXPywLAcU+onk/fYLZJj6kjfzKZzSAUBI0nO1OKpuP/nCHaCp51NLWNqsnw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@smithy/core": "^1.4.1",
|
||||
"@smithy/core": "^1.4.2",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/signature-v4": "^2.2.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/signature-v4": "^2.2.1",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"fast-xml-parser": "4.2.5",
|
||||
"tslib": "^2.6.2"
|
||||
|
@ -713,9 +714,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-http": {
|
||||
"version": "3.535.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.535.0.tgz",
|
||||
"integrity": "sha512-kdj1wCmOMZ29jSlUskRqN04S6fJ4dvt0Nq9Z32SA6wO7UG8ht6Ot9h/au/eTWJM3E1somZ7D771oK7dQt9b8yw==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.552.0.tgz",
|
||||
"integrity": "sha512-vsmu7Cz1i45pFEqzVb4JcFmAmVnWFNLsGheZc8SCptlqCO5voETrZZILHYIl4cjKkSDk3pblBOf0PhyjqWW6WQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
|
@ -723,7 +724,7 @@
|
|||
"@smithy/node-http-handler": "^2.5.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/util-stream": "^2.2.0",
|
||||
"tslib": "^2.6.2"
|
||||
|
@ -733,16 +734,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-ini": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.549.0.tgz",
|
||||
"integrity": "sha512-k6IIrluZjQpzui5Din8fW3bFFhHaJ64XrsfYx0Ks1mb7xan84dJxmYP3tdDDmLzUeJv5h95ag88taHfjY9rakA==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.552.0.tgz",
|
||||
"integrity": "sha512-/Z9y+P4M/eZA/5hGH3Kwm6TOIAiVtsIo7sC/x7hZPXn/IMJQ2QmxzeMozVqMWzx8+2zUA/dmgmWnHoVvH4R/jg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-sts": "3.549.0",
|
||||
"@aws-sdk/client-sts": "3.552.0",
|
||||
"@aws-sdk/credential-provider-env": "3.535.0",
|
||||
"@aws-sdk/credential-provider-process": "3.535.0",
|
||||
"@aws-sdk/credential-provider-sso": "3.549.0",
|
||||
"@aws-sdk/credential-provider-web-identity": "3.549.0",
|
||||
"@aws-sdk/credential-provider-sso": "3.552.0",
|
||||
"@aws-sdk/credential-provider-web-identity": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/credential-provider-imds": "^2.3.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
|
@ -755,17 +756,17 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-node": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.549.0.tgz",
|
||||
"integrity": "sha512-f3YgalsMuywEAVX4AUm9tojqrBdfpAac0+D320ePzas0Ntbp7ItYu9ceKIhgfzXO3No7P3QK0rCrOxL+ABTn8Q==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.552.0.tgz",
|
||||
"integrity": "sha512-GUH5awokiR4FcALeQxOrNZtDKJgzEza6NW9HYxAaHt0LNSHCjG21zMFDPYAXlDjlPP9AIdWmVvYrfJoPJI28AQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/credential-provider-env": "3.535.0",
|
||||
"@aws-sdk/credential-provider-http": "3.535.0",
|
||||
"@aws-sdk/credential-provider-ini": "3.549.0",
|
||||
"@aws-sdk/credential-provider-http": "3.552.0",
|
||||
"@aws-sdk/credential-provider-ini": "3.552.0",
|
||||
"@aws-sdk/credential-provider-process": "3.535.0",
|
||||
"@aws-sdk/credential-provider-sso": "3.549.0",
|
||||
"@aws-sdk/credential-provider-web-identity": "3.549.0",
|
||||
"@aws-sdk/credential-provider-sso": "3.552.0",
|
||||
"@aws-sdk/credential-provider-web-identity": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/credential-provider-imds": "^2.3.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
|
@ -794,13 +795,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-sso": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.549.0.tgz",
|
||||
"integrity": "sha512-BGopRKHs7W8zkoH8qmSHrjudj263kXbhVkAUPxVUz0I28+CZNBgJC/RfVCbOpzmysIQEpwSqvOv1y0k+DQzIJQ==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.552.0.tgz",
|
||||
"integrity": "sha512-h+xyWG4HMqf4SFzilpK1u50fO2aIBRg3nwuXRy9v5E2qdpJgZS2JXibO1jNHd+JXq4qjs2YG1WK2fGcdxZJ2bQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-sso": "3.549.0",
|
||||
"@aws-sdk/token-providers": "3.549.0",
|
||||
"@aws-sdk/client-sso": "3.552.0",
|
||||
"@aws-sdk/token-providers": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
"@smithy/shared-ini-file-loader": "^2.4.0",
|
||||
|
@ -812,12 +813,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/credential-provider-web-identity": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.549.0.tgz",
|
||||
"integrity": "sha512-QzclVXPxuwSI7515l34sdvliVq5leroO8P7RQFKRgfyQKO45o1psghierwG3PgV6jlMiv78FIAGJBr/n4qZ7YA==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.552.0.tgz",
|
||||
"integrity": "sha512-6jXfXaLKDy3S4LHR8ZXIIZw5B80uiYjnPp4bmqmY18LGeoZxmkJ/SfkwypVruezCu+GpA+IubmIbc5TQi6BCAw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-sts": "3.549.0",
|
||||
"@aws-sdk/client-sts": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
"@smithy/types": "^2.12.0",
|
||||
|
@ -938,17 +939,17 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/middleware-sdk-s3": {
|
||||
"version": "3.535.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.535.0.tgz",
|
||||
"integrity": "sha512-/dLG/E3af6ohxkQ5GBHT8tZfuPIg6eItKxCXuulvYj0Tqgf3Mb+xTsvSkxQsJF06RS4sH7Qsg/PnB8ZfrJrXpg==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.552.0.tgz",
|
||||
"integrity": "sha512-9KzOqsbwJJuQcpmrpkkIftjPahB1bsrcWalYzcVqKCgHCylhkSHW2tX+uGHRnvAl9iobQD5D7LUrS+cv0NeQ/Q==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@aws-sdk/util-arn-parser": "3.535.0",
|
||||
"@smithy/node-config-provider": "^2.3.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/signature-v4": "^2.2.0",
|
||||
"@smithy/smithy-client": "^2.5.0",
|
||||
"@smithy/signature-v4": "^2.2.1",
|
||||
"@smithy/smithy-client": "^2.5.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/util-config-provider": "^2.3.0",
|
||||
"tslib": "^2.6.2"
|
||||
|
@ -958,15 +959,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/middleware-signing": {
|
||||
"version": "3.535.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.535.0.tgz",
|
||||
"integrity": "sha512-Rb4sfus1Gc5paRl9JJgymJGsb/i3gJKK/rTuFZICdd1PBBE5osIOHP5CpzWYBtc5LlyZE1a2QoxPMCyG+QUGPw==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.552.0.tgz",
|
||||
"integrity": "sha512-ZjOrlEmwjhbmkINa4Zx9LJh+xb/kgEiUrcfud2kq/r8ath1Nv1/4zalI9jHnou1J+R+yS+FQlXLXHSZ7vqyFbA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/signature-v4": "^2.2.0",
|
||||
"@smithy/signature-v4": "^2.2.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"@smithy/util-middleware": "^2.2.0",
|
||||
"tslib": "^2.6.2"
|
||||
|
@ -1023,15 +1024,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/signature-v4-multi-region": {
|
||||
"version": "3.535.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.535.0.tgz",
|
||||
"integrity": "sha512-tqCsEsEj8icW0SAh3NvyhRUq54Gz2pu4NM2tOSrFp7SO55heUUaRLSzYteNZCTOupH//AAaZvbN/UUTO/DrOog==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.552.0.tgz",
|
||||
"integrity": "sha512-cC11/5ahp+LaBCq7cR+51AM2ftf6m9diRd2oWkbEpjSiEKQzZRAltUPZAJM6NXGypmDODQDJphLGt45tvS+8kg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/middleware-sdk-s3": "3.535.0",
|
||||
"@aws-sdk/middleware-sdk-s3": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/protocol-http": "^3.3.0",
|
||||
"@smithy/signature-v4": "^2.2.0",
|
||||
"@smithy/signature-v4": "^2.2.1",
|
||||
"@smithy/types": "^2.12.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
|
@ -1040,12 +1041,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@aws-sdk/token-providers": {
|
||||
"version": "3.549.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.549.0.tgz",
|
||||
"integrity": "sha512-rJyeXkXknLukRFGuMQOgKnPBa+kLODJtOqEBf929SpQ96f1I6ytdndmWbB5B/OQN5Fu5DOOQUQqJypDQVl5ibQ==",
|
||||
"version": "3.552.0",
|
||||
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.552.0.tgz",
|
||||
"integrity": "sha512-5dNE2KqtgkT+DQXfkSmzmVSB72LpjSIK86lLD9LeQ1T+b0gfEd74MAl/AGC15kQdKLg5I3LlN5q32f1fkmYR8g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-sso-oidc": "3.549.0",
|
||||
"@aws-sdk/client-sso-oidc": "3.552.0",
|
||||
"@aws-sdk/types": "3.535.0",
|
||||
"@smithy/property-provider": "^2.2.0",
|
||||
"@smithy/shared-ini-file-loader": "^2.4.0",
|
||||
|
@ -3521,6 +3522,15 @@
|
|||
"iconv-lite": "^0.4.19"
|
||||
}
|
||||
},
|
||||
"node_modules/deepmerge": {
|
||||
"version": "4.3.1",
|
||||
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
|
||||
"integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/define-data-property": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
|
||||
|
@ -4654,6 +4664,15 @@
|
|||
"node": ">=0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/is-plain-object": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/is-potential-custom-element-name": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
|
||||
|
@ -5293,6 +5312,24 @@
|
|||
"mustache": "bin/mustache"
|
||||
}
|
||||
},
|
||||
"node_modules/nanoid": {
|
||||
"version": "3.3.7",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
|
||||
"integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/neo-async": {
|
||||
"version": "2.6.2",
|
||||
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
|
||||
|
@ -5601,6 +5638,12 @@
|
|||
"integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/picocolors": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
|
@ -5631,6 +5674,34 @@
|
|||
"semver-compare": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"version": "8.4.38",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz",
|
||||
"integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/postcss/"
|
||||
},
|
||||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/postcss"
|
||||
},
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"nanoid": "^3.3.7",
|
||||
"picocolors": "^1.0.0",
|
||||
"source-map-js": "^1.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/posthtml": {
|
||||
"version": "0.16.6",
|
||||
"resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.16.6.tgz",
|
||||
|
@ -6184,6 +6255,106 @@
|
|||
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
||||
},
|
||||
"node_modules/sanitize-html": {
|
||||
"version": "2.13.0",
|
||||
"resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz",
|
||||
"integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"deepmerge": "^4.2.2",
|
||||
"escape-string-regexp": "^4.0.0",
|
||||
"htmlparser2": "^8.0.0",
|
||||
"is-plain-object": "^5.0.0",
|
||||
"parse-srcset": "^1.0.2",
|
||||
"postcss": "^8.3.11"
|
||||
}
|
||||
},
|
||||
"node_modules/sanitize-html/node_modules/dom-serializer": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
|
||||
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"domelementtype": "^2.3.0",
|
||||
"domhandler": "^5.0.2",
|
||||
"entities": "^4.2.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/sanitize-html/node_modules/domelementtype": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
|
||||
"integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/fb55"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/sanitize-html/node_modules/domhandler": {
|
||||
"version": "5.0.3",
|
||||
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
|
||||
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"domelementtype": "^2.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/fb55/domhandler?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/sanitize-html/node_modules/domutils": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz",
|
||||
"integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"dom-serializer": "^2.0.0",
|
||||
"domelementtype": "^2.3.0",
|
||||
"domhandler": "^5.0.3"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/fb55/domutils?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/sanitize-html/node_modules/escape-string-regexp": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
|
||||
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/sanitize-html/node_modules/htmlparser2": {
|
||||
"version": "8.0.2",
|
||||
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz",
|
||||
"integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
"https://github.com/fb55/htmlparser2?sponsor=1",
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/fb55"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"domelementtype": "^2.3.0",
|
||||
"domhandler": "^5.0.3",
|
||||
"domutils": "^3.0.1",
|
||||
"entities": "^4.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/sax": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz",
|
||||
|
@ -6349,6 +6520,15 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/source-map-js": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
|
||||
"integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/source-map-support": {
|
||||
"version": "0.5.21",
|
||||
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "9.10.0",
|
||||
"version": "9.10.4",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -49,6 +49,7 @@
|
|||
"markdown-it": "^14.0.0",
|
||||
"markdown-it-anchor": "^8.4.1",
|
||||
"markdown-it-footnote": "^4.0.0",
|
||||
"sanitize-html": "^2.13.0",
|
||||
"slugify": "^1.6.6",
|
||||
"terser": "^5.30.1",
|
||||
"writing-stats": "^1.0.6"
|
||||
|
|
Reference in a new issue