diff --git a/privat/CV/andreknie.de/package-lock.json b/privat/CV/andreknie.de/package-lock.json index e33af6f..beb786a 100644 --- a/privat/CV/andreknie.de/package-lock.json +++ b/privat/CV/andreknie.de/package-lock.json @@ -13,7 +13,7 @@ "express-rate-limit": "^8.5.2", "gray-matter": "^4.0.3", "helmet": "^8.2.0", - "js-yaml": "^4.3.0", + "js-yaml": "^5.2.1", "lucide-react": "^1.8.0", "marked": "^18.0.5", "nodemailer": "^9.0.3", @@ -2814,9 +2814,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz", - "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.2.1.tgz", + "integrity": "sha512-zfLtNfQqxVqq3uaTqSkh4x4hZw3KHobGUA0fJUj4wawW8bsQLTVqpHdXSIzidh7o+4lEW36tANuAGdaFx6Zgnw==", "funding": [ { "type": "github", @@ -2832,7 +2832,7 @@ "argparse": "^2.0.1" }, "bin": { - "js-yaml": "bin/js-yaml.js" + "js-yaml": "bin/js-yaml.mjs" } }, "node_modules/jsdom": { diff --git a/privat/CV/andreknie.de/package.json b/privat/CV/andreknie.de/package.json index f71d63c..7183dbe 100644 --- a/privat/CV/andreknie.de/package.json +++ b/privat/CV/andreknie.de/package.json @@ -18,7 +18,7 @@ "express-rate-limit": "^8.5.2", "gray-matter": "^4.0.3", "helmet": "^8.2.0", - "js-yaml": "^4.3.0", + "js-yaml": "^5.2.1", "lucide-react": "^1.8.0", "marked": "^18.0.5", "nodemailer": "^9.0.3", diff --git a/privat/CV/andreknie.de/plugins/vite-plugin-content.js b/privat/CV/andreknie.de/plugins/vite-plugin-content.js index 23e6c51..c3a9d72 100644 --- a/privat/CV/andreknie.de/plugins/vite-plugin-content.js +++ b/privat/CV/andreknie.de/plugins/vite-plugin-content.js @@ -2,7 +2,7 @@ import { readFileSync, readdirSync, existsSync } from 'fs' import { join, resolve, extname, basename } from 'path' import matter from 'gray-matter' import { marked } from 'marked' -import yaml from 'js-yaml' +import * as yaml from 'js-yaml' const CONTENT_DIR = resolve(process.cwd(), 'content') const VIRTUAL_MODULE_ID = 'virtual:content'