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

@wdio/sync

Package Overview
Dependencies
Maintainers
3
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/sync - npm Package Compare versions

Comparing version 5.4.1 to 5.4.2

11

build/runFnInFiberContext.js

@@ -17,12 +17,9 @@ "use strict";

*/
function runFnInFiberContext(fn, done) {
function runFnInFiberContext(fn) {
return function (...args) {
return (0, _fibers.default)(() => {
return new Promise(resolve => (0, _fibers.default)(() => {
const result = fn.apply(this, args);
if (typeof done === 'function') {
done(result);
}
}).run();
resolve(result);
}).run());
};
}
{
"name": "@wdio/sync",
"version": "5.4.1",
"version": "5.4.2",
"description": "A WebdriverIO plugin. Helper module to run WebdriverIO commands synchronously",

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

"dependencies": {
"@wdio/config": "^5.4.1",
"@wdio/config": "^5.4.2",
"@wdio/logger": "^5.4.1",

@@ -43,3 +43,3 @@ "fibers": "^3.1.1"

},
"gitHead": "7e099b188e163f06dfa4c7be21f0468477e2fe94"
"gitHead": "f0341fd33304e28ab8d2827f64dfa9dad94b312d"
}
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