Socket
Socket
Sign inDemoInstall

mutation-testing-elements

Package Overview
Dependencies
0
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

LICENSE

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

## [1.0.3](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.0.2...v1.0.3) (2019-04-05)
### Features
* **muted title:** create a muted title ([ee1fa8e](https://github.com/stryker-mutator/mutation-testing-elements/commit/ee1fa8e))
* **popup:** color the arrow ([b13898a](https://github.com/stryker-mutator/mutation-testing-elements/commit/b13898a))
* **popup:** make popup visible at bottom of the screen ([#24](https://github.com/stryker-mutator/mutation-testing-elements/issues/24)) ([9606f03](https://github.com/stryker-mutator/mutation-testing-elements/commit/9606f03))
* **popup:** vertical align popup text in middle ([849a366](https://github.com/stryker-mutator/mutation-testing-elements/commit/849a366))
* **sonatype:** Add Sonatype release ([#21](https://github.com/stryker-mutator/mutation-testing-elements/issues/21)) ([f5447d6](https://github.com/stryker-mutator/mutation-testing-elements/commit/f5447d6))
* **table headers:** don't overlap breadcrumb ([fa9d638](https://github.com/stryker-mutator/mutation-testing-elements/commit/fa9d638))
## [1.0.2](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.0.1...v1.0.2) (2019-03-26)

@@ -8,0 +24,0 @@

19

dist/components/mutation-test-report-app.js

@@ -85,7 +85,16 @@ "use strict";

renderTitle() {
const self = this;
if (this.context) {
return lit_element_1.html `<h1 class="display-4">${this.title}</h1>`;
if (this.titlePostfix) {
return lit_element_1.html `<h1 class="display-4">${this.context.name}${renderPostfix()}</h1>`;
}
}
else {
return undefined;
return undefined;
function renderPostfix() {
if (self.titlePostfix) {
return lit_element_1.html `<small class="text-muted"> - ${self.titlePostfix}</small>`;
}
else {
return undefined;
}
}

@@ -169,2 +178,6 @@ }

}
.display-4 small {
font-weight: 300;
}
`

@@ -171,0 +184,0 @@ ];

@@ -81,2 +81,7 @@ "use strict";

background: #FFF;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
z-index: 10;
}

@@ -83,0 +88,0 @@ `, style_1.bootstrap

2

dist/components/mutation-test-report-mutant.js

@@ -32,3 +32,3 @@ "use strict";

if (this.show && this.mutant) {
return lit_element_1.html `<mutation-test-report-popup ?show="${this.showPopup}" context="${htmlHelpers_1.getContextClassForStatus(this.mutant.status)}" header="${this.mutant.mutatorName}"><p slot="popover-body">Status: ${this.mutant.status}</p><span class="mutant-toggle badge badge-${this.expand ? 'info' : htmlHelpers_1.getContextClassForStatus(this.mutant.status)}"
return lit_element_1.html `<mutation-test-report-popup ?show="${this.showPopup}" context="${htmlHelpers_1.getContextClassForStatus(this.mutant.status)}" header="${this.mutant.mutatorName}"><span slot="popover-body">Status: ${this.mutant.status}</span><span class="mutant-toggle badge badge-${this.expand ? 'info' : htmlHelpers_1.getContextClassForStatus(this.mutant.status)}"
@click="${this.mutantClicked}" title="${this.mutant.mutatorName}">${this.mutant.id}</span></mutation-test-report-popup>`;

@@ -35,0 +35,0 @@ }

@@ -9,5 +9,5 @@ import { LitElement } from 'lit-element';

firstUpdated(): void;
getContextClasses(): string;
private getBackgroundClasses;
render(): import("lit-element").TemplateResult;
}
//# sourceMappingURL=mutation-test-report-popup.d.ts.map

@@ -22,13 +22,8 @@ "use strict";

}
getContextClasses() {
if (this.context) {
return `bg-${this.context} text-white`;
}
else {
return '';
}
getBackgroundClasses() {
return this.context ? `bg-${this.context} text-white` : '';
}
render() {
return lit_element_1.html `<div class="popover ${this.show ? 'show' : 'hide'}">
<h3 class="popover-header ${this.getContextClasses()}">${this.header}</h3>
return lit_element_1.html `<div class="popover popover-${this.context} ${this.show ? 'show' : 'hide'}">
<h3 class="popover-header ${this.getBackgroundClasses()}">${this.header}</h3>
<div class="popover-body">

@@ -35,0 +30,0 @@ <slot name="popover-body"></slot>

@@ -145,5 +145,8 @@ "use strict";

lit_element_1.css `
.table a {
display: block;
}
th.rotate {
/* Something you can count on */
height: 50px;
height: 80px;
white-space: nowrap;

@@ -166,2 +169,3 @@ padding-bottom: 10px;

border-width: 0;
margin-bottom: 0;
}

@@ -168,0 +172,0 @@

{
"name": "mutation-testing-elements",
"version": "1.0.2",
"version": "1.0.3",
"description": "A suite of web components for a mutation testing report.",

@@ -14,3 +14,4 @@ "unpkg": "dist/mutation-test-elements.js",

"test:unit": "karma start --singleRun true",
"test:integration": "mocha -r ts-node/register -r chromedriver --timeout 60000 --file test/integration/init/init-browser.ts --file test/integration/init/init-server.ts test/integration/*.ts"
"test:integration": "mocha -r ts-node/register -r chromedriver --timeout 60000 --file test/integration/init/init-browser.ts --file test/integration/init/init-server.ts test/integration/*.ts",
"postpublish": "../../mvn/mvnPublish.sh"
},

@@ -30,7 +31,7 @@ "repository": {

"lodash.groupby": "^4.6.0",
"mutation-testing-report-schema": "^1.0.0",
"mutation-testing-report-schema": "^1.0.3",
"rxjs": "^6.4.0",
"sinon-chai": "^3.3.0"
},
"gitHead": "26766c1af1d0fb3b2ea1904b97e41f9591001d6b"
"gitHead": "a883957c784f223acad304341a94d4d396317691"
}

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 not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc