istanbul-reports
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.4.0"></a> | ||
# [1.4.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.3.0...istanbul-reports@1.4.0) (2018-04-17) | ||
### Features | ||
* allow custom reporters to be loaded ([#155](https://github.com/istanbuljs/istanbuljs/issues/155)) ([6d89cca](https://github.com/istanbuljs/istanbuljs/commit/6d89cca)) | ||
<a name="1.3.0"></a> | ||
@@ -8,0 +19,0 @@ # [1.3.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.2.0...istanbul-reports@1.3.0) (2018-03-09) |
@@ -10,3 +10,9 @@ /* | ||
cfg = cfg || {}; | ||
var Cons = require(path.join(__dirname, 'lib', name)); | ||
var Cons; | ||
try { | ||
Cons = require(path.join(__dirname, 'lib', name)); | ||
} catch (e) { | ||
Cons = require(name); | ||
} | ||
return new Cons(cfg); | ||
@@ -13,0 +19,0 @@ } |
{ | ||
"name": "istanbul-reports", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "istanbul reports", | ||
@@ -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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
88233
1781
3