istanbul-lib-report
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.6](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.5...istanbul-lib-report@2.0.6) (2019-04-03) | ||
### Bug Fixes | ||
* Avoid corrupting HTML report's arrow png during copy ([#343](https://github.com/istanbuljs/istanbuljs/issues/343)) ([ce664c7](https://github.com/istanbuljs/istanbuljs/commit/ce664c7)) | ||
## [2.0.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.4...istanbul-lib-report@2.0.5) (2019-03-12) | ||
@@ -8,0 +19,0 @@ |
@@ -168,3 +168,9 @@ /* | ||
mkdirp.sync(path.dirname(dest)); | ||
fs.writeFileSync(dest, (header || '') + fs.readFileSync(source)); | ||
let contents; | ||
if (header) { | ||
contents = header + fs.readFileSync(source, 'utf8'); | ||
} else { | ||
contents = fs.readFileSync(source); | ||
} | ||
fs.writeFileSync(dest, contents); | ||
}; | ||
@@ -171,0 +177,0 @@ /** |
{ | ||
"name": "istanbul-lib-report", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Base reporting library for istanbul", | ||
@@ -37,3 +37,3 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", | ||
}, | ||
"gitHead": "c81b051d83217947dfd97d8d06532bd5013e98c3" | ||
"gitHead": "e8063c799d0854341cb3daaf91c58acd06bd501c" | ||
} |
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
35419
979