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

Upgrade to version 2 of detect-libc #166

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

lovell
Copy link
Member

@lovell lovell commented Jan 19, 2022

Hi, the latest detect-libc has been modernised to use the non-blocking Node.js Report API where available (Node.js >= 12), falling back to use an efficient single child process with older versions.

It's a major version bump for detect-lib as it drops support for versions of Node.js < 8. Given prebuild-install already requires >= 10 this PR should OK to include in a patch release.

There's an extensive integration test suite, e.g. https://github.com/lovell/detect-libc/actions/runs/1717414863

Should anyone be interested in the background to this, please see lovell/detect-libc#14

Uses the Report API where available (Node.js 12+)
Otherwise spawns a single child process (Node.js 8, 10)
@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Jan 19, 2022
Copy link
Member

@vweevers vweevers left a comment

Choose a reason for hiding this comment

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

LGTM. Amazing work!

@vweevers vweevers merged commit f71c6b9 into prebuild:master Jan 28, 2022
@vweevers
Copy link
Member

7.0.1

@lovell lovell deleted the upgrade-detect-libc branch January 28, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants