Skip to content

Drop AbortController as it breaks fdir on Node v14#153

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

Drop AbortController as it breaks fdir on Node v14#153
thecodrr merged 2 commits intomasterfrom
fix/drop-abortcontroller

Conversation

@thecodrr
Copy link
Owner

@thecodrr thecodrr commented Jul 2, 2025

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
Contributor

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

@SuperchupuDev
Copy link
Contributor

SuperchupuDev commented Jul 2, 2025

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
Copy link
Owner Author

thecodrr commented Jul 3, 2025

@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.

@thecodrr thecodrr merged commit afde92a into master Jul 3, 2025
8 checks passed
@thecodrr thecodrr deleted the fix/drop-abortcontroller branch July 3, 2025 04:29
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