wdio-junit-reporter
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -29,4 +29,6 @@ 'use strict'; | ||
var _lodash = require('lodash'); | ||
var _lodash = require('lodash.get'); | ||
var _lodash2 = _interopRequireDefault(_lodash); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -76,4 +78,4 @@ | ||
var noFileOutputDefined = !this.options.outputFileFormat; | ||
var hasSingleFileOutput = (0, _lodash.get)(this.options, 'outputFileFormat.single'); | ||
var hasMultiFileOutput = (0, _lodash.get)(this.options, 'outputFileFormat.multi'); | ||
var hasSingleFileOutput = (0, _lodash2.default)(this.options, 'outputFileFormat.single'); | ||
var hasMultiFileOutput = (0, _lodash2.default)(this.options, 'outputFileFormat.multi'); | ||
if (noFileOutputDefined || hasMultiFileOutput) { | ||
@@ -94,3 +96,3 @@ this.onMultiFileOutput(); | ||
var filename = 'WDIO.xunit.all.xml'; // default | ||
if (typeof (0, _lodash.get)(this.options, 'outputFileFormat.single') === 'function') { | ||
if (typeof (0, _lodash2.default)(this.options, 'outputFileFormat.single') === 'function') { | ||
filename = this.options.outputFileFormat.single({ | ||
@@ -118,3 +120,3 @@ config: this.config | ||
var filename = 'WDIO.xunit.' + capabilities.sanitizedCapabilities + '.' + cid + '.xml'; // default | ||
if (typeof (0, _lodash.get)(this.options, 'outputFileFormat.multi') === 'function') { | ||
if (typeof (0, _lodash2.default)(this.options, 'outputFileFormat.multi') === 'function') { | ||
filename = this.options.outputFileFormat.multi({ | ||
@@ -121,0 +123,0 @@ capabilities: capabilities.sanitizedCapabilities, |
@@ -6,3 +6,3 @@ import events from 'events' | ||
import mkdirp from 'mkdirp' | ||
import {get} from 'lodash' | ||
import get from 'lodash.get' | ||
@@ -9,0 +9,0 @@ /** |
{ | ||
"name": "wdio-junit-reporter", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A WebdriverIO plugin. Report results in junit xml format.", | ||
@@ -45,2 +45,3 @@ "main": "build/reporter.js", | ||
"junit-report-builder": "~1.3.0", | ||
"lodash.get": "^4.4.2", | ||
"mkdirp": "~0.5.1" | ||
@@ -60,3 +61,3 @@ }, | ||
"eslint-plugin-import": "^2.3.0", | ||
"eslint-plugin-mocha": "^4.10.1", | ||
"eslint-plugin-mocha": "^5.0.0", | ||
"eslint-plugin-node": "^6.0.0", | ||
@@ -73,3 +74,3 @@ "eslint-plugin-promise": "^3.5.0", | ||
"should": "^13.0.0", | ||
"sinon": "^4.0.0" | ||
"sinon": "^5.0.0" | ||
}, | ||
@@ -76,0 +77,0 @@ "contributors": [ |
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
56773
1077
3
+ Addedlodash.get@^4.4.2
+ Addedlodash.get@4.4.2(transitive)