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

fix: remove is-core-module dependency #77

Merged
merged 1 commit into from
Jun 28, 2024
Merged

fix: remove is-core-module dependency #77

merged 1 commit into from
Jun 28, 2024

Commits on Jun 28, 2024

  1. Remove is-core-module dependency

    Node.js from v6.13.0, v8.10.0, v9.3.0 includes `module.builtinModules` which we can use to natively check if some module belongs to Node.js core or not. This drops not one, but _three_ dependencies from `pkg`: https://npmgraph.js.org/?q=is-core-module, removing 70 KB of bloat.
    wojtekmaj committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    fb64f88 View commit details
    Browse the repository at this point in the history