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

selenium-standalone

Package Overview
Dependencies
Maintainers
10
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selenium-standalone - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

13

lib/compute-download-urls.js

@@ -122,7 +122,16 @@ module.exports = { computeDownloadUrls, resolveDownloadPath, getLastChromedriverVersionFromMajor, getLatestChromium };

} else {
const oldVersion = validateMajorVersionPrefix(opts.drivers.chrome.version);
opts.drivers.chrome.baseURL = opts.drivers.chrome.baseURL
? opts.drivers.chrome.baseURL
: 'https://chromedriver.storage.googleapis.com';
await resolveLatestVersion(opts, 'chrome', opts.drivers.chrome.baseURL + '/LATEST_RELEASE');
await resolveLatestVersion(
opts,
'chrome',
oldVersion
? opts.drivers.chrome.baseURL + `/LATEST_RELEASE_${oldVersion}`
: opts.drivers.chrome.baseURL + '/LATEST_RELEASE'
);
downloadUrls.chrome =

@@ -315,3 +324,3 @@ opts.drivers.chrome.fullURL ||

opts.drivers[browserDriver].version = opts.drivers[browserDriver].fallbackVersion;
} else if (browserDriver === 'chrome' && /^(\d{3})\.\d+\.\d+/.test(opts.drivers.chrome.version)) {
} else if (browserDriver === 'chrome' && !/^(\d{2,3})\.\d+\.\d+.\d+/.test(opts.drivers.chrome.version)) {
if (await getLatestChromium(opts, browserDriver, url)) {

@@ -318,0 +327,0 @@ return true;

@@ -25,3 +25,11 @@ module.exports = computeFsPaths;

) {
await getLatestChromium(opts, 'chrome', 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE');
await getLatestChromium(
opts,
'chrome',
validateMajorVersionPrefix(opts.drivers.chrome.version)
? `https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${validateMajorVersionPrefix(
opts.drivers.chrome.version
)}`
: 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE'
);
}

@@ -28,0 +36,0 @@ fsPaths.chrome = {

8

package.json
{
"name": "selenium-standalone",
"version": "9.0.0",
"version": "9.0.1",
"description": "installs a `selenium-standalone` command line to install and start a standalone selenium server",

@@ -56,3 +56,3 @@ "main": "index.js",

"progress": "2.0.3",
"tar-stream": "3.0.0",
"tar-stream": "3.1.6",
"which": "^2.0.2",

@@ -64,4 +64,4 @@ "yauzl": "^2.10.0"

"doctoc": "2.2.1",
"eslint": "8.42.0",
"eslint-config-prettier": "8.7.0",
"eslint": "8.46.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "4.2.1",

@@ -68,0 +68,0 @@ "husky": "8.0.3",

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