Skip to content

Commit

Permalink
bump stack-packs
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Feb 8, 2023
1 parent 62fd34f commit 777cc31
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion core/test/audits/prioritize-lcp-image-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const mainDocumentNodeUrl = 'http://www.example.com:3000';
const scriptNodeUrl = 'http://www.example.com/script.js';
const imageUrl = 'http://www.example.com/image.png';

describe('Performance: prioritize-lcp audit', () => {
describe('Performance: prioritize-lcp-image audit', () => {
const mockArtifacts = (networkRecords, finalDisplayedUrl) => {
return {
GatherContext: {gatherMode: 'navigation'},
Expand Down
18 changes: 9 additions & 9 deletions core/test/fixtures/fraggle-rock/reports/sample-flow-result.json
Original file line number Diff line number Diff line change
Expand Up @@ -4221,7 +4221,7 @@
"uses-text-compression": "Enable compression on your Next.js server. [Learn more](https://nextjs.org/docs/api-reference/next.config.js/compression).",
"uses-responsive-images": "Use the `next/image` component to set the appropriate `sizes`. [Learn more](https://nextjs.org/docs/api-reference/next/image#sizes).",
"user-timings": "Consider using `Next.js Analytics` to measure your app's real-world performance. [Learn more](https://nextjs.org/docs/advanced-features/measuring-performance).",
"preload-lcp-image": "Use the `next/image` component and set \"priority\" to true to preload LCP image. [Learn more](https://nextjs.org/docs/api-reference/next/image#priority).",
"prioritize-lcp-image": "Use the `next/image` component and set \"priority\" to true to preload LCP image. [Learn more](https://nextjs.org/docs/api-reference/next/image#priority).",
"unsized-images": "Use the `next/image` component to make sure images are always sized appropriately. [Learn more](https://nextjs.org/docs/api-reference/next/image#width)."
}
}
Expand Down Expand Up @@ -7441,8 +7441,8 @@
"node_modules/lighthouse-stack-packs/packs/next.js.js | user-timings": [
"stackPacks[1].descriptions[user-timings]"
],
"node_modules/lighthouse-stack-packs/packs/next.js.js | preload-lcp-image": [
"stackPacks[1].descriptions[preload-lcp-image]"
"node_modules/lighthouse-stack-packs/packs/next.js.js | prioritize-lcp-image": [
"stackPacks[1].descriptions[prioritize-lcp-image]"
],
"node_modules/lighthouse-stack-packs/packs/next.js.js | unsized-images": [
"stackPacks[1].descriptions[unsized-images]"
Expand Down Expand Up @@ -13902,7 +13902,7 @@
"uses-text-compression": "Enable compression on your Next.js server. [Learn more](https://nextjs.org/docs/api-reference/next.config.js/compression).",
"uses-responsive-images": "Use the `next/image` component to set the appropriate `sizes`. [Learn more](https://nextjs.org/docs/api-reference/next/image#sizes).",
"user-timings": "Consider using `Next.js Analytics` to measure your app's real-world performance. [Learn more](https://nextjs.org/docs/advanced-features/measuring-performance).",
"preload-lcp-image": "Use the `next/image` component and set \"priority\" to true to preload LCP image. [Learn more](https://nextjs.org/docs/api-reference/next/image#priority).",
"prioritize-lcp-image": "Use the `next/image` component and set \"priority\" to true to preload LCP image. [Learn more](https://nextjs.org/docs/api-reference/next/image#priority).",
"unsized-images": "Use the `next/image` component to make sure images are always sized appropriately. [Learn more](https://nextjs.org/docs/api-reference/next/image#width)."
}
}
Expand Down Expand Up @@ -15792,8 +15792,8 @@
"node_modules/lighthouse-stack-packs/packs/next.js.js | user-timings": [
"stackPacks[1].descriptions[user-timings]"
],
"node_modules/lighthouse-stack-packs/packs/next.js.js | preload-lcp-image": [
"stackPacks[1].descriptions[preload-lcp-image]"
"node_modules/lighthouse-stack-packs/packs/next.js.js | prioritize-lcp-image": [
"stackPacks[1].descriptions[prioritize-lcp-image]"
],
"node_modules/lighthouse-stack-packs/packs/next.js.js | unsized-images": [
"stackPacks[1].descriptions[unsized-images]"
Expand Down Expand Up @@ -20048,7 +20048,7 @@
"uses-text-compression": "Enable compression on your Next.js server. [Learn more](https://nextjs.org/docs/api-reference/next.config.js/compression).",
"uses-responsive-images": "Use the `next/image` component to set the appropriate `sizes`. [Learn more](https://nextjs.org/docs/api-reference/next/image#sizes).",
"user-timings": "Consider using `Next.js Analytics` to measure your app's real-world performance. [Learn more](https://nextjs.org/docs/advanced-features/measuring-performance).",
"preload-lcp-image": "Use the `next/image` component and set \"priority\" to true to preload LCP image. [Learn more](https://nextjs.org/docs/api-reference/next/image#priority).",
"prioritize-lcp-image": "Use the `next/image` component and set \"priority\" to true to preload LCP image. [Learn more](https://nextjs.org/docs/api-reference/next/image#priority).",
"unsized-images": "Use the `next/image` component to make sure images are always sized appropriately. [Learn more](https://nextjs.org/docs/api-reference/next/image#width)."
}
}
Expand Down Expand Up @@ -23258,8 +23258,8 @@
"node_modules/lighthouse-stack-packs/packs/next.js.js | user-timings": [
"stackPacks[1].descriptions[user-timings]"
],
"node_modules/lighthouse-stack-packs/packs/next.js.js | preload-lcp-image": [
"stackPacks[1].descriptions[preload-lcp-image]"
"node_modules/lighthouse-stack-packs/packs/next.js.js | prioritize-lcp-image": [
"stackPacks[1].descriptions[prioritize-lcp-image]"
],
"node_modules/lighthouse-stack-packs/packs/next.js.js | unsized-images": [
"stackPacks[1].descriptions[unsized-images]"
Expand Down
5 changes: 2 additions & 3 deletions core/test/lib/stack-packs-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Array [
"uses-text-compression",
"uses-responsive-images",
"user-timings",
"preload-lcp-image",
"prioritize-lcp-image",
"unsized-images",
],
},
Expand All @@ -171,7 +171,7 @@ Array [
"offscreen-images",
"uses-optimized-images",
"uses-responsive-images",
"preload-lcp-image",
"prioritize-lcp-image",
"unsized-images",
],
},
Expand Down Expand Up @@ -260,7 +260,6 @@ Array [
Array [
"unminified-warning",
"disable-bundling",
"preload-lcp-image",
]
`);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"jpeg-js": "^0.4.4",
"js-library-detector": "^6.6.0",
"lighthouse-logger": "^1.3.0",
"lighthouse-stack-packs": "1.9.0",
"lighthouse-stack-packs": "1.9.1",
"lodash": "^4.17.21",
"lookup-closest-locale": "6.2.0",
"metaviewport-parser": "0.3.0",
Expand Down
4 changes: 2 additions & 2 deletions shared/localization/locales/en-US.json

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

4 changes: 2 additions & 2 deletions shared/localization/locales/en-XL.json

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

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5044,10 +5044,10 @@ lighthouse-plugin-publisher-ads@1.5.7-beta:
intl-messageformat "^4.1.2"
yargs "^16.1.1"

lighthouse-stack-packs@1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/lighthouse-stack-packs/-/lighthouse-stack-packs-1.9.0.tgz#2353aaab497b01ea7679a1cbcb04ea234f374211"
integrity sha512-xV6thXsxoHWgIluhLhp4zQ09c0T2zZNIDXoKy0emRoD2xCGJAFxoabRdyZpY0VnKwW8evMNXnMdPZtukKk2lhA==
lighthouse-stack-packs@1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/lighthouse-stack-packs/-/lighthouse-stack-packs-1.9.1.tgz#e83f76e302cb3dec717ad6a3af2da07c91d8f8f5"
integrity sha512-9prq6oMkVHz3GeCkphq4FHXXdj3M/WPiFWUvJAczLYV8j/oTxsgiHSPMqh1KVV11CP0VTxD40hFC0pDfXF+khQ==

lines-and-columns@^1.1.6:
version "1.2.4"
Expand Down

0 comments on commit 777cc31

Please sign in to comment.