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

@wdio/utils

Package Overview
Dependencies
Maintainers
7
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/utils - npm Package Compare versions

Comparing version 5.16.13 to 5.16.15

24

build/shim.js

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

if (!inCommandHook) {
if (!inCommandHook && this.options.beforeCommand) {
inCommandHook = true;

@@ -80,3 +80,3 @@ await executeHooksWithArgs.call(this, this.options.beforeCommand, beforeHookArgs);

if (!inCommandHook) {
if (!inCommandHook && this.options.afterCommand) {
inCommandHook = true;

@@ -99,3 +99,3 @@ const afterHookArgs = [...beforeHookArgs, commandResult, commandError];

let executeSync = async function (fn, retries, args = []) {
this.retries = retries.attempts;
this.wdioRetries = retries.attempts;

@@ -123,3 +123,3 @@ try {

const executeAsync = async function (fn, retries, args = []) {
this.retries = retries.attempts;
this.wdioRetries = retries.attempts;

@@ -141,10 +141,12 @@ try {

try {
const wdioSync = require('@wdio/sync');
if (!process.env.WDIO_NO_SYNC_SUPPORT) {
const wdioSync = require('@wdio/sync');
exports.hasWdioSyncSupport = hasWdioSyncSupport = true;
exports.runFnInFiberContext = runFnInFiberContext = wdioSync.runFnInFiberContext;
exports.wrapCommand = wrapCommand = wdioSync.wrapCommand;
exports.executeHooksWithArgs = executeHooksWithArgs = wdioSync.executeHooksWithArgs;
exports.executeSync = executeSync = wdioSync.executeSync;
exports.runSync = runSync = wdioSync.runSync;
exports.hasWdioSyncSupport = hasWdioSyncSupport = true;
exports.runFnInFiberContext = runFnInFiberContext = wdioSync.runFnInFiberContext;
exports.wrapCommand = wrapCommand = wdioSync.wrapCommand;
exports.executeHooksWithArgs = executeHooksWithArgs = wdioSync.executeHooksWithArgs;
exports.executeSync = executeSync = wdioSync.executeSync;
exports.runSync = runSync = wdioSync.runSync;
}
} catch (_unused) {}

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

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

@@ -19,0 +19,0 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

{
"name": "@wdio/utils",
"version": "5.16.13",
"version": "5.16.15",
"description": "A WDIO helper utility to provide several utility functions used across the project.",

@@ -40,3 +40,3 @@ "author": "Christian Bromann <christian@saucelabs.com>",

},
"gitHead": "d25c41d08c46c58a22282133d501990b652f34b7"
"gitHead": "3f388c0f8b5b3ff56db62c6183dd92cdf39df0f3"
}
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