Skip to content

Drop AbortController as it breaks fdir on Node v14 - #153

Merged
thecodrr merged 2 commits into
masterfrom
fix/drop-abortcontroller
Jul 3, 2025
Merged

thecodrr merged 2 commits into
masterfrom
fix/drop-abortcontroller

Conversation

@thecodrr

@thecodrr thecodrr commented Jul 2, 2025

Copy link
Copy Markdown
Owner

This is only a workaround until we can drop support for Node v14. Since AbortController is not exposed anywhere, we can replace it with a custom implementation.

@benmccann

Copy link
Copy Markdown
Contributor

We should probably add Node 12 or whatever the oldest version we want to support is to the CI

@SuperchupuDev

SuperchupuDev commented Jul 2, 2025 •

Copy link
Copy Markdown
Contributor

We should probably add Node 12 or whatever the oldest version we want to support is to the CI

sadly we can't, vitest 0.x only works on node >=16 (someone tried already iirc)

@thecodrr

thecodrr commented Jul 3, 2025

Copy link
Copy Markdown
Owner Author

@SuperchupuDev maybe we can get rid of vitest for something that does work on older node versions. AFAIK there's nothing special we require that vitest provides.

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.

3 participants