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

Add a ponyfill export #34

Open
zacharyliu opened this issue Feb 14, 2022 · 0 comments
Open

Add a ponyfill export #34

zacharyliu opened this issue Feb 14, 2022 · 0 comments

Comments

@zacharyliu
Copy link

Currently, the two ways of consuming this package have downsides:

  1. The abort-controller export relies on the native implementation in browsers, which will not work in older browsers
  2. The abort-controller/polyfill export patches the global AbortController if not present, which can be undesirable

It would be handy to support a ponyfill export which can offer the benefits of both.

(It's likely that this package is used in combination with cross-fetch, which encourages the use of its ponyfill export in its README.)

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

No branches or pull requests

1 participant