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

@applitools/spec-driver-webdriver

Package Overview
Dependencies
Maintainers
46
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/spec-driver-webdriver - npm Package Compare versions

Comparing version 1.0.47 to 1.0.48

24

CHANGELOG.md
# Changelog
## [1.0.48](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.47...js/spec-driver-webdriver@1.0.48) (2023-10-17)
### Dependencies
* @applitools/utils bumped to 1.6.2
#### Code Refactoring
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
* @applitools/logger bumped to 2.0.12
#### Code Refactoring
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
* @applitools/driver bumped to 1.14.4
#### Code Refactoring
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
## [1.0.47](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.46...js/spec-driver-webdriver@1.0.47) (2023-09-29)

@@ -4,0 +28,0 @@

35

dist/spec-driver.js

@@ -79,21 +79,7 @@ "use strict";

if (getFrameworkMajorVersion() < 8) {
let commandPath;
try {
commandPath = require.resolve('webdriver/build/command', { paths: [`${process.cwd()}/node_modules`] });
}
catch {
commandPath = 'webdriver/build/command';
}
const { default: command } = require(commandPath);
const { default: command } = require('webdriver/build/command');
return command(method, url, body);
}
else {
let frameworkPath;
try {
frameworkPath = require.resolve('webdriver', { paths: [`${process.cwd()}/node_modules`] });
}
catch {
frameworkPath = 'webdriver';
}
const { command } = require(frameworkPath);
const { command } = require('webdriver');
return command(method, url, body);

@@ -103,20 +89,7 @@ }

function getFrameworkMajorVersion() {
let version;
try {
version = require(require.resolve('webdriver/package.json', { paths: [`${process.cwd()}/node_modules`] })).version;
}
catch {
version = require('webdriver/package.json').version;
}
const version = require('webdriver/package.json').version;
return Number.parseInt(version);
}
function getWebDriver() {
let frameworkPath;
try {
frameworkPath = require.resolve('webdriver', { paths: [`${process.cwd()}/node_modules`] });
}
catch {
frameworkPath = 'webdriver';
}
return getFrameworkMajorVersion() < 8 ? require(frameworkPath).default : require(frameworkPath);
return getFrameworkMajorVersion() < 8 ? require('webdriver').default : require('webdriver');
}

@@ -123,0 +96,0 @@ function isDriver(driver) {

{
"name": "@applitools/spec-driver-webdriver",
"version": "1.0.47",
"version": "1.0.48",
"keywords": [

@@ -52,4 +52,4 @@ "webdriver",

"dependencies": {
"@applitools/driver": "1.14.3",
"@applitools/utils": "1.6.1",
"@applitools/driver": "1.14.4",
"@applitools/utils": "1.6.2",
"http-proxy-agent": "5.0.0",

@@ -64,3 +64,3 @@ "https-proxy-agent": "5.0.1"

"nock": "^13.3.2",
"webdriver": "^8.14.3"
"webdriver": "^7.31.1"
},

@@ -67,0 +67,0 @@ "peerDependencies": {

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