mirror of
https://github.com/sune-org/sune.git
synced 2026-10-29 13:04: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:
+3
-3
@@ -2,11 +2,11 @@
|
||||
<title>Sune</title>
|
||||
<link rel="icon" type="image/avif" href="https://sune.planetrenox.com/✺.avif"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script src="https://cdn.tailwindcss.com/3.4.17"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/tiny-ripple@0.2.0"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.9.0/github-markdown-light.min.css"/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.12.0/build/styles/github.min.css"/>
|
||||
<link rel="stylesheet" href="/src/style.css"/>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/cash-dom/dist/cash.min.js"></script>
|
||||
<script defer src="//unpkg.com/alpinejs"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/cash-dom@8.1.5/dist/cash.min.js"></script>
|
||||
<script defer src="https://unpkg.com/alpinejs@3.17.5/dist/cdn.min.js"></script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user