From 06683816b9f60b15d96191cd15ceeaf60e9dfcc0 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 31 May 2026 00:07:24 -0400 Subject: [PATCH] chore(deps): add href and sri keys --- _config_theme.yml | 4 ++-- gamepad-tester.html | 5 +++-- index.html | 7 ++++--- roadmap.html | 3 ++- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/_config_theme.yml b/_config_theme.yml index 9e0c3769..bb6ba320 100644 --- a/_config_theme.yml +++ b/_config_theme.yml @@ -65,10 +65,10 @@ sass: sass_dir: _sass style: compressed site-css: - - "https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/crowdin-bootstrap-css.css" + - href: "https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/crowdin-bootstrap-css.css" - "/assets/css/styles.css" site-js: - - "https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/crowdin.js" + - href: "https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/crowdin.js" - "/assets/js/crowdin-init.js" theme-switcher: true theme-switcher-style: 'button' diff --git a/gamepad-tester.html b/gamepad-tester.html index ff413b7d..9a33ab7f 100644 --- a/gamepad-tester.html +++ b/gamepad-tester.html @@ -5,8 +5,9 @@ css: - /assets/css/hide-heading.css ext-js: - - https://cdn.jsdelivr.net/npm/chart.js@4.4.9/dist/chart.umd.min.js - - https://cdn.jsdelivr.net/npm/@lizardbyte/gamepad-helper@2026.219.34512/dist/gamepad-helper.js + - href: "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.5.0/chart.umd.min.js" + sri: "sha512-Y51n9mtKTVBh3Jbx5pZSJNDDMyY+yGe77DGtBPzRlgsf/YLCh13kSZ3JmfHGzYFCmOndraf0sQgfM654b7dJ3w==" + - href: "https://cdn.jsdelivr.net/npm/@lizardbyte/gamepad-helper@2026.219.34512/dist/gamepad-helper.js" js: - /assets/js/gamepad-tester.js --- diff --git a/index.html b/index.html index 8ac2448e..68b2ed75 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,10 @@ - /assets/img/banners/AdobeStock_306976163_1920x1280.jpg - /assets/img/banners/AdobeStock_372471479_1920x1280.jpg ext-js: - - https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js - - https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/format-number.js - - https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/ranking-sorter.js + - href: "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" + sri: "sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" + - href: "https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/format-number.js" + - href: "https://cdn.jsdelivr.net/npm/@lizardbyte/shared-web@2026.314.32913/dist/ranking-sorter.js" js: - /assets/js/projects.js --- diff --git a/roadmap.html b/roadmap.html index 8ac23918..422ec196 100644 --- a/roadmap.html +++ b/roadmap.html @@ -5,7 +5,8 @@ cover-img: - /assets/img/banners/roadmap.jpg ext-js: - - https://cdn.jsdelivr.net/npm/marked@15.0.8/marked.min.js + - href: "https://cdnjs.cloudflare.com/ajax/libs/marked/15.0.8/marked.min.js" + sri: "sha512-ndjFBSVsRR6MhZTCy4ayOrk7k+JORcLvVgmsNAlGM44DlGkKIWA4IdnW8wRy0I3vpXtsgFruRRQsx7k2wylVdA==" js: - /assets/js/roadmap.js ---