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

Esm 4 realz #529

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Esm 4 realz #529

wants to merge 2 commits into from

Conversation

wheresrhys
Copy link
Owner

Waiting for node 14 to be released and gain market share

@wheresrhys
Copy link
Owner Author

@gr2m
Copy link

gr2m commented Jul 19, 2021

hey just a heads up: fetch-mock will start failing with the upcoming node-fetch version, which will be a native ES Module. You can test it today by installing node-fetch with

npm install node-fetch@next

We expect to release node-fetch v3 stable in 2-4 weeks, see node-fetch/node-fetch#668 (comment).

I'm not sure if making the current fetch-mock compatible with node-fetch v3 is possible at all? If you think it is but don't have time to look into it I can try to send a PR, I'd appreciate some pointers though

@oliverturner oliverturner mentioned this pull request Jan 6, 2022
@gr2m
Copy link

gr2m commented Sep 23, 2022

Node 14 is now in maintenance. Would you like to release a native ESM version of fetch-mock now? Do you still have any blockers?

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.

None yet

2 participants