Skip to content

[paperwork] take node: prefix as indicator for being a core module#88

Merged
mrjoelkemp merged 2 commits intodependents:masterfrom
netlify-team-account-1:ignore-node-prefix
Oct 25, 2021
Merged

[paperwork] take node: prefix as indicator for being a core module#88
mrjoelkemp merged 2 commits intodependents:masterfrom
netlify-team-account-1:ignore-node-prefix

Conversation

@netlify-team-account-1
Copy link
Copy Markdown
Contributor

@netlify-team-account-1 netlify-team-account-1 commented Oct 19, 2021

precinct.paperwork checks node.js modules using the (deprecated) process.binding API. This can be brittle when building & running on different versions of Node.js. This PR makes it a bit more reliable, by adding the node: protocol as a built-in indicator.

cc netlify/zip-it-and-ship-it#746

@benmccann
Copy link
Copy Markdown

@mrjoelkemp any chance you could take a peek at this one?

@mrjoelkemp mrjoelkemp merged commit 673e51b into dependents:master Oct 25, 2021
@mrjoelkemp
Copy link
Copy Markdown
Collaborator

Thanks @netlify-team-account-1! Appreciate the contribution. Released this in a minor version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants