selenium-webdriver
Advanced tools
Comparing version 4.0.0-alpha.3 to 4.0.0-alpha.4
@@ -1,3 +0,10 @@ | ||
## v4.0.0-alpha.2 | ||
## v4.0.0-alpha.4 | ||
### Changes | ||
* Removed BUILD.bazel files from the build artifact | ||
## v4.0.0-alpha.3 | ||
### Notice | ||
@@ -4,0 +11,0 @@ |
@@ -169,5 +169,22 @@ // Licensed to the Software Freedom Conservancy (SFC) under one | ||
let buf = await archive.getFile('manifest.json'); | ||
let {applications} = | ||
/** @type {{applications:{gecko:{id:string}}}} */( | ||
JSON.parse(buf.toString('utf8'))); | ||
let parsedJSON = JSON.parse(buf.toString('utf8')); | ||
let { browser_specific_settings } = | ||
/** @type {{browser_specific_settings:{gecko:{id:string}}}} */ | ||
parsedJSON; | ||
if ( | ||
browser_specific_settings && | ||
browser_specific_settings.gecko | ||
) { | ||
/* browser_specific_settings is an alternative to applications | ||
* It is meant to facilitate cross-browser plugins since Firefox48 | ||
* see https://bugzilla.mozilla.org/show_bug.cgi?id=1262005 | ||
*/ | ||
parsedJSON.applications = browser_specific_settings; | ||
} | ||
let { applications } = | ||
/** @type {{applications:{gecko:{id:string}}}} */ | ||
parsedJSON; | ||
if (!(applications && applications.gecko && applications.gecko.id)) { | ||
@@ -174,0 +191,0 @@ throw new AddonFormatError(`Could not find add-on ID for ${extension}`); |
{ | ||
"name": "selenium-webdriver", | ||
"version": "4.0.0-alpha.3", | ||
"version": "4.0.0-alpha.4", | ||
"description": "The official WebDriver JavaScript bindings from the Selenium project", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
27
5
600977
44
1
80
13327