p-retry

Retry a promise-returning or async function

MIT License

Downloads
60.2M
Stars
747
Committers
19

Bot releases are visible (Hide)

p-retry - Latest Release

Published by sindresorhus 10 months ago

p-retry -

Published by sindresorhus about 1 year ago

p-retry -

Published by sindresorhus about 1 year ago

Breaking

  • Require Node.js 16 b38fd69

Fixes

  • Correctly remove abort handler when done 95a3a4a

https://github.com/sindresorhus/p-retry/compare/v5.1.2...v6.0.0

p-retry -

Published by sindresorhus almost 2 years ago

  • Add Undici network error handling (#68) fb5f6f8

https://github.com/sindresorhus/p-retry/compare/v5.1.1...v5.1.2

p-retry -

Published by sindresorhus over 2 years ago

p-retry -

Published by sindresorhus over 2 years ago

  • Lock the @types/retry dependency 13f6350

https://github.com/sindresorhus/p-retry/compare/v5.1.0...v5.1.1

p-retry -

Published by sindresorhus over 2 years ago

p-retry -

Published by sindresorhus almost 3 years ago

Breaking

  • Require Node.js 12.20 8c8a86c
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/p-retry/compare/v4.6.1...v5.0.0

p-retry -

Published by sindresorhus over 3 years ago

  • Fix retrying on network error in Firefox and Safari (#52) 7828c0a

https://github.com/sindresorhus/p-retry/compare/v4.6.0...v4.6.1

p-retry -

Published by sindresorhus over 3 years ago

p-retry -

Published by sindresorhus over 3 years ago

  • Support cross-fetch for retrying on network errors (#44) 23e67ab

https://github.com/sindresorhus/p-retry/compare/v4.4.0...v4.5.0

p-retry -

Published by sindresorhus over 3 years ago

  • Retry on network errors in Firefox and Safari too (#42) 7d4b031

https://github.com/sindresorhus/p-retry/compare/v4.3.0...v4.4.0

p-retry -

Published by sindresorhus over 3 years ago

  • Ignore window.fetch network error (#38) c62b158

https://github.com/sindresorhus/p-retry/compare/v4.2.0...v4.3.0

p-retry -

Published by sindresorhus almost 5 years ago

  • Allow onFailedAttempt to be async (#30) 67afe2a

https://github.com/sindresorhus/p-retry/compare/v4.1.0...v4.2.0

p-retry -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#23) 71e51ad

https://github.com/sindresorhus/p-retry/compare/v4.0.0...v4.1.0

p-retry -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 0ed8d5d (#21) 4b6ec19

Enhancements:

  • Throw a useful error if a non-error is thrown a9d75a5
  • Add TypeScript definition (#21) 4b6ec19

https://github.com/sindresorhus/p-retry/compare/v3.0.1...v4.0.0

p-retry -

Published by sindresorhus almost 6 years ago

p-retry -

Published by sindresorhus almost 6 years ago