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

Patched the loader for files with .js extension #877

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

compile-this
Copy link

This prevents the new default behaviour in Node 12+ of erroring when importing dependencies with commonjs syntax files from an ESM module.

See issue #868

behaviour of erroring when importing dependencies with commonjs syntax files
to remove warning about out of date dependencies
node code paths for this functionality have changed and no longer
involve the patched loaders
@niksy
Copy link

niksy commented Jan 14, 2021

What is the status of this PR? What can we do to get this merged?

@mk-pmb
Copy link
Contributor

mk-pmb commented May 31, 2021

@niksy Currently, the CI tests fail, so someone would need to fix those.
I also installed it locally and had the same error as in #898.

Markiz9999 pushed a commit to irls/esm that referenced this pull request Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants