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 8.0.8 to 8.0.9

14

lib/compute-download-urls.js

@@ -47,3 +47,5 @@ module.exports = computeDownloadUrls;

opts.seleniumBaseURL,
`selenium-${opts.seleniumVersion}`,
`selenium-${
isSelenium4(opts.seleniumVersion) ? getVersionWithZeroedPatchPart(opts.seleniumVersion) : opts.seleniumVersion
}`,
opts.seleniumVersion

@@ -257,1 +259,11 @@ ),

}
function getVersionWithZeroedPatchPart(fullVersion) {
if (!/^\d+\.\d+\.\d+$/i.test(fullVersion)) {
// If version longer than just 3 numbers, like '4.0.0-beta-1', do nothing
return fullVersion;
}
// else make version patch part zero: '4.1.1' => '4.1.0'
const [major, minor] = fullVersion.split('.');
return `${major}.${minor}.0`;
}

8

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

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

"doctoc": "2.1.0",
"eslint": "8.3.0",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",

@@ -67,8 +67,8 @@ "eslint-plugin-prettier": "4.0.0",

"json": "11.0.0",
"mocha": "9.1.3",
"mocha": "9.1.4",
"mversion": "2.0.1",
"npm-run-all": "^4.1.5",
"prettier": "2.5.0",
"prettier": "2.5.1",
"release-it": "^14.10.0"
}
}
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