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

@sap_oss/wdio-qmate-service

Package Overview
Dependencies
Maintainers
26
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap_oss/wdio-qmate-service - npm Package Compare versions

Comparing version 2.8.4 to 2.9.0

2

lib/reuse/modules/service/odata.d.ts

@@ -14,3 +14,3 @@ interface IHeaders {

readonly urlLib: any;
readonly curl: any;
readonly axios: any;
Service: any;

@@ -17,0 +17,0 @@ constructor();

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

this.urlLib = require("url").URL;
this.curl = require("curl");
this.axios = require("axios");
try {

@@ -388,15 +388,5 @@ this.Service = require("@sap_oss/odata-library").Service;

return new Promise((resolve, reject) => {
this.curl.get(url, options, function (error, res, body) {
if (!error) {
if (res.statusCode >= 400) {
reject(`${res.statusCode} - ${res.statusMessage}`);
}
else {
resolve(body);
}
}
else {
reject(error);
}
});
this.axios.get(url, options)
.then((response) => resolve(response.data))
.catch((error) => reject(error));
});

@@ -403,0 +393,0 @@ }

{
"name": "@sap_oss/wdio-qmate-service",
"version": "2.8.4",
"version": "2.9.0",
"author": "SAP SE",

@@ -26,3 +26,2 @@ "types": "./@types/index.d.ts",

"scripts": {
"update-chromedriver": "npm install chromedriver --chromedriver-force-download --detect_chromedriver_version --no-save",
"prepare": "npm run build",

@@ -134,3 +133,2 @@ "clean": "npx rimraf lib",

"axios": "^1.6.0",
"curl": "^0.1.4",
"deepmerge": "^4.2.2",

@@ -154,3 +152,2 @@ "fs-extra": "^10.0.0",

"@wdio/sauce-service": "^8.27.0",
"@wdio/selenium-standalone-service": "^8.15.0",
"@wdio/shared-store-service": "^8.29.7",

@@ -173,4 +170,3 @@ "@wdio/spec-reporter": "^8.29.7",

"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"wdio-chromedriver-service": "^8.1.1"
"typescript": "^5.3.3"
},

@@ -177,0 +173,0 @@ "overrides": {

@@ -9,3 +9,2 @@ const path = require("path");

services: [
["chromedriver", { port: 4444 }],
["static-server", {

@@ -12,0 +11,0 @@ port: 34005,

@@ -6,7 +6,6 @@ const merge = require("deepmerge");

exports.config = merge(baseConfig.config, {
path: "/",
capabilities: [
{
browserName: "chrome",
browserVersion: "120.0.6099.35",
acceptInsecureCerts: true,

@@ -39,13 +38,3 @@ "goog:chromeOptions": {

}
],
services: [
[
"chromedriver",
{
port: 4444,
chromedriverCustomPath: process.env.CHROME_DRIVER
}
]
]
});

@@ -5,7 +5,6 @@ const merge = require("deepmerge");

exports.config = merge(baseConfig.config, {
path: "/",
capabilities: [
{
browserName: "chrome",
browserVersion: "120.0.6099.35",
acceptInsecureCerts: true,

@@ -35,13 +34,3 @@ "goog:chromeOptions": {

}
],
services: [
[
"chromedriver",
{
port: 4444,
chromedriverCustomPath: process.env.CHROME_DRIVER
}
]
]
});

@@ -20,5 +20,2 @@ const path = require("path");

services: [
["chromedriver", {
port: 4444
}],
["static-server", {

@@ -25,0 +22,0 @@ port: 34005,

@@ -24,5 +24,2 @@ const path = require("path");

services: [
["chromedriver", {
port: 4444
}],
["static-server", {

@@ -29,0 +26,0 @@ port: 34005,

@@ -36,5 +36,2 @@ const path = require("path");

services: [
["chromedriver", {
port: 4444
}],
["static-server", {

@@ -41,0 +38,0 @@ port: 34005,

@@ -39,19 +39,19 @@ const path = require("path");

services: [
["chromedriver", {
port: 4444
}],
["static-server", {
port: 34005,
folders: [
{ mount: "/waitForElements.html", path: path.resolve(__dirname, "../../../helper/website/waitForElements.html") },
{ mount: "/buttons.html", path: path.resolve(__dirname, "../../../helper/website/buttons.html") },
{ mount: "/checkBox.html", path: path.resolve(__dirname, "../../../helper/website/checkBox.html") },
{ mount: "/dropdown.html", path: path.resolve(__dirname, "../../../helper/website/dropdown.html") },
{ mount: "/forms.html", path: path.resolve(__dirname, "../../../helper/website/forms.html") },
{ mount: "/scrollPage.html", path: path.resolve(__dirname, "../../../helper/website/scrollPage.html") },
{ mount: "/hiddenAndVisible.html", path: path.resolve(__dirname, "../../../helper/website/hiddenAndVisible.html") },
{ mount: "/tables.html", path: path.resolve(__dirname, "../../../helper/website/tables.html") }
]
}]
],
});
[
"static-server",
{
port: 34005,
folders: [
{ mount: "/waitForElements.html", path: path.resolve(__dirname, "../../../helper/website/waitForElements.html") },
{ mount: "/buttons.html", path: path.resolve(__dirname, "../../../helper/website/buttons.html") },
{ mount: "/checkBox.html", path: path.resolve(__dirname, "../../../helper/website/checkBox.html") },
{ mount: "/dropdown.html", path: path.resolve(__dirname, "../../../helper/website/dropdown.html") },
{ mount: "/forms.html", path: path.resolve(__dirname, "../../../helper/website/forms.html") },
{ mount: "/scrollPage.html", path: path.resolve(__dirname, "../../../helper/website/scrollPage.html") },
{ mount: "/hiddenAndVisible.html", path: path.resolve(__dirname, "../../../helper/website/hiddenAndVisible.html") },
{ mount: "/tables.html", path: path.resolve(__dirname, "../../../helper/website/tables.html") }
]
}
]
]
});

@@ -34,5 +34,2 @@ const path = require("path");

services: [
["chromedriver", {
port: 4444
}],
["static-server", {

@@ -39,0 +36,0 @@ port: 34005,

@@ -13,11 +13,4 @@ const path = require("path");

bail: 1,
services: [
["chromedriver", {
port: 4444
}]
],
specs: [

@@ -29,4 +22,2 @@ // path.resolve(__dirname, "navigateToSystemAndApplication.spec.js"),

exclude: [],
mochaOpts: {

@@ -33,0 +24,0 @@ timeout: 2000000,

@@ -10,5 +10,2 @@ const path = require("path");

services: [
["chromedriver", {
port: 4444
}],
["static-server", {

@@ -15,0 +12,0 @@ port: 34099,

@@ -12,19 +12,5 @@ const path = require("path");

bail: 1,
baseUrl: "http://localhost:34099/ui",
services: [
["chromedriver", {
port: 4444
}]
// ["static-server", {
// port: 34099,
// folders: [{
// mount: "/ui",
// path: path.resolve(__dirname, "./website/main.html")
// }, ]
// }]
],
specs: [

@@ -37,4 +23,2 @@ path.resolve(__dirname, "navigateToApplication.spec.js"),

exclude: [],
mochaOpts: {

@@ -41,0 +25,0 @@ timeout: 2000000,

Sorry, the diff of this file is not supported yet

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