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): allow absolute path in createRequire #16853

Merged
merged 2 commits into from
Nov 29, 2022

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Nov 28, 2022

This PR updates createRequire in ext/node. Now createRequire allows absolute paths as the arg. (Currently this implementation ignores the platform difference (allows both patterns /, C:\))

closes #16832

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.

LGTM, I just checked and it fixes one of the problems I had

@kt3k
Copy link
Member Author

kt3k commented Nov 29, 2022

@dsherret Thanks for the windows fix!

@kt3k kt3k merged commit e4fe5ee into denoland:main Nov 29, 2022
@kt3k kt3k deleted the fix-create-require-abs-path branch November 29, 2022 05:13
kt3k added a commit that referenced this pull request Dec 1, 2022
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.

Some npm package doesn't work after upgrade to 1.28.2
3 participants