mutation-testing-elements
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.7.2](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.7.1...v1.7.2) (2021-05-03) | ||
### Bug Fixes | ||
* **elements:** add check if localStorage is available ([#1073](https://github.com/stryker-mutator/mutation-testing-elements/issues/1073)) ([9e57c0a](https://github.com/stryker-mutator/mutation-testing-elements/commit/9e57c0abaa0ea49c61c9f592516616b286722def)) | ||
## [1.7.1](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.7.0...v1.7.1) (2021-05-02) | ||
@@ -13,7 +24,5 @@ | ||
* **info:** add tooltip information about states ([#1069](https://github.com/stryker-mutator/mutation-testing-elements/issues/1069)) ([af88c1e](https://github.com/stryker-mutator/mutation-testing-elements/commit/af88c1e355400855ff7001acd81b1c018bfec5ef)) | ||
* **test-view:** add test view with test details ([#1014](https://github.com/stryker-mutator/mutation-testing-elements/issues/1014)) ([33bb646](https://github.com/stryker-mutator/mutation-testing-elements/commit/33bb6467d74fd730347fbe715219e79569745222)) | ||
# [1.7.0](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.6.2...v1.7.0) (2021-03-19) | ||
@@ -20,0 +29,0 @@ |
@@ -15,2 +15,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { toAbsoluteUrl } from '../../lib/htmlHelpers'; | ||
import { isLocalStorageAvailable } from '../../lib/browser'; | ||
let MutationTestReportAppComponent = class MutationTestReportAppComponent extends LitElement { | ||
@@ -23,3 +24,3 @@ constructor() { | ||
this.theme = event.detail; | ||
localStorage.setItem('mutation-testing-elements-theme', this.theme); | ||
isLocalStorageAvailable() && localStorage.setItem('mutation-testing-elements-theme', this.theme); | ||
}; | ||
@@ -49,3 +50,3 @@ this.subscriptions = []; | ||
// 1. check local storage | ||
const theme = localStorage.getItem('mutation-testing-elements-theme'); | ||
const theme = isLocalStorageAvailable() && localStorage.getItem('mutation-testing-elements-theme'); | ||
if (theme) { | ||
@@ -52,0 +53,0 @@ this.theme = theme; |
{ | ||
"name": "mutation-testing-elements", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "A suite of web components for a mutation testing report.", | ||
@@ -31,7 +31,7 @@ "unpkg": "dist/mutation-test-elements.js", | ||
"@types/prismjs": "^1.16.1", | ||
"mutation-testing-metrics": "^1.7.1", | ||
"mutation-testing-metrics": "^1.7.2", | ||
"mutation-testing-report-schema": "^1.7.1", | ||
"prismjs": "^1.21.0" | ||
}, | ||
"gitHead": "d41b4031465236283d14148d7f904c881af54108" | ||
"gitHead": "a9337daaa56a234f569aedb53998c13c2fd1618f" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
385706
110
3010
2