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

@nightwatch/browserstack

Package Overview
Dependencies
Maintainers
7
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nightwatch/browserstack - npm Package Compare versions

Comparing version 3.2.5 to 3.2.6

1

nightwatch/globals.js

@@ -300,2 +300,3 @@ const LocalTunnel = require('../src/local-tunnel');

cucumberPatcher();
process.env.CUCUMBER_SUITE = 'true';
settings.test_runner.options['require'] = path.resolve(__dirname, 'observabilityLogPatcherHook.js');

@@ -302,0 +303,0 @@ }

2

package.json
{
"name": "@nightwatch/browserstack",
"version": "3.2.5",
"version": "3.2.6",
"description": "Nightwatch plugin for integration with browserstack.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -688,3 +688,3 @@ const os = require('os');

exports.isCucumberTestSuite = (settings) => {
return settings?.test_runner?.type === 'cucumber';
return settings?.test_runner?.type === 'cucumber' || exports.isTrue(process.env.CUCUMBER_SUITE);
};

@@ -763,1 +763,5 @@

};
exports.shouldSendLogs = () => {
return exports.isTestObservabilitySession() && exports.isCucumberTestSuite();
};

@@ -41,2 +41,5 @@ const Transport = require('winston-transport');

}
if (!helper.shouldSendLogs()) {return}
const pid = process.pid;

@@ -43,0 +46,0 @@ const loggingData = {

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