abortcontroller-polyfill icon indicating copy to clipboard operation
abortcontroller-polyfill copied to clipboard

Polyfill for the AbortController DOM API and abortable fetch (stub that calls catch, doesn't actually abort request).

Results 25 abortcontroller-polyfill issues
Sort by recently updated
recently updated
newest added

``` if ( !polyfillNeeded({ fetch, Request: NativeRequest, AbortController: NativeAbortController, __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL, }) ) { return { fetch, Request }; } let Request = NativeRequest; ```

See https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout > The static AbortSignal.timeout() method returns an [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) that will automatically abort after a specified time.

Reference - https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout_static `AbortSignal.timeout` is not implemented in all builds of Safari and other outdated browsers.

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...

dependencies

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 1.0.2 to 1.0.33. Changelog Sourced from ua-parser-js's changelog. Version 0.7.31 / 1.0.2 Fix OPPO Reno A5 incorrect detection Fix TypeError Bug Use AST to extract regexes and...

dependencies

There is a modern API method to throw abort reason, if operation was aborted: `AbortSignal.throwIfAborted()`. **WhatWG specification:** https://dom.spec.whatwg.org/#ref-for-dom-abortsignal-throwifaborted **Example implementation:** nodejs/node#40951 If would be great if this polyfill will support...

Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8. Release notes Sourced from ejs's releases. v3.1.8 Version 3.1.8 v3.1.7 Version 3.1.7 Commits 5126ff5 Version 3.1.8 7d5a1c6 Merge branch 'main' of github.com:mde/ejs into main...

dependencies

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) and [ansi-regex](https://github.com/chalk/ansi-regex). These dependencies needed to be updated together. Updates `ansi-regex` from 5.0.0 to 5.0.1 Release notes Sourced from ansi-regex's releases. v5.0.1 Fixes (backport of 6.0.1 to v5)...

dependencies