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

Replace AbortController polyfill with native API #146

Open
talentlessguy opened this issue Jan 19, 2025 · 1 comment
Open

Replace AbortController polyfill with native API #146

talentlessguy opened this issue Jan 19, 2025 · 1 comment
Labels
umbrella issue This issue contains a list of dependents of a package and tracks the progress in each

Comments

@talentlessguy
Copy link

talentlessguy commented Jan 19, 2025

Available in Node since v14.

There are multiple AbortController polyfills, none of them are required anymore.

  • abort-controller
  • node-abort-controller
  • abortcontroller-polyfill

abort-controller

# Downloads Traffic Version Package PR Minimum Node Version
1 673.50M 11818.62 GB ^3.0.0 readable-stream
2 24.64M 432.36 GB ^3.0.0 google-gax
3 15.71M 275.68 GB ^3.0.0 @google-cloud/storage
4 11.48M 201.51 GB ^3.0.0 react-native
5 9.98M 175.08 GB ^3.0.0 openai
6 4.28M 75.04 GB ^3.0.0 @azure/ms-rest-js
7 2.94M 51.67 GB ^3.0.0 @remix-run/web-fetch
8 2.68M 47.01 GB ^3.0.0 @microsoft/signalr
9 2.68M 46.97 GB ^3.0.0 @anthropic-ai/sdk
10 2.55M 44.82 GB ^3.0.0 @stoplight/spectral-runtime
11 2.25M 39.52 GB ^3.0.0 @redocly/cli
12 2.10M 36.93 GB ^3.0.0 firebase-tools
13 1.79M 31.46 GB ^3.0.0 pusher
14 1.41M 24.81 GB 3.0.0 @applitools/core
15 1.41M 24.76 GB 3.0.0 @applitools/core-base
16 1.37M 24.12 GB 3.0.0 @applitools/ec-client
17 1.32M 23.14 GB 3.0.0 @applitools/req
18 1.31M 23.00 GB 3.0.0 @applitools/ufg-client
19 1.19M 20.89 GB ^3.0.0 @expo/server
20 1.19M 20.86 GB ^3.0.0 @temporalio/client
21 1.17M 20.51 GB 3.0.0 @applitools/tunnel-client
22 1.14M 20.04 GB ^3.0.0 gcs-resumable-upload
23 1.07M 18.83 GB ^3.0.0 cross-undici-fetch
24 998.58k 17.52 GB ^3.0.0 expo-notifications
25 902.75k 15.84 GB ^3.0.0 @temporalio/activity
26 838.08k 14.71 GB ^3.0.0 @temporalio/worker
27 755.35k 13.25 GB ^3.0.0 airtable
28 663.96k 11.65 GB ^3.0.0 cloudflare
29 485.24k 8.51 GB ^3.0.0 @temporalio/testing
30 447.37k 7.85 GB ^3.0.0 link-preview-js OP-Engineering/link-preview-js#163
31 400.49k 7.03 GB ^3.0.0 groq-sdk
32 323.68k 5.68 GB ^3.0.0 @mux/mux-node
33 322.79k 5.66 GB 3.0.0 appcenter-cli
34 290.25k 5.09 GB 3.0.0 appcenter-file-upload-client-node
35 282.65k 4.96 GB ^3.0.0 orb-billing
36 271.15k 4.76 GB ^3.0.0 telegraf v12.20
37 252.98k 4.44 GB ^3.0.0 react-native-windows
38 223.52k 3.92 GB ^3.0.0 seq-logging
39 218.42k 3.83 GB ^3.0.0 happo.io
40 198.92k 3.49 GB 3.0.0 @commercetools/ts-client
41 193.84k 3.40 GB 3.0.0 @ampproject/toolbox-optimizer
42 132.72k 2.33 GB 3.0.0 @shopify/app
43 131.03k 2.30 GB ^3.0.0 react-native-macos
44 130.04k 2.28 GB ^3.0.0 @nearform/heap-profiler
45 107.50k 1.89 GB ^3.0.0 grammy Dropped in V2
46 103.17k 1.81 GB 3.0.0 @localazy/cli
47 102.26k 1.79 GB ^3.0.0 react-native-tvos
48 98.00k 1.72 GB ^3.0.0 @clinic/heap-profiler
49 87.42k 1.53 GB ^3.0.0 megajs
50 74.64k 1.31 GB ^3.0.0 @web-std/fetch

node-abort-controller

# Downloads Traffic Version Package
1 56.64M 306.21 GB ^3.0.1 fork-ts-checker-webpack-plugin
2 9.59M 51.87 GB ^3.1.1 metro-file-map
3 4.55M 24.60 GB ^3.1.1 @apollo/server
4 4.08M 22.05 GB ^3.0.1 apollo-server-core
5 3.18M 17.17 GB ^3.1.1 bullmq
6 2.44M 13.18 GB ^3.0.1 redlock
7 2.39M 12.91 GB ^3.1.1 swagger-client
8 826.05k 4.47 GB ^3.0.1 @apollo/gateway
9 366.48k 1.98 GB 3.1.1 @shopify/cli-kit
10 257.03k 1.39 GB ^3.1.1 api

abortcontroller-polyfill

# Downloads Traffic Version Package
1 755.35k 15.49 GB ^1.4.0 airtable
2 308.73k 6.33 GB ^1.7.3 ember-fetch
3 230.17k 4.72 GB 1.7.5 @plasmohq/parcel-core
4 220.06k 4.51 GB ^1.7.5 formiojs
5 115.19k 2.36 GB ^1.7.3 @netlify/plugin-gatsby
6 85.10k 1.75 GB 1.7.5 @coveo/headless
7 48.97k 1.00 GB ^1.7.1 balena-sdk
8 47.51k 974.38 MB ^1.5.0 @web/polyfills-loader
9 35.49k 727.85 MB ^1.5.0 fhirclient
10 33.87k 694.56 MB 1.7.5 @verdaccio/api
@Fuzzyma Fuzzyma added the umbrella issue This issue contains a list of dependents of a package and tracks the progress in each label Jan 19, 2025
@Fuzzyma
Copy link
Collaborator

Fuzzyma commented Jan 19, 2025

readable-stream seems to be explicitly for Node 12 and upwards. But they seem to drop older versions of node with every major.
So I think this will sort itself out eventually. However, readable-stream itself is an interesting target for e18e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
umbrella issue This issue contains a list of dependents of a package and tracks the progress in each
Projects
None yet
Development

No branches or pull requests

2 participants