Comparing version 0.3.19 to 0.3.20
@@ -6,2 +6,13 @@ Changelog | ||
<tr> | ||
<td>v0.3.20</td> | ||
<td> | ||
<ul> | ||
<li>Fix broken es6 `super` support, thanks @sterlinghw</li> | ||
<li>Improve readability via better lineHeight, thanks @dhoko</li> | ||
<li>Adding ability to set custom block name in teamcity report, thanks @aryelu</li> | ||
<li>Replaced deprecated util.puts with console.log, thanks @arty-name | ||
</ul> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>v0.3.19</td> | ||
@@ -8,0 +19,0 @@ <td>Fix instrumenter for multiple blank array positions, thanks @alexdunphy</td> |
@@ -226,3 +226,3 @@ /* | ||
process.on('exit', function () { | ||
util.puts('Saving baseline coverage at: ' + baselineFile); | ||
console.log('Saving baseline coverage at: ' + baselineFile); | ||
fs.writeFileSync(baselineFile, JSON.stringify(instrumenter.getCoverage()), 'utf8'); | ||
@@ -229,0 +229,0 @@ }); |
@@ -124,3 +124,3 @@ /* | ||
SpreadElement: ['argument'], | ||
SuperExpression: ['super'], | ||
Super: [], | ||
SwitchStatement: ['discriminant', 'cases'], | ||
@@ -127,0 +127,0 @@ SwitchCase: ['test', 'consequent'], |
@@ -34,2 +34,3 @@ /* | ||
this.file = opts.file; | ||
this.blockName = opts.blockName || this.getDefaultConfig().blockName; | ||
} | ||
@@ -49,3 +50,3 @@ | ||
getDefaultConfig: function () { | ||
return { file: null }; | ||
return { file: null , blockName: 'Code Coverage Summary'}; | ||
}, | ||
@@ -65,3 +66,3 @@ writeReport: function (collector /*, sync */) { | ||
lines.push(''); | ||
lines.push('##teamcity[blockOpened name=\'Code Coverage Summary\']'); | ||
lines.push('##teamcity[blockOpened name=\''+ this.blockName +'\']'); | ||
@@ -81,3 +82,3 @@ //Statements Covered | ||
lines.push('##teamcity[blockClosed name=\'Code Coverage Summary\']'); | ||
lines.push('##teamcity[blockClosed name=\''+ this.blockName +'\']'); | ||
@@ -84,0 +85,0 @@ text = lines.join('\n'); |
{ | ||
"name": "istanbul", | ||
"version": "0.3.19", | ||
"version": "0.3.20", | ||
"description": "Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale", | ||
@@ -70,3 +70,6 @@ "keywords": [ | ||
"Nikita Gusakov @nkt", | ||
"Alex Dunphy @alexdunphy <alexanderdunphy@gmail.com>" | ||
"Alex Dunphy @alexdunphy <alexanderdunphy@gmail.com>", | ||
"Artemy Tregubenko @arty-name <me@arty.name>", | ||
"Arye Lukashevski @aryelu", | ||
"@sterlinghw" | ||
], | ||
@@ -92,3 +95,3 @@ "scripts": { | ||
"esprima": "2.5.x", | ||
"escodegen": "1.6.x", | ||
"escodegen": "1.7.x", | ||
"handlebars": "3.0.0", | ||
@@ -95,0 +98,0 @@ "mkdirp": "0.5.x", |
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
298295
6556
+ Addedescodegen@1.7.1(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedsource-map@0.2.0(transitive)
- Removedescodegen@1.6.1(transitive)
- Removedesutils@1.1.6(transitive)
Updatedescodegen@1.7.x