Skip to content

Commit 553bb5d

Browse files
committed
Export AbortError (Fixes: node-fetch#792)
Signed-off-by: Richie Bendall <[email protected]>
1 parent 3fd3da8 commit 553bb5d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Changelog
33

44
# 3.x release
55

6+
## v3.0.0-beta.6
7+
8+
**Work in progress!**
9+
10+
- Fix: Export the `AbortError` class.
11+
612
## v3.0.0-beta.5
713

814
> NOTE: Since the previous beta version included serious issues, such as [#749](https://github.com/node-fetch/node-fetch/issues/749), they will now be deprecated.

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,3 +309,4 @@ fetch.Headers = Headers;
309309
fetch.Request = Request;
310310
fetch.Response = Response;
311311
fetch.FetchError = FetchError;
312+
fetch.AbortError = AbortError;

0 commit comments

Comments
 (0)