Skip to content

Commit 777cc31

Browse files
committed
bump stack-packs
1 parent 62fd34f commit 777cc31

File tree

7 files changed

+21
-22
lines changed

7 files changed

+21
-22
lines changed

core/test/audits/prioritize-lcp-image-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const mainDocumentNodeUrl = 'http://www.example.com:3000';
1313
const scriptNodeUrl = 'http://www.example.com/script.js';
1414
const imageUrl = 'http://www.example.com/image.png';
1515

16-
describe('Performance: prioritize-lcp audit', () => {
16+
describe('Performance: prioritize-lcp-image audit', () => {
1717
const mockArtifacts = (networkRecords, finalDisplayedUrl) => {
1818
return {
1919
GatherContext: {gatherMode: 'navigation'},

core/test/fixtures/fraggle-rock/reports/sample-flow-result.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4221,7 +4221,7 @@
42214221
"uses-text-compression": "Enable compression on your Next.js server. [Learn more](https://nextjs.org/docs/api-reference/next.config.js/compression).",
42224222
"uses-responsive-images": "Use the `next/image` component to set the appropriate `sizes`. [Learn more](https://nextjs.org/docs/api-reference/next/image#sizes).",
42234223
"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).",
4224-
"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).",
4224+
"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).",
42254225
"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)."
42264226
}
42274227
}
@@ -7441,8 +7441,8 @@
74417441
"node_modules/lighthouse-stack-packs/packs/next.js.js | user-timings": [
74427442
"stackPacks[1].descriptions[user-timings]"
74437443
],
7444-
"node_modules/lighthouse-stack-packs/packs/next.js.js | preload-lcp-image": [
7445-
"stackPacks[1].descriptions[preload-lcp-image]"
7444+
"node_modules/lighthouse-stack-packs/packs/next.js.js | prioritize-lcp-image": [
7445+
"stackPacks[1].descriptions[prioritize-lcp-image]"
74467446
],
74477447
"node_modules/lighthouse-stack-packs/packs/next.js.js | unsized-images": [
74487448
"stackPacks[1].descriptions[unsized-images]"
@@ -13902,7 +13902,7 @@
1390213902
"uses-text-compression": "Enable compression on your Next.js server. [Learn more](https://nextjs.org/docs/api-reference/next.config.js/compression).",
1390313903
"uses-responsive-images": "Use the `next/image` component to set the appropriate `sizes`. [Learn more](https://nextjs.org/docs/api-reference/next/image#sizes).",
1390413904
"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).",
13905-
"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).",
13905+
"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).",
1390613906
"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)."
1390713907
}
1390813908
}
@@ -15792,8 +15792,8 @@
1579215792
"node_modules/lighthouse-stack-packs/packs/next.js.js | user-timings": [
1579315793
"stackPacks[1].descriptions[user-timings]"
1579415794
],
15795-
"node_modules/lighthouse-stack-packs/packs/next.js.js | preload-lcp-image": [
15796-
"stackPacks[1].descriptions[preload-lcp-image]"
15795+
"node_modules/lighthouse-stack-packs/packs/next.js.js | prioritize-lcp-image": [
15796+
"stackPacks[1].descriptions[prioritize-lcp-image]"
1579715797
],
1579815798
"node_modules/lighthouse-stack-packs/packs/next.js.js | unsized-images": [
1579915799
"stackPacks[1].descriptions[unsized-images]"
@@ -20048,7 +20048,7 @@
2004820048
"uses-text-compression": "Enable compression on your Next.js server. [Learn more](https://nextjs.org/docs/api-reference/next.config.js/compression).",
2004920049
"uses-responsive-images": "Use the `next/image` component to set the appropriate `sizes`. [Learn more](https://nextjs.org/docs/api-reference/next/image#sizes).",
2005020050
"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).",
20051-
"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).",
20051+
"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).",
2005220052
"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)."
2005320053
}
2005420054
}
@@ -23258,8 +23258,8 @@
2325823258
"node_modules/lighthouse-stack-packs/packs/next.js.js | user-timings": [
2325923259
"stackPacks[1].descriptions[user-timings]"
2326023260
],
23261-
"node_modules/lighthouse-stack-packs/packs/next.js.js | preload-lcp-image": [
23262-
"stackPacks[1].descriptions[preload-lcp-image]"
23261+
"node_modules/lighthouse-stack-packs/packs/next.js.js | prioritize-lcp-image": [
23262+
"stackPacks[1].descriptions[prioritize-lcp-image]"
2326323263
],
2326423264
"node_modules/lighthouse-stack-packs/packs/next.js.js | unsized-images": [
2326523265
"stackPacks[1].descriptions[unsized-images]"

core/test/lib/stack-packs-test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Array [
160160
"uses-text-compression",
161161
"uses-responsive-images",
162162
"user-timings",
163-
"preload-lcp-image",
163+
"prioritize-lcp-image",
164164
"unsized-images",
165165
],
166166
},
@@ -171,7 +171,7 @@ Array [
171171
"offscreen-images",
172172
"uses-optimized-images",
173173
"uses-responsive-images",
174-
"preload-lcp-image",
174+
"prioritize-lcp-image",
175175
"unsized-images",
176176
],
177177
},
@@ -260,7 +260,6 @@ Array [
260260
Array [
261261
"unminified-warning",
262262
"disable-bundling",
263-
"preload-lcp-image",
264263
]
265264
`);
266265
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
"jpeg-js": "^0.4.4",
197197
"js-library-detector": "^6.6.0",
198198
"lighthouse-logger": "^1.3.0",
199-
"lighthouse-stack-packs": "1.9.0",
199+
"lighthouse-stack-packs": "1.9.1",
200200
"lodash": "^4.17.21",
201201
"lookup-closest-locale": "6.2.0",
202202
"metaviewport-parser": "0.3.0",

shared/localization/locales/en-US.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shared/localization/locales/en-XL.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5044,10 +5044,10 @@ [email protected]:
50445044
intl-messageformat "^4.1.2"
50455045
yargs "^16.1.1"
50465046

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

50525052
lines-and-columns@^1.1.6:
50535053
version "1.2.4"

0 commit comments

Comments
 (0)