Closed adamhenson closed 5 months ago
We're pretty sure the "opportunities" label went away in v11.2.0 (or maybe the next release).
Haven't verified but really surprised if its there in 11.5 :)
Also fwiw, there's not a results.opportunities
and never has been. It's been defined via something like this:
Here's the release notes for when we took out Opportunities. https://github.com/GoogleChrome/lighthouse/releases/tag/v11.2.0 it doesn't call it out.. and probably should. That's true. :)
Stay cool, b.
Hey @paulirish - thanks for responding. Ahhhh yes, you got me there. I actually manually typed Lighthouse result for some reason in @foo-software/lighthouse-persist
... but forgot that type includes the addition of opportunities
that I added. Sorry about that. Not sure why my function broke in this new version of Lighthouse, but that's my problem.
I mainly wanted to find out if the sans opportunities (in the report) was intended, which you confirmed.
Thanks again.
I also forgot that in my code somewhere I hijack the report rendering and must be somehow including opportunities 🤦 - sorry again. That's where I got the Lighthouse 11.5.0 report.
No worries! :)
FAQ
URL
https://www.google.com
What happened?
I ran Lighthouse via both CLI and programmatically with basic examples below:
In both these examples I expect to opportunities to be represented the same way they were in Lighthouse v11, as there was no mention of this in the changelog.
What did you expect?
I expected to see an "Opportunities" section in the HTML report.
I expected to see an
result.opportunities
array in the resulting programmatic output.What have you tried?
No response
How were you running Lighthouse?
CLI, node
Lighthouse Version
12.0.0
Chrome Version
123.0.6312.106
Node Version
18.20.2
OS
MAc
Relevant log output
No response