Skip to content

Commit

Permalink
core: rename uses-webp-images to next-gen-image-formats
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed May 21, 2021
1 parent f82f916 commit 39bfa56
Show file tree
Hide file tree
Showing 61 changed files with 63 additions and 620 deletions.
4 changes: 2 additions & 2 deletions lighthouse-cli/test/cli/__snapshots__/index-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Object {
"path": "byte-efficiency/unused-javascript",
},
Object {
"path": "byte-efficiency/uses-webp-images",
"path": "byte-efficiency/next-gen-image-formats",
},
Object {
"path": "byte-efficiency/uses-optimized-images",
Expand Down Expand Up @@ -976,7 +976,7 @@ Object {
},
Object {
"group": "load-opportunities",
"id": "uses-webp-images",
"id": "next-gen-image-formats",
"weight": 0,
},
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
'network-requests',
'offscreen-images',
'uses-http2',
'uses-webp-images',
'next-gen-image-formats',
'uses-optimized-images',
'uses-text-compression',
'uses-responsive-images',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const expectations = [
],
},
},
'uses-webp-images': {
'next-gen-image-formats': {
details: {
overallSavingsBytes: '>60000',
items: {
Expand Down
139 changes: 0 additions & 139 deletions lighthouse-core/audits/byte-efficiency/uses-webp-images.js

This file was deleted.

4 changes: 2 additions & 2 deletions lighthouse-core/config/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const defaultConfig = {
'byte-efficiency/unminified-javascript',
'byte-efficiency/unused-css-rules',
'byte-efficiency/unused-javascript',
'byte-efficiency/uses-webp-images',
'byte-efficiency/next-gen-image-formats',
'byte-efficiency/uses-optimized-images',
'byte-efficiency/uses-text-compression',
'byte-efficiency/uses-responsive-images',
Expand Down Expand Up @@ -443,7 +443,7 @@ const defaultConfig = {
{id: 'unused-css-rules', weight: 0, group: 'load-opportunities'},
{id: 'unused-javascript', weight: 0, group: 'load-opportunities'},
{id: 'uses-optimized-images', weight: 0, group: 'load-opportunities'},
{id: 'uses-webp-images', weight: 0, group: 'load-opportunities'},
{id: 'next-gen-image-formats', weight: 0, group: 'load-opportunities'},
{id: 'uses-text-compression', weight: 0, group: 'load-opportunities'},
{id: 'uses-rel-preconnect', weight: 0, group: 'load-opportunities'},
{id: 'server-response-time', weight: 0, group: 'load-opportunities'},
Expand Down
6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/ar-XB.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/ar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/bg.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/ca.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/cs.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/da.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/de.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/el.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lighthouse-core/lib/i18n/locales/en-GB.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions lighthouse-core/lib/i18n/locales/en-US.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 39bfa56

Please sign in to comment.