mo / abortcontroller-polyfill

Polyfill for the AbortController DOM API and abortable fetch (stub that calls catch, doesn't actually abort request).
MIT License
328 stars 26 forks source link

fix: fix event removal of EventTarget #54

Closed ambar closed 3 years ago

ambar commented 3 years ago

Fixes #53

The difference between node-fetch and abortcontroller-polyfill:

https://github.com/mo/abortcontroller-polyfill/blob/ff704e2bfcae1e214addb609cfb8ebf576b67a4f/src/abortableFetch.js#L90-L92

https://github.com/node-fetch/node-fetch/blob/4abbfd231f4bce7dbe65e060a6323fc6917fd6d9/src/index.js#L82-L90

mo commented 3 years ago

merged and released