selenium-standalone
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -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 = { |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93453
1452
+ Addedtar-stream@3.1.6(transitive)
- Removed@types/readable-stream@4.0.18(transitive)
- Removedabort-controller@3.0.0(transitive)
- Removedbl@6.0.16(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedevent-target-shim@5.0.1(transitive)
- Removedevents@3.3.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedprocess@0.11.10(transitive)
- Removedreadable-stream@4.5.2(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtar-stream@3.0.03.1.7(transitive)
Updatedtar-stream@3.1.6