Comparing version 1.6.5 to 1.6.6
{ | ||
"name": "leadfoot", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"description": "Leadfoot. A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.", | ||
@@ -11,7 +11,7 @@ "repository": { | ||
"dependencies": { | ||
"dojo": "2.0.0-alpha.6", | ||
"dojo": "2.0.0-alpha.7", | ||
"jszip": "2.5.0" | ||
}, | ||
"devDependencies": { | ||
"intern": "3.0.3" | ||
"intern": "3.0.6" | ||
}, | ||
@@ -18,0 +18,0 @@ "bugs": "https://github.com/theintern/leadfoot/issues", |
@@ -79,3 +79,10 @@ /* global document:false */ | ||
if (response.statusCode >= 300 && response.statusCode < 400 && response.getHeader('Location')) { | ||
return request(response.getHeader('Location'), { | ||
var redirectUrl = response.getHeader('Location'); | ||
// If redirectUrl isn't an absolute URL, resolve it based on the orignal URL used to create the session | ||
if (!/^\w+:/.test(redirectUrl)) { | ||
redirectUrl = urlUtil.resolve(url, redirectUrl); | ||
} | ||
return request(redirectUrl, { | ||
method: 'GET', | ||
@@ -82,0 +89,0 @@ headers: defaultRequestHeaders |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
221275
5622
2
+ Addeddojo@2.0.0-alpha.7(transitive)
- Removeddojo@2.0.0-alpha.6(transitive)
Updateddojo@2.0.0-alpha.7