24 lines
1.3 KiB
JSON
24 lines
1.3 KiB
JSON
{
|
|
"_comment": "Vendored browser libraries (US09-01). Committed rather than fetched: the application is deployed to a network whose outbound access is not assumed, and `default-src 'self'` forbids a CDN. Checksums are asserted by tests/integration/test_documentation.py, so replacing a file without recording it here fails the suite. Update by downloading the pinned URL and recording the new version and sha256 in the same commit.",
|
|
"libraries": [
|
|
{
|
|
"file": "marked.esm.js",
|
|
"name": "marked",
|
|
"version": "18.0.10",
|
|
"license": "MIT",
|
|
"url": "https://cdn.jsdelivr.net/npm/marked@18.0.10/lib/marked.esm.js",
|
|
"sha256": "4cf47dfebb7f614a08fc0a579ab0fe407ff0ed2b717bf953040c85b2f493a4f0",
|
|
"why": "Markdown to HTML for the documentation view. An ES module with no dependencies, imported lazily by js/docs.js."
|
|
},
|
|
{
|
|
"file": "mermaid.min.js",
|
|
"name": "mermaid",
|
|
"version": "11.17.0",
|
|
"license": "MIT",
|
|
"url": "https://cdn.jsdelivr.net/npm/mermaid@11.17.0/dist/mermaid.min.js",
|
|
"sha256": "8d8e0eec56d3a83b4b3c87f42050845546dee93ebe1875d2117c12e6947c0cb3",
|
|
"why": "Renders ```mermaid blocks so diagrams are diffable source that Gitea also renders. The single-file UMD build rather than the ES module entry, whose ~40 lazy chunks would each need vendoring and pinning."
|
|
}
|
|
]
|
|
}
|