From b2780b86cb0c0d1e37e85ff4facf074f58beed98 Mon Sep 17 00:00:00 2001 From: Bao D Date: Wed, 16 May 2018 08:35:17 +1000 Subject: [PATCH] feat: use Chrome 66.0.3359.181 --- lib/chromeConfig.js | 4 ++-- package-lock.json | 2 +- package.json | 2 +- test.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/chromeConfig.js b/lib/chromeConfig.js index 28f77e1..c2f2e32 100644 --- a/lib/chromeConfig.js +++ b/lib/chromeConfig.js @@ -6,10 +6,10 @@ exports.binary = { binPath: binPath, cachePath: getCachePath(), fileName: 'headless-chromium', - version: '66.0.3359.170', + version: '66.0.3359.181', checksum: { algorithm: 'sha256', - value: '4625285985506394d940f5e777e06317aed68b9db186ca9d61fcc6ce23cd5fe0' + value: 'e3dcb79811e32832060a913ed133b9c2e8dcf2171c88c4a41f3bd059fbf8359c' } } diff --git a/package-lock.json b/package-lock.json index 77ed0f5..8b56941 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "lighthouse-lambda", - "version": "1.1.0", + "version": "1.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5e1b5a1..0fdbf5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lighthouse-lambda", - "version": "1.1.2", + "version": "1.1.3", "description": "Run Google Chrome Lighthouse on AWS Lambda.", "engines": { "node": "8.10.x" diff --git a/test.js b/test.js index 1936bc1..f5d2f77 100644 --- a/test.js +++ b/test.js @@ -13,7 +13,7 @@ exports.handler = function (event, context, callback) { score: results.score, timing: results.timing }) - return chrome.kill().then(() => callback(null)) + return chrome.kill().then(() => callback(results.userAgent)) }) }) .catch(callback)