Replace marked.min.js with the marked npm package and update all references accordingly.

This commit is contained in:
2026-03-19 12:28:14 +01:00
parent 2b8659499a
commit ff14061dfd
7 changed files with 23 additions and 157 deletions

15
package-lock.json generated
View File

@@ -8,6 +8,9 @@
"name": "memos-extension",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"marked": "^17.0.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.2.1",
"@tailwindcss/typography": "^0.5.19",
@@ -1614,6 +1617,18 @@
"@jridgewell/sourcemap-codec": "^1.5.5"
}
},
"node_modules/marked": {
"version": "17.0.4",
"resolved": "https://registry.npmjs.org/marked/-/marked-17.0.4.tgz",
"integrity": "sha512-NOmVMM+KAokHMvjWmC5N/ZOvgmSWuqJB8FoYI019j4ogb/PeRMKoKIjReZ2w3376kkA8dSJIP8uD993Kxc0iRQ==",
"license": "MIT",
"bin": {
"marked": "bin/marked.js"
},
"engines": {
"node": ">= 20"
}
},
"node_modules/nanoid": {
"version": "3.3.11",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",