Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wdio-junit-reporter

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-junit-reporter - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

12

build/reporter.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc