Comparing version 0.2.4 to 0.2.5
@@ -6,2 +6,10 @@ Changelog | ||
<tr> | ||
<td>v0.2.5</td><td><ul> | ||
<li>Add clover report, thanks to @bixdeng, @mpderbec</li> | ||
<li>Fix cobertura report bug for relative paths, thanks to @jxiaodev</li> | ||
<li>Run self-coverage on tests always</li> | ||
<li>Fix tree summarizer when relative paths are involved, thanks to @Swatinem</li> | ||
</ul></td> | ||
</tr> | ||
<tr> | ||
<td>v0.2.4</td><td><ul> | ||
@@ -8,0 +16,0 @@ <li>Fix line-split algo to handle Mac lin separators, thanks to @asifrc</li> |
@@ -85,3 +85,3 @@ /* | ||
attr('name', asClassName(node)) + | ||
attr('filename', node.fullPath().replace(projectRoot + (path.sep || '/'), '')) + | ||
attr('filename', path.relative(projectRoot, node.fullPath())) + | ||
attr('line-rate', metrics.lines.pct / 100.0) + | ||
@@ -88,0 +88,0 @@ attr('branch-rate', metrics.branches.pct / 100.0) + |
@@ -205,2 +205,3 @@ /* | ||
addFileCoverageSummary: function (filePath, metrics) { | ||
filePath = path.resolve(filePath); //ensure absolute path always | ||
this.summaryMap[filePath] = metrics; | ||
@@ -207,0 +208,0 @@ }, |
{ | ||
"name": "istanbul", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"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", | ||
@@ -26,3 +26,7 @@ "keywords": [ "coverage", "code coverage", "JS code coverage", "JS coverage" ], | ||
"@asifrc", | ||
"Gergely Nemeth @gergelyke" | ||
"Gergely Nemeth @gergelyke", | ||
"@bixdeng", | ||
"@mpderbec", | ||
"@jxiaodev", | ||
"Arpad Borsos @Swatinem <arpad.borsos@googlemail.com>" | ||
], | ||
@@ -32,3 +36,3 @@ "preferGlobal": true, | ||
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json lib/*js lib/command/*js lib/report/*js lib/store/*js lib/util/*js test/*js test/instrumentation/*js test/cli/*js test/other/*js", | ||
"test": "test/create-escodegen-browser.js && npm_config_coverage=1 test/run.js", | ||
"test": "test/create-escodegen-browser.js && test/run.js", | ||
"posttest": "node ./lib/cli.js check-coverage --statements 95 --branches 80", | ||
@@ -46,3 +50,3 @@ "docs": "npm install yuidocjs && node node_modules/yuidocjs/lib/cli.js ." | ||
"esprima": "1.0.x", | ||
"escodegen": "1.0.x", | ||
"escodegen": "1.1.x", | ||
"handlebars": "1.3.x", | ||
@@ -60,6 +64,6 @@ "mkdirp": "0.3.x", | ||
"devDependencies": { | ||
"rimraf": "*", | ||
"nodeunit": "*", | ||
"jshint": "*", | ||
"yui-lint": "*", | ||
"rimraf": "2.2.x", | ||
"nodeunit": "0.8.x", | ||
"jshint": "2.4.x", | ||
"yui-lint": "0.1.x", | ||
"requirejs": "2.x", | ||
@@ -66,0 +70,0 @@ "bower": "1.x" |
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
255751
53
5140
+ Addedescodegen@1.1.0(transitive)
- Removedescodegen@1.0.1(transitive)
Updatedescodegen@1.1.x