istanbul-lib-coverage
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
@@ -113,3 +113,3 @@ /* | ||
module.exports = { | ||
CoverageMap: CoverageMap, | ||
CoverageMap: CoverageMap | ||
}; |
@@ -91,2 +91,6 @@ /* | ||
/** | ||
* returns a POJO that is JSON serializable. May be used to get the raw | ||
* summary object. | ||
*/ | ||
CoverageSummary.prototype.toJSON = function () { | ||
@@ -216,3 +220,3 @@ return this.data; | ||
// expose coverage data attributes | ||
['path', 'statementMap', 'fnMap', 'branchMap', 's', 'f', 'b', 'sourceMappingUrl'].forEach(function (p) { | ||
['path', 'statementMap', 'fnMap', 'branchMap', 's', 'f', 'b' ].forEach(function (p) { | ||
Object.defineProperty(FileCoverage.prototype, p, { | ||
@@ -241,9 +245,2 @@ enumerable: true, | ||
}; | ||
/** | ||
* saves the source map URL that was found in the source code | ||
* @param {String} url the source map URL | ||
*/ | ||
FileCoverage.prototype.setSourceMappingUrl = function (url) { | ||
this.data.sourceMappingUrl = url; | ||
}; | ||
@@ -250,0 +247,0 @@ /** |
{ | ||
"name": "istanbul-lib-coverage", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"description": "Data library for istanbul coverage objects", | ||
@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", |
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
18303
477