viberadar 0.3.183 → 0.3.184

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3462,7 +3462,7 @@ function renderProbePanel(c) {
3462
3462
  const typeLabel = ch.type === 'file' ? 'playwright' : 'dsl';
3463
3463
  const stepsCount = ch.type === 'dsl' ? `${ch.steps.length} шагов` : ch.file?.split('/').pop() || '';
3464
3464
  return `
3465
- <div class="probe-card ${status}" onclick="probeOpenDetail(${JSON.stringify(ch.name)})">
3465
+ <div class="probe-card ${status}" onclick="probeOpenDetail(${escapeHtml(JSON.stringify(ch.name))})">
3466
3466
  <div class="probe-card-top">
3467
3467
  <div class="probe-card-name">${escapeHtml(ch.name)}</div>
3468
3468
  <div class="probe-card-icon">${probeStatusIcon(status)}</div>
@@ -3475,7 +3475,7 @@ function renderProbePanel(c) {
3475
3475
  ${result?.error ? `<div class="probe-card-err">${escapeHtml(result.error)}</div>` : ''}
3476
3476
  <div class="probe-card-footer">
3477
3477
  <button class="probe-btn probe-btn-run" style="font-size:11px;padding:4px 10px"
3478
- onclick="event.stopPropagation();probeRunOne(${JSON.stringify(ch.name)})"
3478
+ onclick="event.stopPropagation();probeRunOne(${escapeHtml(JSON.stringify(ch.name))})"
3479
3479
  ${status === 'running' ? 'disabled' : ''}>▶ Run</button>
3480
3480
  </div>
3481
3481
  </div>`;
@@ -3575,7 +3575,7 @@ function renderProbeDetail(c) {
3575
3575
  ${result ? `<span style="color:var(--muted)">${new Date().toLocaleTimeString()}</span>` : ''}
3576
3576
  </div>
3577
3577
  </div>
3578
- <button class="probe-btn probe-btn-run" style="flex-shrink:0" onclick="probeRunOne(${JSON.stringify(ch.name)})" ${isRunning ? 'disabled' : ''}>
3578
+ <button class="probe-btn probe-btn-run" style="flex-shrink:0" onclick="probeRunOne(${escapeHtml(JSON.stringify(ch.name))})" ${isRunning ? 'disabled' : ''}>
3579
3579
  ${isRunning ? '<span class="probe-spin">⏳</span> Выполняется…' : '▶ Run'}
3580
3580
  </button>
3581
3581
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viberadar",
3
- "version": "0.3.183",
3
+ "version": "0.3.184",
4
4
  "description": "Live module map with test coverage for vibecoding projects",
5
5
  "main": "./dist/cli.js",
6
6
  "bin": {