[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: support node 10 in lighthouse-logger #15089

Merged
merged 1 commit into from
May 17, 2023
Merged

Conversation

adamraine
Copy link
Member
@adamraine adamraine commented May 17, 2023

#15085

Old node/npm clients (Node 10) don't support exports so the fix in 1.4.1 didn't resolve the issue. We don't support node 10 anymore, but we haven't done a breaking release on lighthouse-logger since dropping node 10 support.

exports takes precedence over main so newer clients will still access the ESM version if they can but old clients can fall back to the CJS version by default.

@adamraine adamraine requested a review from a team as a code owner May 17, 2023 17:17
@adamraine adamraine requested review from brendankenny and removed request for a team May 17, 2023 17:17
Copy link
Member
@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice solution.

Last LH support for Node 10 was in Lighthouse 6.5.0 from 2020, so let's definitely do a lighthouse-logger 2.0 release with LH 11 so we can cut the cruft and not run into this situation again :)

@adamraine adamraine merged commit 02f395e into main May 17, 2023
33 checks passed
@adamraine adamraine deleted the logger-support-10 branch May 17, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants