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

add support for calling defineProperty on exports #2

Merged
merged 2 commits into from
Sep 16, 2021

Conversation

rochdev
Copy link
Contributor

@rochdev rochdev commented Sep 15, 2021

This PR adds support for calling defineProperty on exports to allow using shimmer and similar implementations. It also fixes the tests that were checking if the module name contains os instead of checking it's exactly os.

lib/register.js Show resolved Hide resolved
@rochdev rochdev merged commit 3e5f3c7 into main Sep 16, 2021
@rochdev rochdev deleted the rochdev/exports-define-property branch September 16, 2021 15:02
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.

2 participants