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

istanbul

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istanbul - npm Package Compare versions

Comparing version 0.3.19 to 0.3.20

11

CHANGELOG.md

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

2

lib/command/instrument.js

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

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