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

webdriver-manager

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdriver-manager - npm Package Compare versions

Comparing version 12.0.5 to 12.0.6

docs/versions.md

13

built/lib/binaries/config_source.js

@@ -51,7 +51,8 @@ "use strict";

let timestamp = new Date(fs.statSync(fileName).mtime).getTime();
let size = fs.statSync(fileName).size;
let now = Date.now();
// Ignore validating the cache OR if we are validating the cache, make
// it is within the cache time.
// On start, read the file. If not on start, check use the cache as long as the
// size > 0 and within the cache time.
// 60 minutes * 60 seconds / minute * 1000 ms / second
if (config_1.Config.runCommand === 'start' || (now - (60 * 60 * 1000) < timestamp)) {
if (config_1.Config.runCommand === 'start' || (size > 0 && (now - (60 * 60 * 1000) < timestamp))) {
return this.convertXml2js(contents);

@@ -168,4 +169,8 @@ }

let timestamp = new Date(fs.statSync(fileName).mtime).getTime();
let size = fs.statSync(fileName).size;
let now = Date.now();
if (config_1.Config.runCommand === 'start' || (now - (60 * 60 * 1000) < timestamp)) {
// On start, read the file. If not on start, check use the cache as long as the
// size > 0 and within the cache time.
// 60 minutes * 60 seconds / minute * 1000 ms / second
if (config_1.Config.runCommand === 'start' || (size > 0 && (now - (60 * 60 * 1000) < timestamp))) {
return contents;

@@ -172,0 +177,0 @@ }

@@ -32,3 +32,4 @@ "use strict";

let item = json[i];
versionsLookup.push({ version: item.tag_name, index: i });
let index = i.toString();
versionsLookup.push({ version: item.tag_name, index: index });
}

@@ -35,0 +36,0 @@ return versionsLookup;

@@ -221,10 +221,17 @@ "use strict";

});
let updateConfig = path.resolve(outputDir, 'update-config.json');
try {
fs.unlinkSync(updateConfig);
logger.info('removed update-config.json');
let metaFiles = [
'chromedriver-response.xml', 'gecko-response.json', 'iedriver-response.xml',
'standalone-response.xml', 'update-config.json'
];
for (let metaFile of metaFiles) {
try {
let metaFilePath = path.resolve(outputDir, metaFile);
if (fs.statSync(metaFilePath)) {
fs.unlinkSync(metaFilePath);
logger.info('removed ' + metaFile);
}
}
catch (e) {
}
}
catch (e) {
return;
}
}

@@ -231,0 +238,0 @@ }

{
"name": "webdriver-manager",
"version": "12.0.5",
"version": "12.0.6",
"description": "A selenium server and browser driver manager for your end to end tests.",

@@ -68,3 +68,3 @@ "scripts": {

"selenium-webdriver": "~3.0.1",
"typescript": "~2.2.0"
"typescript": "~2.3.0"
},

@@ -71,0 +71,0 @@ "engines": {

@@ -0,1 +1,8 @@

# 12.0.6
## Bug Fix
- ([708ade3](https://github.com/angular/webdriver-manager/commit/708ade31564ab5a48fbfcff80c37370fdc4f659a))
fix(responses): response xml and json files (#247)
# 12.0.5

@@ -2,0 +9,0 @@

@@ -6,1 +6,2 @@ # Contents

- [protractor support](protractor.md)
- [set specific versions](versions.md)
{
"name": "webdriver-manager",
"version": "12.0.5",
"version": "12.0.6",
"description": "A selenium server and browser driver manager for your end to end tests.",

@@ -68,3 +68,3 @@ "scripts": {

"selenium-webdriver": "~3.0.1",
"typescript": "~2.2.0"
"typescript": "~2.3.0"
},

@@ -71,0 +71,0 @@ "engines": {

@@ -57,2 +57,16 @@

Help commands
-------------
Wedriver-manager has a main help option: `webdriver-manager help`. There are also other built in help menus for each of the commands. So for example, if you would like to look up all the flag options you can set in `update`, you could run `webdriver-manager update help`.
Here are a list of all the commands with help:
```
webdriver-manager update help
webdriver-manager start help
webdriver-manager clean help
webdriver-manager status help
```
Other topics:

@@ -63,1 +77,2 @@ --------------

- [protractor support](docs/protractor.md)
- [set specific versions](docs/versions.md)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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