From 8b025a833b435f9defd94c6d7b9c612fbf78109e Mon Sep 17 00:00:00 2001 From: Dmitry Lemeshko Date: Mon, 14 Oct 2019 23:20:40 +0200 Subject: [PATCH] update geckodriver to 0.26 (#68) * update geckodriver * bump module version --- index.js | 2 +- lib/geckodriver.js | 2 +- package-lock.json | 2 +- package.json | 2 +- test/index.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index beae88f1..b02a3d93 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ if (skipDownload === 'true') { var baseCDNURL = process.env.GECKODRIVER_CDNURL || process.env.npm_config_geckodriver_cdnurl || 'https://github.com/mozilla/geckodriver/releases/download'; var CACHED_ARCHIVE = process.env.GECKODRIVER_FILEPATH ? path.resolve(process.env.GECKODRIVER_FILEPATH) : undefined; -var version = process.env.GECKODRIVER_VERSION || '0.25.0'; +var version = process.env.GECKODRIVER_VERSION || '0.26.0'; // Remove trailing slash if included baseCDNURL = baseCDNURL.replace(/\/+$/, ''); diff --git a/lib/geckodriver.js b/lib/geckodriver.js index 56457155..7e9b8977 100644 --- a/lib/geckodriver.js +++ b/lib/geckodriver.js @@ -7,7 +7,7 @@ process.env.PATH += path.delimiter + path.join(__dirname, '..'); exports.path = process.platform === 'win32' ? path.join(__dirname, '..', 'geckodriver.exe') : path.join(__dirname, '..', 'geckodriver'); // specify the version of geckodriver -exports.version = process.env.GECKODRIVER_VERSION || '0.25.0'; +exports.version = process.env.GECKODRIVER_VERSION || '0.26.0'; exports.start = function(args) { exports.defaultInstance = require('child_process').execFile(exports.path, args); diff --git a/package-lock.json b/package-lock.json index a7c35cfb..4ce1ae4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "geckodriver", - "version": "1.18.0", + "version": "1.19.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a8b13455..7fe900dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "geckodriver", - "version": "1.18.0", + "version": "1.19.0", "description": "Downloader for https://github.com/mozilla/geckodriver/releases", "scripts": { "test": "ava", diff --git a/test/index.js b/test/index.js index 3265f96d..736a4610 100644 --- a/test/index.js +++ b/test/index.js @@ -14,5 +14,5 @@ test.cb('properly extracts', t => { test('programmatic usage', t => { var driver = require('../lib/geckodriver') - t.is(driver.version, '0.25.0') + t.is(driver.version, '0.26.0') });