New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wdio-reportportal-reporter

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-reportportal-reporter - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

5

build/reporter.js

@@ -12,3 +12,3 @@ "use strict";

const events_1 = require("events");
const ReportPortalClient = require("reportportal-client");
const ReportPortalClient = require("reportportal-js-client");
const constants_1 = require("./constants");

@@ -58,2 +58,5 @@ const entities_1 = require("./entities");

return __awaiter(this, void 0, void 0, function* () {
if (!ReportPortalReporter.client) {
return false;
}
const launchStatusReq = {

@@ -60,0 +63,0 @@ time: ReportPortalReporter.client.helpers.now(),

7

lib/reporter.ts
import {createHash} from "crypto";
import {EventEmitter} from "events";
import * as ReportPortalClient from "reportportal-client";
import * as ReportPortalClient from "reportportal-js-client";
import {EVENTS, LEVEL, STATUS, TYPE} from "./constants";

@@ -42,2 +42,6 @@ import {Issue, StorageEntity, SuiteStartObj, TestEndObj, TestStartObj} from "./entities";

public static async waitLaunchFinished(timeout = 5000) {
if (!ReportPortalReporter.client) {
return false;
}
const launchStatusReq = {

@@ -72,3 +76,2 @@ time: ReportPortalReporter.client.helpers.now(),

public client: ReportPortalClient;
public storage = new Storage();

@@ -75,0 +78,0 @@ public logger: Logger;

{
"name": "wdio-reportportal-reporter",
"version": "0.0.23",
"version": "0.0.24",
"description": "A WebdriverIO plugin. Report results to Report Portal.",

@@ -38,12 +38,12 @@ "main": "build/reporter.js",

"json-stringify-safe": "~5.0.1",
"reportportal-client": "https://github.com/reportportal/client-javascript.git#b09e49b"
"reportportal-js-client": "^1.0.1"
},
"devDependencies": {
"@types/jest": "^23.3.12",
"jest": "^23.6.0",
"@types/jest": "^24.0.0",
"jest": "^24.1.0",
"ts-jest": "^23.10.5",
"@types/chai": "4.1.7",
"@types/chai": "^4.1.7",
"@types/cucumber": "^4.0.4",
"@types/mocha": "5.2.5",
"@types/webdriverio": "^4.13.1",
"@types/mocha": "5.2.6",
"@types/webdriverio": "4.13.3",
"chai": "^4.1.2",

@@ -55,6 +55,6 @@ "mocha": "^5.2.0",

"wdio-mocha-framework": "^0.6.3",
"webdriverio": "^4.14.2",
"ts-node": "7.0.1",
"webdriverio": "4.14.2",
"ts-node": "^8.0.2",
"tslint": "^5.11.0",
"typescript": "3.1.6"
"typescript": "^3.3.3"
},

@@ -61,0 +61,0 @@ "contributors": [

@@ -15,3 +15,3 @@ WDIO Report Portal Reporter

"devDependencies": {
"wdio-reportportal-reporter": "~0.0.23",
"wdio-reportportal-reporter": "~0.0.24",
"wdio-reportportal-service": "~0.0.1"

@@ -18,0 +18,0 @@ }

@@ -39,6 +39,3 @@ const reporter = require('../../../build/reporter');

timeout: 20000,
require: ['test/fixtures/features/steps/passing-steps.js', 'test/fixtures/features/steps/hooks.js'],
compiler: [
'js:babel-register',
],
require: ['test/fixtures/features/steps/passing-steps.js', 'test/fixtures/features/steps/hooks.js']
},

@@ -45,0 +42,0 @@ afterTest: async function (test) {

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