mutation-testing-elements
Advanced tools
Comparing version 1.7.11 to 1.7.12
@@ -15,3 +15,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import style from './file.scss'; | ||
import { getContextClassForStatus, getEmojiForStatus, scrollToCodeFragmentIfNeeded } from '../../lib/html-helpers'; | ||
import { escapeHtml, getContextClassForStatus, getEmojiForStatus, scrollToCodeFragmentIfNeeded } from '../../lib/html-helpers'; | ||
import { createCustomEvent } from '../../lib/custom-events'; | ||
@@ -179,3 +179,7 @@ const diffOldClass = 'diff-old'; | ||
id: mutant.id, | ||
attributes: { class: `mutant ${mutant.status}`, title: title(mutant), 'mutant-id': mutant.id }, | ||
attributes: { | ||
class: escapeHtml(`mutant ${mutant.status}`), | ||
title: escapeHtml(title(mutant)), | ||
'mutant-id': escapeHtml(mutant.id), | ||
}, | ||
}; | ||
@@ -182,0 +186,0 @@ } |
{ | ||
"name": "mutation-testing-elements", | ||
"version": "1.7.11", | ||
"version": "1.7.12", | ||
"description": "A suite of web components for a mutation testing report.", | ||
@@ -5,0 +5,0 @@ "unpkg": "dist/mutation-test-elements.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
387629
3294