Skip to content

Commit

Permalink
3.2.1 (#6149)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Oct 1, 2018
1 parent 081864e commit 3c03e2c
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 7 deletions.
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<a name="3.2.1"></a>
# 3.2.1 (2018-10-01)
[Full Changelog](https://github.com/googlechrome/lighthouse/compare/v3.2.0...v3.2.1)

## Core

* await js-libraries detection to fix Workbox always showing up ([#6141](https://github.com/googlechrome/lighthouse/pull/6141))
* emulation: set desktop viewport to 1350x940 ([#6131](https://github.com/googlechrome/lighthouse/pull/6131))

<a name="3.2.0"></a>
# 3.2.0 (2018-09-27)
[Full Changelog](https://github.com/googlechrome/lighthouse/compare/v3.1.1...v3.2.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ module.exports = [
],
},
},
'js-libraries': {
score: 1,
details: {
items: [{
name: 'jQuery',
}],
},
},
},
},
];
4 changes: 2 additions & 2 deletions lighthouse-core/gather/gatherers/dobetterweb/js-libraries.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function detectLibraries() {
// d41d8cd98f00b204e9800998ecf8427e_ is a consistent prefix used by the detect libraries
// see https://github.com/HTTPArchive/httparchive/issues/77#issuecomment-291320900
// @ts-ignore - injected libDetectorSource var
Object.entries(d41d8cd98f00b204e9800998ecf8427e_LibraryDetectorTests).forEach(([name, lib]) => {
Object.entries(d41d8cd98f00b204e9800998ecf8427e_LibraryDetectorTests).forEach(async ([name, lib]) => { // eslint-disable-line max-len
try {
const result = lib.test(window);
const result = await lib.test(window);
if (result) {
libraries.push({
name: name,
Expand Down
4 changes: 2 additions & 2 deletions lighthouse-core/lib/emulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const NEXUS5X_EMULATION_METRICS = {
*/
const DESKTOP_EMULATION_METRICS = {
mobile: false,
width: 1366,
height: 768,
width: 1350,
height: 940,
deviceScaleFactor: 1,
};

Expand Down
2 changes: 1 addition & 1 deletion lighthouse-core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3358.0 Safari/537.36",
"benchmarkIndex": 1000
},
"lighthouseVersion": "3.2.0",
"lighthouseVersion": "3.2.1",
"fetchTime": "2018-03-13T00:55:45.840Z",
"requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
"finalUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-extension/app/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "__MSG_appName__",
"version": "3.2.0",
"version": "3.2.1",
"minimum_chrome_version": "66",
"manifest_version": 2,
"description": "__MSG_appDescription__",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lighthouse",
"version": "3.2.0",
"version": "3.2.1",
"description": "Lighthouse",
"main": "./lighthouse-core/index.js",
"bin": {
Expand Down

0 comments on commit 3c03e2c

Please sign in to comment.