node-fetch-retry
node-fetch-retry copied to clipboard
Node Module for performing retries using node-fetch
## Description Support passing custom AbortSignal Fixes #104 ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which...
## Use case ```js const controller = new AbortController(); setTimeout(0, () => controller.abort()); const result = await fetch("https://google.com", { signal: controller.signal }); ```
## Description Fix types for `retryOnHttpResponse` and `retryOnHttpError` since they were missing async typings. ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [...
wip branch to convert dis to esm Observations: - Tests need to be updated to not use `rewire` ## Description Please include a summary of the change and which issue...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.4.7 to 19.0.3. Release notes Sourced from semantic-release's releases. v19.0.3 19.0.3 (2022-06-09) Bug Fixes log-repo: use the original form of the repo url to remove the need...
wip branch to convert cjs to esm, using dynamic imports. Observations: 1. Eslint failures: - error Parsing error: Unexpected token import - possible solution is to use "parser": "babel-eslint" in...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...
**Do not merge yet!** PR for [milestone v3](https://github.com/adobe/node-fetch-retry/milestone/1). Collective changes for the next **major version 3** including multiple breaking changes. Includes PRs: - #93 - #90 - #52
From #55 > Note that `node-fetch-retry` is inconsistent and includes URLs in errors thrown (e.g. [here](https://github.com/adobe/node-fetch-retry/blob/3e512e5a6a892e0bd51c862d8fd1abdbdf1b4c57/index.js#L245)). It's fair to assume that all errors get logged downstream. So if the policy...