chore(deps): update vendored js (#974)

* chore(deps): update vendored js

* chore: download vendored JS files

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-08-05 12:58:15 -07:00
committed by GitHub
parent 7076bcf6ef
commit 14df09a107
10 changed files with 284 additions and 284 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ include = [
"turnstone/shared_static/*.js",
"turnstone/shared_static/katex-0.18.1/**/*",
"turnstone/shared_static/hljs-11.11.1/**/*",
"turnstone/shared_static/mermaid-11.16.0/**/*",
"turnstone/shared_static/hls-1.6.16/**/*",
"turnstone/shared_static/mermaid-11.16.1/**/*",
"turnstone/shared_static/hls-1.6.17/**/*",
"turnstone/sdk/py.typed",
"turnstone/deploy/*.yaml",
"turnstone/deploy/Caddyfile",
+1 -1
View File
@@ -208,7 +208,7 @@ def test_media_playback_lifted_and_pane_owned() -> None:
assert fn in body, f"media player helper must be lifted into the pane: {fn}"
# The HLS vendor is fetched by absolute /shared/ URL (resolves in BOTH the
# standalone server and the console, where /shared is mounted at the root).
assert 'script.src = "/shared/hls-1.6.16/hls.min.js";' in body
assert 'script.src = "/shared/hls-1.6.17/hls.min.js";' in body
# Pane-owned + root-scoped — NOT a document-level delegated listener.
assert 'this.el.addEventListener("click"' in body, (
"media play must be wired on this.el (pane-owned), not document"
+2 -2
View File
@@ -43,14 +43,14 @@ class TestVersionHtml:
def test_vendored_mermaid_skipped(self):
from turnstone.core.web_helpers import version_html
html = '<script src="/shared/mermaid-11.16.0/mermaid.min.js"></script>'
html = '<script src="/shared/mermaid-11.16.1/mermaid.min.js"></script>'
result = version_html(html)
assert result == html # unchanged
def test_vendored_hls_skipped(self):
from turnstone.core.web_helpers import version_html
html = '<script src="/shared/hls-1.6.16/hls.min.js"></script>'
html = '<script src="/shared/hls-1.6.17/hls.min.js"></script>'
result = version_html(html)
assert result == html # unchanged
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -4615,7 +4615,7 @@ function _loadHls(callback) {
if (_hlsState === "loading") return;
_hlsState = "loading";
const script = document.createElement("script");
script.src = "/shared/hls-1.6.16/hls.min.js";
script.src = "/shared/hls-1.6.17/hls.min.js";
script.onload = function () {
_hlsState = "ready";
const q = _hlsQueue;
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1093,7 +1093,7 @@ function _loadMermaid(callback) {
if (_mermaidState === "loading") return;
_mermaidState = "loading";
var script = document.createElement("script");
script.src = "/shared/mermaid-11.16.0/mermaid.min.js";
script.src = "/shared/mermaid-11.16.1/mermaid.min.js";
script.onload = function () {
_initMermaid();
_mermaidState = "ready";