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

@wdio/mocha-framework

Package Overview
Dependencies
Maintainers
3
Versions
360
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/mocha-framework - npm Package Compare versions

Comparing version 5.1.0 to 5.2.2

6

build/constants.js

@@ -7,5 +7,2 @@ "use strict";

exports.NOOP = exports.EVENTS = exports.INTERFACES = void 0;
require("source-map-support/register");
const INTERFACES = {

@@ -38,3 +35,2 @@ bdd: ['it', 'before', 'beforeEach', 'after', 'afterEach'],

exports.NOOP = NOOP;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiSU5URVJGQUNFUyIsImJkZCIsInRkZCIsInF1bml0IiwiRVZFTlRTIiwiTk9PUCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQU8sTUFBTUEsVUFBVSxHQUFHO0FBQ3RCQyxFQUFBQSxHQUFHLEVBQUUsQ0FBQyxJQUFELEVBQU8sUUFBUCxFQUFpQixZQUFqQixFQUErQixPQUEvQixFQUF3QyxXQUF4QyxDQURpQjtBQUV0QkMsRUFBQUEsR0FBRyxFQUFFLENBQUMsTUFBRCxFQUFTLFlBQVQsRUFBdUIsT0FBdkIsRUFBZ0MsZUFBaEMsRUFBaUQsVUFBakQsQ0FGaUI7QUFHdEJDLEVBQUFBLEtBQUssRUFBRSxDQUFDLE1BQUQsRUFBUyxRQUFULEVBQW1CLFlBQW5CLEVBQWlDLE9BQWpDLEVBQTBDLFdBQTFDO0FBR1g7Ozs7QUFOMEIsQ0FBbkI7O0FBU0EsTUFBTUMsTUFBTSxHQUFHO0FBQ2xCLFdBQVMsYUFEUztBQUVsQixlQUFhLFdBRks7QUFHbEIsVUFBUSxZQUhVO0FBSWxCLGNBQVksVUFKTTtBQUtsQixVQ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-8,4 +8,2 @@ "use strict";

require("source-map-support/register");
var _path = _interopRequireDefault(require("path"));

@@ -327,3 +325,2 @@

var _default = adapterFactory;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJsb2ciLCJNT0NIQV9VSV9UWVBFX0VYVFJBQ1RPUiIsIkRFRkFVTFRfSU5URVJGQUNFX1RZUEUiLCJNb2NoYUFkYXB0ZXIiLCJjb25zdHJ1Y3RvciIsImNpZCIsImNvbmZpZyIsInNwZWNzIiwiY2FwYWJpbGl0aWVzIiwicmVwb3J0ZXIiLCJPYmplY3QiLCJhc3NpZ24iLCJtb2NoYU9wdHMiLCJydW5uZXIiLCJsZXZlbCIsInN1aXRlQ250IiwiTWFwIiwiaG9va0NudCIsInRlc3RDbnQiLCJzdWl0ZUlkcyIsInJ1biIsIm1vY2hhIiwiTW9jaGEiLCJsb2FkRmlsZXMiLCJOT09QIiwiZnVsbFRyYWNlIiwiZm9yRWFjaCIsInNwZWMiLCJhZGRGaWxlIiwic3VpdGUiLCJvbiIsInByZVJlcXVpcmUiLCJydW50aW1lRXJyb3IiLCJiZWZvcmUiLCJyZXN1bHQiLCJQcm9taXNlIiwicmVzb2x2ZSIsImUiLCJrZXlzIiwiRVZFTlRTIiwiZW1pdCIsImJpbmQiLCJiZWZvcmVBbGwiLCJ3cmFwSG9vayIsImJlZm9yZUVhY2giLCJhZnRlckVhY2giLCJhZnRlckFsbCIsImFmdGVyIiwib3B0aW9ucyIsImNvbnRleHQiLCJyZXF1aXJlIiwiY29tcGlsZXJzIiwicmVxdWlyZUV4dGVybmFsTW9kdWxlcyIsImZpbGUiLCJtYXRjaCIsImV4ZWMiLCJ1aSIsInR5cGUiLCJJTlRFUkZBQ0VTIiwiZm5OYW1lIiwidGVzdENvbW1hbmQiLCJiZWZvcmVIb29rIiwiYWZ0ZXJIb29rIiwiaG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WzFdKSB8fCBERUZBVUxUX0lOVEVSRkFDRV9UWVBFXG5cbiAgICAgICAgdGhpcy5vcHRpb25zKG9wdGlvbnMsIHsgY29udGV4dCwgZmlsZSwgbW9jaGEsIG9wdGlvbnMgfSlcbiAgICAgICAgSU5URVJGQUNFU1t0eXBlXS5mb3JFYWNoKChmbk5hbWUpID0+IHtcbiAgICAgICAgICAgIGxldCB0ZXN0Q29tbWFuZCA9IElOVEVSRkFDRVNbdHlwZV1bMF1cblxuICAgICAgICAgICAgcnVuVGVzdEluRmliZXJDb250ZXh0KFxuICAgICAgICAgICAgICAgIFt0ZXN0Q29tbWFuZCwgdGVzdENvbW1hbmQgKyAnLm9ubHknXSxcbiAgICAgICAgICAgICAgICB0aGlzLmNvbmZpZy5iZWZvcmVIb29rLFxuICAgICAgICAgICAgICAgIHRoaXMuY29uZmlnLmFmdGVySG9vayxcbiAgICAgICAgICAgICAgICBmbk5hbWVcbiAgICAgICAgICAgIClcbiAgICAgICAgfSlcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBIb29rcyB3aGljaCBhcmUgYWRkZWQgYXMgdHJ1ZSBNb2NoYSBob29rcyBuZWVkIHRvIGNhbGwgZG9uZSgpIHRvIG5vdGlmeSBhc3luY1xuICAgICAqL1xuICAgIHdyYXBIb29rIChob29rTmFtZSkge1xuICAgICAgICByZXR1cm4gKCkgPT4gZXhlY3V0ZUhvb2tzV2l0aEFyZ3MoXG4gICAgICAgICAgICB0aGlzLmNvbmZpZ1tob29rTmFtZV0sXG4gICAgICAgICAgICB0aGlzLnByZXBhcmVNZXNzYWdlKGhvb2tOYW1lKVxuICAgICAgICApLmNhdGNoKChlKSA9PiB7XG4gICAgICAgICAgICBsb2cuZXJyb3IoYEVycm9yIGluICR7aG9va05hbWV9IGhvb2s6ICR7ZS5zdGFjay5zbGljZSg3KX1gKVxuICAgICAgICB9KVxuICAgIH1cblxuICAgIHByZXBhcmVNZXNzYWdlIChob29rTmFtZSkge1xuICAgICAgICBjb25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JuIHRoaXMuZ2V0U3luY0V2ZW50SWRTdGFydCgnaG9vaycpXG4gICAgICAgIH1cbiAgICAgICAgaWYgKG1lc3NhZ2UudHlwZSA9PT0gJ2hvb2s6ZW5kJykge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZ2V0U3luY0V2ZW50SWRFbmQoJ2hvb2snKVxuICAgICAgICB9XG4gICAgICAgIGlmIChtZXNzYWdlLnR5cGUgPT09ICd0ZXN0OnN0YXJ0Jykge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZ2V0U3luY0V2ZW50SWRTdGFydCgndGVzdCcpXG4gICAgICAgIH1cbiAgICAgICAgaWYgKFsndGVzdDpwZW5kaW5nJywgJ3Rlc3Q6ZW5kJywgJ3Rlc3Q6cGFzcycsICd0ZXN0OmZhaWwnXS5pbmNsdWRlcyhtZXNzYWdlLnR5cGUpKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5nZXRTeW5jRXZlbnRJZEVuZCgndGVzdCcpXG4gICAgICAgIH1cblxuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoYFVua25vd24gbWVzc2FnZSB0eXBlIDogJHttZXNzYWdlLnR5cGV9YClcbiAgICB9XG59XG5cbmNvbnN0IGFkYXB0ZXJGYWN0b3J5ID0ge31cblxuYWRhcHRlckZhY3RvcnkucnVuID0gYXN5bmMgZnVuY3Rpb24gKC4uLmFyZ3MpIHtcbiAgICBjb25zdCBhZGFwdGVyID0gbmV3IE1vY2hhQWRhcHRlciguLi5hcmdzKVxuICAgIGNvbnN0IHJlc3VsdCA9IGF3YWl0IGFkYXB0ZXIucnVuKClcbiAgICByZXR1cm4gcmVzdWx0XG59XG5cbmV4cG9ydCBkZWZhdWx0IGFkYXB0ZXJGYWN0b3J5XG5leHBvcnQgeyBNb2NoYUFkYXB0ZXIsIGFkYXB0ZXJGYWN0b3J5IH1cbiJdfQ==
exports.default = _default;

@@ -8,4 +8,2 @@ "use strict";

require("source-map-support/register");
function loadModule(name, context) {

@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5hbCBtb2R1bGVzIGdsb2JhbGx5IHRvbyEnKVxuICAgIH1cbn1cbiJdfQ==
}
{
"name": "@wdio/mocha-framework",
"version": "5.1.0",
"version": "5.2.2",
"description": "A WebdriverIO plugin. Adapter for Mocha testing framework.",

@@ -33,4 +33,4 @@ "author": "Christian Bromann <christian@saucelabs.com>",

"dependencies": {
"@wdio/config": "^5.1.0",
"@wdio/logger": "^5.0.3",
"@wdio/config": "^5.2.2",
"@wdio/logger": "^5.2.2",
"mocha": "^5.2.0"

@@ -44,3 +44,3 @@ },

},
"gitHead": "db1fd4728453075c5c549e755a3e5685ad85284e"
"gitHead": "44ad3c87c0e6f60540bd16e0f3bdc9939c86b012"
}
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