Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mutation-testing-elements

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mutation-testing-elements - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

dist/lib/browser.d.ts

15

CHANGELOG.md

@@ -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;

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc