diff --git a/earthgrid-core/Cargo.lock b/earthgrid-core/Cargo.lock index 80da71b..33008bc 100644 --- a/earthgrid-core/Cargo.lock +++ b/earthgrid-core/Cargo.lock @@ -801,7 +801,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ab67060fc6b8ef687992d439ca0fa36e7ed17e9a0b16b25b601e8757df720de" dependencies = [ "data-encoding", - "syn 2.0.117", + "syn 1.0.109", ] [[package]] @@ -3891,15 +3891,15 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.37" +version = "0.23.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" dependencies = [ "log", "once_cell", "ring 0.17.14", "rustls-pki-types", - "rustls-webpki 0.103.9", + "rustls-webpki 0.103.15", "subtle", "zeroize", ] @@ -3926,9 +3926,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.9" +version = "0.103.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" dependencies = [ "ring 0.17.14", "rustls-pki-types", @@ -4222,6 +4222,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ "proc-macro2", + "quote", "unicode-ident", ] diff --git a/earthgrid-core/assets/beacon.html b/earthgrid-core/assets/beacon.html index cba90da..851a806 100644 --- a/earthgrid-core/assets/beacon.html +++ b/earthgrid-core/assets/beacon.html @@ -236,7 +236,7 @@

🛰️ Spatial Coverage

shape.on('click', () => showCoverageDetail(colId, cell)); shape.bindTooltip( - sensorLabel(colId) + (cell.tile_id ? ' · Tile ' + cell.tile_id : '') + '
' + + sensorLabel(colId) + (cell.tile_id ? ' · Tile ' + esc(cell.tile_id) : '') + '
' + pct.toFixed(1) + '% of archive · ' + cell.date_count + ' dates', {className:'', sticky:true} ); @@ -306,7 +306,7 @@

🛰️ Spatial Coverage

for (const m of allMonths) { const h = m.count > 0 ? Math.max(4, (m.count / maxCount) * 56) : 0; const color = m.count > 0 ? covColor(m.count * 3) : 'var(--border)'; - const qLabel = m.month + ' (Q' + (Math.ceil(parseInt(m.month.split('-')[1]) / 3)) + ')'; + const qLabel = esc(m.month) + ' (Q' + (Math.ceil(parseInt(m.month.split('-')[1]) / 3)) + ')'; barsHtml += '
'; } @@ -331,7 +331,7 @@

🛰️ Spatial Coverage

const bands = cell.bands || []; const bandsHtml = bands.length > 0 - ? bands.map(b => '' + b + '').join('') + ? bands.map(b => '' + esc(b) + '').join('') : 'unknown'; // Compute bbox from polygon if needed @@ -345,7 +345,7 @@

🛰️ Spatial Coverage

panel.innerHTML = '
' + '

' + sensorLabel(colId) + - (cell.tile_id ? ' · ' + cell.tile_id : '') + '

' + + (cell.tile_id ? ' · ' + esc(cell.tile_id) : '') + '' + '
' + coordsInfo.map(v => v.toFixed(1) + '°').join(', ') + '
' + '