mirror of
https://github.com/sune-org/sune.git
synced 2026-10-29 04:54:51 +00:00
Pin unversioned third-party scripts to their current latest
Every page load fetched whatever these resolved to, so a bad or compromised release would ship to all users with access to their keys. Each pin serves byte-identical content to what the unpinned URL served. - lucide@latest -> lucide@1.60.0 - cdn.tailwindcss.com -> 3.4.17 - cash-dom -> 8.1.5 - alpinejs -> 3.17.5 - markdown-it-mathjax3 (esm.sh) -> 5.2.0 - medv.io/codejar -> codejar@4.3.0 on jsDelivr (same file) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<load src="/src/parts/sidebars.html" />
|
||||
<load src="/src/parts/modals.html" />
|
||||
<script src="https://unpkg.com/lucide@latest"></script>
|
||||
<script src="https://unpkg.com/lucide@1.60.0/dist/umd/lucide.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/markdown-it@15.0.1/dist/browser/markdown-it.umd.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.12.0/build/highlight.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/localforage@1.10.0/dist/localforage.min.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user