Skip to content

Commit ff5cc68

Browse files
authored
Merge pull request #2054 from WordPress/dependabot/npm_and_yarn/types/node-24.0.3
2 parents 8581a58 + 1ea1bbd commit ff5cc68

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"devDependencies": {
1414
"@octokit/rest": "^22.0.0",
1515
"@playwright/test": "^1.53.0",
16-
"@types/node": "^22.15.29",
16+
"@types/node": "^24.0.3",
1717
"@wordpress/e2e-test-utils-playwright": "^1.21.0",
1818
"@wordpress/env": "^10.25.0",
1919
"@wordpress/prettier-config": "^4.25.0",

plugins/optimization-detective/detect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ export default async function detect( {
789789
elements: [],
790790
};
791791

792-
const lcpMetric = lcpMetricCandidates.at( -1 );
792+
const lcpMetric = lcpMetricCandidates[ lcpMetricCandidates.length - 1 ];
793793

794794
// Populate the elements in the URL Metric.
795795
for ( const elementIntersection of elementIntersections ) {

0 commit comments

Comments
 (0)