Comparing version 0.8.1 to 0.8.2
@@ -44,2 +44,9 @@ /** | ||
const stepError = (ele, s, e, idx) => propLine(html` | ||
<a href="${ele._errLink(s.id, idx)}" target="_blank"> | ||
Error | ||
</a>`, html` | ||
<pre>${e}</pre> | ||
`); | ||
const stepProperties = (ele, s) => html` | ||
@@ -83,2 +90,3 @@ <table class="properties"> | ||
`)} | ||
${s.errors ? s.errors.map((e, idx) => stepError(ele, s, e, idx)) : ""} | ||
</div> | ||
@@ -192,4 +200,15 @@ `; | ||
_errLink(stepId, idx) { | ||
let link = "/errors/" + this._data.id; | ||
if (stepId !== this._data.id) { | ||
link += "/" + stepId; | ||
} | ||
return link + "/" + idx; | ||
} | ||
_logLink(stepId, logId) { | ||
let link = "/logs/" + this._data.id + "/" + stepId; | ||
let link = "/logs/" + this._data.id; | ||
if (stepId !== this._data.id) { | ||
link += "/" + stepId; | ||
} | ||
if (logId) { | ||
@@ -196,0 +215,0 @@ link += "/" + logId; |
{ | ||
"name": "infra-sk", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "Common Skia Infra elements and JS.", | ||
@@ -9,13 +9,13 @@ "homepage": "https://github.com/google/skia-buildbot/tree/master/infra-sk", | ||
"dependencies": { | ||
"common-sk": "~3.0.0", | ||
"elements-sk": "~2.6.0", | ||
"lit-html": "~0.12.0" | ||
"common-sk": "~3.1.0", | ||
"elements-sk": "~2.7.0", | ||
"lit-html": "~0.14.0" | ||
}, | ||
"devDependencies": { | ||
"@webcomponents/custom-elements": "^1.1.2", | ||
"chai": "^4.1.2", | ||
"@webcomponents/custom-elements": "^1.2.1", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"glob": "^7.1.2", | ||
"glob": "^7.1.3", | ||
"jsdoc": "^3.5.5", | ||
"karma": "^3.0.0", | ||
"karma": "^3.1.4", | ||
"karma-chai": "^0.1.0", | ||
@@ -26,9 +26,9 @@ "karma-chrome-launcher": "^2.2.0", | ||
"karma-sinon": "^1.0.5", | ||
"karma-webpack": "^3.0.0", | ||
"karma-webpack": "^3.0.5", | ||
"mocha": "^5.2.0", | ||
"pulito": "^4.1.1", | ||
"sinon": "^6.1.3", | ||
"webpack": "^4.15.1", | ||
"webpack-cli": "^3.0.8" | ||
"sinon": "^7.2.2", | ||
"webpack": "^4.28.2", | ||
"webpack-cli": "^3.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
66546
35
755
+ Addedcommon-sk@3.1.0(transitive)
+ Addedelements-sk@2.7.4(transitive)
+ Addedlit-html@0.14.0(transitive)
- Removedcommon-sk@3.0.1(transitive)
- Removedelements-sk@2.6.2(transitive)
- Removedlit-html@0.12.0(transitive)
Updatedcommon-sk@~3.1.0
Updatedelements-sk@~2.7.0
Updatedlit-html@~0.14.0