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

WIP: Drop node 12, add node 18 #195

Closed
wants to merge 1 commit into from
Closed

Conversation

mroderick
Copy link
Member

The failure from FormData is caused by jsdom-global, which removes it in the cleanup.

See https://github.com/rstacruz/jsdom-global/blob/master/keys.js#L122

The jsdom-global looks pretty dead. A quick fix would be to fork it and improve it to not destroy the new globals in Node 18.... or maybe there are better libraries out there now.


The FileReader failures are because the FileReader API is not available in node, and newly added global Blob support is enabling the codepaths that use FileReader.

nodejs/node#41270

We should probably learn how to read blobs in a node native way, not using FileReader, and save that for browsers.

@mroderick mroderick self-assigned this Nov 28, 2022
Copy link

stale bot commented Dec 27, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 27, 2023
@fatso83 fatso83 closed this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants