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(ext/node): Implement isBuiltin in node:module #22817

Merged
merged 3 commits into from Mar 9, 2024

Conversation

nathanwhit
Copy link
Member

Fixes #22502

Implements the isBuiltin function in node:module. I had to update the version of @types/node in the test registry in order to get the test I added to typecheck.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

Great fix, LGTM

@nathanwhit nathanwhit merged commit 26cee4e into denoland:main Mar 9, 2024
17 checks passed
@nathanwhit nathanwhit deleted the module-is-builtin branch March 9, 2024 02:06
nathanwhit added a commit that referenced this pull request Mar 14, 2024
Fixes #22502

Implements the
[`isBuiltin`](https://nodejs.org/api/module.html#moduleisbuiltinmodulename)
function in `node:module`. I had to update the version of `@types/node`
in the test registry in order to get the test I added to typecheck.
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.

node-compat: Missing import { isBuiltin } from "node:module";
2 participants