feat(andreknie.de): upgrade js-yaml 4->5, fix ESM import in vite-plugin-content

This commit is contained in:
2026-07-10 12:28:28 +02:00
parent 9a1e38eb91
commit 76e4ba3dae
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -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": {
+1 -1
View File
@@ -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",
@@ -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'